amavisd-new-20030616_p8 ebuild is unable to apply a patch named 'uid-as-string.patch': felix amavisd-new # emerge amavisd-new Calculating dependencies ...done! >>> emerge (1 of 1) net-mail/amavisd-new-20030616_p8 to / >>> md5 src_uri ;-) amavisd-new-20030616-p8.tar.gz >>> Unpacking source... >>> Unpacking amavisd-new-20030616-p8.tar.gz to /home/portagetmp/portage/amavisd-new-20030616_p8/work * Applying uid-as-string.patch... * Failed Patch: uid-as-string.patch! * * Include in your bugreport the contents of: * * /home/portagetmp/portage/amavisd-new-20030616_p8/temp/uid-as-string.patch-10806.out !!! ERROR: net-mail/amavisd-new-20030616_p8 failed. !!! Function epatch, Line 322, Exitcode 0 !!! Failed Patch: uid-as-string.patch! previous ebuild (p7) works perfectly. content of mentioned /home/portagetmp/portage/amavisd-new-20030616_p8/temp/uid-as-string.patch-10806.out: ***** uid-as-string.patch ***** =============================== PATCH COMMAND: patch -g0 -p0 < /usr/portage/net-mail/amavisd-new/files/uid-as-string.patch =============================== patching file amavisd Hunk #1 FAILED at 4968. 1 out of 1 hunk FAILED -- saving rejects to file amavisd.rej =============================== PATCH COMMAND: patch -g0 -p1 < /usr/portage/net-mail/amavisd-new/files/uid-as-string.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: -------------------------- |--- amavisd.orig 2004-01-13 08:20:59.000000000 -0800 |+++ amavisd 2004-01-13 08:21:16.000000000 -0800 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored =============================== PATCH COMMAND: patch -g0 -p2 < /usr/portage/net-mail/amavisd-new/files/uid-as-string.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: -------------------------- |--- amavisd.orig 2004-01-13 08:20:59.000000000 -0800 |+++ amavisd 2004-01-13 08:21:16.000000000 -0800 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored =============================== PATCH COMMAND: patch -g0 -p3 < /usr/portage/net-mail/amavisd-new/files/uid-as-string.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: -------------------------- -------------------------- |--- amavisd.orig 2004-01-13 08:20:59.000000000 -0800 |+++ amavisd 2004-01-13 08:21:16.000000000 -0800 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored =============================== PATCH COMMAND: patch -g0 -p4 < /usr/portage/net-mail/amavisd-new/files/uid-as-string.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: -------------------------- |--- amavisd.orig 2004-01-13 08:20:59.000000000 -0800 |+++ amavisd 2004-01-13 08:21:16.000000000 -0800 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored
----- zypher@laptop zypher $ cat /usr/portage/net-mail/amavisd-new/metadata.xml <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>net-mail</herd> </pkgmetadata> zypher@laptop zypher $ ----- Hello herd ;) Please update the metadata with your next commit. Thanks! Marc.
Fixed. I forgot that patch was accepted upstream. Sorry for the inconvinience. I also added antivirus as a herd alongside net-mail.