The ebuild qmail-ldap-1.03-r2 tries to apply the TLS patch (qmail-ldap-1.03-r2-tls.patch.bz2) and fails. Basically, it is trying to extract the patch file using bzip2, but the file isn't compressed using bzip2 - it is a plain text patch file (you can cat it to check this). The solution seems simple enough - compress the patch file using bzip2 and redistribute to the mirrors. Reproducible: Always Steps to Reproduce: 1. Make sure ACCEPT_KEYWORDS is set to allow unstable packages 2. emerge qmail-ldap 3. Actual Results: Emerge fails to apply the following patch qmail-ldap-1.03-r2-tls.patch.bz2 Expected Results: Software should have compiled and installed (or at least the patches should have been applied successfully). Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.24) ================================================================= System uname: 2.4.24 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.4.3.10 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium4 -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/ config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox userpriv usersandbox" GENTOO_MIRRORS="http://gentoo.whitley.unimelb.edu.au ftp://ftp.monash.edu.au/pub/linux/gentoo ftp://mirror.aarnet.edu.au/pub/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="apache2 apm crypt gdbm ldap libg++ mysql ncurses pam perl python readline ssl x86 zlib"
Created attachment 23762 [details] Log of epatch error message (emerge said to include with bugreport)
Created attachment 23766 [details, diff] Patch to qmail-ldap-1.03-r3.ebuild. Fixes problem applying TLS patch After applying this patch, the r3 ebuild correctly fetches the TLS patch file and only experiences the same problems applying the patch as the r2 ebuild (ie. TLS patch file needs to be bzip2 compressed, instead of plain text).
*gna* Do not use the the TLS-patch provided by gentoo! Use the TLS-patch, which is _already_ included into qmail-ldap-1.03-20040101.patch.gz! https://www.chroot.de/index.php?MAIN=docs&NAVI=ebuilds
sj7trunks@gentoo.org is responsible for qmail-ldap.
Working on -R4 right now, sorry for the delay
fixed and will apply to r4 after april 1st release of qmail-ldap