Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 651954 - dev-lang/julia - install prefix not observing ${EPREFIX} - mv: cannot stat '/scratch/crorvick/gentoo/var/tmp/portage/dev-lang/julia-0.6.2/image/scratch/crorvick/gentoo//usr/etc/julia': No such file or directory
Summary: dev-lang/julia - install prefix not observing ${EPREFIX} - mv: cannot stat '/...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-29 23:11 UTC by Chris Rorvick
Modified: 2018-05-25 07:47 UTC (History)
2 users (show)

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 Chris Rorvick 2018-03-29 23:11:39 UTC
Trying to install Julia into Gentoo Prefix:

mv: cannot stat '/scratch/crorvick/gentoo/var/tmp/portage/dev-lang/julia-0.6.2/image/scratch/crorvick/gentoo//usr/etc/julia': No such file or directory
 * ERROR: dev-lang/julia-0.6.2::gentoo failed (install phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line 124:  Called src_install
 *   environment, line 1159:  Called die
 * The specific snippet of code:
 *       mv "${ED}"/usr/etc/julia "${ED}"/etc || die;
 * 
 * If you need support, post the output of `emerge --info '=dev-lang/julia-0.6.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-lang/julia-0.6.2::gentoo'`.
 * The complete build log is located at '/scratch/crorvick/gentoo/var/tmp/portage/dev-lang/julia-0.6.2/temp/build.log'.
 * The ebuild environment file is located at '/scratch/crorvick/gentoo/var/tmp/portage/dev-lang/julia-0.6.2/temp/environment'.
 * Working directory: '/scratch/crorvick/gentoo/var/tmp/portage/dev-lang/julia-0.6.2/work/julia-0.6.2'
 * S: '/scratch/crorvick/gentoo/var/tmp/portage/dev-lang/julia-0.6.2/work/julia-0.6.2'

>>> Failed to emerge dev-lang/julia-0.6.2, Log file:
Comment 1 Chris Rorvick 2018-03-29 23:20:53 UTC
https://github.com/gentoo/gentoo/pull/7703
Comment 2 Fabian Groffen gentoo-dev 2018-04-06 10:23:12 UTC
@maintainer: the PR looks ok to me, basically doing this:

 	emake cleanall
 	emake VERBOSE=1 julia-release \
-		prefix="/usr" DESTDIR="${D}" CC="$(tc-getCC)" CXX="$(tc-getCXX)"
+		prefix="${EPREFIX}/usr" DESTDIR="${D}" CC="$(tc-getCC)" CXX="$(tc-getCXX)"
 	pax-mark m $(file usr/bin/julia-* | awk -F : '/ELF/ {print $1}')
 	emake

Are you ok with that change?
Comment 3 Chris Rorvick 2018-05-24 22:18:37 UTC
This is a trivial and obvious change.  Is this package being maintained?
Comment 4 Larry the Git Cow gentoo-dev 2018-05-25 07:47:20 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58113ca5100fe4f6c39d31c9a2c99bacc9a195b6

commit 58113ca5100fe4f6c39d31c9a2c99bacc9a195b6
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2018-05-25 07:47:04 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2018-05-25 07:47:04 +0000

    dev-lang/julia: fix Prefix installation, thanks Chris Rorvick, bug #651954
    
    Closes: https://bugs.gentoo.org/651954
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-lang/julia/julia-0.6.2.ebuild | 6 ++++--
 dev-lang/julia/julia-9999.ebuild  | 8 +++++---
 2 files changed, 9 insertions(+), 5 deletions(-)