There appears to be a problem with the canon patch: ===== START emerge petra log # emerge -u libgphoto2 gphoto2 Calculating dependencies ...done! >>> emerge (1 of 2) media-libs/libgphoto2-2.1.2-r1 to / >>> md5 src_uri ;-) libgphoto2-2.1.2.tar.bz2 >>> Unpacking source... >>> Unpacking libgphoto2-2.1.2.tar.bz2 to /var/tmp/portage/libgphoto2-2.1.2-r1/work * Applying libgphoto2-2.1.2-norpm.patch... [ ok ] * Applying libgphoto2-2.1.2-canon.patch... * Failed Patch: libgphoto2-2.1.2-canon.patch! * * Include in your bugreport the contents of: * * /var/tmp/portage/libgphoto2-2.1.2-r1/temp/libgphoto2-2.1.2-canon.patch-16623.out !!! ERROR: media-libs/libgphoto2-2.1.2-r1 failed. !!! Function epatch, Line 354, Exitcode 0 !!! Failed Patch: libgphoto2-2.1.2-canon.patch! ===== STOP emerge ===== START libgphoto2-2.1.2-canon.patch-16623.out ***** libgphoto2-2.1.2-canon.patch ***** ======================================== PATCH COMMAND: patch -p0 < /usr/portage/media-libs/libgphoto2/files/libgphoto2-2.1.2-canon.patch ======================================== patching file libgphoto2-2.1.2/camlibs/canon/canon.c Hunk #1 FAILED at 15. 1 out of 5 hunks FAILED -- saving rejects to file libgphoto2-2.1.2/camlibs/canon/canon.c.rej patching file libgphoto2-2.1.2/camlibs/canon/canon.h Hunk #1 FAILED at 3. 1 out of 3 hunks FAILED -- saving rejects to file libgphoto2-2.1.2/camlibs/canon/canon.h.rej ======================================== PATCH COMMAND: patch -p1 < /usr/portage/media-libs/libgphoto2/files/libgphoto2-2.1.2-canon.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 -r -u libgphoto2-2.1.2.orig/camlibs/canon/canon.c libgphoto2-2.1.2/camlibs/canon/canon.c |--- libgphoto2-2.1.2.orig/camlibs/canon/canon.c 2003-08-10 13:51:13.000000000 -0500 |+++ libgphoto2-2.1.2/camlibs/canon/canon.c 2003-10-12 11:21:10.000000000 -0500 -------------------------- No file to patch. Skipping patch. 5 out of 5 hunks ignored can't find file to patch at input line 66 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -r -u libgphoto2-2.1.2.orig/camlibs/canon/canon.h libgphoto2-2.1.2/camlibs/canon/canon.h |--- libgphoto2-2.1.2.orig/camlibs/canon/canon.h 2003-08-10 13:51:13.000000000 -0500 |+++ libgphoto2-2.1.2/camlibs/canon/canon.h 2003-10-12 11:48:40.000000000 -0500 -------------------------- No file to patch. Skipping patch. 3 out of 3 hunks ignored ======================================== PATCH COMMAND: patch -p2 < /usr/portage/media-libs/libgphoto2/files/libgphoto2-2.1.2-canon.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 -r -u libgphoto2-2.1.2.orig/camlibs/canon/canon.c libgphoto2-2.1.2/camlibs/canon/canon.c |--- libgphoto2-2.1.2.orig/camlibs/canon/canon.c 2003-08-10 13:51:13.000000000 -0500 |+++ libgphoto2-2.1.2/camlibs/canon/canon.c 2003-10-12 11:21:10.000000000 -0500 -------------------------- No file to patch. Skipping patch. 5 out of 5 hunks ignored can't find file to patch at input line 66 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -r -u libgphoto2-2.1.2.orig/camlibs/canon/canon.h libgphoto2-2.1.2/camlibs/canon/canon.h |--- libgphoto2-2.1.2.orig/camlibs/canon/canon.h 2003-08-10 13:51:13.000000000 -0500 |+++ libgphoto2-2.1.2/camlibs/canon/canon.h 2003-10-12 11:48:40.000000000 -0500 -------------------------- No file to patch. Skipping patch. 3 out of 3 hunks ignored ======================================== PATCH COMMAND: patch -p3 < /usr/portage/media-libs/libgphoto2/files/libgphoto2-2.1.2-canon.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 -r -u libgphoto2-2.1.2.orig/camlibs/canon/canon.c libgphoto2-2.1.2/camlibs/canon/canon.c |--- libgphoto2-2.1.2.orig/camlibs/canon/canon.c 2003-08-10 13:51:13.000000000 -0500 |+++ libgphoto2-2.1.2/camlibs/canon/canon.c 2003-10-12 11:21:10.000000000 -0500 -------------------------- No file to patch. Skipping patch. 5 out of 5 hunks ignored can't find file to patch at input line 66 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -r -u libgphoto2-2.1.2.orig/camlibs/canon/canon.h libgphoto2-2.1.2/camlibs/canon/canon.h |--- libgphoto2-2.1.2.orig/camlibs/canon/canon.h 2003-08-10 13:51:13.000000000 -0500 |+++ libgphoto2-2.1.2/camlibs/canon/canon.h 2003-10-12 11:48:40.000000000 -0500 -------------------------- No file to patch. Skipping patch. 3 out of 3 hunks ignored ======================================== PATCH COMMAND: patch -p4 < /usr/portage/media-libs/libgphoto2/files/libgphoto2-2.1.2-canon.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 -r -u libgphoto2-2.1.2.orig/camlibs/canon/canon.c libgphoto2-2.1.2/camlibs/canon/canon.c |--- libgphoto2-2.1.2.orig/camlibs/canon/canon.c 2003-08-10 13:51:13.000000000 -0500 |+++ libgphoto2-2.1.2/camlibs/canon/canon.c 2003-10-12 11:21:10.000000000 -0500 -------------------------- No file to patch. Skipping patch. 5 out of 5 hunks ignored missing header for unified diff at line 66 of patch can't find file to patch at input line 66 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -r -u libgphoto2-2.1.2.orig/camlibs/canon/canon.h libgphoto2-2.1.2/camlibs/canon/canon.h |--- libgphoto2-2.1.2.orig/camlibs/canon/canon.h 2003-08-10 13:51:13.000000000 -0500 |+++ libgphoto2-2.1.2/camlibs/canon/canon.h 2003-10-12 11:48:40.000000000 -0500 -------------------------- No file to patch. Skipping patch. 3 out of 3 hunks ignored ===== STOP libgphoto2-2.1.2-canon.patch-16623.out ===== START USE USE="-tetex -lilo -nano -alsa -3dnow -voodoo3 -matrox -scanner -dga -gnome -bonobo -evo -guile -perl -mysql -python -slang -zeo -inndb -cjk -canna -freewnn -mule opengl xv ruby qt qtmt wavelan kamera pda oggvorbis pcmcia spell gphoto2 ggi avi dvd css kde png pam maildir cups jpeg plugins ldap aalib directfb fbcon svga mmx" ===== STOP USE
please install patch-2.5.9 and try again
added patch into depend
*** Bug 31078 has been marked as a duplicate of this bug. ***
Re 31078 (closed as duplicate). This must have been some kind of an anomaly with the mirrors. I had just resynced when I got the patch errors. After resync today, the errors have disappeared. I'm already using patch-2.5.9. The problem is resolved, but nevertheless maddening.
*** Bug 31158 has been marked as a duplicate of this bug. ***
Yah, me too. I already was using patch 2.5.9. But the patch appears to have been fixed in the meantime, and it is compiling now. BTW... can we close bugs ourselves? That's two questions: (1) are we non-developers able to, and (2) is it kosher?