Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15406 - Cannot compile gnome-system-monitor
Summary: Cannot compile gnome-system-monitor
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-09 22:08 UTC by Francisco León
Modified: 2003-04-03 17:14 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Removes MAKEOPTS from the ebuild (diff.txt,302 bytes, patch)
2003-02-10 10:40 UTC, Francisco León
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Francisco León 2003-02-09 22:08:16 UTC
Since in the forums i had no luck, i am here

gcc  -march=athlon-xp -O3 -pipe -mmmx -msse -m3dnow -mfpmath=sse
-fomit-frame-pointer  -o gnome-system-monitor  procman.o interface.o
callbacks.o load-graph.o proctable.o prettytable.o util.o infoview.o
procactions.o procdialogs.o memmaps.o favorites.o -pthread
-Wl,--export-dynamic -L/usr/X11R6/lib
-L/usr/lib -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lxml2 -lz -lgnomecanvas-2
-lgnome-2 -lart_lgpl_2 -lpangoft2-1.0 -lbonobo-2 -lgnomevfs-2
-lbonobo-activation -lgconf-2 -lORBit-2 -llinc -lgthread-2.0 -lgtop-2.0
-lgtop_sysdeps-2.0 -lgtop_common-2.0 -lwnck-1 -lstartup-notification-1
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0
-lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
interface.o(.text+0x1f12): In function create_sys_view':
: undefined reference to  gtk_cell_renderer_progress_new'
collect2: ld returned 1 exit status
make[2]: *** [gnome-system-monitor] Error 1
make[2]: Leaving directory
/var/tmp/portage/gnome-system-monitor-2.0.4-r1/work/gnome-system-monitor-
2.0.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
/var/tmp/portage/gnome-system-monitor-2.0.4-r1/work/gnome-system-monitor-2.0.4'

any tips?
Comment 1 foser (RETIRED) gentoo-dev 2003-02-10 05:56:01 UTC
does the ebuild for gnome-system-monitor-2.0.4-r1 contain the line 'MAKEOPTS="-j1"' ?
Comment 2 Francisco León 2003-02-10 10:39:17 UTC
Yeah it does, i commented it out and now it compiles!
Patch included
Comment 3 Francisco León 2003-02-10 10:40:07 UTC
Created attachment 8126 [details, diff]
Removes MAKEOPTS from the ebuild
Comment 4 Lars Hoss 2003-02-12 07:43:31 UTC
The latest ebuild does still have the MAKEOPTS line. After removing this line I was able to compile gnome-system-monitor.
Comment 5 foser (RETIRED) gentoo-dev 2003-02-12 08:19:15 UTC
yeah thats pretty weird huh, the line is ther to ensure that it compiles ( i had reports where it didn't without it) and it shouldn't break builds anyway.
Comment 6 Julian Urquijo 2003-02-12 14:13:47 UTC
had same issue. removing makeopts -j DID NOT fix it in my case. backing off on compiler optimizations in /etc/make.conf (to -O3 -pipe) DID enable me to compile. 
Comment 7 Brian Bilbrey 2003-02-16 10:44:59 UTC
Data point:  
 
On my Dual Athlon box, in /etc/make.conf: 
CFLAGS="-march=athlon-mp -O3 -pipe -fomit-frame-pointer" 
MAKEOPTS="-j3" 
 
Commenting out the MAKEOPTS="-j1" at the tail of 
gnome-system-monitor-2.0.4-r1.ebuild allowed the build to complete 
successfully. 
Comment 8 Felipe Ghellar 2003-02-18 17:23:59 UTC
What fixed it to me was to remove -fstrict-aliasing from CFLAGS.
Comment 9 foser (RETIRED) gentoo-dev 2003-02-18 18:21:54 UTC
Well if you get the error on top here, it seems only to have todo with the order in which things are compiled. -j1 should imo eliminate all possible failures, but it doesn't look that way. I have no idea why some ppl seem to have to disable that to have it compile.
Comment 10 foser (RETIRED) gentoo-dev 2003-02-19 14:53:52 UTC
what was exactly the output everyone of you was getting i wonder.
Comment 11 foser (RETIRED) gentoo-dev 2003-02-19 15:06:55 UTC
i have disabled the patch for now, but i would like to get it back in so please respond to my previous request. Do whatever you need to recreate the problem :)
Comment 12 foser (RETIRED) gentoo-dev 2003-03-03 19:48:45 UTC
noone ?
Comment 13 Felipe Ghellar 2003-03-03 19:55:02 UTC
I recompiled the entire system, and this time -fstrict-aliasing did not cause any problems. I don't know what it could be now...
Comment 14 foser (RETIRED) gentoo-dev 2003-04-03 17:14:43 UTC
mm to avoid problems ill leave the patch disabled.. most ppl will now have to wait for gnome2.4 to enjoy this gimmick ;)