ipac-ng can compile and run under my amd64 box Reproducible: Always Steps to Reproduce: 1. 2. 3.
I've tried compiling all three versions; 1.30, 1.31, 1.31-r1, and all three fail with the same error: config.status: creating config.h x86_64-pc-linux-gnu-gcc -O2 -march=k8 -pipe -ftracer -funit-at-a-time -Wall -I/usr/include/pgsql -o subst subst.c running subst on files: ipacsum fetchipac.8 ipacsum.8 ipac-convert.8... ipacsum: unchanged fetchipac.8: updated ipacsum.8: unchanged ipac-convert.8: unchanged chmod +x ipacsum ipac-convert ipactest touch dosubst Making all in storage make[1]: Entering directory `/var/tmp/portage/ipac-ng-1.31-r1/work/ipac-ng-1.31/storage' Making all in gdbm make[2]: Entering directory `/var/tmp/portage/ipac-ng-1.31-r1/work/ipac-ng-1.31/storage/gdbm' x86_64-pc-linux-gnu-gcc -c -I. -I../.. -DHAVE_CONFIG_H -O2 -march=k8 -pipe -ftracer -funit-at-a-time -Wall -I/usr/include/pgsql gdbm.c -o gdbm.o gdbm.c:116: warning: initialization from incompatible pointer type gdbm.c:117: warning: initialization from incompatible pointer type ar -crus libstorgdbm.a gdbm.o make[2]: Leaving directory `/var/tmp/portage/ipac-ng-1.31-r1/work/ipac-ng-1.31/storage/gdbm' Making all in plain-file make[2]: Entering directory `/var/tmp/portage/ipac-ng-1.31-r1/work/ipac-ng-1.31/storage/plain-file' x86_64-pc-linux-gnu-gcc -c -I. -I../.. -DHAVE_CONFIG_H -O2 -march=k8 -pipe -ftracer -funit-at-a-time -Wall -I/usr/include/pgsql plain-file.c -o plain-file.o plain-file.c:57: warning: initialization from incompatible pointer type plain-file.c:58: warning: initialization from incompatible pointer type ar -crus libstorplain-file.a plain-file.o make[2]: Leaving directory `/var/tmp/portage/ipac-ng-1.31-r1/work/ipac-ng-1.31/storage/plain-file' Making all in postgre make[2]: Entering directory `/var/tmp/portage/ipac-ng-1.31-r1/work/ipac-ng-1.31/storage/postgre' x86_64-pc-linux-gnu-gcc -c -I. -I../.. -DHAVE_CONFIG_H -O2 -march=k8 -pipe -ftracer -funit-at-a-time -Wall -I/usr/include/pgsql postgre.c -o postgre.o In file included from postgre.c:58: ../sharedsql/sharedsql.c: In function `sql_stor_get_records': ../sharedsql/sharedsql.c:247: warning: unsigned int format, different type arg (arg 5) ../sharedsql/sharedsql.c:277: warning: unsigned int format, different type arg (arg 5) ar -crus libstorpostgre.a postgre.o make[2]: Leaving directory `/var/tmp/portage/ipac-ng-1.31-r1/work/ipac-ng-1.31/storage/postgre' make[1]: Leaving directory `/var/tmp/portage/ipac-ng-1.31-r1/work/ipac-ng-1.31/storage' Making all in agents make[1]: Entering directory `/var/tmp/portage/ipac-ng-1.31-r1/work/ipac-ng-1.31/agents' Making all in ipchains make[2]: Entering directory `/var/tmp/portage/ipac-ng-1.31-r1/work/ipac-ng-1.31/agents/ipchains' x86_64-pc-linux-gnu-gcc -c -I. -I../.. -DHAVE_CONFIG_H -O2 -march=k8 -pipe -ftracer -funit-at-a-time -Wall -I/usr/include/pgsql ipchains.c -o ipchains.o x86_64-pc-linux-gnu-gcc -c -I. -I../.. -DHAVE_CONFIG_H -O2 -march=k8 -pipe -ftracer -funit-at-a-time -Wall -I/usr/include/pgsql libipfwc.c -o libipfwc.o libipfwc.c: In function `ipfwc_strerror': libipfwc.c:504: error: label at end of compound statement make[2]: *** [libipfwc.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/ipac-ng-1.31-r1/work/ipac-ng-1.31/agents/ipchains' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/ipac-ng-1.31-r1/work/ipac-ng-1.31/agents' make: *** [all-recursive] Error 1 !!! ERROR: net-analyzer/ipac-ng-1.31-r1 failed. !!! Function src_compile, Line 54, Exitcode 2 !!! make failed !!! If you need support, post the topmost build error, NOT this status message. Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 2.6.12-gentoo-r6 x86_64) ================================================================= System uname: 2.6.12-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.6.13 ccache version 2.3 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=k8 -pipe -ftracer -funit-at-a-time" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=k8 -pipe -ftracer -funit-at-a-time" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks multilib-strict sandbox sfperms strict" GENTOO_MIRRORS="http://mirrors.acm.cs.rpi.edu/gentoo/ http:://gentoo.mirrors.pair.com/ http://mirror.datapipe.net/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X aalib alsa avi berkdb bitmap-fonts cdr crypt cups curl eds encode esd fam foomaticdb fortran gd gdbm gif gpm gstreamer gtk gtk2 imagemagick imlib ipv6 jpeg junit libwww lzw lzw-tiff motif mp3 mpeg ncurses nls nptl ogg opengl pam pdflib perl png postgres python qt quicktime readline sdl spell sqlite ssl tcpd tetex tiff truetype-fonts type1-fonts usb userlocales vorbis xine xml2 xmms xpm xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
this is probably because of the gdbm use flag. michael, please reopen with your emerge --info
hi Simon, here is my emerge --info output: emerge -pv ipac-ng These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] net-analyzer/ipac-ng-1.31 +gd -sqlite 0 kB emerge --info Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.5-r0, 2.6.11-hardened-r13 x86_64) ================================================================= System uname: 2.6.11-hardened-r13 x86_64 AMD Athlon(tm) 64 Processor 3500+ Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://mir1.ovh.net/gentoo-distfiles/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://saturn.mediatis.de/gentoo-portage" USE="amd64 apache2 avi berkdb bitmap-fonts chroot crypt curl eds encode foomaticdb fortran gd gdbm gif gpm gstreamer gtk2 imagemagick imlib jpeg ldap libwww lzw lzw-tiff mcal mp3 mpeg ncurses nls nptl opengl pam pdflib perl png python quicktime readline sdl slang snmp spell ssl tcpd threads tiff truetype-fonts type1-fonts unicode usb userlocales vhosts xml2 xpm xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Tried 1.31 with all gd/sqlite USE flag combinations and it merges fine... 1.31-r1 merges fine as well Any change at your end? Mike and Michael? :) Won't mark TESTED if it's still broken for you Mike Jim Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 2.6.12-gentoo-r9 x86_64) ================================================================= System uname: 2.6.12-gentoo-r9 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=athlon64 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon64 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks multilib-strict sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk" LINGUAS="en_GB" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aac alsa amarok amd64 avi berkdb bitmap-fonts browserplugin cdb cdr crypt cups curl directfb dvd dvdr dvdread eds encode esd fam flac foomaticdb fortran freetype gd gdbm gif gphoto2 gpm gstreamer gtk gtk2 guile hal imagemagick imlib ipv6 jack java jpeg junit kde kdeenablefinal libwww lzw lzw-tiff mad mikmod mp3 mpeg mplayer msn ncurses nls nocd nvidia ogg oggvorbis opengl oss pam pdflib perl pic png python qt quicktime readline real ruby samba sdl spell sqlite ssl symlink tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts usb userlocales v4l vcd vorbis xine xml2 xpm xv zlib linguas_en_GB userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
Mike wasn't able to reproduce it anymore, so 1.31-r1 is marked ~amd64 now