Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 274657 - =sys-apps/lm_sensors-2* fails to build with FEATURES="userpriv usersandbox"
Summary: =sys-apps/lm_sensors-2* fails to build with FEATURES="userpriv usersandbox"
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-19 00:12 UTC by Slowking Man
Modified: 2009-06-26 04:09 UTC (History)
0 users

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


Attachments
emerge --info --verbose output (emerge-info,13.03 KB, text/plain)
2009-06-19 00:13 UTC, Slowking Man
Details
build log for lm_sensors-2.10.8 (build.log,28.94 KB, text/plain)
2009-06-19 00:14 UTC, Slowking Man
Details
build log for lm_sensors-2.10.8 with FEATURES="userpriv usersandbox" (build.log,22.70 KB, text/plain)
2009-06-19 00:17 UTC, Slowking Man
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Slowking Man 2009-06-19 00:12:20 UTC
As summary says, builds of lm_sensors-2*, or at least the ones currently in the tree (2.10.7 and 2.10.8), fail. The compiler wants to access the kernel headers in /usr/src/linux/include, but it's denied permission. Example:

etc/config.c:10:27: error: /usr/src/linux/include/linux/version.h: Permission denied

Disabling those features causes the build to succeed. lm_sensors-3.0.2 builds fine with them set.
Comment 1 Slowking Man 2009-06-19 00:13:53 UTC
Created attachment 195127 [details]
emerge --info --verbose output
Comment 2 Slowking Man 2009-06-19 00:14:59 UTC
Created attachment 195128 [details]
build log for lm_sensors-2.10.8
Comment 3 Slowking Man 2009-06-19 00:17:41 UTC
Created attachment 195129 [details]
build log for lm_sensors-2.10.8 with FEATURES="userpriv usersandbox"

Whoops, sorry, accidentally grabbed the log from the successful build.
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-06-21 23:54:32 UTC
Please post the output of the command

  umask

run as root. Furthermore, which kernel-sources are you using? Do you use some ebuild to install the kernel-sources or do you install them manually?
Comment 5 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-06-26 04:09:04 UTC
Reopen this bug when you provide the requested information.