Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 123732 - ERROR: app-misc/pax-utils-0.1.10 failed
Summary: ERROR: app-misc/pax-utils-0.1.10 failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Highest normal
Assignee: solar (RETIRED)
URL:
Whiteboard:
Keywords:
: 123880 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-02-22 12:09 UTC by Fabien S
Modified: 2006-02-23 19:49 UTC (History)
3 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 Fabien S 2006-02-22 12:09:14 UTC
***** 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
Comment 1 Fabien S 2006-02-22 12:21:05 UTC
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.
Comment 2 Aaron Nixon 2006-02-22 13:23:15 UTC
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?
Comment 3 Aaron Nixon 2006-02-22 13:30:13 UTC
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.
Comment 4 solar (RETIRED) gentoo-dev 2006-02-22 13:59:43 UTC
Ok I cut the fluff from the patch and redigested it.
Please try again in about 90 mins
Comment 5 Fabien S 2006-02-22 15:27:27 UTC
(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 !!!
Comment 6 solar (RETIRED) gentoo-dev 2006-02-23 06:06:45 UTC
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.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-02-23 19:49:16 UTC
*** Bug 123880 has been marked as a duplicate of this bug. ***