Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52868 - Failed Patch: squirrelmail-1.4.3-compose.patch!
Summary: Failed Patch: squirrelmail-1.4.3-compose.patch!
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
: 52869 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-06-03 04:08 UTC by Roman Mikhailov
Modified: 2004-06-03 10:03 UTC (History)
2 users (show)

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 Roman Mikhailov 2004-06-03 04:08:45 UTC
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
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2004-06-03 04:39:51 UTC
*** Bug 52869 has been marked as a duplicate of this bug. ***
Comment 2 Steve Romanow 2004-06-03 08:24:32 UTC
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/.
Comment 3 Steve Romanow 2004-06-03 08:26:23 UTC
Nevermind, sorry, I see 52869 now
Comment 4 Steve Romanow 2004-06-03 08:27:39 UTC
Note that these are two separate issues.

The failed patch and the webapp-config are not related.
Comment 5 Jeremy Huddleston (RETIRED) gentoo-dev 2004-06-03 09:59:13 UTC
wtf?  It worked for me.

If you want the webapp-config version, use -r1.  It's not a bug.
Comment 6 Jeremy Huddleston (RETIRED) gentoo-dev 2004-06-03 10:03:50 UTC
damn... cvs changed the patch when it comitted becasue it had a $Header: in it... fixed now.