In crossdev environment emerge looking for dev-vcs/git[curl] inside virtual sysroot and doesn't found it. On host system dev-vcs/git already built with curl support. Reproducible: Always Steps to Reproduce: 1.crossdev -t <any arm target> 2.emerge any package containing git cloning of https:// repository For example: https://git.semlanik.org/semlanik/openautomotive-gentoo-overlay/blob/master/sys-libs/libump/libump-3.0.ebuild Actual Results: 1. Target build sysroot and tools installed succesfully 2. Error occured: git-r3: fetching from https:// requested. In order to support https, dev-vcs/git needs to be built with USE=curl. Example solution: echo dev-vcs/git curl >> /etc/portage/package.use emerge -1v dev-vcs/git Expected Results: 2. git-r3 checks host system git installation instead of crossdev.
@Prefix, do you happen to understand the issue better than I do? :P
Created attachment 381704 [details, diff] set ROOT=/ when checking for buildtime-tool using has_version Feels like it should be done similar to what autotools.eclass does for automake: ROOT=/ has_version '<atom>'
ROOT=/ helps, thanks.
+ 28 Jul 2014; Michał Górny <mgorny@gentoo.org> git-r3.eclass: + Use ROOT=/ when checking for git features, bug #518374. Patch provided by + Michael Haubenwallner.
Fixed in main tree