Summary: | cc1: error: /usr/local/include: Permission denied | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Manuel Ullmann <labre> |
Component: | Hardened | Assignee: | The Gentoo Linux Hardened Team <hardened> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Output of emerge --info
build.log of failed compilation of bzip2-1.0.6-r6 configure phase of dev-libs/glib-2.38.2-r1 emerge.log since the last big working update |
Description
Manuel Ullmann
2014-03-16 16:57:35 UTC
Created attachment 372810 [details]
Output of emerge --info
Created attachment 372812 [details]
build.log of failed compilation of bzip2-1.0.6-r6
Created attachment 372814 [details]
configure phase of dev-libs/glib-2.38.2-r1
If this is already fixed, I would appreciate a step by step guide to fix my broken portage/gcc.
cc1: error: /usr/local/include: Permission denied What would explain that? It's not a sandbox violation - apparently the directory permissions are bad, which in case of a symlink points to those of /usr/include. Normally /usr/local/include does not exist on Gentoo installs, so if you have it you probably worked around the package manager at some point. Please post your `ls -ld /usr/{,local/}include' output. Created attachment 372854 [details]
emerge.log since the last big working update
I noticed, that portage was working directly after the update. Maybe a reboot was required to get to this point.
About your comment:
The symlink was created by me, after I saw, that gcc tried to access it. Sorry for not pointing that out. If I remove it, the bug stays the same.
As I said, I created the symlink as a try to workaround the problem. Nevertheless here is the output: drwxr-xr-x. 280 root root 40960 Mar 16 21:47 /usr/include lrwxrwxrwx. 1 root root 13 Mar 17 11:54 /usr/local/include -> /usr/include/ Please note that I removed and recreated the symlink in the meantime. I'll remove it now. What information did you actually need? I resolved the bug by restoring the base system from a hardened stage archive, so I don't care about the status. Gcc is running again. To be on the safe side, I'm running emerge -eq system and world. |