I think it fails because on OS X .dylib's are made, not .so's... Here's the contents of the directory it errors on: ls /opt/gentoo/var/tmp/portage/sys-libs/cracklib-2.8.12/image/opt/gentoo//usr/lib/ libcrack.2.8.0.dylib libcrack.2.dylib libcrack.a libcrack.dylib libcrack.la python2.5/ Here's the error text: /opt/gentoo/usr/bin/install -c -m 644 'cracklib-small' '/opt/gentoo/var/tmp/portage/sys-libs/cracklib-2.8.12/image//opt/gentoo/usr/share/cracklib/cracklib-small' make[2]: Leaving directory `/opt/gentoo/var/tmp/portage/sys-libs/cracklib-2.8.12/work/cracklib-2.8.12/dicts' make[1]: Leaving directory `/opt/gentoo/var/tmp/portage/sys-libs/cracklib-2.8.12/work/cracklib-2.8.12/dicts' make[1]: Entering directory `/opt/gentoo/var/tmp/portage/sys-libs/cracklib-2.8.12/work/cracklib-2.8.12' ======================================================= Be sure and obtain a large wordlist file and run make install and make dict to generate the word list index file. See the README file for more details. ======================================================= make[2]: Entering directory `/opt/gentoo/var/tmp/portage/sys-libs/cracklib-2.8.12/work/cracklib-2.8.12' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/opt/gentoo/var/tmp/portage/sys-libs/cracklib-2.8.12/work/cracklib-2.8.12' make[1]: Leaving directory `/opt/gentoo/var/tmp/portage/sys-libs/cracklib-2.8.12/work/cracklib-2.8.12' mv: cannot stat `/opt/gentoo/var/tmp/portage/sys-libs/cracklib-2.8.12/image/opt/gentoo//usr/lib/*.so*': No such file or directory * * ERROR: sys-libs/cracklib-2.8.12 failed. * Call stack: * ebuild.sh, line 46: Called src_install * environment, line 718: Called die * The specific snippet of code: * mv "${ED}"/usr/$(get_libdir)/*.so* "${ED}"/$(get_libdir)/ || diefunc "$FUNCNAME" "$LINENO" "$?" "could not move shared"; * The die message: * could not move shared * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/opt/gentoo/var/tmp/portage/sys-libs/cracklib-2.8.12/temp/build.log'. * The ebuild environment file is located at '/opt/gentoo/var/tmp/portage/sys-libs/cracklib-2.8.12/temp/environment'. * * GNU info directory index is up-to-date. And emerge info: emerge --info Portage 2.2.00.9133-prefix (default-prefix/darwin/macos/10.5/x86, gcc-4.0.1, unavailable, 9.1.0 i386) ================================================================= System uname: 9.1.0 i386 i386 Timestamp of tree: Wed, 02 Jan 2008 23:16:29 +0000 distcc 2.18.5-Apple.1 powerpc-apple-darwin9.0 (protocols 1 and 2) (default port 3632) [disabled] app-shells/bash: 3.2_p17-r1 dev-lang/python: 2.5.1-r4 sys-devel/autoconf: 2.61-r01.1 sys-devel/automake: 1.10 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.24 ACCEPT_KEYWORDS="x86-macos ~x86 ~x86-macos" CBUILD="i686-apple-darwin9" CFLAGS="-O2 -pipe -fomit-frame-pointer -march=prescott" CHOST="i686-apple-darwin9" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -pipe -fomit-frame-pointer -march=prescott" DISTDIR="/opt/gentoo/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--deep" EPREFIX="/opt/gentoo" FEATURES="collision-protect distlocks metadata-transfer nostrip preserve-libs sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.UTF-8" MAKEOPTS="-j3" PKGDIR="/opt/gentoo/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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/opt/gentoo/var/tmp" PORTDIR="/opt/gentoo/usr/portage" PORTDIR_OVERLAY="/opt/gentoo/usr/local/portage" SYNC="svn+http://overlays.gentoo.org/svn/proj/alt/trunk/prefix-overlay" USE="aqua bash-completion coreaudio cracklib midi mmx mmxext ncurses objc objc++ pcre perl prefix python readline sse sse2 ssl x86-macos zlib" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="Darwin" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
fixed and keyworded ~x86-macos.