Summary: | subversion.eclass fails when ROOT variable is set - 'Unable to resolve dev-vcs/subversion to an installed package' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sven 'sleipnir' Rebhan <OdinsHorse> |
Component: | Eclasses | Assignee: | Akinori Hattori <hattya> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | arfrever, bertrand, dagger, lwarxx |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
workaround for the built_with_use + ROOT issue
patch |
Description
Sven 'sleipnir' Rebhan
2008-10-14 19:25:19 UTC
Created attachment 168470 [details, diff]
workaround for the built_with_use + ROOT issue
Created attachment 178397 [details, diff]
patch
How about something like this?
For cross-compilation we completely don't need this check.
Tested with portage and paludis.
Note that this bug seems to be a specific instance of Bug 145134 Note that submitted patches may not work now that subversion moved from dev-util to dev-vcs category This bug is still not fixed! Environment: Up-to date portage tree, destination is ROOT=/some/dir, using company internal ebuilds (therefore names replaced witih 'example') with ESVN_REPO_URI="https://some-internal-server/svn/${PN}/tags/${PV}". Installed Subversion: dev-vcs/subversion-1.6.17-r7 USE="bash-completion berkdb dso nls sasl webdav-neon -apache2 -ctypes-python -debug -doc -emacs -extras -gnome-keyring -java -kde -perl -python -ruby -vim-syntax -webdav-serf" >>> Verifying ebuild manifests >>> Emerging (1 of 1) net-misc/example-2.2.0-r2 from example for /some/dir/ >>> Unpacking source... * ERROR: net-misc/example-2.2.0-r2 failed (unpack phase): * Unable to resolve dev-vcs/subversion to an installed package * * Call stack: * ebuild.sh, line 85: Called src_unpack * environment, line 2074: Called subversion_src_unpack * environment, line 2366: Called subversion_fetch * environment, line 2206: Called built_with_use '-o' 'dev-vcs/subversion' 'webdav-neon' 'webdav-serf' * environment, line 246: Called die * The specific snippet of code: * [[ -z ${PKG} ]] && die "Unable to resolve $1 to an installed package"; * * If you need support, post the output of 'emerge --info =net-misc/example-2.2.0-r2', * the complete build log and the output of 'emerge -pqv =net-misc/example-2.2.0-r2'. * This ebuild used the following eclasses from overlays: * /usr/local/portage/overlays/example/eclass/example-utils.eclass * This ebuild is from an overlay named 'example': '/usr/local/portage/overlays/example/' * The complete build log is located at '/var/tmp/portage/net-misc/example-2.2.0-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/example-2.2.0-r2/temp/environment'. * S: '/var/tmp/portage/net-misc/example-2.2.0-r2/work/example-2.2.0' Replace built_with_use by USE deps. |