My prefix is /Users/andrew/Gentoo. When trying to create an archive, p7zip binaries fail with the following error: 7-Zip 9.13 beta Copyright (c) 1999-2010 Igor Pavlov 2010-04-15 p7zip Version 9.13 (locale=utf8,Utf16=on,HugeFiles=on,2 CPUs) Can't load '/Users/andrew/Gentoo/usr/lib/p7zip/7z.dll' () Error: 7-Zip cannot find the code that works with archives. Reproducible: Always Steps to Reproduce: 1. p7zip foo.tar Actual Results: 7-Zip 9.13 beta Copyright (c) 1999-2010 Igor Pavlov 2010-04-15 p7zip Version 9.13 (locale=utf8,Utf16=on,HugeFiles=on,2 CPUs) Can't load '/Users/andrew/Gentoo/usr/lib/p7zip/7z.dll' () Error: 7-Zip cannot find the code that works with archives. Expected Results: Create the compressed archive I rolled back to app-arch/p7zip-9.13 and app-arch/p7zip-4.65-r1, but still got the error.
what is your platform? OSX or cygwin?
Sorry, thought I had indicated that -- my platform is OS X, 10.6.4, running a 32-bit gentoo prefix. Here is my emerge --info: Portage 2.2.01.15553-prefix (prefix/darwin/macos/10.6/x86, gcc-4.2.1, unavailable, 10.4.0 i386) ================================================================= System uname: Darwin-10.4.0-i386-32bit Timestamp of tree: Mon, 20 Sep 2010 16:10:52 +0000 distcc 3.1-toolwhip.1 i386-apple-darwin10.0 [disabled] app-shells/bash: 4.1_p7 dev-lang/python: 2.6.5-r2 dev-util/cmake: 2.8.1-r2 sys-devel/autoconf: 2.65-r1 sys-devel/automake: 1.11.1 sys-devel/gcc-config: 1.4.1-r00.2 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 ACCEPT_KEYWORDS="~x86-macos" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-apple-darwin10" CFLAGS="-O2 -pipe -march=prescott -fomit-frame-pointer" CHOST="i686-apple-darwin10" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe -march=prescott -fomit-frame-pointer" DISTDIR="/Users/andrew/Gentoo/usr/portage/distfiles" FEATURES="assume-digests collision-protect distlocks fixlafiles fixpackages news nostrip parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_CA.UTF-8" LDFLAGS="-Wl,-dead_strip_dylibs" LINGUAS="en_CA en_GB en" PKGDIR="/Users/andrew/Gentoo/usr/portage/packages" PORTAGE_CONFIGROOT="/Users/andrew/Gentoo/" 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="/Users/andrew/Gentoo/var/tmp" PORTDIR="/Users/andrew/Gentoo/usr/portage" SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix" USE="aqua coreaudio cracklib cxx mmx mmxext modules ncurses nls objc objc++ prefix readline sse sse2 ssl unicode 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 cgi cgid 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" LINGUAS="en_CA en_GB en" RUBY_TARGETS="ruby18" USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
ok, so p7zip for some stupid reason thinks it needs to load .dll files. That confused me.
ok, found the issue, fixed it without a revbump. You'll have to reemerge this package after syncing in an hour or so.
click order error
The emerge now fails for me. Here is the output of emerge -pqv =app-arch/p7zip-9.13-r1: [ebuild N ] app-arch/p7zip-9.13-r1 USE="pch -doc -kde -rar -static -wxwidgets" and the build log: * CPV: app-arch/p7zip-9.13-r1 * REPO: gentoo_prefix * USE: elibc_Darwin kernel_Darwin pch prefix userland_GNU x86-macos >>> Unpacking source... >>> Unpacking p7zip_9.13_src_all.tar.bz2 to /Users/andrew/Gentoo/var/tmp/portage/app-arch/p7zip-9.13-r1/work >>> Source unpacked in /Users/andrew/Gentoo/var/tmp/portage/app-arch/p7zip-9.13-r1/work >>> Preparing source in /Users/andrew/Gentoo/var/tmp/portage/app-arch/p7zip-9.13-r1/work/p7zip_9.13 ... * Applying 9.04-makefile.patch ... [ ok ] sed: can't read CPP/7zip/Compress/Rar/makefile: No such file or directory * ERROR: app-arch/p7zip-9.13-r1 failed: * (no error message) * * Call stack: * ebuild.sh, line 53: Called call-ebuildshell 'src_prepare' * environment, line 280: Called src_prepare * environment, line 2559: Called die * The specific snippet of code: * sed -i -e '/^PROG=/s/\.so/.bundle/' CPP/7zip/Bundles/Format7zFree/makefile CPP/7zip/Compress/Rar/makefile || die; * * If you need support, post the output of 'emerge --info =app-arch/p7zip-9.13-r1', * the complete build log and the output of 'emerge -pqv =app-arch/p7zip-9.13-r1'. * The complete build log is located at '/Users/andrew/Gentoo/var/tmp/portage/app-arch/p7zip-9.13-r1/temp/build.log'. * The ebuild environment file is located at '/Users/andrew/Gentoo/var/tmp/portage/app-arch/p7zip-9.13-r1/temp/environment'. * S: '/Users/andrew/Gentoo/var/tmp/portage/app-arch/p7zip-9.13-r1/work/p7zip_9.13' along with my emerge --info =app-arch/p7zip-9.13-r1: Portage 2.2.01.15553-prefix (prefix/darwin/macos/10.6/x86, gcc-4.2.1, unavailable, 10.4.0 i386) ================================================================= System Settings ================================================================= System uname: Darwin-10.4.0-i386-32bit Timestamp of tree: Thu, 30 Sep 2010 19:11:39 +0000 distcc 3.1-toolwhip.1 i386-apple-darwin10.0 [disabled] app-shells/bash: 4.1_p7 dev-lang/python: 2.6.5-r2 dev-util/cmake: 2.8.1-r2 sys-devel/autoconf: 2.65-r1 sys-devel/automake: 1.11.1 sys-devel/gcc-config: 1.4.1-r00.2 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 ACCEPT_KEYWORDS="~x86-macos" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-apple-darwin10" CFLAGS="-O2 -pipe -march=prescott -fomit-frame-pointer" CHOST="i686-apple-darwin10" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/portage /etc/revdep-rebuild /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe -march=prescott -fomit-frame-pointer" DISTDIR="/Users/andrew/Gentoo/usr/portage/distfiles" FEATURES="assume-digests collision-protect distlocks fixlafiles fixpackages news nostrip parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_CA.UTF-8" LDFLAGS="-Wl,-dead_strip_dylibs" LINGUAS="en_CA en_GB en" PKGDIR="/Users/andrew/Gentoo/usr/portage/packages" PORTAGE_CONFIGROOT="/Users/andrew/Gentoo/" 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="/Users/andrew/Gentoo/var/tmp" PORTDIR="/Users/andrew/Gentoo/usr/portage" SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix" USE="aqua coreaudio cracklib cxx mmx mmxext modules ncurses nls objc objc++ prefix readline sse sse2 ssl unicode 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 cgi cgid 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="Darwin" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_CA en_GB en" RUBY_TARGETS="ruby18" USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
ok, fixed for both USE=rar and USE=-rar now