Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31114 - libgphoto2-2.1.2-r1 fails to build
Summary: libgphoto2-2.1.2-r1 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Martin Holzer (RETIRED)
URL:
Whiteboard:
Keywords:
: 31078 31158 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-10-14 04:55 UTC by Sean E Russell
Modified: 2003-10-15 04:10 UTC (History)
2 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 Sean E Russell 2003-10-14 04:55:22 UTC
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
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-10-14 07:30:33 UTC
please install patch-2.5.9 and try again
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-10-14 07:35:31 UTC
added patch into depend
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2003-10-14 07:40:26 UTC
*** Bug 31078 has been marked as a duplicate of this bug. ***
Comment 4 Collins Richey 2003-10-14 10:08:48 UTC
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.
Comment 5 Alastair Tse (RETIRED) gentoo-dev 2003-10-15 01:04:26 UTC
*** Bug 31158 has been marked as a duplicate of this bug. ***
Comment 6 Sean E Russell 2003-10-15 04:10:49 UTC
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?