The patch should be updated to: --- ghostscript-8.71/gsdjvu.old 2010-12-22 15:32:49.000000000 +0100 +++ ghostscript-8.71/gsdjvu 2010-12-22 15:33:17.000000000 +0100 @@ -55,5 +55,5 @@ # Step 2 -- execute ghostscript -gsdir="$progdir" +gsdir="$(dirname $progdir)" GS_LIB="$gsdir/lib:$gsdir/fonts:$gsdir" exec "$gsdir/bin/gs" "$@" Reproducible: Always
Did you mean ghostscript-gpl-8.64-gsdjvu-1.3.patch? Please attach the entire build log to this bug report as a file, and paste your `emerge --info' output in a comment.
Can't reproduce this.
Created attachment 264171 [details] Build log $ emerge --info app-text/ghostscript-gpl Portage 2.2.01.17901-prefix (prefix/linux/amd64, gcc-4.4.5, unavailable, 2.6.18-194.3.1.el5 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.18-194.3.1.el5-x86_64-Intel-R-_Xeon-R-_CPU_E5450_@_3.00GHz-with-redhat-5.5-Tikanga Timestamp of tree: Thu, 24 Feb 2011 22:37:16 +0000 app-shells/bash: 4.1_p7 dev-lang/python: 2.6.5-r2, 2.7.1-r00.1 dev-util/cmake: 2.8.4 sys-devel/autoconf: 2.68 sys-devel/automake: 1.11.1 sys-devel/binutils: 2.21.51.0.6 sys-devel/gcc: 4.2.4-r01.2, 4.4.5, 4.5.1-r1 sys-devel/gcc-config: 1.4.1-r00.2 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82 virtual/os-headers: 2.6.36.1 (sys-kernel/linux-headers) Repositories: gentoo_prefix local-repo Installed sets: ACCEPT_KEYWORDS="~amd64-linux" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/portage /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -pipe" DISTDIR="/home/jeff/rhel5-amd64-linux/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs collision-protect distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1" PKGDIR="/home/jeff/rhel5-amd64-linux/usr/portage/packages" PORTAGE_CONFIGROOT="/home/jeff/rhel5-amd64-linux/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/scratch" PORTDIR="/home/jeff/rhel5-amd64-linux/usr/portage" PORTDIR_OVERLAY="/home/jeff/rhel5-amd64-linux/usr/local/portage" SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix" USE="X amd64 bash-completion berkdb bzip2 cairo cli cracklib crypt cxx djvu dri emacs fontconfig fortran gdbm gif gtk iconv ipv6 jpeg mmx modules mudflap ncurses nls nptl nptlonly openmp pcre perl png pppd prefix python readline session sse sse2 ssl svg sysfs tcpd tiff truetype unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= app-text/ghostscript-gpl-8.71-r6 was built with the following: USE="X cairo djvu gtk (prefix) -bindist (-cups) -jpeg2k" LINGUAS="-ja -ko -zh_CN -zh_TW"
I still need this modification
@prefix: missing patch?
I ran into this problem too, and using the patch reported by Jeffrey Ratcliffe solved the problem. The problem is that one of the lines in the old patch doesn't match the ghostscript-8.71 version and the patch ghostscript-gpl-8.64-gsdjvu-1.3.patch only works if there is a ghostscript-8.64 directory when unpacked, so maybe a file named ghostscript-gpl-8.71-gsdjvu-1.3.patch should be created under files with the contents of the patch described above.
sorry for the slow handling of this patch. thanks for the correction. Committed now.