stable pam wouldn't compile, so I installed unstable, commented the entries in package.keywords and then tried to emerge again to get a log of stable's compile failure: [xenon] ~ # ROOT=/srv/chroot/arm-linux-gnueabi PORTAGE_CONFIGROOT=/srv/chroot/arm-linux-gnueabi /usr/bin/emerge -vp pam These are the packages that would be merged, in order: Calculating dependencies \Traceback (most recent call last): File "/usr/bin/emerge", line 8773, in <module> retval = emerge_main() File "/usr/bin/emerge", line 8767, in emerge_main myopts, myaction, myfiles, spinner) File "/usr/bin/emerge", line 8039, in action_build retval, favorites = mydepgraph.select_files(myfiles) File "/usr/bin/emerge", line 2822, in select_files self.altlist() File "/usr/bin/emerge", line 3585, in altlist self._serialized_tasks_cache = self._serialize_tasks() File "/usr/bin/emerge", line 3952, in _serialize_tasks if skip: UnboundLocalError: local variable 'skip' referenced before assignment [xenon] ~ # ROOT=/srv/chroot/arm-linux-gnueabi PORTAGE_CONFIGROOT=/srv/chroot/arm-linux-gnueabi /usr/local/bin/emerge -vp pam These are the packages that would be merged, in order: Calculating dependencies... done! [uninstall ] sys-auth/pambase-20080318 to /srv/chroot/arm-linux-gnueabi/ USE="cracklib -consolekit -debug -gnome-keyring -mktemp -passwdqc (-selinux)" [blocks b ] <sys-libs/pam-0.99.9.0-r1 (is blocking sys-auth/pambase-20080318) [ebuild UD] sys-libs/pam-0.99.9.0 [1.0.1] to /srv/chroot/arm-linux-gnueabi/ USE="cracklib nls (-audit) (-selinux) -test -vim-syntax" 0 kB Total: 1 package (1 downgrade, 1 uninstall), Size of downloads: 0 kB Conflict: 1 block Patch incoming. Portage 2.1.5_rc7 (default/linux/arm/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.26-rc1-00066-g0e33c8a-dirty armv5tel) ================================================================= System uname: 2.6.26-rc1-00066-g0e33c8a-dirty armv5tel Feroceon rev 0 (v5l) Timestamp of tree: Tue, 06 May 2008 21:45:01 +0000 app-shells/bash: 3.2_p33 dev-lang/python: 2.5.2-r2 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.3 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.62 sys-devel/automake: 1.10.1-r1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.4 virtual/os-headers: 2.6.25-r1 ACCEPT_KEYWORDS="arm ~arm" CBUILD="armv5tejl-softfloat-linux-gnueabi" CFLAGS="-Os -mcpu=arm926ej-s -fomit-frame-pointer -pipe" CHOST="armv5tejl-softfloat-linux-gnueabi" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-Os -mcpu=arm926ej-s -fomit-frame-pointer -pipe" DISTDIR="/srv/portage/distfiles" FEATURES="buildpkg distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://gentoo.osuosl.org/pub/gentoo" LANG="en_CA.UTF-8" LDFLAGS="" LINGUAS="en en_CA en_US" MAKEOPTS="-j2 -s" PKGDIR="/srv/binpkgs/armv5tejl-softfloat-linux-gnueabi" 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="/srv/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage" USE="arm berkdb bzip2 caps cxx hpn mailwrapper multiuser ncurses nethack pam pcre readline ssl symlink unicode vim-syntax vram zlib" ELIBC="glibc" KERNEL="linux" LINGUAS="en en_CA en_US" USERLAND="GNU" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 152503 [details, diff] patch showing missing variable initialization patch to initialize 'skip' before it is used, same as is done in the preceding blocks.
Thanks, this is fixed in 2.1.5_rc8.