Created attachment 295741 [details] output of the epatch command The ebuild fails at the src_unpack stage. For some reason the zlib-1.2.5.1-aix-soname.patch doesn't want to apply properly: * Package: sys-libs/zlib-1.2.5.1-r2 * Repository: gentoo_prefix * Maintainer: base-system@gentoo.org * USE: elibc_Darwin kernel_Darwin minizip prefix userland_GNU x86-macos * FEATURES: nostrip preserve-libs >>> Unpacking source... >>> Unpacking zlib-1.2.5.1.tar.gz to /Users/frb15/Desktop/Gentoo/var/tmp/portage/sys-libs/zlib-1.2.5.1-r2/work * Applying zlib-1.2.5.1-version.patch ... [ ok ] * Applying zlib-1.2.5.1-symlinks.patch ... [ ok ] * Applying zlib-1.2.4-minizip-autotools.patch ... [ ok ] * Running eautoreconf in '/Users/frb15/Desktop/Gentoo/var/tmp/portage/sys-libs/zlib-1.2.5.1-r2/work/zlib-1.2.5.1/contrib/minizip' ... * Running aclocal -I /Users/frb15/Desktop/Gentoo/usr/share/aclocal ... [ ok ] * Running glibtoolize --copy --force --install --automake ... [ ok ] * Running aclocal -I /Users/frb15/Desktop/Gentoo/usr/share/aclocal ... [ ok ] * Running autoconf ... [ ok ] * Running automake --add-missing --copy --foreign ... [ ok ] * Running elibtoolize in: zlib-1.2.5.1/contrib/minizip/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.2.6 patch ... * Applying zlib-1.2.5.1-aix-soname.patch ... * Failed Patch: zlib-1.2.5.1-aix-soname.patch ! * ( /Users/frb15/Desktop/Gentoo/usr/portage/sys-libs/zlib/files/zlib-1.2.5.1-aix-soname.patch ) * I attach zlib-1.2.5.1-aix-soname.patch.out
Looking at it more closely it may be an incompatibility with USE=minizip since eautoreconf is run in that case.
reproduced the same error on amd64-linux, minizip causes eautoreconf to run, which changes configure and let the aix-soname patch fail (which simply patches against configure). Just looked up that minizip is for zip archives with homepage http://www.winimage.com/zLibDll/minizip.html haubi: seems we need to patch against configure.ac instead.
dudes, the configure from the top dir isn't autoconf-based. The problem is that miniconf doesn't restore the working directory, so all the remaining fixes fail.
fixed in prefix, thanks