Summary: | git-r3.eclass: git fetch: error: cannot open ${DISTDIR}/git3-src/.../FETCH_HEAD: Permission denied | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Hendrik Klug <hendrik.klug> |
Component: | Unclassified | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | adjudicatordarren, flippynelle |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=481434 https://bugs.gentoo.org/show_bug.cgi?id=734000 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
The files under ${DISTDIR}/git3-src are created and managed by this eclass: https://gitweb.gentoo.org/repo/gentoo.git/tree/eclass/git-r3.eclass It's expected for the files to have incorrect permissions if you have previously executed this ebuild with FEATURES=userpriv disabled. In that case, you can correct the permissions like this: chown -R portage:portage /usr/portage/distfiles/git3-src It's not possible for portage to do this on your behalf, since it is completely unaware of the ${DISTDIR}/git3-src directory (it is entirely created and managed by git-r3.eclass). That works, thanks a lot Zac! |
Created attachment 654660 [details] build.log I am trying to emerge the live rebuild of statsmodels to get the newest fixes of their git repository but the emerge command "emerge -avt --autounmask-write --autounmask =dev-python/statsmodels-9999::gentoo" fails with: ''' * ERROR: dev-python/statsmodels-9999::gentoo failed (unpack phase): * Unable to fetch from any of EGIT_REPO_URI * * Call stack: * ebuild.sh, line 125: Called src_unpack * environment, line 3720: Called git-r3_src_unpack * environment, line 2637: Called git-r3_src_fetch * environment, line 2631: Called git-r3_fetch * environment, line 2553: Called die * The specific snippet of code: * [[ -n ${success} ]] || die "Unable to fetch from any of EGIT_REPO_URI"; ''' Does that mean that the live ebuild is broken or am I doing something wrong?