Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 121546 - xpdf-3.01-r7: Failed Patch: xpdf-3.01-nodrm.patch
Summary: xpdf-3.01-r7: Failed Patch: xpdf-3.01-nodrm.patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-04 06:38 UTC by Alexander Skwar
Modified: 2006-02-04 11:50 UTC (History)
1 user (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 Alexander Skwar 2006-02-04 06:38:28 UTC
>>> Unpacking xpdf-3.01-poppler.tar.bz2 to /Gentoo/Portage/build/portage/xpdf-3.01-r7/work
 * Applying xpdf-3.01-nodrm.patch ...

 * Failed Patch: xpdf-3.01-nodrm.patch !
 *  ( /Gentoo/Portage/tree/app-text/xpdf/files/xpdf-3.01-nodrm.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /Gentoo/Portage/build/portage/xpdf-3.01-r7/temp/xpdf-3.01-nodrm.patch-28718.out


!!! ERROR: app-text/xpdf-3.01-r7 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_unpack
  ebuild.sh, line 694:   Called src_unpack
  xpdf-3.01-r7.ebuild, line 30:   Called epatch 'unpack'

I tried to emerge xpdf with the following flags:

alexander@blatt ~ $ emerge -vpt xpdf

These are the packages that I would merge, in reverse order:

Calculating dependencies ...done!
[ebuild  N    ] app-text/xpdf-3.01-r7  USE="nodrm" 0 kB


alexander@blatt ~ $ emerge info
Portage 2.1_pre4-r1 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.6-r2, 2.6.15-suspend2-r5.041.via-im-kernel i686)
=================================================================
System uname: 2.6.15-suspend2-r5.041.via-im-kernel i686 Intel(R) Celeron(R) M processor         1.50GHz
Gentoo Base System version 1.12.0_pre15
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.4-r1, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=pentium-m -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mtune=pentium-m -pipe -fomit-frame-pointer"
DISTDIR="/Gentoo/Portage/distfiles"
FEATURES="autoconfig buildpkg ccache collision-protect distlocks sandbox sfperms strict"
GENTOO_MIRRORS="        http://server.bei.digitalprojects.com/gentoo/   http://stuff.alexander.skwar.name/gentoo/    http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/    http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/    ftp://ftp.tu-clausthal.de/pub/linux/gentoo/   http://distro.ibiblio.org/pub/linux/distributions/gentoo/       ftp://distro.ibiblio.org/pub/linux/distributions/gentoo       http://distfiles.gentoo.org/ "
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
PKGDIR="/Gentoo/Portage/packages"
PORTAGE_TMPDIR="/Gentoo/Portage/build"
PORTDIR="/Gentoo/Portage/tree"
PORTDIR_OVERLAY="/Gentoo/Portage/local-tree/misc /Gentoo/Portage/local-tree/overlays/gentoo-de"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 GAPING_SECURITY_HOLE X acpi alsa amd apm arts artswrappersuid async avi bdf berkdb bitmap-fonts bluetooth bootsplash cairo caps cardbus ccache cdda cddb cdio cdparanoia cdr cdrom cle266 crypt css curlwrappers dbus devmap dillo divx4linux dlloader dvd dvdread emoticon esd exif fam fbcon fbdev firefox fping freetype gdbm gif gnokii gnome gstreamer gtk gtk2 hal hpn icc id3 idn imap imlib imlib2 insecure-drivers insecure-savers javascript jikes jpeg kde kdeenablefinal libedit libwww linuxthreads-tls logrotate lynxkeymap mad madwifi maildir matroska mbox mmx mmxext mozilla moznoirc mozsvg mp3 mpeg mpeg2 mpeg4 mplayer multicall ncurses netboot network new-login nfs nis nls no-old-linux no-suexec noantlr nobcel nobeanutils nobsf nobsh nocd nocommonslogging nocommonsnet nodrm nogg nogulm nojsch nojython nolog4j nomac nooro nopri norhino noxalan noxerces nozaptel nptl nsplugin offensive ogg oggvorbis opengl openssh pam_console pam_timestamp passfile password patented pccts pcmcia pcre perl perlsuid pic player png pnp qt quicktime rar readline real recode reiserfs sdl sendfile sensord sftp sms spell spf sse sse2 ssl startup-notification stream subp subtitles suid symlink sysfs syslog tiff transcode truetype truetype-fonts trusted type1-fonts underscores unichrome unicode unsafe usb utf8 uudeview vim vim-pager vlm vorbis wifi win32codecs wma123 x11vnc xinetd xml xml2 xmms xpm xscreensaver xv xvid xvmc zlib elibc_glibc kernel_linux linguas_de userland_GNU video_cards_via"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LC_ALL, MAKEOPTS
Comment 1 Joe Wells 2006-02-04 11:48:09 UTC
I'm seeing the same problem.

Patch is complaining about a lot of missing files.

Here are the contents of /var/tmp/portage/xpdf-3.01-r7/temp/xpdf-3.01-nodrm.patch-32195.out
on my system:

***** xpdf-3.01-nodrm.patch *****

=================================

PATCH COMMAND:  patch -p0 -g0 --no-backup-if-mismatch < /usr/portage/app-text/xpdf/files/xpdf-3.01-nodrm.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 -u xpdf-3.01.orig/xpdf/PDFCore.cc xpdf-3.01/xpdf/PDFCore.cc
|--- xpdf-3.01.orig/xpdf/PDFCore.cc	2005-10-05 16:29:19.000000000 +0200
|+++ xpdf-3.01/xpdf/PDFCore.cc	2005-10-05 16:29:28.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 17
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -u xpdf-3.01.orig/xpdf/pdfimages.cc xpdf-3.01/xpdf/pdfimages.cc
|--- xpdf-3.01.orig/xpdf/pdfimages.cc	2005-10-05 16:29:19.000000000 +0200
|+++ xpdf-3.01/xpdf/pdfimages.cc	2005-10-05 16:29:28.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 34
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -u xpdf-3.01.orig/xpdf/pdftops.cc xpdf-3.01/xpdf/pdftops.cc
|--- xpdf-3.01.orig/xpdf/pdftops.cc	2005-10-05 16:29:19.000000000 +0200
|+++ xpdf-3.01/xpdf/pdftops.cc	2005-10-05 16:29:28.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 51
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -u xpdf-3.01.orig/xpdf/pdftotext.cc xpdf-3.01/xpdf/pdftotext.cc
|--- xpdf-3.01.orig/xpdf/pdftotext.cc	2005-10-05 16:29:19.000000000 +0200
|+++ xpdf-3.01/xpdf/pdftotext.cc	2005-10-05 16:29:28.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 68
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -u xpdf-3.01.orig/xpdf/XPDFCore.cc xpdf-3.01/xpdf/XPDFCore.cc
|--- xpdf-3.01.orig/xpdf/XPDFCore.cc	2005-10-05 16:29:19.000000000 +0200
|+++ xpdf-3.01/xpdf/XPDFCore.cc	2005-10-05 16:29:28.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 94
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -u xpdf-3.01.orig/xpdf/XPDFViewer.cc xpdf-3.01/xpdf/XPDFViewer.cc
|--- xpdf-3.01.orig/xpdf/XPDFViewer.cc	2005-10-05 16:29:19.000000000 +0200
|+++ xpdf-3.01/xpdf/XPDFViewer.cc	2005-10-05 16:29:28.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
=================================

PATCH COMMAND:  patch -p1 -g0 --no-backup-if-mismatch < /usr/portage/app-text/xpdf/files/xpdf-3.01-nodrm.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 -u xpdf-3.01.orig/xpdf/PDFCore.cc xpdf-3.01/xpdf/PDFCore.cc
|--- xpdf-3.01.orig/xpdf/PDFCore.cc	2005-10-05 16:29:19.000000000 +0200
|+++ xpdf-3.01/xpdf/PDFCore.cc	2005-10-05 16:29:28.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 17
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -u xpdf-3.01.orig/xpdf/pdfimages.cc xpdf-3.01/xpdf/pdfimages.cc
|--- xpdf-3.01.orig/xpdf/pdfimages.cc	2005-10-05 16:29:19.000000000 +0200
|+++ xpdf-3.01/xpdf/pdfimages.cc	2005-10-05 16:29:28.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 34
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -u xpdf-3.01.orig/xpdf/pdftops.cc xpdf-3.01/xpdf/pdftops.cc
|--- xpdf-3.01.orig/xpdf/pdftops.cc	2005-10-05 16:29:19.000000000 +0200
|+++ xpdf-3.01/xpdf/pdftops.cc	2005-10-05 16:29:28.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 51
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -u xpdf-3.01.orig/xpdf/pdftotext.cc xpdf-3.01/xpdf/pdftotext.cc
|--- xpdf-3.01.orig/xpdf/pdftotext.cc	2005-10-05 16:29:19.000000000 +0200
|+++ xpdf-3.01/xpdf/pdftotext.cc	2005-10-05 16:29:28.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 68
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -u xpdf-3.01.orig/xpdf/XPDFCore.cc xpdf-3.01/xpdf/XPDFCore.cc
|--- xpdf-3.01.orig/xpdf/XPDFCore.cc	2005-10-05 16:29:19.000000000 +0200
|+++ xpdf-3.01/xpdf/XPDFCore.cc	2005-10-05 16:29:28.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 94
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -u xpdf-3.01.orig/xpdf/XPDFViewer.cc xpdf-3.01/xpdf/XPDFViewer.cc
|--- xpdf-3.01.orig/xpdf/XPDFViewer.cc	2005-10-05 16:29:19.000000000 +0200
|+++ xpdf-3.01/xpdf/XPDFViewer.cc	2005-10-05 16:29:28.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
=================================

PATCH COMMAND:  patch -p2 -g0 --no-backup-if-mismatch < /usr/portage/app-text/xpdf/files/xpdf-3.01-nodrm.patch

=================================
patching file PDFCore.cc
Hunk #1 succeeded at 1271 with fuzz 2 (offset -2 lines).
can't find file to patch at input line 17
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -u xpdf-3.01.orig/xpdf/pdfimages.cc xpdf-3.01/xpdf/pdfimages.cc
|--- xpdf-3.01.orig/xpdf/pdfimages.cc	2005-10-05 16:29:19.000000000 +0200
|+++ xpdf-3.01/xpdf/pdfimages.cc	2005-10-05 16:29:28.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 34
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -u xpdf-3.01.orig/xpdf/pdftops.cc xpdf-3.01/xpdf/pdftops.cc
|--- xpdf-3.01.orig/xpdf/pdftops.cc	2005-10-05 16:29:19.000000000 +0200
|+++ xpdf-3.01/xpdf/pdftops.cc	2005-10-05 16:29:28.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 51
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -u xpdf-3.01.orig/xpdf/pdftotext.cc xpdf-3.01/xpdf/pdftotext.cc
|--- xpdf-3.01.orig/xpdf/pdftotext.cc	2005-10-05 16:29:19.000000000 +0200
|+++ xpdf-3.01/xpdf/pdftotext.cc	2005-10-05 16:29:28.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
patching file XPDFCore.cc
Hunk #1 succeeded at 376 (offset -1 lines).
Hunk #2 succeeded at 1112 (offset 7 lines).
patching file XPDFViewer.cc
Hunk #1 succeeded at 2390 (offset -1 lines).
=================================

PATCH COMMAND:  patch -p3 -g0 --no-backup-if-mismatch < /usr/portage/app-text/xpdf/files/xpdf-3.01-nodrm.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 -u xpdf-3.01.orig/xpdf/PDFCore.cc xpdf-3.01/xpdf/PDFCore.cc
|--- xpdf-3.01.orig/xpdf/PDFCore.cc	2005-10-05 16:29:19.000000000 +0200
|+++ xpdf-3.01/xpdf/PDFCore.cc	2005-10-05 16:29:28.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 17 of patch
can't find file to patch at input line 17
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -u xpdf-3.01.orig/xpdf/pdfimages.cc xpdf-3.01/xpdf/pdfimages.cc
|--- xpdf-3.01.orig/xpdf/pdfimages.cc	2005-10-05 16:29:19.000000000 +0200
|+++ xpdf-3.01/xpdf/pdfimages.cc	2005-10-05 16:29:28.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 34 of patch
can't find file to patch at input line 34
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -u xpdf-3.01.orig/xpdf/pdftops.cc xpdf-3.01/xpdf/pdftops.cc
|--- xpdf-3.01.orig/xpdf/pdftops.cc	2005-10-05 16:29:19.000000000 +0200
|+++ xpdf-3.01/xpdf/pdftops.cc	2005-10-05 16:29:28.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 51 of patch
can't find file to patch at input line 51
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -u xpdf-3.01.orig/xpdf/pdftotext.cc xpdf-3.01/xpdf/pdftotext.cc
|--- xpdf-3.01.orig/xpdf/pdftotext.cc	2005-10-05 16:29:19.000000000 +0200
|+++ xpdf-3.01/xpdf/pdftotext.cc	2005-10-05 16:29:28.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 68 of patch
can't find file to patch at input line 68
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -u xpdf-3.01.orig/xpdf/XPDFCore.cc xpdf-3.01/xpdf/XPDFCore.cc
|--- xpdf-3.01.orig/xpdf/XPDFCore.cc	2005-10-05 16:29:19.000000000 +0200
|+++ xpdf-3.01/xpdf/XPDFCore.cc	2005-10-05 16:29:28.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
missing header for unified diff at line 94 of patch
can't find file to patch at input line 94
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -u xpdf-3.01.orig/xpdf/XPDFViewer.cc xpdf-3.01/xpdf/XPDFViewer.cc
|--- xpdf-3.01.orig/xpdf/XPDFViewer.cc	2005-10-05 16:29:19.000000000 +0200
|+++ xpdf-3.01/xpdf/XPDFViewer.cc	2005-10-05 16:29:28.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
=================================

PATCH COMMAND:  patch -p4 -g0 --no-backup-if-mismatch < /usr/portage/app-text/xpdf/files/xpdf-3.01-nodrm.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 -u xpdf-3.01.orig/xpdf/PDFCore.cc xpdf-3.01/xpdf/PDFCore.cc
|--- xpdf-3.01.orig/xpdf/PDFCore.cc	2005-10-05 16:29:19.000000000 +0200
|+++ xpdf-3.01/xpdf/PDFCore.cc	2005-10-05 16:29:28.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 17 of patch
can't find file to patch at input line 17
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -u xpdf-3.01.orig/xpdf/pdfimages.cc xpdf-3.01/xpdf/pdfimages.cc
|--- xpdf-3.01.orig/xpdf/pdfimages.cc	2005-10-05 16:29:19.000000000 +0200
|+++ xpdf-3.01/xpdf/pdfimages.cc	2005-10-05 16:29:28.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 34 of patch
can't find file to patch at input line 34
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -u xpdf-3.01.orig/xpdf/pdftops.cc xpdf-3.01/xpdf/pdftops.cc
|--- xpdf-3.01.orig/xpdf/pdftops.cc	2005-10-05 16:29:19.000000000 +0200
|+++ xpdf-3.01/xpdf/pdftops.cc	2005-10-05 16:29:28.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 51 of patch
can't find file to patch at input line 51
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -u xpdf-3.01.orig/xpdf/pdftotext.cc xpdf-3.01/xpdf/pdftotext.cc
|--- xpdf-3.01.orig/xpdf/pdftotext.cc	2005-10-05 16:29:19.000000000 +0200
|+++ xpdf-3.01/xpdf/pdftotext.cc	2005-10-05 16:29:28.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 68 of patch
can't find file to patch at input line 68
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -u xpdf-3.01.orig/xpdf/XPDFCore.cc xpdf-3.01/xpdf/XPDFCore.cc
|--- xpdf-3.01.orig/xpdf/XPDFCore.cc	2005-10-05 16:29:19.000000000 +0200
|+++ xpdf-3.01/xpdf/XPDFCore.cc	2005-10-05 16:29:28.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
missing header for unified diff at line 94 of patch
can't find file to patch at input line 94
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -u xpdf-3.01.orig/xpdf/XPDFViewer.cc xpdf-3.01/xpdf/XPDFViewer.cc
|--- xpdf-3.01.orig/xpdf/XPDFViewer.cc	2005-10-05 16:29:19.000000000 +0200
|+++ xpdf-3.01/xpdf/XPDFViewer.cc	2005-10-05 16:29:28.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
Comment 2 Stefan Schweizer (RETIRED) gentoo-dev 2006-02-04 11:50:54 UTC
I fixed it by removing the files no longer present