Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 134791 - app-text/ghostscript-afpl-8.54 patch fails when USE="-cups"
Summary: app-text/ghostscript-afpl-8.54 patch fails when USE="-cups"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-29 08:34 UTC by Jan Jitse Venselaar
Modified: 2006-05-31 05:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Output of failed patch, independently confirming bug. (ghostscript-afpl-8.54-destdir.diff-19411.out,12.25 KB, text/plain)
2006-05-31 02:34 UTC, Joe Wells
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Jitse Venselaar 2006-05-29 08:34:12 UTC
This is not a duplicate of #134391 , it still fails (synced 15 minutes ago)

 * Applying ghostscript-afpl-8.54-destdir.diff ...

 * Failed Patch: ghostscript-afpl-8.54-destdir.diff !
 *  ( /usr/portage/app-text/ghostscript-afpl/files/ghostscript-afpl-8.54-destdir.diff )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/ghostscript-afpl-8.54/temp/ghostscript-afpl-8.54-destdir.diff-29478.out


Relevant part of ghostscript-afpl-8.54-destdir.diff-29478.out:
PATCH COMMAND:  patch -p1 -g0 -E --no-backup-if-mismatch < /usr/portage/app-text/ghostscript-afpl/files/ghostscript-afpl-8.54-destdir.diff

==============================================
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 -ur ghostscript-8.54.orig/pstoraster/cups.mak ghostscript-8.54/pstoraster/cups.mak
|--- ghostscript-8.54.orig/pstoraster/cups.mak  2006-05-23 19:59:45.000000000 +0200
|+++ ghostscript-8.54/pstoraster/cups.mak       2006-05-23 20:32:44.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
patching file src/all-arch.mak
patching file src/macos-fw.mak
patching file src/unix-dll.mak
patching file src/unixinst.mak

The pstoraster directory is only made when USE="cups" is set, from the ebuild:
        # cups support
        if use cups; then
                cp -r cups-${CUPS_PV}/pstoraster ${S}
                cd ${S}/pstoraster


emerge --info:
Portage 2.1_rc3-r1 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.16-suspend2-r6 x86_64)
=================================================================
System uname: 2.6.16-suspend2-r6 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.0
ccache version 2.4 [enabled]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r1
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
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-r2
sys-devel/binutils:  2.16.1-r1, 2.16.91.0.6, 2.16.93
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -ftracer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache distlocks metadata-transfer sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://pandemonium.tiscali.de/pub/gentoo/"
LANG="en_US.utf-8"
LC_ALL="en_US.utf-8"
LINGUAS="en nl en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/science /usr/portage/local/layman/nxsty-glibc /usr/portage/local/layman/ecatmur /usr/portage/local/layman/gentopia /usr/portage/local/layman/initng /usr/portage/local/layman/java-migration"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 16bit X a52 aac acpi akode alsa avi bash-completion bitmap-fonts bogofilter browserplugin bzip2 cairo cdparanoia cdr cli crypt cscope dbus dlloader dri dts dv dvd dvdread dvi eds emboss encode exif ffmpeg firefox flac font-server foomaticdb gcj gif glitz glut gphoto2 gpm graphviz gstreamer hal idn imagemagick imlib isdnlog java jikes joystick jpeg kde kdeenablefinal kdehiddenvisibility lcms live lm_sensors logitech-mouse lzo lzw lzw-tiff mad mmap mng mono motif mp3 mpeg mplayer musepack ncurses network nfs nls nntp nptl nptlonly nvidia ogg openal opengl oss pcre pdf pdflib perl pic png pppd profile python qt quicktime readline reflection rtc sblive sdl session smime source spell spl ssl subversion svg t1lib tcpd tetex tga theora tidy tiff timidity truetype truetype-fonts type1-fonts unicode usb userlocales v4l2 vim-with-x visualization vorbis x264 xanim xine xml xml2 xorg xpm xv xvid zlib elibc_glibc kernel_linux linguas_en linguas_nl linguas_en_US userland_GNU video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Joe Wells 2006-05-31 02:34:43 UTC
Created attachment 87961 [details]
Output of failed patch, independently confirming bug.

I can confirm the problem.  I also get the same patch failure (see
attachment), after syncing in the last hour.  I also have "-cups" in
my USE variable setting.
Comment 2 Stefan Schweizer (RETIRED) gentoo-dev 2006-05-31 05:00:01 UTC
thanks for reporting, fixed in -r1