Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 278711 - net-mail/cyrus-imapd-2.3.14: emerge fails due to bad patch
Summary: net-mail/cyrus-imapd-2.3.14: emerge fails due to bad patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on: 244461
Blocks:
  Show dependency tree
 
Reported: 2009-07-22 16:47 UTC by Paolo C
Modified: 2009-07-22 17:16 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paolo C 2009-07-22 16:47:45 UTC
cyrus-imapd-strip.patch fails to apply when try to emerge cyrus-imapd, in both versions net-mail/cyrus-imapd-2.3.14 and net-mail/cyrus-imapd-2.3.14-r2

Reproducible: Always

Steps to Reproduce:
1.emerge cyrus-imapd
2.
3.

Actual Results:  
>>> Emerging (1 of 1) net-mail/cyrus-imapd-2.3.14
 * cyrus-imapd-2.3.14.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                     [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                                             [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                                            [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                           [ ok ]
>>> Unpacking source...
>>> Unpacking cyrus-imapd-2.3.14.tar.gz to /var/tmp/portage/net-mail/cyrus-imapd-2.3.14/work
xargs: xargs.c:447: main: Assertion `bc_ctl.arg_max <= (131072-2048)' failed.
/usr/lib/portage/bin/ebuild.sh: line 358: 13791 Broken pipe             find . -mindepth 1 -maxdepth 1 ! -type l -print0
     13792 Aborted                 | ${XARGS} -0 chmod -fR a+rX,u+w,g-w,o-w
 * Replacing obsolete head/tail with POSIX compliant ones
 *  - fixed /var/tmp/portage/net-mail/cyrus-imapd-2.3.14/work/cyrus-imapd-2.3.14/imap/xversion.sh
 * Applying cyrus-imapd-strip.patch ...

 * Failed Patch: cyrus-imapd-strip.patch !
 *  ( /usr/portage/net-mail/cyrus-imapd/files/cyrus-imapd-strip.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/net-mail/cyrus-imapd-2.3.14/temp/cyrus-imapd-strip.patch-13746.out

 * 
 * ERROR: net-mail/cyrus-imapd-2.3.14 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_unpack
 *             environment, line 3062:  Called epatch '/usr/portage/net-mail/cyrus-imapd/files/cyrus-imapd-strip.patch'
 *             environment, line 1653:  Called die
 * The specific snippet of code:
 *                   die "Failed Patch: ${patchname}!";
 *  The die message:
 *   Failed Patch: cyrus-imapd-strip.patch!
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/net-mail/cyrus-imapd-2.3.14/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-mail/cyrus-imapd-2.3.14/temp/environment'.
 * 



***** cyrus-imapd-strip.patch *****

===================================

PATCH COMMAND:	 patch -p0 -g0 -E --no-backup-if-mismatch < /usr/portage/net-mail/cyrus-imapd/files/cyrus-imapd-strip.patch

===================================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- imtest/Makefile.in.orig	2007-09-07 21:45:46.000000000 +0200
|+++ imtest/Makefile.in	2007-09-07 21:45:52.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
===================================
Comment 1 Paolo C 2009-07-22 17:15:38 UTC
resolved with "emerge findutils" as here http://bugs.gentoo.org/show_bug.cgi?id=244461