Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 397581 - sys-power/acpi_call FEATURES=userpriv - error: could not lock config file ./config: Permission denied
Summary: sys-power/acpi_call FEATURES=userpriv - error: could not lock config file ./c...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Maxim Koltsov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-04 02:47 UTC by Gordon
Modified: 2012-01-13 20:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
The combined output of emerge {-pqv,--info} sys-power/acpi_call and the build.log. (combined.txt,6.12 KB, text/plain)
2012-01-04 02:47 UTC, Gordon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gordon 2012-01-04 02:47:44 UTC
Created attachment 297865 [details]
The combined output of emerge {-pqv,--info} sys-power/acpi_call and the build.log.

I have FEATURES="userpriv" set in make.conf.  With this setting, emerge of sys-power/acpi_call-9999 fails with a red bulleted call stack.  The command following emerge command succeeds.

sudo FEATURES="-userpriv" emerge -av sys-power/acpi_call
Comment 1 Gordon 2012-01-04 02:49:59 UTC
Attachment 297865 [details] contains emerge --info, emerge -pqv, and build.log.
Comment 2 Maxim Koltsov (RETIRED) gentoo-dev 2012-01-05 11:21:57 UTC
It's somehow git issue. Can you try to remove git dir (${DISTDIR}/*git-src/acpi_call or something like this) and try again?
Comment 3 Gordon 2012-01-13 20:46:36 UTC
That fixed the problem.  In /usr/portage/distfiles there existed the following directory.

drwxrwxr-x 2 root    root     4.0K Jan 13 13:35 egit-src

I deleted that directory and was able to emerge acpi_call with userpriv enabled.  This recreated that directory with a different owner.

drwxrwxr-x 3 portage portage  4.0K Jan 13 13:37 egit-src

I then emerged acpi_call again just to make sure that the problem would not return.  This second emerge also worked fine.  I unfortunately do not know what originally created the directory with root:root owner.
Comment 4 Maxim Koltsov (RETIRED) gentoo-dev 2012-01-13 20:48:52 UTC
Nice. Then we can close this as invalid.