Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 31078

Summary: emerge libgphoto2-2.1.2 fails (libgphoto2-2.1.2-canon.patch)
Product: Gentoo Linux Reporter: Collins Richey <crichey>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: jforman
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Collins Richey 2003-10-13 18:24:54 UTC
emerge -U world selected the above package.  Patch failed.  Emerge recommended
to include
/var/tmp/portage/libgphoto2-2.1.2-r1/temp/libgphoto2-2.1.2-canon.patch-14130.out
which follows:

***** 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.0000
00000 -0500
|+++ libgphoto2-2.1.2/camlibs/canon/canon.c     2003-10-12 11:21:10.000000000 -0
500
--------------------------
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.0000
00000 -0500
|+++ libgphoto2-2.1.2/camlibs/canon/canon.h     2003-10-12 11:48:40.000000000 -0
500
--------------------------
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.0000
00000 -0500
|+++ libgphoto2-2.1.2/camlibs/canon/canon.c     2003-10-12 11:21:10.000000000 -0
500
--------------------------
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.0000
00000 -0500
|+++ libgphoto2-2.1.2/camlibs/canon/canon.h     2003-10-12 11:48:40.000000000 -0
500
--------------------------
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.0000
00000 -0500
|+++ libgphoto2-2.1.2/camlibs/canon/canon.c     2003-10-12 11:21:10.000000000 -0
500
--------------------------
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.0000
00000 -0500
|+++ libgphoto2-2.1.2/camlibs/canon/canon.h     2003-10-12 11:48:40.000000000 -0
500|+++ libgphoto2-2.1.2/camlibs/canon/canon.h     2003-10-12 11:48:40.000000000 -0
500
--------------------------
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.0000
00000 -0500
|+++ libgphoto2-2.1.2/camlibs/canon/canon.c     2003-10-12 11:21:10.000000000 -0
500
|+++ libgphoto2-2.1.2/camlibs/canon/canon.h     2003-10-12 11:48:40.000000000 -0
500
--------------------------
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.0000
00000 -0500
|+++ libgphoto2-2.1.2/camlibs/canon/canon.c     2003-10-12 11:21:10.000000000 -0
500
--------------------------
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.0000
00000 -0500
|+++ libgphoto2-2.1.2/camlibs/canon/canon.h     2003-10-12 11:48:40.000000000 -0
500
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored



Reproducible: Didn't try
Steps to Reproduce:
1.emerge libgphoto2-2.1.2
2.
3.

Actual Results:  
As above

Expected Results:  
successful emerge (patches applied successfully).

Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.6.0-test6)
=================================================================
System uname: 2.6.0-test6 i686 AMD Athlon(tm) XP 1800+
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share
/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/ge
neric/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linu
x/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mmx
 mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml 
alsa gdbm berkdb slang readline arts tetex bonobo svga tcltk java guile mysql po
stgres X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk q
t kde motif opengl mozilla gphoto2 cdr scanner"
Comment 1 Collins Richey 2003-10-13 19:34:46 UTC
Sorry, I forgot to update info after my last round of updates.

Portage 2.0.49-r13 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.6.0-test6)
Comment 2 Spider (RETIRED) gentoo-dev 2003-10-14 00:47:21 UTC
Portage 2.0.49-r13 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.4.22-ck2)


Builds perfectly here..  Strange, can you resync your tree to check that
theres nothing strange there?
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2003-10-14 07:40:25 UTC

*** This bug has been marked as a duplicate of 31114 ***