* ERROR: dev-php/PEAR-Mail_Mime-1.8.3 failed (unpack phase): * Failed Patch: 1.5.2-php-pass-by-reference-fix.patch! * * Call stack: * ebuild.sh, line 85: Called src_unpack * environment, line 1874: Called epatch '/usr/portage/dev-php/PEAR-Mail_Mime/files/1.5.2-php-pass-by-reference-fix.patch' * environment, line 852: Called die * The specific snippet of code: * die "Failed Patch: ${patchname}!"; * * If you need support, post the output of 'emerge --info =dev-php/PEAR-Mail_Mime-1.8.3', * the complete build log and the output of 'emerge -pqv =dev-php/PEAR-Mail_Mime-1.8.3'. * The complete build log is located at '/var/tmp/portage/dev-php/PEAR-Mail_Mime-1.8.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-php/PEAR-Mail_Mime-1.8.3/temp/environment'. * S: '/var/tmp/portage/dev-php/PEAR-Mail_Mime-1.8.3/work/Mail_Mime-1.8.3' * * The following package has failed to build or install: * * (dev-php/PEAR-Mail_Mime-1.8.3::gentoo, ebuild scheduled for merge), Log file: * '/var/tmp/portage/dev-php/PEAR-Mail_Mime-1.8.3/temp/build.log'
Created attachment 305043 [details] 1.5.2-php-pass-by-reference-fix.patch.out
patch also fails for me on ~amd64
The file to be patched resides in ${S}/Mail, not ${S}. Prefixing the file mime.php in the first two lines of the patch file with "Mail/" solves the problem. changed from: --- mime.php.orig 2007-08-16 12:16:47.000000000 +0200 +++ mime.php 2007-08-16 12:25:07.000000000 +0200 to: --- Mail/mime.php.orig 2007-08-16 12:16:47.000000000 +0200 +++ Mail/mime.php 2007-08-16 12:25:07.000000000 +0200 How did this get by QA?
Already ran into this a few hours ago and just committed a fix to the tree. The 1.5.2 patch worked fine on 1.8.2, so probably a minor oversight.