Bug 30256 - Emerge of fwbuilder-1.0.11 does not generate GUI
Bug#: 30256 Product:  Gentoo Linux Version: unspecified Platform: Sparc
OS/Version: Linux Status: CLOSED Severity: major Priority: P2
Resolution: TEST-REQUEST Assigned To: sparc@gentoo.org Reported By: jjacocks@mac.com
Component: Applications
URL: 
Summary: Emerge of fwbuilder-1.0.11 does not generate GUI
Keywords:  
Status Whiteboard: 
Opened: 2003-10-03 09:43 0000
Description:   Opened: 2003-10-03 09:43 0000
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,
however.

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
      Homepage:    http://gtkmm.sourceforge.net/
      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
ACCEPT_KEYWORDS="sparc"
AUTOCLEAN="yes"
CFLAGS="-mcpu=ultrasparc -O3 -pipe"
CHOST="sparc-unknown-linux-gnu"
COMPILER="gcc3"
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"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/
http://ftp.lug.udel.edu/pub/linux/distributions/gentoo/
http://www.ibiblio.org/gentoo http://csociety-ftp.ecn.purdue.edu/pub/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
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 From J. Alexander Jacocks 2003-10-03 09:45:01 0000 -------
This may be platform independant, but I do not have an x86 machine to verify
on.

------- Comment #2 From Jason Wever (RETIRED) 2003-10-04 04:27:39 0000 -------
Marking this as major as it is not a blocking bug (i.e. it does not keep
you from using your system).

------- Comment #3 From Jason Wever (RETIRED) 2003-10-04 05:55:22 0000 -------
It looks like it probably is a sparc (or at least non-x86) issue.  Looking
into it.

------- Comment #4 From Jason Wever (RETIRED) 2003-10-04 14:51:45 0000 -------
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
 -DHA
VE_CONFIG_H  -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT
-I/usr
/include/libxml2  -I/usr/lib/sigc++-1.0/include -I/usr/include/sigc++-1.0
-I/usr
/lib/gtkmm/include -I/usr/include/gtk-1.2 -I/usr/X11R6/include     -I/usr/includ
e/gdk-pixbuf-1.0  -c ASDruidP10Dialog.cc
StandardRulesDruid2.cc: In member function `void
   StandardRulesDruid::generateRulesForNetAndDMZProtection()':
StandardRulesDruid2.cc:663: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> 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
.11/src/gui'


Adding the gcc-porting team to CC so they can peruse,

------- Comment #5 From J. Alexander Jacocks 2003-10-04 21:16:00 0000 -------
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 From Jason Wever (RETIRED) 2003-10-05 06:55:31 0000 -------
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 From Jason Wever (RETIRED) 2003-12-06 08:20:56 0000 -------
Marked stable and closing.