Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Problem with NodeJS
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
wonski
n00b
n00b


Joined: 10 Apr 2007
Posts: 37

PostPosted: Mon Apr 29, 2019 6:48 am    Post subject: [SOLVED] Problem with NodeJS Reply with quote

Hello

i'm trying to install nodejs, but it ends with this error:
Code:
ps/v8/src/libv8_libsampler.a /var/tmp/portage/net-libs/nodejs-8.12.0/work/node-v8.12.0/out/Release/obj.target/deps/v8/src/libv8_snapshot.a -lz -lhttp_parser -luv -lnghttp2 -lcrypto -lssl -licui18n -licuuc -licudata -ldl -lrt -Wl,--end-group
rm 234b69204d630a9d7ebaa9699ae08ec89b523cb1.intermediate
make: Opuszczenie katalogu '/var/tmp/portage/net-libs/nodejs-8.12.0/work/node-v8.12.0/out'
>>> Source compiled.
 * Skipping make test/check due to ebuild restriction.
>>> Test phase [disabled because of RESTRICT=test]: net-libs/nodejs-8.12.0

>>> Install nodejs-8.12.0 into /var/tmp/portage/net-libs/nodejs-8.12.0/image/ category net-libs
make -j8 install DESTDIR=/var/tmp/portage/net-libs/nodejs-8.12.0/image/
make -C out BUILDTYPE=Release V=1
  touch 234b69204d630a9d7ebaa9699ae08ec89b523cb1.intermediate
  LD_LIBRARY_PATH=/var/tmp/portage/net-libs/nodejs-8.12.0/work/node-v8.12.0/out/Release/lib.host:/var/tmp/portage/net-libs/nodejs-8.12.0/work/node-v8.12.0/out/Release/lib.target:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH; cd ../deps/v8/src/inspector; mkdir -p /var/tmp/portage/net-libs/nodejs-8.12.0/work/node-v8.12.0/out/Release/obj/gen/src/inspector/protocol /var/tmp/portage/net-libs/nodejs-8.12.0/work/node-v8.12.0/out/Release/obj/gen/include/inspector; python ../../third_party/inspector_protocol/CodeGenerator.py --jinja_dir ../../third_party --output_base "/var/tmp/portage/net-libs/nodejs-8.12.0/work/node-v8.12.0/out/Release/obj/gen/src/inspector" --config inspector_protocol_config.json
rm 234b69204d630a9d7ebaa9699ae08ec89b523cb1.intermediate
if [ ! -r node -o ! -L node ]; then ln -fs out/Release/node node; fi
/usr/bin/python2.7 tools/install.py install '/var/tmp/portage/net-libs/nodejs-8.12.0/image/' '/usr'
 * ACCESS DENIED:  open_wr:      /home/pawel/.config/configstore/update-notifier-npm.json.4144724794
 * ACCESS DENIED:  unlink:       /home/pawel/.config/configstore/update-notifier-npm.json.4144724794

┌─────────────────────────────────────────────────────────┐
│                 npm update check failed                 â”‚
│           Try running with sudo or get access           â”‚
│          to the local update config store via           â”‚
│ sudo chown -R $USER:$(id -gn $USER) /home/pawel/.config │
└─────────────────────────────────────────────────────────┘
>>> Completed installing nodejs-8.12.0 into /var/tmp/portage/net-libs/nodejs-8.12.0/image/

 * Final size of build directory: 300312 KiB (293.2 MiB)
 * Final size of installed tree:   40076 KiB ( 39.1 MiB)

 * --------------------------- ACCESS VIOLATION SUMMARY ---------------------------
 * LOG FILE: "/var/log/sandbox/sandbox-4.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: open_wr
S: deny
P: /home/pawel/.config/configstore/update-notifier-npm.json.4144724794
A: /home/pawel/.config/configstore/update-notifier-npm.json.4144724794
R: /home/pawel/.config/configstore/update-notifier-npm.json.4144724794
C: npm                                                                       

F: unlink
S: deny
P: /home/pawel/.config/configstore/update-notifier-npm.json.4144724794
A: /home/pawel/.config/configstore/update-notifier-npm.json.4144724794
R: /home/pawel/.config/configstore/update-notifier-npm.json.4144724794
C: npm                                                                       
 * --------------------------------------------------------------------------------

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

>>>  '/var/tmp/portage/net-libs/nodejs-8.12.0/temp/build.log'


my emerge --info
Code:
Portage 2.3.62 (python 3.6.5-final-0, default/linux/amd64/17.0/desktop, gcc-8.2.0, glibc-2.28-r6, 4.19.27-gentoo-r1 x86_64)
=================================================================
System uname: Linux-4.19.27-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7-6820HQ_CPU_@_2.70GHz-with-gentoo-2.6
Timestamp of repository gentoo: Mon, 29 Apr 2019 05:30:01 +0000
Head commit of repository gentoo: 34244ef4791c2fcb38868acca7f2d223d6708f61
Head commit of repository fancy-overlay: 7357a010fe94a762183c272bc2532c26bf79f6ad

sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.31.1 p5) 2.31.1
app-shells/bash:          4.4_p23-r1::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.9.6::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.38.3-r1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.31.1-r4::gentoo
sys-devel/gcc:            8.2.0-r6::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.14-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.28-r6::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts:

fancy-overlay
    location: /var/db/repos/fancy-overlay
    sync-type: git
    sync-uri: https://github.com/fancywriter/fancy-overlay.git
    masters: gentoo

fol4
    location: /var/lib/layman/fol4
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-Os -s -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-Os -s -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-Os -s -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-Os -s -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="pl_PL"
LC_ALL="pl_PL"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="pl"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 aspell bash-completion berkdb bittorrent bluetooth branding bzip2 cairo cdda cdr cli client consolekit cover crypt cups cxx dbus dell device-mapper dri dts dvd dvdr emboss encode exif fam fat flac fortran freerdp gadu gdbm gif glamor googledrive grub gtk hou hvm iconv ipv6 javascript jpeg lcms libnotify libtirpc lm_sensors mad mc mmx mng modemmanager mp3 mp4 mpeg mplayer multilib musepack ncurses networkmanager networkmonitor nfs nls nptl nsplugin ntfs ogg opengl openmp pam pango pcre pdf png policykit ppds rar raw rdesktop rdp readline samba sdl seccomp sip sou spell sse sse2 ssh ssh1 ssl startup-notification steam svg tcpd thumbnail tiff tools touchpad tray truetype udev udisks unicode upower usb uxa v4l video videos vorbis vte wavpack wifi wxwidgets x264 xattr xcb xinerama xml xv xvid xvmc zip zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" L10N="pl" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, MAKEOPTS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



Any ideas?


Last edited by wonski on Mon Apr 29, 2019 8:00 am; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 21753
Location: here

PostPosted: Mon Apr 29, 2019 7:04 am    Post subject: Reply with quote

https://bugs.gentoo.org/622692
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
wonski
n00b
n00b


Joined: 10 Apr 2007
Posts: 37

PostPosted: Mon Apr 29, 2019 8:00 am    Post subject: Reply with quote

Great, thank you.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum