ppc and x86 please mark stable, sparc and amd64, please mark ~arch. I am currently running this on all four arches, so it should be working fine. There will be brokenness that I hope to get fixed w/new gmp, but that is a bit off.
er, wait, I'm on the x86 arch team ;P Stable on x86 :)
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../intl -DLOCALEDIR=\"/usr/share/locale\" -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -Os -mcpu=7450 -maltivec -mabi=altivec -mpowerpc-gfxopt -pipe -D_REENTRANT -c check_initialize.c /bin/sh ../../libtool --mode=link gcc -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -Os -mcpu=7450 -maltivec -mabi=altivec -mpowerpc-gfxopt -pipe -D_REENTRANT -o check_initialize check_initialize.o xdr_nis.o libnisdb.la -lnsl -lefence gcc -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -Os -mcpu=7450 -maltivec -mabi=altivec -mpowerpc-gfxopt -pipe -D_REENTRANT -o .libs/check_initialize check_initialize.o xdr_nis.o .libs/libnisdb.so -lnsl -lefence /usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.6/../../../../powerpc-unknown-linux-gnu/bin/ld: cannot find -lefence collect2: ld returned 1 exit status make[3]: *** [check_initialize] Fehler 1 make[3]: Leaving directory `/var/tmp/portage/nis-utils-1.4.1-r1/work/nis-utils-1.4.1/lib/nisdb' make[2]: *** [check-am] Fehler 2 make[2]: Leaving directory `/var/tmp/portage/nis-utils-1.4.1-r1/work/nis-utils-1.4.1/lib/nisdb' make[1]: *** [check-recursive] Fehler 1 make[1]: Leaving directory `/var/tmp/portage/nis-utils-1.4.1-r1/work/nis-utils-1.4.1/lib' make: *** [check-recursive] Fehler 1 !!! ERROR: net-nds/nis-utils-1.4.1-r1 failed. Call stack: ebuild.sh, line 1539: Called dyn_test ebuild.sh, line 987: Called src_test ebuild.sh, line 618: Called die Portage 2.1_rc4 (default-linux/ppc/ppc32/2006.0/G4, gcc-3.4.6, glibc-2.3.6-r3, 2.6.17-rc4-git6 ppc) ================================================================= System uname: 2.6.17-rc4-git6 ppc 7447A, altivec supported Gentoo Base System version 1.6.14 distcc 2.18.3 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [disabled] dev-lang/python: 2.3.5-r2, 2.4.2 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r4 ACCEPT_KEYWORDS="ppc" AUTOCLEAN="yes" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-Os -mcpu=7450 -maltivec -mabi=altivec -mpowerpc-gfxopt -pipe" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /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/bind /var/vpopmail/domains /var/vpopmail/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-Os -mcpu=7450 -maltivec -mabi=altivec -mpowerpc-gfxopt -pipe" DISTDIR="/srv/distfiles" FEATURES="autoconfig cvs distlocks metadata-transfer noinfo sandbox sfperms strict test" GENTOO_MIRRORS="http://distfiles http://ftp.belnet.be/pub/mirrors/rsync.gentoo.org/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror" LANG="de_DE" LC_ALL="de_DE" LINGUAS="de" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/home/tobias/cvs/gentoo-x86" PORTDIR_OVERLAY="/home/tobias/overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="ppc X alsa altivec bash-completion berkdb crypt curses dbus fortran gnome gtk hal ipv6 kdeenablefinal nls nptl nptlonly pam perl png python readline samba sasl ssl tiff unicode xml elibc_glibc kernel_linux linguas_de userland_GNU" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Tobias, do you have efence installed? Guessing it's a "oh I found libefence so lets link to it issue".
(In reply to comment #3) > Tobias, do you have efence installed? Guessing it's a "oh I found libefence so > lets link to it issue". No, I haven't. To me it looks like efence is a missing DEPEND. It compiles when libefence is available but fails all tests.
Created attachment 88578 [details] nis-utils-1.4.1-r1.log The buildlog
Hrm, couldn't trivially reproduce here, but I've been avoiding looking at the build system :P I will do so today ;)
(In reply to comment #5) > Created an attachment (id=88578) [edit] > nis-utils-1.4.1-r1.log > > The buildlog > Wow I'm just completely blind and missed the "src_test" portion :P The tests require libefence (obviously) which can be er..disabled by configure ( and is by default). I personally don't care about the tests, having a USE=test is kind of a hack and I know the portage team doesn't have any ideas, so RESTRICT=test suits me for now. I may poke at them more in the future.
~sparc'ed.
ppc stable
AMD64 Bails on missing <mp.h> generic.c:30:16: error: mp.h: No such file or directory generic.c: In function 'genkeys': generic.c:79: error: 'MINT' undeclared (first use in this function) generic.c:79: error: (Each undeclared identifier is reported only once generic.c:79: error: for each function it appears in.) generic.c:79: error: 'pk' undeclared (first use in this function) generic.c:79: warning: implicit declaration of function 'itom' generic.c:79: warning: nested extern declaration of 'itom' generic.c:80: error: 'sk' undeclared (first use in this function) generic.c:81: error: 'tmp' undeclared (first use in this function) generic.c:82: error: 'base' undeclared (first use in this function) generic.c:83: error: 'root' undeclared (first use in this function) generic.c:84: error: 'modulus' undeclared (first use in this function) generic.c:84: warning: implicit declaration of function 'xtom' generic.c:84: warning: nested extern declaration of 'xtom' generic.c:94: warning: implicit declaration of function 'mult' generic.c:94: warning: nested extern declaration of 'mult' generic.c:95: warning: implicit declaration of function 'madd' generic.c:95: warning: nested extern declaration of 'madd' generic.c:96: warning: implicit declaration of function 'mfree' generic.c:96: warning: nested extern declaration of 'mfree' generic.c:99: warning: implicit declaration of function 'mdiv' gcc -DHAVE_CONFIG_H -I. -I. -I../.. -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -O2 -march=k8 -pipe -Wall -D_REENTRANT -c update.c generic.c:99: warning: nested extern declaration of 'mdiv' generic.c:101: warning: implicit declaration of function 'pow' generic.c:101: warning: incompatible implicit declaration of built-in function 'pow' generic.c:101: error: too many arguments to function 'pow' generic.c:102: warning: implicit declaration of function 'mtox' generic.c:102: warning: nested extern declaration of 'mtox' generic.c:102: warning: assignment makes pointer from integer without a cast generic.c:104: warning: assignment makes pointer from integer without a cast make[3]: *** [generic.o] Error 1 make[3]: *** Waiting for unfinished jobs.... key_common.c:38:16: error: mp.h: No such file or directory key_common.c: In function 'nisplus_update': key_common.c:436: warning: cast discards qualifiers from pointer target type Tracked down to dev-libs/gmp-4.2.1 does not install /usr/include/mp.h Whereas dev-libs/gmp-4.1.4-r3 - does... Suspect this is broken on ~x86 also... as that would pull gmp-4.2.1
please see patch on 130056 for this issue. Also see ebuild in my devspace http://dev.gentoo.org/~antarus/projects/overlay/net-nds/nis-utils/ -r2 should patch er up.
- -r2 emerges fine on amd64 - passes multilib-strict - passes collision-test - seems to work Portage 2.1.1 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.17-ck1-r3 x86_64) ================================================================= System uname: 2.6.17-ck1-r3 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.12.4 Last Sync: Sun, 10 Sep 2006 12:20:01 +0000 ccache version 2.3 [enabled] app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -save-temps" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=k8 -O2 -save-temps" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache collision-test distlocks metadata-transfer multilib-strict parallel-fetch sandbox sfperms strict test" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ " LANG="en_US.ISO8859-1" LC_ALL="en_US.ISO8859-1" LINGUAS="" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/overlay" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="amd64 X a52 aac acpi alsa amr avi berkdb bitmap-fonts branding bzip2 cairo cdinstall cdparanoia cdr cli crypt cups dbus divx dlloader dri dvd dvdr dvdread elibc_glibc emboss encode expat fam firefox fortran gdbm gif glut gpm gstreamer gtk gtk2 hal imagemagick input_devices_evdev input_devices_keyboard isdnlog jpeg kernel_linux lcms ldap libg++ lirc lirc_devices_inputlirc mad mikmod mng mp3 mpeg musicbrainz ncurses nls nptl nptlonly ogg opengl pam pcre pdflib php png ppds pppd quicktime readline reflection sdl session socks5 spl ssl svg tcpd tiff truetype truetype-fonts type1-fonts udev unicode userland_GNU v4l v4l2 video_cards_fglrx vorbis wmp x264 xine xinerama xml xorg xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS
Added ~amd64 to -r2