Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 574446 - net-libs/nodejs-5.5.0 fails to build: ACCESS DENIED: mkdir
Summary: net-libs/nodejs-5.5.0 fails to build: ACCESS DENIED: mkdir
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Johan Bergström
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-11 14:13 UTC by John Manko
Modified: 2016-04-04 23:28 UTC (History)
6 users (show)

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


Attachments
build.log (build.log,332.36 KB, text/x-log)
2016-02-11 14:13 UTC, John Manko
Details
emerge info (emerge-info.txt,5.59 KB, text/plain)
2016-02-11 14:13 UTC, John Manko
Details

Note You need to log in before you can comment on or make changes to this bug.
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.