Despite lots of effort sys-apps/shadow-4.1.2.2 stops compiling on SPARC64 with pam, cracklib and nls USE flags enabled in every combination and with none enabled. This is also seen here: http://forums.gentoo.org/viewtopic-t-735122-highlight-shadow.html This bug means you are unable to upgrade to this version of Shadow and are therefore prone to the High Severity [ GLSA 200903-24 ] Shadow: Privilege escalation. Reproducible: Always Steps to Reproduce: 1. emerge shadow Actual Results: >>> Failed to emerge sys-apps/shadow-4.1.2.2, Log file: >>> '/var/tmp/portage/sys-apps/shadow-4.1.2.2/temp/build.log' * Messages for package sys-apps/shadow-4.1.2.2: * * ERROR: sys-apps/shadow-4.1.2.2 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2721: Called die * The specific snippet of code: * emake || die "compile problem" * The die message: * compile problem Expected Results: Shadow to be emerged. Portage 2.1.6.7 (default/linux/sparc/2008.0, gcc-3.4.6, glibc-2.3.6-r5, 2.6.23-gentoo-r8 sparc64) ================================================================= System uname: Linux-2.6.23-gentoo-r8-sparc64-sun4u-with-glibc2.0 Timestamp of tree: Wed, 11 Mar 2009 10:15:02 +0000 ccache version 2.4 [disabled] app-shells/bash: 3.2_p39 dev-lang/python: 2.5.2-r7 dev-python/pycrypto: 2.0.1-r8 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 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.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.24 ACCEPT_KEYWORDS="sparc" CBUILD="sparc-unknown-linux-gnu" CFLAGS="-O2 -mcpu=ultrasparc -pipe" CHOST="sparc-unknown-linux-gnu" CONFIG_PROTECT="/etc /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -mcpu=ultrasparc -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.virginmedia.com/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://gentoo.virginmedia.com/sites/gentoo" LDFLAGS="-Wl,-O1" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="acl alsa apache2 berkdb bgpclassless bzip2 cdr cli cracklib crypt cups dri dvd fix-connected-rt fortran gcc64 gdbm gpm highvolume iconv isdnlog justify kde logrotate mailbox midi mudflap mysql ncurses nls nptl nptlonly openmp pam pcre png pppd python qmail-spp qt3 qt4 readline reflection session sparc spl ssl symlink sysfs tcpd tcpmd5 unicode xinetd xml xorg zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_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 ident include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias php5" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint mach64 mga r128 radeon sunbw2 suncg14 suncg3 suncg6 sunffb sunleo tdfx voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Please attach the build.log file. Re-open this bug when you provide the requested information.
(In reply to comment #1) > Please attach the build.log file. > > Re-open this bug when you provide the requested information. > Thanks, after two days I gave up and overwrote the system.
Created attachment 184823 [details] Build Log from second machine to fail compile
The build log is attached as requested. I have reproduced the same failure to compile on a much older box, which is where this build.log is from. I have rebuilt the newer box. I have had success compiling on a different SPARC64 box with a build with the current GCC and GLIBC versions which after lots of trial and error are the only obvious differences. Thanks for looking at it.
probably related to your old glibc if you upgrade to a stable glibc version, does the error go away ?
probably fixed now with some changes from upstream i added
(In reply to comment #6) > probably fixed now with some changes from upstream i added > Thanks very much for your help. That's looking good.