Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 484362 - sys-apps/portage-2.2.1 breaks kernel sources
Summary: sys-apps/portage-2.2.1 breaks kernel sources
Status: RESOLVED DUPLICATE of bug 477664
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: AMD64 Linux
: Normal critical (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-09 17:14 UTC by gentoo
Modified: 2013-09-09 17:56 UTC (History)
0 users

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


Attachments
build.log of failed emerge (build.log,7.58 KB, text/plain)
2013-09-09 17:14 UTC, gentoo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gentoo 2013-09-09 17:14:34 UTC
Created attachment 358382 [details]
build.log of failed emerge

After updating portage to version 2.2.1, virtualbox-modules fails to (re-)emerge. Looks like portage is messing up some permissions:

Makefile:1418: .vmlinux.cmd: Permission denied

  ERROR: Kernel configuration is invalid.
         include/generated/autoconf.h or include/config/auto.conf are missing.
         Run 'make oldconfig && make prepare' on kernel src to fix it.

make[3]: stat: include/config/auto.conf: Permission denied



The complete build.log is attached. Reproducible on different machines. Before portage update virtualbox-modules emerges fine.
Comment 1 Zac Medico gentoo-dev 2013-09-09 17:56:31 UTC
With FEATURES=userpriv, the ebuild runs as "portage" user and "portage" group. So, you may need to adjust ownership of files in some cases. Alternatively, you can remove userpriv from FEATURES:

  echo 'FEATURES="${FEATURES} -userpriv -usersandbox"' >> /etc/portage/make.conf

*** This bug has been marked as a duplicate of bug 477664 ***