Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30256 - Emerge of fwbuilder-1.0.11 does not generate GUI
Summary: Emerge of fwbuilder-1.0.11 does not generate GUI
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: Sparc Linux
: High major (vote)
Assignee: Sparc Porters
Depends on:
Reported: 2003-10-03 09:43 UTC by J. Alexander Jacocks
Modified: 2006-02-04 06:05 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description J. Alexander Jacocks 2003-10-03 09:43:48 UTC
When I emerge fwbuilder-1.0.11 with libfwbuilder 1.0.1, the file
/usr/bin/fwbuilder is not built.  I can find no errors in the ebuild output,

Reproducible: Always
Steps to Reproduce:
1. emerge net-lib/libfwbuilder/libfwbuilder-1.0.1.ebuild
2. emerge net-firewall/fwbuilder/fwbuilder-1.0.11.ebuild

Actual Results:  
The library, and all parts of fwbuilder, except for the GUI, are installed. 
BTW, gtk-- is in place, as is necessary:

*  dev-cpp/gtkmm
      Latest version available: 1.2.9-r2
      Latest version installed: 1.2.9-r2
      Size of downloaded files: 699 kB
      Description: C++ interface for GTK+

Expected Results:  
Installed /usr/bin/fwbuilder.

My machine is a Sun e220R 2x450 1gb/2x18gb.

Portage 2.0.49-r3 (default-sparc64-1.4, gcc-3.2.3, glibc-2.3.1-r4, 2.4.21-sparc-r1)
System uname: 2.4.21-sparc-r1 sparc64 sun4u
CFLAGS="-mcpu=ultrasparc -O3 -pipe"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=ultrasparc -O3 -pipe"
FEATURES="sandbox ccache"
USE="sparc avi crypt cups encode fbcon foomaticdb gif gnome jpeg libwww mad
mikmod motif mpeg ncurses oggvorbis oss png pdflib qt sdl spell truetype xv xml2
xmms zlib gdbm berkdb slang readline tcpd pam ssl perl python esd imlib opengl
snmp -arts gtk -java -kde -nls X"
Comment 1 J. Alexander Jacocks 2003-10-03 09:45:01 UTC
This may be platform independant, but I do not have an x86 machine to verify
Comment 2 Jason Wever (RETIRED) gentoo-dev 2003-10-04 04:27:39 UTC
Marking this as major as it is not a blocking bug (i.e. it does not keep
you from using your system).
Comment 3 Jason Wever (RETIRED) gentoo-dev 2003-10-04 05:55:22 UTC
It looks like it probably is a sparc (or at least non-x86) issue.  Looking
into it.
Comment 4 Jason Wever (RETIRED) gentoo-dev 2003-10-04 14:51:45 UTC
Ok, so it looks like the culprit is a GCC bug.  What's happening is while
fwbuilder is building the GUI, it segfaults on a compile.  However for some
odd reason this does not cause the build to fail entirely, just the GUI.
 So the ebuild keeps on going and installs.

Failure looks like;
g++ -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"fwbuilder\" -DHAVE_CONFIG_H
mcpu=ultrasparc -mtune=ultrasparc -O3 -pipe -Wall -I. -I../.. -I../../intl
VE_CONFIG_H  -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT
/include/libxml2  -I/usr/lib/sigc++-1.0/include -I/usr/include/sigc++-1.0
/lib/gtkmm/include -I/usr/include/gtk-1.2 -I/usr/X11R6/include     -I/usr/includ
e/gdk-pixbuf-1.0  -c In member function `void
   StandardRulesDruid::generateRulesForNetAndDMZProtection()': internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:> for instructions.
make[2]: *** [StandardRulesDruid2.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/fwbuilder-1.0.11/work/fwbuilder-1.0

Adding the gcc-porting team to CC so they can peruse,
Comment 5 J. Alexander Jacocks 2003-10-04 21:16:00 UTC
Sorry, I didn't catch that in the output.  That'll teach me to read the output
more carefully.

Thanks for looking in to this.
Comment 6 Jason Wever (RETIRED) gentoo-dev 2003-10-05 06:55:31 UTC
Looking into this a little more, it appears that the CFLAG -O3 is a little
too much for the GUI.  The CFLAG -O2 works, so I've adjusted the ebuild to
make this switch automatically for sparc.  

Wait about half an hour or so before syncing your portage tree, then try
re-emerging fwbuilder.
Comment 7 Jason Wever (RETIRED) gentoo-dev 2003-12-06 08:20:56 UTC
Marked stable and closing.