$ emerge -v ghostscript-gpl These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] app-text/ghostscript-gpl-9.10 [9.06] USE="X gtk idn -bindist (-cups) -dbus -djvu -static-libs (-jpeg2k%*)" LINGUAS="-de -ja -ko -zh_CN -zh_TW" 0 kB Total: 1 package (1 upgrade), Size of downloads: 0 kB >>> Verifying ebuild manifests >>> Emerging (1 of 1) app-text/ghostscript-gpl-9.10 * ghostscript-9.10.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] * ghostscript-gpl-9.09-patchset-1.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking ghostscript-9.10.tar.bz2 to /opt/gentoo/var/tmp/portage/app-text/ghostscript-gpl-9.10/work >>> Unpacking ghostscript-gpl-9.09-patchset-1.tar.bz2 to /opt/gentoo/var/tmp/portage/app-text/ghostscript-gpl-9.10/work >>> Source unpacked in /opt/gentoo/var/tmp/portage/app-text/ghostscript-gpl-9.10/work >>> Preparing source in /opt/gentoo/var/tmp/portage/app-text/ghostscript-gpl-9.10/work/ghostscript-9.10 ... * Applying various patches (bugfixes/updates) ... * ghostscript-gpl-8.61-multilib.patch ... [ ok ] * ghostscript-gpl-8.64-noopt.patch ... [ ok ] * ghostscript-gpl-9.04-scripts.patch ... [ ok ] * ghostscript-gpl-9.06-iccprofiles-initdir.patch ... [ ok ] * ghostscript-gpl-9.07-wrf-snprintf.patch ... [ ok ] * ghostscript-gpl-9.08-icc-missing-check.patch ... [ ok ] * ghostscript-gpl-9.08-runlibfileifexists.patch ... [ ok ] * Done with patching * Applying ghostscript-gpl-9.05-darwin.patch ... * Failed Patch: ghostscript-gpl-9.05-darwin.patch ! * ( /opt/gentoo/usr/portage/app-text/ghostscript-gpl/files/ghostscript-gpl-9.05-darwin.patch ) * * Include in your bugreport the contents of: * * /opt/gentoo/var/tmp/portage/app-text/ghostscript-gpl-9.10/temp/ghostscript-gpl-9.05-darwin.patch.out * ERROR: app-text/ghostscript-gpl-9.10::gentoo_prefix failed (prepare phase): * Failed Patch: ghostscript-gpl-9.05-darwin.patch! * * Call stack: * ebuild.sh, line 93: Called call-ebuildshell 'src_prepare' * environment, line 826: Called src_prepare * environment, line 3650: Called epatch '/opt/gentoo/usr/portage/app-text/ghostscript-gpl/files/ghostscript-gpl-9.05-darwin.patch' * environment, line 1930: Called die * The specific snippet of code: * die "Failed Patch: ${patchname}!"; * * If you need support, post the output of `emerge --info '=app-text/ghostscript-gpl-9.10::gentoo_prefix'`, * the complete build log and the output of `emerge -pqv '=app-text/ghostscript-gpl-9.10::gentoo_prefix'`. * The complete build log is located at '/opt/gentoo/var/tmp/portage/app-text/ghostscript-gpl-9.10/temp/build.log'. * The ebuild environment file is located at '/opt/gentoo/var/tmp/portage/app-text/ghostscript-gpl-9.10/temp/environment'. * Working directory: '/opt/gentoo/var/tmp/portage/app-text/ghostscript-gpl-9.10/work/ghostscript-9.10' * S: '/opt/gentoo/var/tmp/portage/app-text/ghostscript-gpl-9.10/work/ghostscript-9.10' >>> Failed to emerge app-text/ghostscript-gpl-9.10, Log file: >>> '/opt/gentoo/var/tmp/portage/app-text/ghostscript-gpl-9.10/temp/build.log' * Messages for package app-text/ghostscript-gpl-9.10: * Failed Patch: ghostscript-gpl-9.05-darwin.patch ! * ( /opt/gentoo/usr/portage/app-text/ghostscript-gpl/files/ghostscript-gpl-9.05-darwin.patch ) * * Include in your bugreport the contents of: * * /opt/gentoo/var/tmp/portage/app-text/ghostscript-gpl-9.10/temp/ghostscript-gpl-9.05-darwin.patch.out * ERROR: app-text/ghostscript-gpl-9.10::gentoo_prefix failed (prepare phase): * Failed Patch: ghostscript-gpl-9.05-darwin.patch! * * Call stack: * ebuild.sh, line 93: Called call-ebuildshell 'src_prepare' * environment, line 826: Called src_prepare * environment, line 3650: Called epatch '/opt/gentoo/usr/portage/app-text/ghostscript-gpl/files/ghostscript-gpl-9.05-darwin.patch' * environment, line 1930: Called die * The specific snippet of code: * die "Failed Patch: ${patchname}!"; * * If you need support, post the output of `emerge --info '=app-text/ghostscript-gpl-9.10::gentoo_prefix'`, * the complete build log and the output of `emerge -pqv '=app-text/ghostscript-gpl-9.10::gentoo_prefix'`. * The complete build log is located at '/opt/gentoo/var/tmp/portage/app-text/ghostscript-gpl-9.10/temp/build.log'. * The ebuild environment file is located at '/opt/gentoo/var/tmp/portage/app-text/ghostscript-gpl-9.10/temp/environment'. * Working directory: '/opt/gentoo/var/tmp/portage/app-text/ghostscript-gpl-9.10/work/ghostscript-9.10' * S: '/opt/gentoo/var/tmp/portage/app-text/ghostscript-gpl-9.10/work/ghostscript-9.10' $ cat /opt/gentoo/var/tmp/portage/app-text/ghostscript-gpl-9.10/temp/ghostscript-gpl-9.05-darwin.patch.out ***** ghostscript-gpl-9.05-darwin.patch ***** PWD: /opt/gentoo/var/tmp/portage/app-text/ghostscript-gpl-9.10/work/ghostscript-9.10 ============================================= PATCH COMMAND: patch -p0 -g0 -E --no-backup-if-mismatch < '/opt/gentoo/usr/portage/app-text/ghostscript-gpl/files/ghostscript-gpl-9.05-darwin.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-9.05/base/unix-dll.mak |+++ ghostscript-9.05/base/unix-dll.mak -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored patch program exited with status 1 ============================================= PATCH COMMAND: patch -p1 -g0 -E --no-backup-if-mismatch < '/opt/gentoo/usr/portage/app-text/ghostscript-gpl/files/ghostscript-gpl-9.05-darwin.patch' ============================================= checking file base/unix-dll.mak Hunk #1 succeeded at 45 with fuzz 2 (offset 1 line). Hunk #2 FAILED at 59. 1 out of 2 hunks FAILED patch program exited with status 1 ============================================= PATCH COMMAND: patch -p2 -g0 -E --no-backup-if-mismatch < '/opt/gentoo/usr/portage/app-text/ghostscript-gpl/files/ghostscript-gpl-9.05-darwin.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-9.05/base/unix-dll.mak |+++ ghostscript-9.05/base/unix-dll.mak -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored patch program exited with status 1 ============================================= PATCH COMMAND: patch -p3 -g0 -E --no-backup-if-mismatch < '/opt/gentoo/usr/portage/app-text/ghostscript-gpl/files/ghostscript-gpl-9.05-darwin.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-9.05/base/unix-dll.mak |+++ ghostscript-9.05/base/unix-dll.mak -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored patch program exited with status 1 ============================================= PATCH COMMAND: patch -p4 -g0 -E --no-backup-if-mismatch < '/opt/gentoo/usr/portage/app-text/ghostscript-gpl/files/ghostscript-gpl-9.05-darwin.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-9.05/base/unix-dll.mak |+++ ghostscript-9.05/base/unix-dll.mak -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored patch program exited with status 1
Created attachment 360724 [details, diff] ghostscript-gpl-9.10-darwin.patch Potential updated patch attached - I've ported the existing patch, but not sanity-checked the changes. With this, the package builds with the following messages at the end of the process: >>> Completed installing ghostscript-gpl-9.10 into /opt/gentoo/var/tmp/portage/app-text/ghostscript-gpl-9.10/image/ ecompressdir: bzip2 -9 /usr/share/doc ecompressdir: bzip2 -9 /usr/share/man grep: /opt/gentoo/var/tmp/portage/app-text/ghostscript-gpl-9.10/image/opt/gentoo/usr/share/ghostscript/9.10/Resource/CMap: Is a directory * prefixing shebang of opt/gentoo/usr/bin/dvipdf * prefixing shebang of opt/gentoo/usr/bin/eps2eps * prefixing shebang of opt/gentoo/usr/bin/font2c * prefixing shebang of opt/gentoo/usr/bin/gsbj * prefixing shebang of opt/gentoo/usr/bin/gsdj * prefixing shebang of opt/gentoo/usr/bin/gsdj500 * prefixing shebang of opt/gentoo/usr/bin/gslj * prefixing shebang of opt/gentoo/usr/bin/gslp * prefixing shebang of opt/gentoo/usr/bin/gsnd * prefixing shebang of opt/gentoo/usr/bin/ijs-config * prefixing shebang of opt/gentoo/usr/bin/lprsetup.sh * prefixing shebang of opt/gentoo/usr/bin/pdf2dsc * prefixing shebang of opt/gentoo/usr/bin/pdf2ps * prefixing shebang of opt/gentoo/usr/bin/pf2afm * prefixing shebang of opt/gentoo/usr/bin/pfbtopfa * prefixing shebang of opt/gentoo/usr/bin/pphs * prefixing shebang of opt/gentoo/usr/bin/printafm * prefixing shebang of opt/gentoo/usr/bin/ps2ascii * prefixing shebang of opt/gentoo/usr/bin/ps2epsi * prefixing shebang of opt/gentoo/usr/bin/ps2pdf * prefixing shebang of opt/gentoo/usr/bin/ps2pdf12 * prefixing shebang of opt/gentoo/usr/bin/ps2pdf13 * prefixing shebang of opt/gentoo/usr/bin/ps2pdf14 * prefixing shebang of opt/gentoo/usr/bin/ps2pdfwr * prefixing shebang of opt/gentoo/usr/bin/ps2ps * prefixing shebang of opt/gentoo/usr/bin/ps2ps2 * prefixing shebang of opt/gentoo/usr/bin/unix-lpr.sh * prefixing shebang of opt/gentoo/usr/bin/wftopfa * QA Notice: Package triggers severe warnings which indicate that it * may exhibit random runtime failures. * ./base/wrfont.c:76: warning: implicit declaration of function 'abort' * ./psi/dxmain.c:1163: warning: implicit declaration of function 'gs_sprintf' * ./base/wrfont.c:76: warning: implicit declaration of function 'abort'
Thanks, fixed now.