Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38109 - ebuild for qmail-ldap-1.03-r2 fails to apply TLS patch
Summary: ebuild for qmail-ldap-1.03-r2 fails to apply TLS patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Benjamin Coles
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 38129
  Show dependency tree
 
Reported: 2004-01-13 16:23 UTC by Andrew Ross (RETIRED)
Modified: 2004-03-30 23:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Log of epatch error message (emerge said to include with bugreport) (qmail-ldap-1.03-r2-tls.patch.bz2-13780.out,443 bytes, text/plain)
2004-01-13 16:34 UTC, Andrew Ross (RETIRED)
Details
Patch to qmail-ldap-1.03-r3.ebuild. Fixes problem applying TLS patch (qmail-ldap-1.03-r3-tls_fix.diff,532 bytes, patch)
2004-01-13 17:02 UTC, Andrew Ross (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Ross (RETIRED) gentoo-dev 2004-01-13 16:23:33 UTC
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"
Comment 1 Andrew Ross (RETIRED) gentoo-dev 2004-01-13 16:34:56 UTC
Created attachment 23762 [details]
Log of epatch error message (emerge said to include with bugreport)
Comment 2 Andrew Ross (RETIRED) gentoo-dev 2004-01-13 17:02:57 UTC
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).
Comment 3 Aiko Barz 2004-02-02 11:16:24 UTC
*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
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-03-13 16:42:02 UTC
sj7trunks@gentoo.org is responsible for qmail-ldap.
Comment 5 Benjamin Coles 2004-03-30 09:40:44 UTC
Working on -R4 right now, sorry for the delay
Comment 6 Benjamin Coles 2004-03-30 23:31:33 UTC
fixed and will apply to r4 after april 1st release of qmail-ldap