Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24778 - fwbuilder-1.0.10 - emake failed
Summary: fwbuilder-1.0.10 - emake failed
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-18 17:40 UTC by Carsten Lohrke (RETIRED)
Modified: 2003-12-28 22:50 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carsten Lohrke (RETIRED) gentoo-dev 2003-07-18 17:40:29 UTC
In file included from TargetDialog_unknown_glade.cc:11:
TargetDialog_unknown.hh:29:33: fwbuilder/FWObject.hh: No such file or directory
g++ -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"fwbuilder\" -DHAVE_CONFIG_H 
-O3 -march=athlon-xp -pipe -foptimize-sibling-calls -fomit-frame-pointer
-funroll-loops -fforce-addr -msse -mmmx -m3dnow  -Wall -I. -I../.. -I../../intl
 -DHAVE_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/include/gdk-pixbuf-1.0  -c WhereUsedDialog_glade.cc
In file included from WhereUsedDialog_glade.cc:11:
WhereUsedDialog.hh:35:33: fwbuilder/FWObject.hh: No such file or directory
In file included from TargetDialog_unknown.hh:31,
                 from TargetDialog_unknown_glade.cc:11:
DialogPlugin.hh:37:33: fwbuilder/FWObject.hh: No such file or directory
In file included from TargetDialog_unknown.hh:31,
                 from TargetDialog_unknown_glade.cc:11:
DialogPlugin.hh:53: syntax error before `::' token
DialogPlugin.hh:71: `libfwbuilder' was not declared in this scope
DialogPlugin.hh:71: syntax error before `::' token
DialogPlugin.hh:72: `libfwbuilder' was not declared in this scope
DialogPlugin.hh:72: syntax error before `::' token
DialogPlugin.hh:75: `libfwbuilder' was not declared in this scope
DialogPlugin.hh:75: syntax error before `::' token
DialogPlugin.hh:76: `libfwbuilder' was not declared in this scope
DialogPlugin.hh:76: syntax error before `::' token
DialogPlugin.hh:77: `libfwbuilder' was not declared in this scope
DialogPlugin.hh:77: syntax error before `::' token
DialogPlugin.hh:78: `libfwbuilder' was not declared in this scope
DialogPlugin.hh:78: syntax error before `::' token
DialogPlugin.hh:79: `libfwbuilder' was not declared in this scope
DialogPlugin.hh:79: syntax error before `::' token
DialogPlugin.hh:80: `libfwbuilder' was not declared in this scope
DialogPlugin.hh:80: syntax error before `::' token
DialogPlugin.hh:83: `libfwbuilder' was not declared in this scope
DialogPlugin.hh:83: syntax error before `::' token
DialogPlugin.hh:84: `libfwbuilder' was not declared in this scope
DialogPlugin.hh:84: syntax error before `::' token
DialogPlugin.hh:85: `libfwbuilder' was not declared in this scope
DialogPlugin.hh:85: syntax error before `::' token
DialogPlugin.hh:86: `libfwbuilder' was not declared in this scope
DialogPlugin.hh:86: syntax error before `::' token
DialogPlugin.hh:87: `libfwbuilder' was not declared in this scope
DialogPlugin.hh:87: syntax error before `::' token
DialogPlugin.hh:88: `libfwbuilder' was not declared in this scope
DialogPlugin.hh:88: syntax error before `::' token
DialogPlugin.hh:110: syntax error before `::' token
DialogPlugin.hh:112: semicolon missing after declaration of `DialogPlugin'
DialogPlugin.hh:112: ISO C++ forbids defining types within return type
DialogPlugin.hh:112: `bool' is now a keyword
DialogPlugin.hh:112: semicolon missing after declaration of `class DialogPlugin
   '
DialogPlugin.hh: In function `int needDialogButtons()':
DialogPlugin.hh:112: `dialog_buttons' undeclared (first use this function)
DialogPlugin.hh:112: (Each undeclared identifier is reported only once for each
   function it appears in.)
DialogPlugin.hh: At global scope:
DialogPlugin.hh:117: `libfwbuilder' was not declared in this scope
DialogPlugin.hh:117: syntax error before `::' token
DialogPlugin.hh:117: virtual outside class declaration
DialogPlugin.hh:125: `libfwbuilder' was not declared in this scope
DialogPlugin.hh:125: syntax error before `::' token
DialogPlugin.hh:125: virtual outside class declaration
In file included from TargetDialog_unknown_glade.cc:11:
TargetDialog_unknown.hh:50: syntax error before `*' token
make[2]: *** [TargetDialog_unknown_glade.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from WhereUsedDialog.hh:37,
                 from WhereUsedDialog_glade.cc:11:
ListOfIcons.hh:36:33: fwbuilder/FWObject.hh: No such file or directory
In file included from WhereUsedDialog.hh:37,
                 from WhereUsedDialog_glade.cc:11:
ListOfIcons.hh:68: `libfwbuilder' was not declared in this scope
ListOfIcons.hh:68: syntax error before `::' token
In file included from WhereUsedDialog_glade.cc:11:
WhereUsedDialog.hh:60: type specifier omitted for parameter `libfwbuilder'
WhereUsedDialog.hh:60: syntax error before `::' token
make[2]: *** [WhereUsedDialog_glade.o] Error 1
make[2]: Leaving directory
`/var/tmp/portage/fwbuilder-1.0.10/work/fwbuilder-1.0.10/src/gui'
make[2]: Entering directory
`/var/tmp/portage/fwbuilder-1.0.10/work/fwbuilder-1.0.10/src/tools'
g++ -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"fwbuilder\" -DHAVE_CONFIG_H 
-O3 -march=athlon-xp -pipe -foptimize-sibling-calls -fomit-frame-pointer
-funroll-loops -fforce-addr -msse -mmmx -m3dnow  -I. -I../.. -I../../intl
-DHAVE_CONFIG_H  -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/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT
-I/usr/include/libxml2    -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-D_REENTRANT -I../gui/  -c fwblookup.cc
fwblookup.cc:43:34: fwbuilder/Resources.hh: No such file or directory
fwblookup.cc:45:41: fwbuilder/FWObjectDatabase.hh: No such file or directory
fwblookup.cc:46:33: fwbuilder/XMLTools.hh: No such file or directory
fwblookup.cc:47:36: fwbuilder/FWException.hh: No such file or directory
fwblookup.cc:48:33: fwbuilder/Firewall.hh: No such file or directory
fwblookup.cc:49:34: fwbuilder/Interface.hh: No such file or directory
fwblookup.cc:75: namespace `libfwbuilder' undeclared
fwblookup.cc:77: `XMLTools' is not a class or namespace
fwblookup.cc:78: `UpgradePredicate' is not a class or namespace
fwblookup.cc:95: syntax error before `*' token
fwblookup.cc:99: `path' was not declared in this scope
fwblookup.cc:100: `path' was not declared in this scope
fwblookup.cc:102: syntax error before `::' token
fwblookup.cc: In function `int main(int, char* const*)':
fwblookup.cc:161: `libfwbuilder' undeclared (first use this function)
fwblookup.cc:161: (Each undeclared identifier is reported only once for each
   function it appears in.)
fwblookup.cc:161: syntax error before `::' token
fwblookup.cc:171: `FWObjectDatabase' undeclared (first use this function)
fwblookup.cc:171: syntax error before `::' token
fwblookup.cc:172: `FWObject' undeclared (first use this function)
fwblookup.cc:172: `obj' undeclared (first use this function)
fwblookup.cc:182: `find_object' undeclared (first use this function)
fwblookup.cc:188: `FWException' undeclared (first use this function)
fwblookup.cc:192: syntax error before `::' token
fwblookup.cc:217: `Address' undeclared (first use this function)
fwblookup.cc:217: syntax error before `::' token
fwblookup.cc:229: `Interface' undeclared (first use this function)
fwblookup.cc:229: syntax error before `::' token
fwblookup.cc:239: must have at least one catch per try block
fwblookup.cc:241: `Host' undeclared (first use this function)
fwblookup.cc:241: syntax error before `::' token
fwblookup.cc:244: `ma' undeclared (first use this function)
fwblookup.cc:244: `IPAddress' undeclared (first use this function)
fwblookup.cc: At global scope:
fwblookup.cc:260: syntax error before `if'
fwblookup.cc:266: `o' was not declared in this scope
fwblookup.cc:267: syntax error before `while'
fwblookup.cc:270: ISO C++ forbids declaration of `o' with no type
fwblookup.cc:270: base operand of `->' is not a pointer
fwblookup.cc:271: syntax error before `}' token
fwblookup.cc:272: syntax error before `<<' token
fwblookup.cc:279: ISO C++ forbids declaration of `exit' with no type
fwblookup.cc:279: `int exit' redeclared as different kind of symbol
/usr/include/stdlib.h:610: previous declaration of `void exit(int)'
fwblookup.cc:280: syntax error before `}' token
fwblookup.cc:282: ISO C++ forbids declaration of `exit' with no type
fwblookup.cc:282: redefinition of `int exit'
fwblookup.cc:279: `int exit' previously defined here
fwblookup.cc:283: syntax error before `}' token
fwblookup.cc:285: ISO C++ forbids declaration of `exit' with no type
fwblookup.cc:285: redefinition of `int exit'
fwblookup.cc:282: `int exit' previously defined here
fwblookup.cc:286: syntax error before `}' token
fwblookup.cc:288: ISO C++ forbids declaration of `exit' with no type
fwblookup.cc:288: redefinition of `int exit'
fwblookup.cc:285: `int exit' previously defined here
fwblookup.cc:289: syntax error before `}' token
fwblookup.cc:291: ISO C++ forbids declaration of `exit' with no type
fwblookup.cc:291: redefinition of `int exit'
fwblookup.cc:288: `int exit' previously defined here
fwblookup.cc:292: syntax error before `}' token
{standard input}: Assembler messages:
{standard input}:92: Error: symbol `exit' is already defined
{standard input}:98: Error: symbol `exit' is already defined
{standard input}:104: Error: symbol `exit' is already defined
{standard input}:110: Error: symbol `exit' is already defined
make[2]: *** [fwblookup.o] Error 1
make[2]: Leaving directory
`/var/tmp/portage/fwbuilder-1.0.10/work/fwbuilder-1.0.10/src/tools'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/var/tmp/portage/fwbuilder-1.0.10/work/fwbuilder-1.0.10/src'
make: *** [all] Error 2

!!! ERROR: net-firewall/fwbuilder-1.0.10 failed.
!!! Function src_compile, Line 41, Exitcode 2
!!! emake failed


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-07-19 14:58:55 UTC
please provide
#emerge info
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2003-07-20 09:47:02 UTC
Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.2.5-r2,2.3.2-r1)
=================================================================
System uname: 2.4.20-gentoo-r5 i686 AMD Duron(tm) Processor
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.berlios.de/pub/gentoo-deutsch http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss 3dnow apm avi crypt cups encode foomaticdb gif jpeg gnome libg++ mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb gtkhtml alsa gdbm berkdb slang readline arts tetex aalib nas bonobo svga ggi tcltk java ruby mysql postgres X sdl gpm tcpd pam libwww ssl perl python imlib oggvorbis gtk qt kde motif opengl mozilla gphoto2 ldap snmp cdr scanner acl acpi acpi4linux artswrappersuid curl dga dnd doc dvd emacs faad fbcon firebird gd gtk2 hbci imap innodb jack jack-tmpfs jikes junit ladcca lcms libgda lirc maildir mbox mng moznocompose moznoirc moznomail mozsvg mozxmlterm oav openal plotutils pnp samba sasl slp sse tiff usb vim-with-x wmf xml xvid zeo -guile -esd"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -pipe -foptimize-sibling-calls -fomit-frame-pointer -funroll-loops -fforce-addr -msse -mmmx -m3dnow "
CXXFLAGS="-O2 -mcpu=i686 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache keeptemp keepwork"
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2003-07-20 09:49:44 UTC
In between I updated to Portage 2.0.48-r5. I tried to emerge fwbuilder again, to give you a full log, but that's all i got:

>>> Unpacking fwbuilder-1.0.10.tar.gz to /var/tmp/portage/fwbuilder-1.0.10/work
/usr/sbin/ebuild.sh: line 1225:  8382 Segmentation fault      tar ${tarvars} -xzf ${DISTDIR}/${x}

!!! ERROR: net-firewall/fwbuilder-1.0.10 failed.
!!! Function unpack, Line 287, Exitcode 139
!!! failure unpacking fwbuilder-1.0.10.tar.gz
Comment 4 Bert Santema 2003-11-04 01:25:52 UTC
I'm getting the same error as in the origal bug report (emake failing). I
unmerged a lot of things, but still the same error every time. Also, it makes
no difference what version I try to emerge (tried 1.0.6, 1.0.10 and 1.0.11).
It always stops building. Below some information that might be relevant:

CHOST="i686-pc-linux-gnu"
CFLAGS="-O2 -mcpu=i686 -march=pentium3 -pipe -fomit-frame-pointer
-fforce-addr -frename-registers -fprefetch-loop-arrays -falign-functions=64"
CXXFLAGS="${CFLAGS}"

And some versions of other packages:
Calculating dependencies ...done!
[ebuild   R   ] sys-devel/gcc-3.2.3-r2
[ebuild   R   ] net-analyzer/net-snmp-5.0.9-r1
[ebuild   R   ] net-misc/netstat-nat-1.4.2
[ebuild   R   ] sys-apps/net-tools-1.60-r7
Comment 5 Bert Santema 2003-11-04 06:50:14 UTC
I forgot to include my USE variables, so:
USE="X gtk kde alsa radeon -sis -rage128 -matrox -3dfx -gamma i8x0 sse sse2
3dnow radeon pcmcia usb xml samba gtk2 dvd acpi dga"

Also, I noticed that the error is not exactly the same. The origal posting
gave an error in fwblookup.o. "My" error is in fwbedit.o. I posted the output
below. Should I make a new bug report for this? 

fwblookup.cc:43:34: fwbuilder/Resources.hh: No such file or directory
fwblookup.cc:45:41: fwbuilder/FWObjectDatabase.hh: No such file or directory
fwblookup.cc:46:33: fwbuilder/XMLTools.hh: No such file or directory
fwbedit.cc:43:34: fwbuilder/Resources.hh: No such file or directory
fwbedit.cc:45:41: fwbuilder/FWObjectDatabase.hh: No such file or directory
fwbedit.cc:46:33: fwbuilder/XMLTools.hh: No such file or directory
fwblookup.cc:47:36: fwbuilder/FWException.hh: No such file or directory
fwblookup.cc:48:36: fwbuilder/FWReference.hh: No such file or directory
fwblookup.cc:49:33: fwbuilder/Firewall.hh: No such file or directory
fwblookup.cc:50:34: fwbuilder/Interface.hh: No such file or directory
fwblookup.cc:78: namespace `libfwbuilder' undeclared
fwblookup.cc:80: `XMLTools' is not a class or namespace
fwblookup.cc:81: `UpgradePredicate' is not a class or namespace
fwblookup.cc:98: syntax error before `*' token
fwblookup.cc:102: `path' was not declared in this scope
fwblookup.cc:103: `path' was not declared in this scope
fwblookup.cc:105: syntax error before `::' token
fwblookup.cc:113: `FWObject' was not declared in this scope
fwblookup.cc:113: `o' was not declared in this scope
fwblookup.cc:114: variable or field `simplePrint' declared void
fwblookup.cc:114: syntax error before `{' token
fwblookup.cc:120: `o1' was not declared in this scope
fwblookup.cc:121: syntax error before `while'
fwblookup.cc:124: ISO C++ forbids declaration of `o1' with no type
fwblookup.cc:124: base operand of `->' is not a pointer
fwblookup.cc:125: syntax error before `}' token
fwblookup.cc:126: syntax error before `<<' token
fwblookup.cc:129: syntax error before `<<' token
fwblookup.cc: In function `int main(int, char* const*)':
fwblookup.cc:186: `libfwbuilder' undeclared (first use this function)
fwblookup.cc:186: (Each undeclared identifier is reported only once for each
   function it appears in.)
fwblookup.cc:186: syntax error before `::' token
fwblookup.cc:196: `FWObjectDatabase' undeclared (first use this function)
fwblookup.cc:196: syntax error before `::' token
fwblookup.cc:197: `FWObject' undeclared (first use this function)
fwblookup.cc:197: `obj' undeclared (first use this function)
fwblookup.cc:207: `find_object' undeclared (first use this function)
fwblookup.cc:213: `FWException' undeclared (first use this function)
fwblookup.cc:217: syntax error before `::' token
fwblookup.cc:243: `Host' undeclared (first use this function)
fwblookup.cc:243: syntax error before `::' token
fwblookup.cc:246: warning: NULL used in arithmetic
fwblookup.cc:248: base operand of `->' is not a pointer
fwblookup.cc:269: `Address' undeclared (first use this function)
fwblookup.cc:269: syntax error before `::' token
fwblookup.cc:279: must have at least one catch per try block
fwblookup.cc:281: `Interface' undeclared (first use this function)
fwblookup.cc:281: syntax error before `::' token
fwblookup.cc: At global scope:
fwblookup.cc:291: syntax error before `if'
fwblookup.cc:314: syntax error before `!=' token
fwblookup.cc:314: syntax error before `++' token
fwblookup.cc:318: `o' was not declared in this scope
fwblookup.cc:318: ISO C++ forbids declaration of `simplePrint' with no type
fwblookup.cc:318: redefinition of `int simplePrint'
fwblookup.cc:114: `int simplePrint' previously defined here
fwblookup.cc:319: syntax error before `}' token
fwblookup.cc:320: ISO C++ forbids declaration of `exit' with no type
fwblookup.cc:320: `int exit' redeclared as different kind of symbol
/usr/include/stdlib.h:610: previous declaration of `void exit(int)'
fwblookup.cc:321: syntax error before `}' token
fwblookup.cc:322: ISO C++ forbids declaration of `simplePrint' with no type
fwblookup.cc:322: redefinition of `int simplePrint'
fwblookup.cc:318: `int simplePrint' previously defined here
fwblookup.cc:323: syntax error before `if'
fwblookup.cc:328: ISO C++ forbids declaration of `exit' with no type
fwblookup.cc:328: redefinition of `int exit'
fwblookup.cc:320: `int exit' previously defined here
fwblookup.cc:329: syntax error before `}' token
fwblookup.cc:331: ISO C++ forbids declaration of `exit' with no type
fwblookup.cc:331: redefinition of `int exit'
fwblookup.cc:328: `int exit' previously defined here
fwblookup.cc:332: syntax error before `}' token
fwblookup.cc:334: ISO C++ forbids declaration of `exit' with no type
fwblookup.cc:334: redefinition of `int exit'
fwblookup.cc:331: `int exit' previously defined here
fwblookup.cc:335: syntax error before `}' token
fwblookup.cc:337: ISO C++ forbids declaration of `exit' with no type
fwblookup.cc:337: redefinition of `int exit'
fwblookup.cc:334: `int exit' previously defined here
fwblookup.cc:338: syntax error before `}' token
fwblookup.cc:340: ISO C++ forbids declaration of `exit' with no type
fwblookup.cc:340: redefinition of `int exit'
fwblookup.cc:337: `int exit' previously defined here
fwblookup.cc:341: syntax error before `}' token
{standard input}: Assembler messages:
{standard input}:100: Error: symbol `simplePrint' is already defined
{standard input}:114: Error: symbol `simplePrint' is already defined
{standard input}:121: Error: symbol `exit' is already defined
{standard input}:127: Error: symbol `exit' is already defined
{standard input}:133: Error: symbol `exit' is already defined
{standard input}:139: Error: symbol `exit' is already defined
{standard input}:145: Error: symbol `exit' is already defined
make[2]: *** [fwblookup.o] Error 1
make[2]: *** Waiting for unfinished jobs....
fwbedit.cc:47:36: fwbuilder/FWException.hh: No such file or directory
fwbedit.cc:48:30: fwbuilder/Group.hh: No such file or directory
fwbedit.cc:67: namespace `libfwbuilder' undeclared
fwbedit.cc:69: `XMLTools' is not a class or namespace
fwbedit.cc:70: `UpgradePredicate' is not a class or namespace
fwbedit.cc:95: syntax error before `*' token
fwbedit.cc:99: `path' was not declared in this scope
fwbedit.cc:100: `path' was not declared in this scope
fwbedit.cc:102: syntax error before `::' token
fwbedit.cc:110: syntax error before `*' token
fwbedit.cc:113: syntax error before `*' token
fwbedit.cc:118: redefinition of `size_t n'
fwbedit.cc:99: `size_t n' previously defined here
fwbedit.cc:118: `path' was not declared in this scope
fwbedit.cc:119: syntax error before `if'
fwbedit.cc: In function `int main(int, char* const*)':
fwbedit.cc:205: `libfwbuilder' undeclared (first use this function)
fwbedit.cc:205: (Each undeclared identifier is reported only once for each
   function it appears in.)
fwbedit.cc:205: syntax error before `::' token
fwbedit.cc:215: `FWObjectDatabase' undeclared (first use this function)
fwbedit.cc:215: syntax error before `::' token
fwbedit.cc:216: `FWObject' undeclared (first use this function)
fwbedit.cc:216: `obj' undeclared (first use this function)
fwbedit.cc:216: `getObject' undeclared (first use this function)
fwbedit.cc:221: syntax error before `::' token
fwbedit.cc:225: `Group' undeclared (first use this function)
fwbedit.cc:225: `grp' undeclared (first use this function)
fwbedit.cc:225: syntax error before `::' token
fwbedit.cc:233: syntax error before `::' token
fwbedit.cc:245: syntax error before `::' token
fwbedit.cc:247: syntax error before `&' token
fwbedit.cc: At global scope:
fwbedit.cc:250: syntax error before `catch'
fwbedit.cc:252: ISO C++ forbids declaration of `exit' with no type
fwbedit.cc:252: `int exit' redeclared as different kind of symbol
/usr/include/stdlib.h:610: previous declaration of `void exit(int)'
fwbedit.cc:253: syntax error before `}' token
fwbedit.cc:255: ISO C++ forbids declaration of `exit' with no type
fwbedit.cc:255: redefinition of `int exit'
fwbedit.cc:252: `int exit' previously defined here
fwbedit.cc:256: syntax error before `}' token
fwbedit.cc:258: ISO C++ forbids declaration of `exit' with no type
fwbedit.cc:258: redefinition of `int exit'
fwbedit.cc:255: `int exit' previously defined here
fwbedit.cc:259: syntax error before `}' token
fwbedit.cc:261: ISO C++ forbids declaration of `exit' with no type
fwbedit.cc:261: redefinition of `int exit'
fwbedit.cc:258: `int exit' previously defined here
fwbedit.cc:262: syntax error before `}' token
{standard input}: Assembler messages:
{standard input}:42: Error: symbol `n' is already defined
{standard input}:55: Error: symbol `exit' is already defined
{standard input}:61: Error: symbol `exit' is already defined
{standard input}:67: Error: symbol `exit' is already defined
make[2]: *** [fwbedit.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/fwbuilder-1.0.11/work/fwbuilder-1.0.11/src/tools'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/fwbuilder-1.0.11/work/fwbuilder-1.0.11/src'
make: *** [all] Error 2

!!! ERROR: net-firewall/fwbuilder-1.0.11 failed.
!!! Function src_compile, Line 49, Exitcode 2
!!! emake failed
Comment 6 Tor Hovland 2003-11-19 01:23:19 UTC
I am also getting this error, on fwbuilder-1.0.11. Emerge output:

In file included from TargetDialog_unknown_glade.cc:11:
TargetDialog_unknown.hh:29:33: fwbuilder/FWObject.hh: No such file or directory
g++ -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"fwbuilder\" -DHAVE_CONFIG_H  -march=pentium2 -O3 -pipe -Wall -I. -I../.. -I../../intl  -DHAVE_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/include/gdk-pixbuf-1.0  -c WhereUsedDialog_glade.cc
In file included from WhereUsedDialog_glade.cc:11:
WhereUsedDialog.hh:35:33: fwbuilder/FWObject.hh: No such file or directory
In file included from TargetDialog_unknown.hh:31,
                 from TargetDialog_unknown_glade.cc:11:
DialogPlugin.hh:37:33: fwbuilder/FWObject.hh: No such file or directory
In file included from TargetDialog_unknown.hh:31,
                 from TargetDialog_unknown_glade.cc:11:
DialogPlugin.hh:53: syntax error before `::' token
DialogPlugin.hh:71: `libfwbuilder' was not declared in this scope
DialogPlugin.hh:71: syntax error before `::' token
DialogPlugin.hh:72: `libfwbuilder' was not declared in this scope
DialogPlugin.hh:72: syntax error before `::' token
DialogPlugin.hh:75: `libfwbuilder' was not declared in this scope
DialogPlugin.hh:75: syntax error before `::' token
DialogPlugin.hh:76: `libfwbuilder' was not declared in this scope
DialogPlugin.hh:76: syntax error before `::' token
DialogPlugin.hh:77: `libfwbuilder' was not declared in this scope
DialogPlugin.hh:77: syntax error before `::' token
DialogPlugin.hh:78: `libfwbuilder' was not declared in this scope
DialogPlugin.hh:78: syntax error before `::' token
DialogPlugin.hh:79: `libfwbuilder' was not declared in this scope
DialogPlugin.hh:79: syntax error before `::' token
DialogPlugin.hh:80: `libfwbuilder' was not declared in this scope
DialogPlugin.hh:80: syntax error before `::' token
DialogPlugin.hh:83: `libfwbuilder' was not declared in this scope
DialogPlugin.hh:83: syntax error before `::' token
DialogPlugin.hh:84: `libfwbuilder' was not declared in this scope
DialogPlugin.hh:84: syntax error before `::' token
DialogPlugin.hh:85: `libfwbuilder' was not declared in this scope
DialogPlugin.hh:85: syntax error before `::' token
DialogPlugin.hh:86: `libfwbuilder' was not declared in this scope
DialogPlugin.hh:86: syntax error before `::' token
DialogPlugin.hh:87: `libfwbuilder' was not declared in this scope
DialogPlugin.hh:87: syntax error before `::' token
DialogPlugin.hh:88: `libfwbuilder' was not declared in this scope
DialogPlugin.hh:88: syntax error before `::' token
DialogPlugin.hh:110: syntax error before `::' token
DialogPlugin.hh:112: semicolon missing after declaration of `DialogPlugin'
DialogPlugin.hh:112: ISO C++ forbids defining types within return type
DialogPlugin.hh:112: `bool' is now a keyword
DialogPlugin.hh:112: semicolon missing after declaration of `class DialogPlugin
   '
DialogPlugin.hh: In function `int needDialogButtons()':
DialogPlugin.hh:112: `dialog_buttons' undeclared (first use this function)
DialogPlugin.hh:112: (Each undeclared identifier is reported only once for each
   function it appears in.)
DialogPlugin.hh: At global scope:
DialogPlugin.hh:117: `libfwbuilder' was not declared in this scope
DialogPlugin.hh:117: syntax error before `::' token
DialogPlugin.hh:117: virtual outside class declaration
DialogPlugin.hh:125: `libfwbuilder' was not declared in this scope
DialogPlugin.hh:125: syntax error before `::' token
DialogPlugin.hh:125: virtual outside class declaration
In file included from TargetDialog_unknown_glade.cc:11:
TargetDialog_unknown.hh:50: syntax error before `*' token
make[2]: *** [TargetDialog_unknown_glade.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from WhereUsedDialog.hh:37,
                 from WhereUsedDialog_glade.cc:11:
ListOfIcons.hh:36:33: fwbuilder/FWObject.hh: No such file or directory
In file included from WhereUsedDialog.hh:37,
                 from WhereUsedDialog_glade.cc:11:
ListOfIcons.hh:68: `libfwbuilder' was not declared in this scope
ListOfIcons.hh:68: syntax error before `::' token
In file included from WhereUsedDialog_glade.cc:11:
WhereUsedDialog.hh:60: type specifier omitted for parameter `libfwbuilder'
WhereUsedDialog.hh:60: syntax error before `::' token
make[2]: *** [WhereUsedDialog_glade.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/fwbuilder-1.0.11/work/fwbuilder-1.0.11/src/gui'
make[2]: Entering directory `/var/tmp/portage/fwbuilder-1.0.11/work/fwbuilder-1.0.11/src/tools'
g++ -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"fwbuilder\" -DHAVE_CONFIG_H  -march=pentium2 -O3 -pipe -I. -I../.. -I../../intl -DHAVE_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/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -I../gui/  -c fwblookup.cc
g++ -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"fwbuilder\" -DHAVE_CONFIG_H  -march=pentium2 -O3 -pipe -I. -I../.. -I../../intl -DHAVE_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/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -I../gui/  -c fwbedit.cc
fwbedit.cc:43:34: fwbuilder/Resources.hh: No such file or directory
fwbedit.cc:45:41: fwbuilder/FWObjectDatabase.hh: No such file or directory
fwbedit.cc:46:33: fwbuilder/XMLTools.hh: No such file or directory
fwbedit.cc:47:36: fwbuilder/FWException.hh: No such file or directory
fwbedit.cc:48:30: fwbuilder/Group.hh: No such file or directory
fwbedit.cc:67: namespace `libfwbuilder' undeclared
fwbedit.cc:69: `XMLTools' is not a class or namespace
fwbedit.cc:70: `UpgradePredicate' is not a class or namespace
fwbedit.cc:95: syntax error before `*' token
fwbedit.cc:99: `path' was not declared in this scope
fwbedit.cc:100: `path' was not declared in this scope
fwbedit.cc:102: syntax error before `::' token
fwbedit.cc:110: syntax error before `*' token
fwbedit.cc:113: syntax error before `*' token
fwbedit.cc:118: redefinition of `size_t n'
fwbedit.cc:99: `size_t n' previously defined here
fwbedit.cc:118: `path' was not declared in this scope
fwbedit.cc:119: syntax error before `if'
fwblookup.cc:43:34: fwbuilder/Resources.hh: No such file or directory
fwbedit.cc: In function `int main(int, char* const*)':
fwbedit.cc:205: `libfwbuilder' undeclared (first use this function)
fwbedit.cc:205: (Each undeclared identifier is reported only once for each
   function it appears in.)
fwbedit.cc:205: syntax error before `::' token
fwbedit.cc:215: `FWObjectDatabase' undeclared (first use this function)
fwbedit.cc:215: syntax error before `::' token
fwbedit.cc:216: `FWObject' undeclared (first use this function)
fwbedit.cc:216: `obj' undeclared (first use this function)
fwbedit.cc:216: `getObject' undeclared (first use this function)
fwbedit.cc:221: syntax error before `::' token
fwbedit.cc:225: `Group' undeclared (first use this function)
fwbedit.cc:225: `grp' undeclared (first use this function)
fwbedit.cc:225: syntax error before `::' token
fwbedit.cc:233: syntax error before `::' token
fwbedit.cc:245: syntax error before `::' token
fwbedit.cc:247: syntax error before `&' token
fwbedit.cc: At global scope:
fwbedit.cc:250: syntax error before `catch'
fwbedit.cc:252: ISO C++ forbids declaration of `exit' with no type
fwbedit.cc:252: `int exit' redeclared as different kind of symbol
/usr/include/stdlib.h:610: previous declaration of `void exit(int)'
fwbedit.cc:253: syntax error before `}' token
fwbedit.cc:255: ISO C++ forbids declaration of `exit' with no type
fwbedit.cc:255: redefinition of `int exit'
fwbedit.cc:252: `int exit' previously defined here
fwbedit.cc:256: syntax error before `}' token
fwbedit.cc:258: ISO C++ forbids declaration of `exit' with no type
fwbedit.cc:258: redefinition of `int exit'
fwbedit.cc:255: `int exit' previously defined here
fwbedit.cc:259: syntax error before `}' token
fwbedit.cc:261: ISO C++ forbids declaration of `exit' with no type
fwbedit.cc:261: redefinition of `int exit'
fwbedit.cc:258: `int exit' previously defined here
fwbedit.cc:262: syntax error before `}' token
fwblookup.cc:45:41: fwbuilder/FWObjectDatabase.hh: No such file or directory
fwblookup.cc:46:33: fwbuilder/XMLTools.hh: No such file or directory
fwblookup.cc:47:36: fwbuilder/FWException.hh: No such file or directory
fwblookup.cc:48:36: fwbuilder/FWReference.hh: No such file or directory
fwblookup.cc:49:33: fwbuilder/Firewall.hh: No such file or directory
fwblookup.cc:50:34: fwbuilder/Interface.hh: No such file or directory
fwblookup.cc:78: namespace `libfwbuilder' undeclared
fwblookup.cc:80: `XMLTools' is not a class or namespace
fwblookup.cc:81: `UpgradePredicate' is not a class or namespace
fwblookup.cc:98: syntax error before `*' token
fwblookup.cc:102: `path' was not declared in this scope
fwblookup.cc:103: `path' was not declared in this scope
fwblookup.cc:105: syntax error before `::' token
fwblookup.cc:113: `FWObject' was not declared in this scope
fwblookup.cc:113: `o' was not declared in this scope
fwblookup.cc:114: variable or field `simplePrint' declared void
fwblookup.cc:114: syntax error before `{' token
fwblookup.cc:120: `o1' was not declared in this scope
fwblookup.cc:121: syntax error before `while'
fwblookup.cc:124: ISO C++ forbids declaration of `o1' with no type
fwblookup.cc:124: base operand of `->' is not a pointer
fwblookup.cc:125: syntax error before `}' token
fwblookup.cc:126: syntax error before `<<' token
fwblookup.cc:129: syntax error before `<<' token
fwblookup.cc: In function `int main(int, char* const*)':
fwblookup.cc:186: `libfwbuilder' undeclared (first use this function)
fwblookup.cc:186: (Each undeclared identifier is reported only once for each
   function it appears in.)
fwblookup.cc:186: syntax error before `::' token
fwblookup.cc:196: `FWObjectDatabase' undeclared (first use this function)
fwblookup.cc:196: syntax error before `::' token
fwblookup.cc:197: `FWObject' undeclared (first use this function)
fwblookup.cc:197: `obj' undeclared (first use this function)
fwblookup.cc:207: `find_object' undeclared (first use this function)
fwblookup.cc:213: `FWException' undeclared (first use this function)
fwblookup.cc:217: syntax error before `::' token
fwblookup.cc:243: `Host' undeclared (first use this function)
fwblookup.cc:243: syntax error before `::' token
fwblookup.cc:246: warning: NULL used in arithmetic
fwblookup.cc:248: base operand of `->' is not a pointer
fwblookup.cc:269: `Address' undeclared (first use this function)
fwblookup.cc:269: syntax error before `::' token
fwblookup.cc:279: must have at least one catch per try block
fwblookup.cc:281: `Interface' undeclared (first use this function)
fwblookup.cc:281: syntax error before `::' token
fwblookup.cc: At global scope:
fwblookup.cc:291: syntax error before `if'
fwblookup.cc:314: syntax error before `!=' token
fwblookup.cc:314: syntax error before `++' token
fwblookup.cc:318: `o' was not declared in this scope
fwblookup.cc:318: ISO C++ forbids declaration of `simplePrint' with no type
fwblookup.cc:318: redefinition of `int simplePrint'
fwblookup.cc:114: `int simplePrint' previously defined here
fwblookup.cc:319: syntax error before `}' token
fwblookup.cc:320: ISO C++ forbids declaration of `exit' with no type
fwblookup.cc:320: `int exit' redeclared as different kind of symbol
/usr/include/stdlib.h:610: previous declaration of `void exit(int)'
fwblookup.cc:321: syntax error before `}' token
fwblookup.cc:322: ISO C++ forbids declaration of `simplePrint' with no type
fwblookup.cc:322: redefinition of `int simplePrint'
fwblookup.cc:318: `int simplePrint' previously defined here
fwblookup.cc:323: syntax error before `if'
fwblookup.cc:328: ISO C++ forbids declaration of `exit' with no type
fwblookup.cc:328: redefinition of `int exit'
fwblookup.cc:320: `int exit' previously defined here
fwblookup.cc:329: syntax error before `}' token
fwblookup.cc:331: ISO C++ forbids declaration of `exit' with no type
fwblookup.cc:331: redefinition of `int exit'
fwblookup.cc:328: `int exit' previously defined here
fwblookup.cc:332: syntax error before `}' token
fwblookup.cc:334: ISO C++ forbids declaration of `exit' with no type
fwblookup.cc:334: redefinition of `int exit'
fwblookup.cc:331: `int exit' previously defined here
fwblookup.cc:335: syntax error before `}' token
fwblookup.cc:337: ISO C++ forbids declaration of `exit' with no type
fwblookup.cc:337: redefinition of `int exit'
fwblookup.cc:334: `int exit' previously defined here
fwblookup.cc:338: syntax error before `}' token
fwblookup.cc:340: ISO C++ forbids declaration of `exit' with no type
fwblookup.cc:340: redefinition of `int exit'
fwblookup.cc:337: `int exit' previously defined here
fwblookup.cc:341: syntax error before `}' token
{standard input}: Assembler messages:
{standard input}:42: Error: symbol `n' is already defined
{standard input}:55: Error: symbol `exit' is already defined
{standard input}:61: Error: symbol `exit' is already defined
{standard input}:67: Error: symbol `exit' is already defined
make[2]: *** [fwbedit.o] Error 1
make[2]: *** Waiting for unfinished jobs....
{standard input}: Assembler messages:
{standard input}:100: Error: symbol `simplePrint' is already defined
{standard input}:114: Error: symbol `simplePrint' is already defined
{standard input}:121: Error: symbol `exit' is already defined
{standard input}:127: Error: symbol `exit' is already defined
{standard input}:133: Error: symbol `exit' is already defined
{standard input}:139: Error: symbol `exit' is already defined
{standard input}:145: Error: symbol `exit' is already defined
make[2]: *** [fwblookup.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/fwbuilder-1.0.11/work/fwbuilder-1.0.11/src/tools'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/fwbuilder-1.0.11/work/fwbuilder-1.0.11/src'
make: *** [all] Error 2

!!! ERROR: net-firewall/fwbuilder-1.0.11 failed.
!!! Function src_compile, Line 49, Exitcode 2
!!! emake failed

# emerge info
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.20-gentoo-r1)
=================================================================
System uname: 2.4.20-gentoo-r1 i686 Celeron (Mendocino)
Gentoo Base System version 1.4.3.10p1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium2 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium2 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS=" http://gentoo.linux.no/ ftp://gentoo.linux.no/pub/gentoo/ http://212.219.56.146/sites/www.ibiblio.org/gentoo/ http://194.83.57.3/sites/www.ibiblio.org/gentoo/ http://ftp.easynet.nl/mirror/gentoo// ftp://ftp.easynet.nl/mirror/gentoo// http://194.83.57.11/sites/www.ibiblio.org/gentoo/ http://194.83.57.7/sites/www.ibiblio.org/gentoo/ http://194.83.57.2/sites/www.ibiblio.org/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 apm avi crypt encode foomaticdb gif jpeg libg++ mad mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline arts tetex svga tcltk java guile X sdl gpm tcpd pam libwww ssl perl python esd imlib opengl mozilla -apache apache2 doc emacs gd gnome gtk imap samba tiff -oss -3dnow -cups -mikmod -motif -oggvorbis qt kde"
Comment 7 Tor Hovland 2003-11-30 14:24:31 UTC
I was finally able to install fwbuilder-1.0.11 by doing this:

emerge -C snmp
emerge ucd-snmp fwbuilder
Comment 8 Nicholas Jones (RETIRED) gentoo-dev 2003-12-28 22:50:24 UTC
No idea. And it's aupposedly fixed already.