13aeb
![]() |
|
|
|
|
|||||||
| Installation and Maintenance of FreeBSD Ports or Packages Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software). |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
||||
|
||||
|
kinda report.
perfectly working 9-current with latest sources + updated gnome2 => upgrade xorg7.4>7.5 = hang. Power down, bad dismount, single, fsck. total = 3 attempts. Reinstall from snapshot 9.0-201004, xorg7.5 install (without hal) = success, all working. Rebuild world+kernel(custom) to current src => xorg, twm working, mouse ok. updated ports => # portupgrade -NP gnome2=> installation failed in the middle=hang. Power down, bad dismount, single, fsck. Reinstall from 9.0-201004, xorg7.5 => # cd /usr/ports/x11/gnome2 ; make install cleanError1 (Totem). make clean => # portupgrade -N gnome2 totem=success but gnome-power-manager Error1: .../dpmsstr - no such file or directory. google => bug, fix: patch in latest sources... update to latest src = hang, hang, hang during almost any build (not just gnome-power-manager).Tried custom, generic - hang, hang, hang. Return to kernel 201004 => ok except gnome-power-manager. Currently: "checking whether we are using GNU C compiler...." = hang. but could be another statement. Cannot recall another situation with so fatal hanging: nothing works except power button. Gnome seems work properly but only with hald_enable="YES" in rc.conf.google: change smth in ${WORKDIR}/src/... to manually fix gnome-power-manager bug. Couldn't find "src" in gnome-power-manager/work Does somebody know how to fix? Another question: What I'm doing wrong or what's wrong with latest src? Last question: Is HAL immortal?
Last edited by zeiz; May 7th, 2010 at 01:41. |
|
#2
|
||||
|
||||
|
Was able to fix gnome-power-manager bug having kernel 201004 though.
1. After main install fails with message: "...X11/extensions/dpmsstr.h - no such file or directory"Error1... Stop in ... 2. # ee /usr/ports/sysutils/gnome-power-manager/work/gnome-power-manager-2.24.4/src/gpm-dpms.c 3. find the place below (not far from the file beginning) and edit it: Code:
#ifdef HAVE_DPMS_EXTENSION #include <X11/extensions/Xproto.h #include <X11/extensions/dpms.h - #include <X11/extensions/dpmsstr.h (delete this line) + #include <X11/extensions/dpmsconst.h (add this line) + #include <X11/extentions/dpmsproto.h (add this line) #endif Code:
# cd /usr/ports/sysutils/gnome-power-manager && make # make install # make clean Perhaps it's simply brilliant to apply somehow the patch below but...I just don't know how ![]() Code:
--- src/gpm-dpms.c.orig 2010-05-02 17:27:20.000000000 +0200 +++ src/gpm-dpms.c 2010-05-02 17:27:57.000000000 +0200 @@ -39,7 +39,8 @@ #ifdef HAVE_DPMS_EXTENSION #include <X11/Xproto.h> #include <X11/extensions/dpms.h> -#include <X11/extensions/dpmsstr.h> +#include <X11/extensions/dpmsconst.h> +#include <X11/extensions/dpmsproto.h> #endif #include "gpm-conf.h" 1. Why current src for 'head' are incompatible with current Gnome? |
|
#3
|
|||
|
|||
|
Submit your patch to FreeBSD Problem Report database either using www interface http://www.freebsd.org/send-pr.html or by send-pr tool available on your computer. Its should be assigned to FreeBSD Gnome team.
There is short FAQ about (status of) development of FreeBSD Gnome at http://www.freebsd.org/gnome/docs/faq228.html. |
|
#4
|
||||
|
||||
|
Quote:
Quote:
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
|
#5
|
||||
|
||||
|
Thanks guys.
Actually I'm familiar with Handbook and the links it's providing. My question wasn't rhetoric, sorry if it didn't reflect what I meant. I'm trying -CURRENT since 8 being aware that it's unstable but never had problems like now...though this trying is exactly looking for troubles (I like troubleshooting ) BTW the described gnome-power-manager's behavior under xorg7.5 is already known bug appeared due to splitting dpmsstr.h onto 2 files: dpmsconst.h and dpmsproto.h. I hoped that latest src contain a fix or patch but they cause even bigger problem: unpredictable hangs anywhere during compiling (not only Gnome related). It's fine to live with src 201004 for a little while. I only hoped somebody knows what's currently going on and when to expect changes. I also hopped to learn: if somebody knows how to apply the patch properly with just patch command. By googling I only found the patch itself, nothing more. Thanks anyway for noticing my thread. |
|
#6
|
||||
|
||||
|
If I read this correctly it's a problem with one of the Xorg header files? You may have more luck posting to the freebsd-x11@ mailing list. There aren't a lot of developers on this forum
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
|
#7
|
||||
|
||||
|
Yes, Sir... But
1. It's known bug. 2. If a lot of developers doesn't write here it doesn't mean they don't read ![]() 3. There could be somebody around here who got the same issue... |
|
#8
|
|||
|
|||
|
zeiz: simply add the lines of my patch into
/usr/ports/sysutils/gnome-power-manager/files/patch-src_gpm-dpms.c I just saw the ports tree got updated, but it just contains dpmsproto.h, not dpmsconst.h. I don't know why, but this alone seems to work, too. Last edited by DutchDaemon; May 8th, 2010 at 19:28. |
|
#9
|
||||
|
||||
|
Thanks a lot! Indeed:
I used to add your patch into .../files (it wasn't there) and it didn't work that's why I asked how to apply the patch. That time I manually edited the file in .../work/.../src (after build failure) and it worked. After that I used to rebuilt world+kernel twice trying different things... Right now I opened the .../files and found the patch but it's not your patch, it's new one - like you mentioned: Code:
--- src/gpm-dpms.c.orig 2008-09-04 05:05:15.000000000 -0500 +++ src/gpm-dpms.c 2010-05-07 08:36:53.000000000 -0500 @@ -39,7 +39,7 @@ #ifdef HAVE_DPMS_EXTENSION #include <X11/Xproto.h> #include <X11/extensions/dpms.h> -#include <X11/extensions/dpmsstr.h> +#include <X11/extensions/dpmsproto.h> #endif #include "gpm-conf.h" Now I'm trying to figure out a source of steady hangs during any compiling: they've begun only after upgrade xorg7.4>7.5 (newest src + 7.4 - no problems). This hardware is 8y.o. but it was just fine so far: Asus P4S333/c (latest bios), P4 2.4GHz (686), ram 2.5Gb, GeForce3-Ti200. Thanks again. |
|
#10
|
|||
|
|||
|
yes, I'm sorry, it was the first time, I used the webinterface instead of send-pr. I didn't know it renamed my file to "patch".
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| a another way to update your src | netrookie | Installing & Upgrading | 22 | March 10th, 2010 14:52 |
| gnome2 package halts | hitchup | Installation and Maintenance of FreeBSD Ports or Packages | 8 | December 13th, 2009 21:45 |
| gnome2-lite2.26.2 | juve_inferno | GNOME | 14 | May 23rd, 2009 23:29 |
| gnome2-2.60 | juve_inferno | Installation and Maintenance of FreeBSD Ports or Packages | 4 | May 21st, 2009 10:39 |
| Install or update gnome2 via port, no redundant compilation | jronald | Installing & Upgrading | 1 | February 18th, 2009 07:40 |