Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60016 - gnome-pilot-2.0.10-r1 fails to build
Summary: gnome-pilot-2.0.10-r1 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-10 19:12 UTC by Wilbur Pan
Modified: 2004-08-13 20:18 UTC (History)
1 user (show)

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


Attachments
gcc 3.4 fix (gnome-pilot-2.0.10-gcc34.patch,4.01 KB, patch)
2004-08-11 22:57 UTC, Matthew Baker
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Wilbur Pan 2004-08-10 19:12:13 UTC
In the process of emerging evolution, gnome-pilot-2.0.10-r1 fails with this error:

gcc -march=pentium3 -O2 -mno-align-stringops -minline-all-stringops -fno-crossju mping -fmove-all-movables -mno-push-args -fno-delayed-branch -fno-thread-jumps - fno-defer-pop -Wall -pipe -o .libs/gpilot-applet gpilot-applet-progress.o pilot. o -Wl,--export-dynamic -pthread -Wl,--export-dynamic -pthread  -L/usr/X11R6/lib -L/usr/lib -lz -lm -ldl -lpthread -lSM -lICE -lSM -lICE -lz -lpthread -lm -ldl - lSM -lICE -lm -ldl -lz -ldl -lpthread -lm -lm -lpthread -lz -lm -ldl -lpthread - lz -lm -lpthread -lz -ldl -ldl -lm -ldl -lm -ldl -lpthread -lpthread -lz -lm -ld l -lm -ldl -lpthread -lm -ldl -lpthread -ldl -lpthread -lm -ldl -ldl -lpthread / usr/lib/libpisock.so /usr/lib/libpisync.so -lncurses -lreadline /usr/lib/libpane l-applet-2.so /usr/lib/libglade-2.0.so -lSM -lICE -lz -lm -ldl -lpthread /usr/li b/libgnomeui-2.so -lz -lm -ldl -lpthread /usr/lib/libgnome-keyring.so /usr/lib/l ibjpeg.so -lSM -lICE -lSM -lICE /usr/lib/libbonoboui-2.so -lz -lpthread -lm -ldl  -lSM -lICE -lX11 -lpthread -lz -lm -lpthread -lz /usr/lib/libgnomecanvas-2.so - lm -ldl /usr/lib/libgnome-2.so -lz /usr/lib/libesd.so /usr/lib/libasound.so -ldl  -lpthread /usr/lib/libaudiofile.so -lm /usr/lib/libart_lgpl_2.so -lm /usr/lib/l ibpangoft2-1.0.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib /libatk-1.0.so -ldl /usr/lib/libgdk_pixbuf-2.0.so -ldl -lm /usr/lib/libpangoxft- 1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so -ldl -lm -ldl -lpthrea d -lm -ldl -lpthread /usr/lib/libgnomevfs-2.so /usr/lib/libgconf-2.so /usr/lib/l ibbonobo-2.so /usr/lib/libxml2.so -lpthread -lz -lm -lssl -lcrypto -ldl -lrt /us r/lib/libbonobo-activation.so /usr/lib/libORBitCosNaming-2.so -lm -ldl -lpthread  /usr/lib/libORBit-2.so -ldl /usr/lib/libpopt.so /usr/lib/libgobject-2.0.so -lpt hread -lm /usr/lib/libgmodule-2.0.so -ldl -ldl /usr/lib/libgthread-2.0.so -lpthr ead /usr/lib/libglib-2.0.so ../gpilotd/.libs/libgpilotd.so -lcrypt -Wl,--rpath - Wl,/usr/lib/
creating gpilot-applet
make[2]: Leaving directory `/var/tmp/portage/gnome-pilot-2.0.10-r1/work/gnome-pi lot-2.0.10/applet'
Making all in capplet
make[2]: Entering directory `/var/tmp/portage/gnome-pilot-2.0.10-r1/work/gnome-p ilot-2.0.10/capplet'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DORBIT2=1 -pthread -DXTHREADS -D_REENTRAN T -DXUSE_MTSAFE_API -I/usr/include/libgnome-2.0 -I/usr/include/glib-2.0 -I/usr/l ib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr /include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include - I/usr/include/bonobo-activation-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include /libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/incl ude/libbonoboui-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib /gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/free type2/config -I/usr/include/libxml2 -I/usr/include/libglade-2.0   -I/usr/include /libpisock -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DGLADEDATADIR=\""/usr/share /gnome-pilot/glade"\"     -march=pentium3 -O2 -mno-align-stringops -minline-all- stringops -fno-crossjumping -fmove-all-movables -mno-push-args -fno-delayed-bran ch -fno-thread-jumps -fno-defer-pop -Wall -pipe   -c gpilotd-control-applet.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DORBIT2=1 -pthread -DXTHREADS -D_REENTRAN T -DXUSE_MTSAFE_API -I/usr/include/libgnome-2.0 -I/usr/include/glib-2.0 -I/usr/l ib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr /include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include - I/usr/include/bonobo-activation-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include /libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/incl ude/libbonoboui-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib /gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/free type2/config -I/usr/include/libxml2 -I/usr/include/libglade-2.0   -I/usr/include /libpisock -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DGLADEDATADIR=\""/usr/share /gnome-pilot/glade"\"     -march=pentium3 -O2 -mno-align-stringops -minline-all- stringops -fno-crossjumping -fmove-all-movables -mno-push-args -fno-delayed-bran ch -fno-thread-jumps -fno-defer-pop -Wall -pipe   -c gnome-pilot-capplet.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DORBIT2=1 -pthread -DXTHREADS -D_REENTRAN T -DXUSE_MTSAFE_API -I/usr/include/libgnome-2.0 -I/usr/include/glib-2.0 -I/usr/l ib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr /include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include - I/usr/include/bonobo-activation-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include /libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/incl ude/libbonoboui-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib /gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/free type2/config -I/usr/include/libxml2 -I/usr/include/libglade-2.0   -I/usr/include /libpisock -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DGLADEDATADIR=\""/usr/share /gnome-pilot/glade"\"     -march=pentium3 -O2 -mno-align-stringops -minline-all- stringops -fno-crossjumping -fmove-all-movables -mno-push-args -fno-delayed-bran ch -fno-thread-jumps -fno-defer-pop -Wall -pipe   -c gnome-pilot-pdialog.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DORBIT2=1 -pthread -DXTHREADS -D_REENTRAN T -DXUSE_MTSAFE_API -I/usr/include/libgnome-2.0 -I/usr/include/glib-2.0 -I/usr/l ib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr /include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include - I/usr/include/bonobo-activation-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include /libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/incl ude/libbonoboui-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib /gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/free type2/config -I/usr/include/libxml2 -I/usr/include/libglade-2.0   -I/usr/include /libpisock -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DGLADEDATADIR=\""/usr/share /gnome-pilot/glade"\"     -march=pentium3 -O2 -mno-align-stringops -minline-all- stringops -fno-crossjumping -fmove-all-movables -mno-push-args -fno-delayed-bran ch -fno-thread-jumps -fno-defer-pop -Wall -pipe   -c gnome-pilot-ddialog.c
gnome-pilot-pdialog.c: In function `init':
gnome-pilot-pdialog.c:147: error: label at end of compound statement
gnome-pilot-pdialog.c: In function `gppd_sync_dialog':
gnome-pilot-pdialog.c:379: warning: passing arg 3 of `gnome_dialog_button_connec t' from incompatible pointer type
make[2]: *** [gnome-pilot-pdialog.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/gnome-pilot-2.0.10-r1/work/gnome-pi lot-2.0.10/capplet'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-pilot-2.0.10-r1/work/gnome-pi lot-2.0.10'
make: *** [all-recursive-am] Error 2

!!! ERROR: app-pda/gnome-pilot-2.0.10-r1 failed.
!!! Function gnome2_src_compile, Line 38, Exitcode 2
!!! compile failure


Here's my emerge info:

# emerge info
Portage 2.0.50-r9 (gcc34-x86-2004.2, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.6.7-mm6)
=================================================================
System uname: 2.6.7-mm6 i686 Pentium III (Coppermine)
Gentoo Base System version 1.5.2
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O2 -mno-align-stringops -minline-all-stringops -fno-crossjumping -fmove-all-movables -mno-push-args -fno-delayed-branch -fno-thread-jumps -fno-defer-pop -Wall -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O2 -mno-align-stringops -minline-all-stringops -fno-crossjumping -fmove-all-movables -mno-push-args -fno-delayed-branch -fno-thread-jumps -fno-defer-pop -Wall -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X acpi acpi4linux activefilter alsa apm avi berkdb bindist bonobo cdr crypt cups curl dga dvb dvd encode esd fam foomaticdb gcj gdbm gif gimpprint gnome gpm gstreamer gtk gtk2 gtkhtml imap imlib imlib2 ipv6 java javamail jpeg ldap libg++ libwww live mad mikmod mmx motif mozcalendar mozilla moznocompose moznoirc mpeg music ncurses nls nntp nptl objc oggvorbis opengl pam pcmcia pda pdflib perl pic png ppds python quicktime rage128 readline samba sdl slang slp spell sse ssl svg svga tcpd tiff truetype unicode usb x86 xml2 xmms xv zlib"
Comment 1 foser (RETIRED) gentoo-dev 2004-08-11 02:21:45 UTC
i'd start out using a bit more conservative CFLAGS.
Comment 2 Wilbur Pan 2004-08-11 06:08:57 UTC
A note of explanation of my CFLAGS:  these were generated by Acovea, and even though it looks like there is a lot going on, they basically put my system somewhere between -O1 and -O2.  Most of the CFLAGS are turning off optimizations that -O2 has that are not in -O1.

What CFLAGS works for you?
Comment 3 Matthew Baker 2004-08-11 22:57:34 UTC
Created attachment 37261 [details, diff]
gcc 3.4 fix

The breakage was not because of the CFLAGS.  The orignal gcc 3.4 patch in
gnome-pilot doesn't go far enough in replacing "goto error;" *cringe*.	This
one was made with a pair of sed substatutions.	It should fis all the files in
capplets.  Remove the old patch in /usr/portage/app-pda/gnome-pilot/files and
replace that patch with the one I've attached.

I've done this before on my system, but unfortunately, I'm not at home so this
isn't the orignal patch I used.  It SHOULD work though, but no promises.
Comment 4 Wilbur Pan 2004-08-12 05:55:08 UTC
Thanks for the patch! It does work, although I had to clean up some ^L's before it would apply cleanly.

Perhaps this patch should be updated in the Portage tree.
Comment 5 Alastair Tse (RETIRED) gentoo-dev 2004-08-13 20:18:59 UTC
thanks for the amended patch. in portage now.