Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 349378 - app-text/ghostscript-gpl-8.71-r6: ghostscript-gpl-8.64-gsdjvu-1.4-partial-revert.patch fails to apply
Summary: app-text/ghostscript-gpl-8.71-r6: ghostscript-gpl-8.64-gsdjvu-1.4-partial-rev...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-22 15:32 UTC by Jeffrey Ratcliffe
Modified: 2011-03-17 20:42 UTC (History)
1 user (show)

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


Attachments
Build log (build.log,4.74 KB, text/plain)
2011-02-28 13:06 UTC, Jeffrey Ratcliffe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeffrey Ratcliffe 2010-12-22 15:32:59 UTC
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
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2010-12-23 19:45:34 UTC
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.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2010-12-27 17:41:38 UTC
Can't reproduce this.
Comment 3 Jeffrey Ratcliffe 2011-02-28 13:06:17 UTC
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"
Comment 4 Jeffrey Ratcliffe 2011-02-28 13:07:11 UTC
I still need this modification
Comment 5 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-02-28 15:26:55 UTC
@prefix:

missing patch?
Comment 6 Guilherme Amadio gentoo-dev 2011-03-16 18:30:27 UTC
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.
Comment 7 Fabian Groffen gentoo-dev 2011-03-17 20:42:33 UTC
sorry for the slow handling of this patch.  thanks for the correction.

Committed now.