| Summary: | net-firewall/fwbuilder-3.0.3 fails to compile because of undefined references to antlr::TokenRef::~TokenRef() | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Juergen Rose <rose> |
| Component: | Current packages | Assignee: | Joshua Kinard <kumba> |
| Status: | RESOLVED TEST-REQUEST | ||
| Severity: | normal | CC: | betelgeuse, dev-zero, jesse, keenblade, m.debruijne |
| Priority: | High | ||
| Version: | 2007.0 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
full build log
/var/tmp/portage/net-firewall/fwbuilder-3.0.3/temp/build.log Hard- and Software config for 8 computers with respect to fwbuilder-3.0.4 |
||
|
Description
Juergen Rose
2009-03-20 11:53:25 UTC
Any news? Hard to fix when you can't reproduce:
>>> Completed installing fwbuilder-3.0.3 into /var/tmp/portage/net-firewall/fwbuilder-3.0.3/image/
The error happens here an all my systems, i.e, x86_64, core2, amd, i686, desktop and hardenend profile. What information I can else provide? juergen (In reply to comment #3) > The error happens here an all my systems, i.e, > x86_64, core2, amd, i686, desktop and hardenend profile. > > What information I can else provide? > > juergen > Attach the full build.log Created attachment 186700 [details]
full build log
Full build failure log of;
LC_ALL=C MAKEOPTS="-j1" emerge -v1 fwbuilder
Created attachment 186716 [details]
/var/tmp/portage/net-firewall/fwbuilder-3.0.3/temp/build.log
My attachment was for an other system than my "emerge -info", that's why I add again "emerge -info": root@condor:/root(2)# emerge --info Portage 2.1.6.11 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28.7 x86_64) ================================================================= System uname: Linux-2.6.28.7-x86_64-Intel-R-_Core-TM-2_CPU_6600_@_2.40GHz-with-glibc2.2.5 Timestamp of tree: Mon, 30 Mar 2009 05:30:01 +0000 distcc 3.1 x86_64-pc-linux-gnu [disabled] app-shells/bash: 4.0_p10-r1 dev-java/java-config: 1.3.7-r1, 2.1.7 dev-lang/python: 2.4.4-r15, 2.5.4-r2 dev-python/pycrypto: 2.0.1-r8 dev-util/cmake: 2.6.3 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r1 sys-apps/sandbox: 1.6 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.28-r1 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.2/env /usr/kde/4.2/share /config /usr/kde/4.2/shutdown /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-acti ve/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updma p.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=nocona -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" FFLAGS="-march=nocona -O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-O1" LINGUAS="de fr" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages/" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --t imeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/java-overlay /usr/local/portage/layman/zugaina /usr/local/portage/layman/dotne t /usr/local/portage/layman/science /usr/local/portage/layman/jokey /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X Xaw3d a52 aac acl acpi administrator afs aiglx alsa amd64 amrr ao aotuv apache2 asf atlas auctex audacious audiofi le automount bash-completion beagle berkdb bjam blas bluetooth bonobo boo boost branding bzip2 c++ cairo cdda cddb cdf cd io cdparanoia cdr cgi chm cli corba cracklib cran crypt cups curl cxx daap dbus device-mapper dga dia divx djvu dlloader dmi doc dri ds3490 dv dvb dvd dvdr dvdread dvi dxr3 dynagraph eds effects elf emacs emboss encode epiphany esd evo exampl es exif expat extra fam fame ffmpeg fftw firefox fits flac fltk foomaticdb fortran fpx galago gd gdal gdbm geos gif gimp gimpprint ginac glade glib glitz gml gmp gnokii gnome gnuplot gnutls gphoto2 gpm graphics graphviz gs gsl gsm gstreamer g tk guile hal hardened harness hddtemp hdf hdf5 hlapi http hvm iconv icq icu id3 ide imagemagick imap innodb ipv6 irda irm c isdnlog ithreads jabber java jbig john jpeg jpeg2k kde kde4 kdeprefix kerberos kexi keyring kvm ladspa lame lapack late x lcms ldap libffi libgda libnotify libsamplerate lirc lm_sensors lua lzo lzw mad maildir mailwrapper math matroska midi mikmod mmx mmxext mng mod mono motif mozdevelop mozilla mozsvg mozxmlterm mp3 mp4 mp4live mpeg mpeg2 mplayer mudflap mult ilib musicbrainz mysql mysqli nautilus ncurses neXt netcdf netpbm network networkmanager nfs nls nntp nptl nptlonly nsplu gin ntfs numarray numeric nvidia obex ocaml octave odbc ogdi ogg ole opengl openmp pae pam pcre pda pdf perl plotutils pl ugins png posix postgres postscript ppds pppd preview-latex proj projectx pstricks python qhull qt3 qt3support qt4 quickt ime readline reflection reiserfs rhythmbox rle rpc rrdcgi rrdtool samba sasl science sdl session slang slp smp sndfile sn mp soup sox speex spell spl sqlite sse sse2 ssl startup-notification stlport subtitles subversion suexec svg sysfs t1lib tcl tcpd tex theora threads thunderbird tidy tiff tk truetype unicode usb userlocales utempter v4l2 vorbis webkit wmf wxw indows xattr xcb xemacs xext xine xml xmlreader xmlrpc xorg xpm xulrunner xv xvid xvmc zlib zvbi" ALSA_CARDS="intel8x0" A LSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear mete r mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest aut hn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz _user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ide nt imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_conn ect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" DVB_CARDS="cx8800 cx88xx tda10 04x saa713" ELIBC="glibc" INPUT_DEVICES="keyboard mouse " KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz 633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de fr" NETBEANS_MODULES="ide websvccommon nb harness apisuppo rt groovy gsf j2ee java xml" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, POR TAGE_RSYNC_EXTRA_OPTS Ok. Here is the fix. I think the fix needed here is dev-java/antlr. Brcause CharScanner.hpp which is provided with dev-java/antlr by portage uses strcasecmp, so CharScanner.hpp needs the following statement: #include <cstring> Then fwbuilder compiles happily. hmm, but we have two issues here: a) error: 'strcasecmp' was not declared in this scope and b) IOSImporterRun.cpp:(.text+0x2d0): undefined reference to `antlr::TokenRef::~TokenRef()' Ok, can both of you try to re-install antlr and then try again with libfwbuilder+fwbuilder please (you can use version 3.0.4 I put in the tree right now)? You both probably installed antlr using gcc-4.2 or older (at least keenblade did install antlr before April 2008 since that "#include <cstring>" is already present in current antlr, side-note to betelgeuse: I think you pasted the wrong bug id in the changelog :-). (In reply to comment #9) > Ok, can both of you try to re-install antlr and then try again with > libfwbuilder+fwbuilder please (you can use version 3.0.4 I put in the tree > right now)? > Thanks. After re-installing antlr both libfwbuilder and fwbuilder ver 3.0.3 compiled fine. *** Bug 265076 has been marked as a duplicate of this bug. *** After reemerging antlr I could also emerge-fwbuilder-3.0.4. I hate those flukes in C/C++ apps. But at the moment there is no way to track such api/abi changes. Closing the bug. (In reply to comment #13) > I hate those flukes in C/C++ apps. > But at the moment there is no way to track such api/abi changes. > Closing the bug. > antlr is only provides a static lib for c++ apps so changing ABI should not be an issue What I wrote in my last message was only partly true, i.e. it was true for one computer. At the second computer reinstalling antlr did not help. reopen then :-\ I think the recent change from gcc 4.1.2 to gcc 4.3.2, may be the cause. I'm currently rebuilding antlr before I try to build fwbuilder again. Yep, I can confirm rebuilding anltr before building fwbuilder solves my problem. I tried to install fwbuilder at 8 computers, different x86 hardware, but roughly the same software state, antlr is sometimes 2.7.7 and somtimes 3.1.3-r2. with antlr-3.1.3-r2 I could never install fwbuilder-3.0.4. At three from the five computers with antlr-2.7.7 I could install fwbuilder-3.0.4. I did not yet find out, why sometimes antlr-3.1.3-r2 and sometimes antlr-2.7.7 is installed. I made all the antlr install in the last days. I will attach a table with some basic hard and software data about the computers. Created attachment 188569 [details]
Hard- and Software config for 8 computers with respect to fwbuilder-3.0.4
Any news? It seems me that masking >=antlr-3.1.3-r2 and reemerging antlr solves the problem. Hrm... Will this go into an overlay, if the Portage version is abandonware? Thanks. Please try out 4.01 or 4.1.1 and see if those build. I do not believe either of them require antlr (just Qt). |