i386-gentoo-linux-uclibc-gcc -Os -pipe -Wstack-protector -Wl,-z -Wl,now -o gpasswd gpasswd.o ../libmisc/libmisc.a ../lib/.libs/libshadow.a -lcrypt ../libmisc/libmisc.a(salt.o): In function `crypt_make_salt': salt.c:(.text+0x54): undefined reference to `l64a' salt.c:(.text+0x7b): undefined reference to `l64a' collect2: ld returned 1 exit status make[2]: *** [gpasswd] Error 1 make[2]: *** Waiting for unfinished jobs.... i386-gentoo-linux-uclibc-gcc -Os -pipe -Wstack-protector -Wl,-z -Wl,now -o newgrp newgrp.o ../libmisc/libmisc.a ../lib/.libs/libshadow.a -lcrypt i386-gentoo-linux-uclibc-gcc -Os -pipe -Wstack-protector -Wl,-z -Wl,now -o chgpasswd chgpasswd.o ../libmisc/libmisc.a ../lib/.libs/libshadow.a -lcrypt ../libmisc/libmisc.a(salt.o): In function `crypt_make_salt': salt.c:(.text+0x54): undefined reference to `l64a' salt.c:(.text+0x7b): undefined reference to `l64a' collect2: ld returned 1 exit status make[2]: *** [chgpasswd] Error 1 i386-gentoo-linux-uclibc-gcc -Os -pipe -Wstack-protector -Wl,-z -Wl,now -o passwd passwd.o ../libmisc/libmisc.a ../lib/.libs/libshadow.a -lcrypt /usr/lib/libcrack.so ../libmisc/libmisc.a(salt.o): In function `crypt_make_salt': salt.c:(.text+0x54): undefined reference to `l64a' salt.c:(.text+0x7b): undefined reference to `l64a' collect2: ld returned 1 exit status make[2]: *** [passwd] Error 1 make[2]: Leaving directory `/var/tmp/portage/shadow-4.0.15-r1/work/shadow-4.0.15/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/shadow-4.0.15-r1/work/shadow-4.0.15' make: *** [all] Error 2 # It appears that ${FILESDIR}/${P}-4.0.11.1-uclibc-missing-l64a.patch was dropped in -r1 tinderbox shadow # diff -u shadow-4.0.15{,-r1}.ebuild --- shadow-4.0.15.ebuild 2006-04-08 01:11:17 +0000 +++ shadow-4.0.15-r1.ebuild 2006-05-08 04:07:14 +0000 @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/shadow/shadow-4.0.15.ebuild,v 1.2 2006/04/08 00:58:48 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/shadow/shadow-4.0.15-r1.ebuild,v 1.2 2006/05/08 03:52:17 vapier Exp $ inherit eutils libtool toolchain-funcs flag-o-matic autotools pam @@ -51,12 +51,11 @@ # Patch from upstream enables the new environment too early for PAM epatch "${FILESDIR}"/${PN}-4.0.14-su-fix-environment.patch - # Some UCLIBC patches - epatch "${FILESDIR}"/${PN}-4.0.11.1-uclibc-missing-l64a.patch - # lock down setuid perms #47208 epatch "${FILESDIR}"/${PN}-4.0.11.1-perms.patch + epatch "${FILESDIR}"/${PN}-4.0.15-no-default-MAIL.patch + # Needed by the UCLIBC patches eautoconf || die ## Portage 2.1_pre10-r3 (uclibc/x86/2005.1, gcc-3.4.6, uclibc-0.9.28-r0, 2.6.11-hardened-r15 i686) ================================================================= System uname: 2.6.11-hardened-r15 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz Gentoo Base System version 1.12.0_pre19 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: 0.4.2 sys-apps/sandbox: 1.2.18 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-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i386-gentoo-linux-uclibc" CFLAGS="-Os -pipe -Wstack-protector" CHOST="i386-gentoo-linux-uclibc" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /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/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d" CXXFLAGS="-Os -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg distclean distlocks genpkgindex metadata-transfer nodoc noinfo noman sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages/i386-gentoo-linux-uclibc/" 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/portage/local/local" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="bindist bitmap-fonts cli dri hardened minimal multicall ncurses pcre pic readline reflection session spl truetype-fonts type1-fonts uclibc x86 xorg zlib elibc_uclibc kernel_linux userland_GNU" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
hmm, when i glanced at the patch real quick, i thought it only had i64c() in it (which is not needed anymore) i'll update the patch to only add l64a()
should be fixed now
i64c is still needed also. (ebuild revision 1.3) i386-gentoo-linux-uclibc-gcc -Os -pipe -Wstack-protector -Wl,-z -Wl,now -o passwd passwd.o ../libmisc/libmisc.a ../lib/.libs/libshadow.a -lcrypt /usr/lib/libcrack.so ../libmisc/libmisc.a(salt.o): In function `l64a': salt.c:(../libmisc/libmisc.a(salt.o): In function `l64a': salt.c:(.text+0x46): undefined reference to `i64c' .collect2: ld returned text+0x46): undefined reference1 to `i64c' exit status collect2: ld returned 1 exit status make[2]: *** [chgpasswd] Error 1 make[2]: *** [passwd] Error 1 i386-gentoo-linux-uclibc-gcc -Os -pipe -Wstack-protector -Wl,-z -Wl,now -o chpasswd chpasswd.o ../libmisc/libmisc.a ../lib/.libs/libshadow.a -lcrypt ../libmisc/libmisc.a(salt.o): In function `l64a': salt.c:(.text+0x46): undefined reference to `i64c' collect2: ld returned 1 exit status make[2]: *** [chpasswd] Error 1 make[2]: Leaving directory `/var/tmp/portage/shadow-4.0.15-r1/work/shadow-4.0.15/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/shadow-4.0.15-r1/work/shadow-4.0.15' make: *** [all] Error 2