***** pax-utils-0.1.10.patch ***** ================================== PATCH COMMAND: patch -p0 -g0 --no-backup-if-mismatch < /usr/portage/app-misc/pax-utils/files/pax-utils-0.1.10.patch ================================== can't find file to patch at input line 4 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -Nrup pax-utils-0.1.10/porting.h pax-utils/porting.h |--- pax-utils-0.1.10/porting.h 2006-02-18 11:43:13.000000000 -0500 |+++ pax-utils/porting.h 2006-02-22 09:58:22.000000000 -0500 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 25 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -Nrup pax-utils-0.1.10/scanelf.c pax-utils/scanelf.c |--- pax-utils-0.1.10/scanelf.c 2006-02-18 11:43:13.000000000 -0500 |+++ pax-utils/scanelf.c 2006-02-22 09:58:22.000000000 -0500 -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored ================================== PATCH COMMAND: patch -p1 -g0 --no-backup-if-mismatch < /usr/portage/app-misc/pax-utils/files/pax-utils-0.1.10.patch ================================== patching file porting.h patching file scanelf.c Hunk #1 FAILED at 9. 1 out of 2 hunks FAILED -- saving rejects to file scanelf.c.rej PATCH COMMAND: patch -p2 -g0 --no-backup-if-mismatch < /usr/portage/app-misc/pax-utils/files/pax-utils-0.1.10.patch ================================== missing header for unified diff at line 4 of patch can't find file to patch at input line 4 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -Nrup pax-utils-0.1.10/porting.h pax-utils/porting.h |--- pax-utils-0.1.10/porting.h 2006-02-18 11:43:13.000000000 -0500 |+++ pax-utils/porting.h 2006-02-22 09:58:22.000000000 -0500 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored missing header for unified diff at line 25 of patch can't find file to patch at input line 25 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -Nrup pax-utils-0.1.10/scanelf.c pax-utils/scanelf.c |--- pax-utils-0.1.10/scanelf.c 2006-02-18 11:43:13.000000000 -0500 |+++ pax-utils/scanelf.c 2006-02-22 09:58:22.000000000 -0500 -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored ================================== PATCH COMMAND: patch -p3 -g0 --no-backup-if-mismatch < /usr/portage/app-misc/pax-utils/files/pax-utils-0.1.10.patch ================================== missing header for unified diff at line 4 of patch can't find file to patch at input line 4 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -Nrup pax-utils-0.1.10/porting.h pax-utils/porting.h |--- pax-utils-0.1.10/porting.h 2006-02-18 11:43:13.000000000 -0500 |+++ pax-utils/porting.h 2006-02-22 09:58:22.000000000 -0500 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored missing header for unified diff at line 25 of patch can't find file to patch at input line 25 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -Nrup pax-utils-0.1.10/scanelf.c pax-utils/scanelf.c |--- pax-utils-0.1.10/scanelf.c 2006-02-18 11:43:13.000000000 -0500 |+++ pax-utils/scanelf.c 2006-02-22 09:58:22.000000000 -0500 -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored ================================== PATCH COMMAND: patch -p4 -g0 --no-backup-if-mismatch < /usr/portage/app-misc/pax-utils/files/pax-utils-0.1.10.patch ================================== missing header for unified diff at line 4 of patch can't find file to patch at input line 4 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -Nrup pax-utils-0.1.10/porting.h pax-utils/porting.h |--- pax-utils-0.1.10/porting.h 2006-02-18 11:43:13.000000000 -0500 |+++ pax-utils/porting.h 2006-02-22 09:58:22.000000000 -0500 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored missing header for unified diff at line 25 of patch can't find file to patch at input line 25 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -Nrup pax-utils-0.1.10/scanelf.c pax-utils/scanelf.c |--- pax-utils-0.1.10/scanelf.c 2006-02-18 11:43:13.000000000 -0500 |+++ pax-utils/scanelf.c 2006-02-22 09:58:22.000000000 -0500 -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored
emerge --update --deep --newuse world Calculating world dependencies ...done! >>> emerge (1 of 327) app-misc/pax-utils-0.1.10 to / >>> md5 files ;-) pax-utils-0.1.9.ebuild >>> md5 files ;-) pax-utils-0.1.10.ebuild >>> md5 files ;-) files/digest-pax-utils-0.1.9 >>> md5 files ;-) files/digest-pax-utils-0.1.10 >>> md5 files ;-) files/pax-utils-0.1.10.patch >>> md5 src_uri ;-) pax-utils-0.1.10.tar.bz2 >>> Unpacking source... >>> Unpacking pax-utils-0.1.10.tar.bz2 to /var/tmp/portage/pax-utils-0.1.10/work * Applying pax-utils-0.1.10.patch ... * Failed Patch: pax-utils-0.1.10.patch ! * ( /usr/portage/app-misc/pax-utils/files/pax-utils-0.1.10.patch ) * * Include in your bugreport the contents of: * * /var/tmp/portage/pax-utils-0.1.10/temp/pax-utils-0.1.10.patch-1553.out !!! ERROR: app-misc/pax-utils-0.1.10 failed. !!! Function epatch, Line 350, Exitcode 0 !!! Failed Patch: pax-utils-0.1.10.patch! !!! If you need support, post the topmost build error, NOT this status message.
The issue is a no change in the patch file. -- @@ -9,7 +9,7 @@ #include "paxinc.h" -static const char *rcsid = "$Id: pax-utils-0.1.10.patch,v 1.1 2006/02/22 15:13:35 solar Exp $"; +static const char *rcsid = "$Id: pax-utils-0.1.10.patch,v 1.1 2006/02/22 15:13:35 solar Exp $"; #define argv0 "scanelf" #define IS_MODIFIER(c) (c == '%' || c == '#') -- So it's rejecting a change, not really a huge issue, but an update that patch file removing a patch that doesn't need to be there may be enough?
After removing that line and updating the sums in the Manifest I get a successful build. >>> emerge (1 of 4) app-misc/pax-utils-0.1.10 to / >>> md5 files ;-) pax-utils-0.1.10.ebuild >>> md5 files ;-) pax-utils-0.1.9.ebuild >>> md5 files ;-) files/digest-pax-utils-0.1.9 >>> md5 files ;-) files/digest-pax-utils-0.1.10 >>> md5 files ;-) files/pax-utils-0.1.10.patch >>> md5 src_uri ;-) pax-utils-0.1.10.tar.bz2 >>> Unpacking source... >>> Unpacking pax-utils-0.1.10.tar.bz2 to /var/tmp/portage/pax-utils-0.1.10/work * Applying pax-utils-0.1.10.patch ... [ ok ] >>> Source unpacked. i686-pc-linux-gnu-gcc -O2 -march=pentium3 -fomit-frame-pointer -c scanelf.c i686-pc-linux-gnu-gcc -O2 -march=pentium3 -fomit-frame-pointer -c dumpelf.c i686-pc-linux-gnu-gcc -O2 -march=pentium3 -fomit-frame-pointer -c paxelf.c i686-pc-linux-gnu-gcc -O2 -march=pentium3 -fomit-frame-pointer -c paxinc.c i686-pc-linux-gnu-gcc -O2 -march=pentium3 -fomit-frame-pointer -c pspax.c i686-pc-linux-gnu-gcc -O2 -march=pentium3 -fomit-frame-pointer paxinc.o paxelf.o -o dumpelf dumpelf.o i686-pc-linux-gnu-gcc -O2 -march=pentium3 -fomit-frame-pointer paxinc.o paxelf.o -o scanelf scanelf.o i686-pc-linux-gnu-gcc -O2 -march=pentium3 -fomit-frame-pointer paxinc.o paxelf.o -o pspax pspax.o >>> Test phase [not enabled]: app-misc/pax-utils-0.1.10 >>> Install pax-utils-0.1.10 into /var/tmp/portage/pax-utils-0.1.10/image/ category app-misc mkdir -p /var/tmp/portage/pax-utils-0.1.10/image//usr/bin/ /var/tmp/portage/pax-utils-0.1.10/image//usr/share/man/man1/ cp scanelf pspax dumpelf /var/tmp/portage/pax-utils-0.1.10/image//usr/bin/ for mpage in man/scanelf.1 man/pspax.1 man/dumpelf.1 ; do \ [ -e $mpage ] \ && cp $mpage /var/tmp/portage/pax-utils-0.1.10/image//usr/share/man/man1/ || : ;\ done man: gzipping man page: dumpelf.1 gzipping man page: scanelf.1 gzipping man page: pspax.1 prepallstrip: strip: i686-pc-linux-gnu-strip --strip-unneeded strip: i686-pc-linux-gnu-strip --strip-unneeded usr/bin/pspax usr/bin/scanelf usr/bin/dumpelf >>> Completed installing pax-utils-0.1.10 into /var/tmp/portage/pax-utils-0.1.10/image/ >>> Merging app-misc/pax-utils-0.1.10 to / --- /usr/ --- /usr/bin/ >>> /usr/bin/pspax >>> /usr/bin/scanelf >>> /usr/bin/dumpelf --- /usr/share/ --- /usr/share/man/ --- /usr/share/man/man1/ >>> /usr/share/man/man1/scanelf.1.gz >>> /usr/share/man/man1/dumpelf.1.gz >>> /usr/share/man/man1/pspax.1.gz >>> Regenerating /etc/ld.so.cache... >>> app-misc/pax-utils-0.1.10 merged. >>> clean: No packages selected for removal.
Ok I cut the fluff from the patch and redigested it. Please try again in about 90 mins
(In reply to comment #4) > Ok I cut the fluff from the patch and redigested it. > Please try again in about 90 mins > OK, it works ! Thank you very much !!!
Thanks for reporting guys. I'll try to be more careful about letting $Id: $ tags slip into cvs files. And or try to get a check added to repoman to prevent just such things.
*** Bug 123880 has been marked as a duplicate of this bug. ***