Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 587518 - app-text/ghostscript-gpl-9.15-r1 - ebuild install phase doesn't respect EPREFIX
Summary: app-text/ghostscript-gpl-9.15-r1 - ebuild install phase doesn't respect EPREFIX
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-29 14:39 UTC by Martin Mokrejš
Modified: 2016-08-23 13:27 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 Martin Mokrejš 2016-06-29 14:39:39 UTC
Seems the ebuild does not respect EPREFIX in the mv call:


mkdir -p /scratch/mmokrejs/gentoo_rap/var/tmp/portage/app-text/ghostscript-gpl-9.15-r1/image//scratch/mmokrejs/gentoo_rap/usr/lib64/ghostscript/9.15
/bin/sh -c 'for obj in ; do \
    ./base/instcopy -c -m 755 $obj /scratch/mmokrejs/gentoo_rap/var/tmp/portage/app-text/ghostscript-gpl-9.15-r1/image//scratch/mmokrejs/gentoo_rap/usr/lib64/ghostscript/9.15/; done'
./base/instcopy -c -m 644 ./contrib/japanese/dmp_init.ps /scratch/mmokrejs/gentoo_rap/var/tmp/portage/app-text/ghostscript-gpl-9.15-r1/image//scratch/mmokrejs/gentoo_rap/usr/share/ghostscript/9.15/lib || exit 1
./base/instcopy -c -m 644 ./contrib/japanese/dmp_site.ps /scratch/mmokrejs/gentoo_rap/var/tmp/portage/app-text/ghostscript-gpl-9.15-r1/image//scratch/mmokrejs/gentoo_rap/usr/share/ghostscript/9.15/lib || exit 1
./base/instcopy -c -m 644 ./contrib/japanese/escp_24.src /scratch/mmokrejs/gentoo_rap/var/tmp/portage/app-text/ghostscript-gpl-9.15-r1/image//scratch/mmokrejs/gentoo_rap/usr/share/ghostscript/9.15/lib || exit 1
for f in ./contrib/uniprint/*.upp; do \
    ./base/instcopy -c -m 644 $f /scratch/mmokrejs/gentoo_rap/var/tmp/portage/app-text/ghostscript-gpl-9.15-r1/image//scratch/mmokrejs/gentoo_rap/usr/share/ghostscript/9.15/lib || exit 1; \
done
mv: cannot stat '/scratch/mmokrejs/gentoo_rap/var/tmp/portage/app-text/ghostscript-gpl-9.15-r1/image//usr/bin/gsc': No such file or directory
 ESC[31;01m*ESC[0m ERROR: app-text/ghostscript-gpl-9.15-r1::gentoo failed (install phase):
 ESC[31;01m*ESC[0m   (no error message)
 ESC[31;01m*ESC[0m 
 ESC[31;01m*ESC[0m Call stack:
 ESC[31;01m*ESC[0m     ebuild.sh, line 115:  Called src_install
 ESC[31;01m*ESC[0m   environment, line 3210:  Called die
 ESC[31;01m*ESC[0m The specific snippet of code:
 ESC[31;01m*ESC[0m       mv -f "${D}/usr/bin/gsc" "${D}/usr/bin/gs" || die;
 ESC[31;01m*ESC[0m 
 ESC[31;01m*ESC[0m If you need support, post the output of `emerge --info '=app-text/ghostscript-gpl-9.15-r1::gentoo'`,
 ESC[31;01m*ESC[0m the complete build log and the output of `emerge -pqv '=app-text/ghostscript-gpl-9.15-r1::gentoo'`.
 ESC[31;01m*ESC[0m The complete build log is located at '/scratch/mmokrejs/gentoo_rap/var/tmp/portage/app-text/ghostscript-gpl-9.15-r1/temp/build.log'.
 ESC[31;01m*ESC[0m The ebuild environment file is located at '/scratch/mmokrejs/gentoo_rap/var/tmp/portage/app-text/ghostscript-gpl-9.15-r1/temp/environment'.
 ESC[31;01m*ESC[0m Working directory: '/scratch/mmokrejs/gentoo_rap/var/tmp/portage/app-text/ghostscript-gpl-9.15-r1/work/ghostscript-9.15'
 ESC[31;01m*ESC[0m S: '/scratch/mmokrejs/gentoo_rap/var/tmp/portage/app-text/ghostscript-gpl-9.15-r1/work/ghostscript-9.15'


The real path should have been /scratch/mmokrejs/gentoo_rap/var/tmp/portage/app-text/ghostscript-gpl-9.15-r1/image/scratch/mmokrejs/gentoo_rap/usr/bin/gsc
Comment 1 Benda Xu gentoo-dev 2016-08-23 13:27:41 UTC
It is fixed in ghostscript-gpl-9.19.