Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 574446

Summary: net-libs/nodejs-5.5.0 fails to build: ACCESS DENIED: mkdir
Product: Gentoo Linux Reporter: John Manko <grover.blue>
Component: [OLD] ServerAssignee: Johan Bergström <bugs>
Status: RESOLVED FIXED    
Severity: normal CC: doug.hunley, kripton, patrick, proxy-maint, remi, stefan
Priority: Normal    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge info

Description John Manko 2016-02-11 14:13:10 UTC
Created attachment 425246 [details]
build.log

Building nodejs-5.5 fails.  First, I was force to add CPU_FLAGS_X86 to make.conf, for the sse2 requirement to build node.

CFLAGS="-O2 -march=corei7-avx -pipe"
CXXFLAGS="-O2 -march=corei7-avx -pipe"
CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 sse4"
MAKEOPTS="-j2"
CCACHE_SIZE="2G"
ACCEPT_KEYWORDS="~x86"


Then the build fails with a permission error:


 * ACCESS DENIED:  mkdir:        /usr/etc


 * --------------------------- ACCESS VIOLATION SUMMARY ---------------------------
 * LOG FILE: "/var/log/sandbox/sandbox-18856.log"
 * 
VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: mkdir
S: deny
P: /usr/etc
A: /usr/etc
R: /usr/etc
C: npm                                                                                
 * --------------------------------------------------------------------------------

>>> Failed to emerge net-libs/nodejs-5.5.0, Log file


See attached files for build.log and emerge --info.
Comment 1 John Manko 2016-02-11 14:13:37 UTC
Created attachment 425248 [details]
emerge info
Comment 2 Douglas J Hunley 2016-02-11 14:54:18 UTC
I didn't add CPU_FLAGS_X86, but I'm getting the same build failure on ~amd64:
* --------------------------- ACCESS VIOLATION SUMMARY ---------------------------
 * LOG FILE: "/var/log/sandbox/sandbox-440.log"
 * 
VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: mkdir
S: deny
P: /usr/etc
A: /usr/etc
R: /usr/etc
C: npm                                                                                
 * --------------------------------------------------------------------------------
Comment 3 Vicente Olivert Riera (RETIRED) gentoo-dev 2016-04-04 12:44:59 UTC
nodejs-5.5.0 ebuild is no longer available in the portage tree. Shall we close this bug, or is this problem still present in other versions?
Comment 4 Johan Bergström 2016-04-04 23:28:05 UTC
(In reply to Vicente Olivert Riera from comment #3)
> nodejs-5.5.0 ebuild is no longer available in the portage tree. Shall we
> close this bug, or is this problem still present in other versions?


Thanks for following up. It was fixed in a later revision. Closing.