Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73669 - ghostscript install fails due to a patch failure
Summary: ghostscript install fails due to a patch failure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-07 07:53 UTC by element-82
Modified: 2004-12-08 01:48 UTC (History)
0 users

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 element-82 2004-12-07 07:53:56 UTC
emerge ghostscript
Calculating dependencies ...done!
>>> emerge (1 of 1) app-text/ghostscript-7.07.1-r7 to /
>>> md5 src_uri ;-) espgs-7.07.1-source.tar.bz2
>>> Unpacking source...
>>> Unpacking espgs-7.07.1-source.tar.bz2 to /var/tmp/portage/ghostscript-7.07.1-r7/work
 * Applying gs7.07.1-fontconfig-rh.patch.2.bz2 ...

 * Failed Patch: gs7.07.1-fontconfig-rh.patch.2.bz2!
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/ghostscript-7.07.1-r7/temp/gs7.07.1-fontconfig-rh.patch.2.bz2-20392.out
cat /var/tmp/portage/ghostscript-7.07.1-r7/temp/gs7.07.1-fontconfig-rh.patch.2.bz2-20392.out
***** gs7.07.1-fontconfig-rh.patch.2.bz2 *****

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

PIPE_COMMAND:  bzip2 -dc /usr/portage/app-text/ghostscript/files/gs7.07.1-fontconfig-rh.patch.2.bz2 > /var/tmp/portage/ghostscript-7.07.1-r7/temp/20392.patch
PATCH COMMAND:  patch -p0 -g0 < /var/tmp/portage/ghostscript-7.07.1-r7/temp/20392.patch

==============================================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- ghostscript-7.07/src/unix-gcc.mak.fontconfig-rh    2004-01-20 17:10:59.000000000 +0000
|+++ ghostscript-7.07/src/unix-gcc.mak  2004-01-20 17:14:20.000000000 +0000
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks 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 -ruN ghostscript-7.07.orig/Makefile ghostscript-7.07/Makefile
|diff -ruN ghostscript-7.07.orig/lib/gs_cidfn.ps ghostscript-7.07/lib/gs_cidfn.ps
|--- ghostscript-7.07.orig/lib/gs_cidfn.ps      2003-11-06 19:02:58.000000000 +0900
|+++ ghostscript-7.07/lib/gs_cidfn.ps   2003-12-03 17:51:33.000000000 +0900
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 46
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ruN ghostscript-7.07.orig/lib/gs_fonts.ps ghostscript-7.07/lib/gs_fonts.ps
|--- ghostscript-7.07.orig/lib/gs_fonts.ps      2003-04-12 23:02:38.000000000 +0900
|+++ ghostscript-7.07/lib/gs_fonts.ps   2003-12-03 19:46:24.000000000 +0900
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 58
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ruN ghostscript-7.07.orig/src/Makefile.in ghostscript-7.07/src/Makefile.in
|--- ghostscript-7.07.orig/src/Makefile.in      2003-11-06 19:02:57.000000000 +0900
|+++ ghostscript-7.07/src/Makefile.in   2003-12-03 17:51:33.000000000 +0900
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
can't find file to patch at input line 88
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ruN ghostscript-7.07.orig/src/configure.ac ghostscript-7.07/src/configure.ac
|--- ghostscript-7.07.orig/src/configure.ac     2003-11-06 19:02:57.000000000 +0900
|+++ ghostscript-7.07/src/configure.ac  2003-12-03 17:51:33.000000000 +0900
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 178
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ruN ghostscript-7.07.orig/src/int.mak ghostscript-7.07/src/int.mak
|--- ghostscript-7.07.orig/src/int.mak  2003-11-06 19:02:56.000000000 +0900
|+++ ghostscript-7.07/src/int.mak       2003-12-03 17:51:33.000000000 +0900
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
patching file ghostscript-7.07/src/zfontconfig.c
==============================================

PIPE_COMMAND:  bzip2 -dc /usr/portage/app-text/ghostscript/files/gs7.07.1-fontconfig-rh.patch.2.bz2 > /var/tmp/portage/ghostscript-7.07.1-r7/temp/20392.patch
PATCH COMMAND:  patch -p1 -g0 < /var/tmp/portage/ghostscript-7.07.1-r7/temp/20392.patch

==============================================
patching file src/unix-gcc.mak
Hunk #1 succeeded at 108 (offset -5 lines).
Hunk #2 FAILED at 210.
Hunk #3 succeeded at 251 (offset -7 lines).
1 out of 3 hunks FAILED -- saving rejects to file src/unix-gcc.mak.rej
patching file lib/gs_cidfn.ps
Hunk #1 succeeded at 480 (offset -8 lines).
patching file lib/gs_fonts.ps
Hunk #1 succeeded at 67 (offset -1 lines).
patching file src/Makefile.in
Hunk #1 succeeded at 106 (offset -1 lines).
Hunk #2 FAILED at 226.
Hunk #3 FAILED at 246.
2 out of 3 hunks FAILED -- saving rejects to file src/Makefile.in.rej
patching file src/configure.ac
Hunk #1 succeeded at 65 with fuzz 2 (offset -190 lines).
patching file src/int.mak
Hunk #1 succeeded at 323 (offset -2 lines).
Hunk #2 succeeded at 496 (offset -2 lines).
Hunk #3 succeeded at 504 (offset -2 lines).
patching file src/zfontconfig.c
==============================================

PIPE_COMMAND:  bzip2 -dc /usr/portage/app-text/ghostscript/files/gs7.07.1-fontconfig-rh.patch.2.bz2 > /var/tmp/portage/ghostscript-7.07.1-r7/temp/20392.patch
PATCH COMMAND:  patch -p2 -g0 < /var/tmp/portage/ghostscript-7.07.1-r7/temp/20392.patch

==============================================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- ghostscript-7.07/src/unix-gcc.mak.fontconfig-rh    2004-01-20 17:10:59.000000000 +0000
|+++ ghostscript-7.07/src/unix-gcc.mak  2004-01-20 17:14:20.000000000 +0000
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks 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 -ruN ghostscript-7.07.orig/Makefile ghostscript-7.07/Makefile
|diff -ruN ghostscript-7.07.orig/lib/gs_cidfn.ps ghostscript-7.07/lib/gs_cidfn.ps
|--- ghostscript-7.07.orig/lib/gs_cidfn.ps      2003-11-06 19:02:58.000000000 +0900
|+++ ghostscript-7.07/lib/gs_cidfn.ps   2003-12-03 17:51:33.000000000 +0900
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 46
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ruN ghostscript-7.07.orig/lib/gs_fonts.ps ghostscript-7.07/lib/gs_fonts.ps
|--- ghostscript-7.07.orig/lib/gs_fonts.ps      2003-04-12 23:02:38.000000000 +0900
|+++ ghostscript-7.07/lib/gs_fonts.ps   2003-12-03 19:46:24.000000000 +0900
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
patching file Makefile.in
Hunk #1 succeeded at 106 (offset -1 lines).
Hunk #2 FAILED at 226.
Hunk #3 FAILED at 246.
2 out of 3 hunks FAILED -- saving rejects to file Makefile.in.rej
patching file configure.ac
Hunk #1 succeeded at 65 with fuzz 2 (offset -190 lines).
can't find file to patch at input line 178
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ruN ghostscript-7.07.orig/src/int.mak ghostscript-7.07/src/int.mak
|--- ghostscript-7.07.orig/src/int.mak  2003-11-06 19:02:56.000000000 +0900
|+++ ghostscript-7.07/src/int.mak       2003-12-03 17:51:33.000000000 +0900
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
patching file zfontconfig.c
==============================================

PIPE_COMMAND:  bzip2 -dc /usr/portage/app-text/ghostscript/files/gs7.07.1-fontconfig-rh.patch.2.bz2 > /var/tmp/portage/ghostscript-7.07.1-r7/temp/20392.patch
PATCH COMMAND:  patch -p3 -g0 < /var/tmp/portage/ghostscript-7.07.1-r7/temp/20392.patch

==============================================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- ghostscript-7.07/src/unix-gcc.mak.fontconfig-rh    2004-01-20 17:10:59.000000000 +0000
|+++ ghostscript-7.07/src/unix-gcc.mak  2004-01-20 17:14:20.000000000 +0000
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks 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 -ruN ghostscript-7.07.orig/Makefile ghostscript-7.07/Makefile
|diff -ruN ghostscript-7.07.orig/lib/gs_cidfn.ps ghostscript-7.07/lib/gs_cidfn.ps
|--- ghostscript-7.07.orig/lib/gs_cidfn.ps      2003-11-06 19:02:58.000000000 +0900
|+++ ghostscript-7.07/lib/gs_cidfn.ps   2003-12-03 17:51:33.000000000 +0900
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 46 of patch
can't find file to patch at input line 46
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ruN ghostscript-7.07.orig/lib/gs_fonts.ps ghostscript-7.07/lib/gs_fonts.ps
|--- ghostscript-7.07.orig/lib/gs_fonts.ps      2003-04-12 23:02:38.000000000 +0900
|+++ ghostscript-7.07/lib/gs_fonts.ps   2003-12-03 19:46:24.000000000 +0900
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 58 of patch
can't find file to patch at input line 58
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ruN ghostscript-7.07.orig/src/Makefile.in ghostscript-7.07/src/Makefile.in
|--- ghostscript-7.07.orig/src/Makefile.in      2003-11-06 19:02:57.000000000 +0900
|+++ ghostscript-7.07/src/Makefile.in   2003-12-03 17:51:33.000000000 +0900
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
missing header for unified diff at line 88 of patch
can't find file to patch at input line 88
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ruN ghostscript-7.07.orig/src/configure.ac ghostscript-7.07/src/configure.ac
|--- ghostscript-7.07.orig/src/configure.ac     2003-11-06 19:02:57.000000000 +0900
|+++ ghostscript-7.07/src/configure.ac  2003-12-03 17:51:33.000000000 +0900
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 178 of patch
can't find file to patch at input line 178
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ruN ghostscript-7.07.orig/src/int.mak ghostscript-7.07/src/int.mak
|--- ghostscript-7.07.orig/src/int.mak  2003-11-06 19:02:56.000000000 +0900
|+++ ghostscript-7.07/src/int.mak       2003-12-03 17:51:33.000000000 +0900
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
missing header for unified diff at line 210 of patch
can't find file to patch at input line 210
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ruN ghostscript-7.07.orig/src/zfontconfig.c ghostscript-7.07/src/zfontconfig.c
|--- ghostscript-7.07.orig/src/zfontconfig.c    1970-01-01 09:00:00.000000000 +0900
|+++ ghostscript-7.07/src/zfontconfig.c 2003-12-03 20:27:42.000000000 +0900
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
==============================================

PIPE_COMMAND:  bzip2 -dc /usr/portage/app-text/ghostscript/files/gs7.07.1-fontconfig-rh.patch.2.bz2 > /var/tmp/portage/ghostscript-7.07.1-r7/temp/20392.patch
PATCH COMMAND:  patch -p4 -g0 < /var/tmp/portage/ghostscript-7.07.1-r7/temp/20392.patch

==============================================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- ghostscript-7.07/src/unix-gcc.mak.fontconfig-rh    2004-01-20 17:10:59.000000000 +0000
|+++ ghostscript-7.07/src/unix-gcc.mak  2004-01-20 17:14:20.000000000 +0000
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks 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 -ruN ghostscript-7.07.orig/Makefile ghostscript-7.07/Makefile
|diff -ruN ghostscript-7.07.orig/lib/gs_cidfn.ps ghostscript-7.07/lib/gs_cidfn.ps
|--- ghostscript-7.07.orig/lib/gs_cidfn.ps      2003-11-06 19:02:58.000000000 +0900
|+++ ghostscript-7.07/lib/gs_cidfn.ps   2003-12-03 17:51:33.000000000 +0900
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 46 of patch
can't find file to patch at input line 46
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ruN ghostscript-7.07.orig/lib/gs_fonts.ps ghostscript-7.07/lib/gs_fonts.ps
|--- ghostscript-7.07.orig/lib/gs_fonts.ps      2003-04-12 23:02:38.000000000 +0900
|+++ ghostscript-7.07/lib/gs_fonts.ps   2003-12-03 19:46:24.000000000 +0900
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 58 of patch
can't find file to patch at input line 58
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ruN ghostscript-7.07.orig/src/Makefile.in ghostscript-7.07/src/Makefile.in
|--- ghostscript-7.07.orig/src/Makefile.in      2003-11-06 19:02:57.000000000 +0900
|+++ ghostscript-7.07/src/Makefile.in   2003-12-03 17:51:33.000000000 +0900
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
missing header for unified diff at line 88 of patch
can't find file to patch at input line 88
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ruN ghostscript-7.07.orig/src/configure.ac ghostscript-7.07/src/configure.ac
|--- ghostscript-7.07.orig/src/configure.ac     2003-11-06 19:02:57.000000000 +0900
|+++ ghostscript-7.07/src/configure.ac  2003-12-03 17:51:33.000000000 +0900
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 178 of patch
can't find file to patch at input line 178
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ruN ghostscript-7.07.orig/src/int.mak ghostscript-7.07/src/int.mak
|--- ghostscript-7.07.orig/src/int.mak  2003-11-06 19:02:56.000000000 +0900
|+++ ghostscript-7.07/src/int.mak       2003-12-03 17:51:33.000000000 +0900
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
missing header for unified diff at line 210 of patch
can't find file to patch at input line 210
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ruN ghostscript-7.07.orig/src/zfontconfig.c ghostscript-7.07/src/zfontconfig.c
|--- ghostscript-7.07.orig/src/zfontconfig.c    1970-01-01 09:00:00.000000000 +0900
|+++ ghostscript-7.07/src/zfontconfig.c 2003-12-03 20:27:42.000000000 +0900
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored



Reproducible: Always
Steps to Reproduce:
1. emerge ghostscript
2.
3.

Actual Results:  
install failed

Expected Results:  
It should have patched and installed successfully.

AMD64 stage 1 install
Comment 1 element-82 2004-12-07 17:34:42 UTC
Workaround:
Well, I had a look at packages.gentoo.org and r7 is marked as "stable" (very nice resource, by the way) and then it installed ok:
ACCEPT_KEYWORDS="~amd64" emerge ="app-text/ghostscript-7.07.1-r7"
Comment 2 Robert Cole 2004-12-08 00:53:45 UTC
Same problem here, but with ghostscript-7.07.1-r7, but works fine now after an emerge sync.
Comment 3 Heinrich Wendel (RETIRED) gentoo-dev 2004-12-08 01:48:05 UTC
please sync, this bug was fixed