I have a problem emerging libgphoto2...this is the output:
Code: Select all
emerge gphoto2 gtkam
Calculating dependencies ...done!
>>> emerge (1 of 4) 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-2634.out
!!! ERROR: media-libs/libgphoto2-2.1.2-r1 failed.
!!! Function epatch, Line 354, Exitcode 0
!!! Failed Patch: libgphoto2-2.1.2-canon.patch!Code: Select all
***** libgphoto2-2.1.2-canon.patch *****
========================================
PATCH COMMAND: patch -p0 < /usr/portage/media-libs/libgphoto2/files/libgphoto$
========================================
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/cano$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/cano$
========================================
PATCH COMMAND: patch -p1 < /usr/portage/media-libs/libgphoto2/files/libgphoto$
========================================
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/camlib$|--- libgphoto2-2.1.2.orig/camlibs/canon/canon.c 2003-08-10 13:51:13.000$|+++ libgphoto2-2.1.2/camlibs/canon/canon.c 2003-10-12 11:21:10.000000000 -$
--------------------------
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/camlib$|--- libgphoto2-2.1.2.orig/camlibs/canon/canon.h 2003-08-10 13:51:13.000$|+++ libgphoto2-2.1.2/camlibs/canon/canon.h 2003-10-12 11:48:40.000000000 -$
--------------------------
No file to patch. Skipping patch.
3 out of 3 hunks ignored
========================================
PATCH COMMAND: patch -p2 < /usr/portage/media-libs/libgphoto2/files/libgphoto$
========================================
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/camlib$|--- libgphoto2-2.1.2.orig/camlibs/canon/canon.c 2003-08-10 13:51:13.000$|+++ libgphoto2-2.1.2/camlibs/canon/canon.c 2003-10-12 11:21:10.000000000 -$
--------------------------
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/camlib$|--- libgphoto2-2.1.2.orig/camlibs/canon/canon.h 2003-08-10 13:51:13.000$|+++ libgphoto2-2.1.2/camlibs/canon/canon.h 2003-10-12 11:48:40.000000000 -$
--------------------------
No file to patch. Skipping patch.
3 out of 3 hunks ignored
========================================
PATCH COMMAND: patch -p3 < /usr/portage/media-libs/libgphoto2/files/libgphoto$
========================================
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/camlib$|--- libgphoto2-2.1.2.orig/camlibs/canon/canon.c 2003-08-10 13:51:13.000$|+++ libgphoto2-2.1.2/camlibs/canon/canon.c 2003-10-12 11:21:10.000000000 -$
--------------------------
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/camlib$|--- libgphoto2-2.1.2.orig/camlibs/canon/canon.h 2003-08-10 13:51:13.000$|+++ libgphoto2-2.1.2/camlibs/canon/canon.h 2003-10-12 11:48:40.000000000 -$
--------------------------
No file to patch. Skipping patch.
3 out of 3 hunks ignored
========================================
PATCH COMMAND: patch -p4 < /usr/portage/media-libs/libgphoto2/files/libgphoto$
========================================
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/camlib$|--- libgphoto2-2.1.2.orig/camlibs/canon/canon.c 2003-08-10 13:51:13.000$|+++ libgphoto2-2.1.2/camlibs/canon/canon.c 2003-10-12 11:21:10.000000000 -$
--------------------------
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/camlib$|--- libgphoto2-2.1.2.orig/camlibs/canon/canon.h 2003-08-10 13:51:13.000$|+++ libgphoto2-2.1.2/camlibs/canon/canon.h 2003-10-12 11:48:40.000000000 -$
--------------------------
No file to patch. Skipping patch.
3 out of 3 hunks ignoredThanks,
Eric

