<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>30256</bug_id>
          
          <creation_ts>2003-10-03 09:43 0000</creation_ts>
          <short_desc>Emerge of fwbuilder-1.0.11 does not generate GUI</short_desc>
          <delta_ts>2006-02-04 06:05:34 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>Sparc</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>TEST-REQUEST</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>jjacocks@mac.com</reporter>
          <assigned_to>sparc@gentoo.org</assigned_to>
          <cc>gcc-porting@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>jjacocks@mac.com</who>
            <bug_when>2003-10-03 09:43:48 0000</bug_when>
            <thetext>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=&quot;sparc&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-mcpu=ultrasparc -O3 -pipe&quot;
CHOST=&quot;sparc-unknown-linux-gnu&quot;
COMPILER=&quot;gcc3&quot;
CONFIG_PROTECT=&quot;/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/env.d&quot;
CXXFLAGS=&quot;-mcpu=ultrasparc -O3 -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;sandbox ccache&quot;
GENTOO_MIRRORS=&quot;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/&quot;
MAKEOPTS=&quot;-j3&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;&quot;
SYNC=&quot;rsync://rsync.us.gentoo.org/gentoo-portage&quot;
USE=&quot;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&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jjacocks@mac.com</who>
            <bug_when>2003-10-03 09:45:01 0000</bug_when>
            <thetext>This may be platform independant, but I do not have an x86 machine to verify
on.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>weeve@gentoo.org</who>
            <bug_when>2003-10-04 04:27:39 0000</bug_when>
            <thetext>Marking this as major as it is not a blocking bug (i.e. it does not keep
you from using your system).</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>weeve@gentoo.org</who>
            <bug_when>2003-10-04 05:55:22 0000</bug_when>
            <thetext>It looks like it probably is a sparc (or at least non-x86) issue.  Looking
into it.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>weeve@gentoo.org</who>
            <bug_when>2003-10-04 14:51:45 0000</bug_when>
            <thetext>Ok, so it looks like the culprit is a GCC bug.  What&apos;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=\&quot;/usr/share/locale\&quot; -DPACKAGE=\&quot;fwbuilder\&quot; -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()&apos;:
StandardRulesDruid2.cc:663: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See &lt;URL:http://bugs.gentoo.org/&gt; 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&apos;


Adding the gcc-porting team to CC so they can peruse,</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jjacocks@mac.com</who>
            <bug_when>2003-10-04 21:16:00 0000</bug_when>
            <thetext>Sorry, I didn&apos;t catch that in the output.  That&apos;ll teach me to read the output
more carefully.

Thanks for looking in to this.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>weeve@gentoo.org</who>
            <bug_when>2003-10-05 06:55:31 0000</bug_when>
            <thetext>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&apos;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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>weeve@gentoo.org</who>
            <bug_when>2003-12-06 08:20:56 0000</bug_when>
            <thetext>Marked stable and closing.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>