Summary: | eix update fails with "Could not properly execute: ..." "Permission denied" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | jcat <jcat> |
Component: | New packages | Assignee: | Martin Väth <martin> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | darkside |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
jcat
2011-10-04 19:24:45 UTC
Have you done an `emerge --metadata' first? It's been a while since I don't use overlays but I remember that for some reason I always run that before an `eix-update'. Doesn't seem to help unfortunately. Don't forget that's not my only overlay, it's only barfing on the mythtv overlay, I also have Sunrise. However, none of the permissions within the mythtv overlay are incorrect. Either the error is miss-leading and the problem is not permissions, or it's some kind of bug in eix. Cheers, jcat I cannot reproduce the problem here. Which overlay is causing this problem? (I cannot find any mythtv overlay in layman or zugaina) Some facts which might help: If the overlay contains no up-to-date metadata/cache directory, eix tries to execute the ebuilds (via /usr/lib/portage/bin/ebuild.sh) after dropping the permissions to $EBUILD_USER:$EBUILD_GROUP (which you can configure and which defaults to portage:portage). So certainly a workaround is to update metadata/cache with ecachegen --repo="name of the repository" --update If this also falis because of permission problems, it is an issue of that particular overlay or of portage itself. I have never examined what ebuild.sh does exactly, but it might be that it expects that certain directories (like /tmp or /var/tmp) are *not* mounted with the "noexec" flag. Does it change anything if you set (in /etc/eixrc or the environment) OVERLAY_CACHE_METHOD="parse|ebuild" (instead of default: "parse|ebuild*") This means that "ebuild" is executed instead of only "ebuild.sh". Ok, I eventually fixed this be re-generating the manifests, so I guess it was a problem specific to the overlay. FYI The overlay is not in layman, it maintained here: git://github.com/MythTV/packaging.git I guess it's the error message that mislead me a little :) Apologies for the static. Closing as invalid. Cheers, jcat |