When I try to emerge squirrelmail, I get errors about failed patch. Reproducible: Always Steps to Reproduce: 1. emerge-websync 2. emerge -b squirrelmail on standart Gentoo linux 2004.1 Actual Results: # emerge -b squirrelmail Calculating dependencies ...done! >>> emerge (1 of 1) mail-client/squirrelmail-1.4.3 to / >>> md5 src_uri ;-) squirrelmail-1.4.3.tar.bz2 >>> md5 src_uri ;-) retrieveuserdata.0.9-1.4.0.tar.gz >>> md5 src_uri ;-) compatibility-1.3.tar.gz >>> md5 src_uri ;-) secure_login-1.2-1.2.8.tar.gz >>> md5 src_uri ;-) show_ssl_link-2.1-1.2.8.tar.gz >>> md5 src_uri ;-) admin_add.0.1-1.4.0.tar.gz >>> md5 src_uri ;-) virus_scan.0.5-1.4.0.tar.gz >>> md5 src_uri ;-) gpg.2.0.1-1.4.2.tar.gz >>> md5 src_uri ;-) ldapuserdata-0.4.tar.gz * Ebuilds (like this one) that use the webapp-apache.eclass need to * be converted to use the new webapp.eclass, to be compatible with * webapp-config. * * Please file a bug on http://bugs.gentoo.org/, stating that this * ebuild needs converting to use the new approach. * Installing into //var/www/localhost/htdocs/. >>> Unpacking source... >>> Unpacking squirrelmail-1.4.3.tar.bz2 to /var/tmp/portage/squirrelmail- 1.4.3/work * Applying squirrelmail- fortune.patch... [ ok ] * Applying squirrelmail-1.4.3-compose.patch... * Failed Patch: squirrelmail-1.4.3-compose.patch! * * Include in your bugreport the contents of: * * /var/tmp/portage/squirrelmail-1.4.3/temp/squirrelmail-1.4.3-compose.patch- 20690.out !!! ERROR: mail-client/squirrelmail-1.4.3 failed. !!! Function epatch, Line 322, Exitcode 0 !!! Failed Patch: squirrelmail-1.4.3-compose.patch! less /var/tmp/portage/squirrelmail-1.4.3/temp/squirrelmail-1.4.3-compose.patch- 20690.out ***** squirrelmail-1.4.3-compose.patch ***** ============================================ PATCH COMMAND: patch -p0 -g0 < /usr/portage/mail- client/squirrelmail/files/squirrelmail-1.4.3- compose.patch ============================================ patching file compose.php Hunk #1 FAILED at 14. 1 out of 2 hunks FAILED -- saving rejects to file compose.php.rej ============================================ PATCH COMMAND: patch -p1 -g0 < /usr/portage/mail- client/squirrelmail/files/squirrelmail-1.4.3- compose.patch ============================================ missing header for unified diff at line 3 of 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: -------------------------- |--- compose.php.orig 2004-05-31 22:47:22.000000000 -0700 |+++ compose.php 2004-06-01 09:06:13.286277000 -0700 -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored ============================================ PATCH COMMAND: patch -p2 -g0 < /usr/portage/mail- client/squirrelmail/files/squirrelmail-1.4.3- compose.patch ============================================ missing header for unified diff at line 3 of 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: -------------------------- |--- compose.php.orig 2004-05-31 22:47:22.000000000 -0700 |+++ compose.php 2004-06-01 09:06:13.286277000 -0700 -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored ============================================ PATCH COMMAND: patch -p3 -g0 < /usr/portage/mail- client/squirrelmail/files/squirrelmail-1.4.3- compose.patch ============================================ missing header for unified diff at line 3 of 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: -------------------------- |--- compose.php.orig 2004-05-31 22:47:22.000000000 -0700 |+++ compose.php 2004-06-01 09:06:13.286277000 -0700 -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored ============================================ PATCH COMMAND: patch -p4 -g0 < /usr/portage/mail- client/squirrelmail/files/squirrelmail-1.4.3- compose.patch ============================================ missing header for unified diff at line 3 of 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: -------------------------- |--- compose.php.orig 2004-05-31 22:47:22.000000000 -0700 |+++ compose.php 2004-06-01 09:06:13.286277000 -0700 -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored
*** Bug 52869 has been marked as a duplicate of this bug. ***
I have seen same issue trying to emerge -r1. Also note the webapp-config.eclass note. Should that be in a separate bugzilla bug? * Ebuilds (like this one) that use the webapp-apache.eclass need to * be converted to use the new webapp.eclass, to be compatible with * webapp-config. * * Please file a bug on http://bugs.gentoo.org/, stating that this * ebuild needs converting to use the new approach. * Installing into //var/www/localhost/htdocs/.
Nevermind, sorry, I see 52869 now
Note that these are two separate issues. The failed patch and the webapp-config are not related.
wtf? It worked for me. If you want the webapp-config version, use -r1. It's not a bug.
damn... cvs changed the patch when it comitted becasue it had a $Header: in it... fixed now.