Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge error on nodejs
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
elkhunter
Tux's lil' helper
Tux's lil' helper


Joined: 19 Sep 2004
Posts: 118

PostPosted: Wed May 15, 2019 2:13 am    Post subject: emerge error on nodejs Reply with quote

I'm trying to update my system but keep getting failures trying to compile nodejs. The relevant errors from the build.log are shown below (note that I tried to remove the esc chars but didn't get all of them so it might be garbled):

Code:
  x86_64-pc-linux-gnu-g++ '-DNODE_ARCH="x64"' '-DNODE_PLATFORM="linux"' '-DNODE_WANT_INTERNALS=1' '-DV8_DEPRECATION_WARNINGS=1' '-DNODE_OPENSSL_SYSTEM_CERT_PATH=""' '-DHAVE_INSPECTOR=0' '-D__POSIX__' '-DNODE_USE_V8_PLATFORM=1' '-DNODE_HAVE_I18N_SUPPORT=1' '-DHAVE_OPENSSL=1' -I../src -I../deps/uv/src/ares -I/var/tmp/portage/net-libs/nodejs-6.17.1/work/node-v6.17.1/out/Release/obj/gen -I../deps/v8/include -I../deps/cares/include  -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++0x   -O2 -pipe -c -o /var/tmp/portage/net-libs/nodejs-6.17.1/work/node-v6.17.1/out/Release/obj.target/node_lib/src/node_api_backport.o ../src/node_api_backport.cc
In file included from ../src/node.cc:16:0:
../src/node_crypto.h:91:54: error: invalid application of ‘sizeof’ to incomplete type ‘SSL_CTX {aka ssl_ctx_st}’
   static const int64_t kExternalSize = sizeof(SSL_CTX);
                                                      ^
../src/node_crypto.h:209:17: error: invalid application of ‘sizeof’ to incomplete type ‘SSL {aka ssl_st}’
       sizeof(SSL) + sizeof(SSL3_STATE) + 42 * 1024;
                 ^
../src/node_crypto.h:209:28: error: ‘SSL3_STATE’ was not declared in this scope
       sizeof(SSL) + sizeof(SSL3_STATE) + 42 * 1024;
                            ^~~~~~~~~~
../src/node_crypto.h:209:28: note: suggested alternative: ‘ERR_STATE’
       sizeof(SSL) + sizeof(SSL3_STATE) + 42 * 1024;
                            ^~~~~~~~~~
                            ERR_STATE
  x86_64-pc-linux-gnu-g++ '-DNODE_ARCH="x64"' '-DNODE_PLATFORM="linux"' '-DNODE_WANT_INTERNALS=1' '-DV8_DEPRECATION_WARNINGS=1' '-DNODE_OPENSSL_SYSTEM_CERT_PATH=""' '-DHAVE_INSPECTOR=0' '-D__POSIX__' '-DNODE_USE_V8_PLATFORM=1' '-DNODE_HAVE_I18N_SUPPORT=1' '-DHAVE_OPENSSL=1' -I../src -I../deps/uv/src/ares -I/var/tmp/portage/net-libs/nodejs-6.17.1/work/node-v6.17.1/out/Release/obj/gen -I../deps/v8/include -I../deps/cares/include  -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++0x   -O2 -pipe -c -o /var/tmp/portage/net-libs/nodejs-6.17.1/work/node-v6.17.1/out/Release/obj.target/node_lib/src/node_api.o ../src/node_api.cc
../src/node_crypto.h:461:18: error: field ‘ctx_’ has incomplete type ‘EVP_CIPHER_CTX {aka evp_cipher_ctx_st}’
   EVP_CIPHER_CTX ctx_; /* coverity[member_decl] */
                  ^~~~
In file included from /usr/include/openssl/crypto.h:31:0,
                 from /usr/include/openssl/comp.h:16,
                 from /usr/include/openssl/ssl.h:47,
                 from ../src/node_crypto.h:18,
                 from ../src/node.cc:16:
/usr/include/openssl/ossl_typ.h:90:16: note: forward declaration of ‘EVP_CIPHER_CTX {aka struct evp_cipher_ctx_st}’
 typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX;
                ^~~~~~~~~~~~~~~~~
In file included from ../src/node.cc:16:0:
../src/node_crypto.h:496:12: error: field ‘ctx_’ has incomplete type ‘HMAC_CTX {aka hmac_ctx_st}’
   HMAC_CTX ctx_; /* coverity[member_decl] */
            ^~~~
In file included from /usr/include/openssl/crypto.h:31:0,
                 from /usr/include/openssl/comp.h:16,
                 from /usr/include/openssl/ssl.h:47,
                 from ../src/node_crypto.h:18,
                 from ../src/node.cc:16:
/usr/include/openssl/ossl_typ.h:102:16: note: forward declaration of ‘HMAC_CTX {aka struct hmac_ctx_st}’
 typedef struct hmac_ctx_st HMAC_CTX;
                ^~~~~~~~~~~
In file included from ../src/node.cc:16:0:
../src/node_crypto.h: In destructor ‘virtual node::crypto::Hmac::~Hmac()’:
../src/node_crypto.h:474:5: error: ‘HMAC_CTX_cleanup’ was not declared in this scope
     HMAC_CTX_cleanup(&ctx_);
     ^~~~~~~~~~~~~~~~
  x86_64-pc-linux-gnu-g++ '-DNODE_ARCH="x64"' '-DNODE_PLATFORM="linux"' '-DNODE_WANT_INTERNALS=1' '-DV8_DEPRECATION_WARNINGS=1' '-DNODE_OPENSSL_SYSTEM_CERT_PATH=""' '-DHAVE_INSPECTOR=0' '-D__POSIX__' '-DNODE_USE_V8_PLATFORM=1' '-DNODE_HAVE_I18N_SUPPORT=1' '-DHAVE_OPENSSL=1' -I../src -I../deps/uv/src/ares -I/var/tmp/portage/net-libs/nodejs-6.17.1/work/node-v6.17.1/out/Release/obj/gen -I../deps/v8/include -I../deps/cares/include  -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++0x   -O2 -pipe -c -o /var/tmp/portage/net-libs/nodejs-6.17.1/work/node-v6.17.1/out/Release/obj.target/node_lib/src/node_buffer.o ../src/node_buffer.cc
../src/node_crypto.h:474:5: note: suggested alternative: ‘HMAC_CTX_get_md’
     HMAC_CTX_cleanup(&ctx_);
     ^~~~~~~~~~~~~~~~
     HMAC_CTX_get_md
../src/node_crypto.h: At global scope:
../src/node_crypto.h:525:14: error: field ‘mdctx_’ has incomplete type ‘EVP_MD_CTX {aka evp_md_ctx_st}’
   EVP_MD_CTX mdctx_; /* coverity[member_decl] */
              ^~~~~~
In file included from /usr/include/openssl/crypto.h:31:0,
                 from /usr/include/openssl/comp.h:16,
                 from /usr/include/openssl/ssl.h:47,
                 from ../src/node_crypto.h:18,
                 from ../src/node.cc:16:
/usr/include/openssl/ossl_typ.h:92:16: note: forward declaration of ‘EVP_MD_CTX {aka struct evp_md_ctx_st}’
 typedef struct evp_md_ctx_st EVP_MD_CTX;
                ^~~~~~~~~~~~~
In file included from ../src/node.cc:16:0:
../src/node_crypto.h: In destructor ‘virtual node::crypto::Hash::~Hash()’:
../src/node_crypto.h:505:5: error: ‘EVP_MD_CTX_cleanup’ was not declared in this scope
     EVP_MD_CTX_cleanup(&mdctx_);
     ^~~~~~~~~~~~~~~~~~
  x86_64-pc-linux-gnu-g++ '-DNODE_ARCH="x64"' '-DNODE_PLATFORM="linux"' '-DNODE_WANT_INTERNALS=1' '-DV8_DEPRECATION_WARNINGS=1' '-DNODE_OPENSSL_SYSTEM_CERT_PATH=""' '-DHAVE_INSPECTOR=0' '-D__POSIX__' '-DNODE_USE_V8_PLATFORM=1' '-DNODE_HAVE_I18N_SUPPORT=1' '-DHAVE_OPENSSL=1' -I../src -I../deps/uv/src/ares -I/var/tmp/portage/net-libs/nodejs-6.17.1/work/node-v6.17.1/out/Release/obj/gen -I../deps/v8/include -I../deps/cares/include  -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++0x   -O2 -pipe -c -o /var/tmp/portage/net-libs/nodejs-6.17.1/work/node-v6.17.1/out/Release/obj.target/node_lib/src/node_config.o ../src/node_config.cc
  x86_64-pc-linux-gnu-g++ '-DNODE_ARCH="x64"' '-DNODE_PLATFORM="linux"' '-DNODE_WANT_INTERNALS=1' '-DV8_DEPRECATION_WARNINGS=1' '-DNODE_OPENSSL_SYSTEM_CERT_PATH=""' '-DHAVE_INSPECTOR=0' '-D__POSIX__' '-DNODE_USE_V8_PLATFORM=1' '-DNODE_HAVE_I18N_SUPPORT=1' '-DHAVE_OPENSSL=1' -I../src -I../deps/uv/src/ares -I/var/tmp/portage/net-libs/nodejs-6.17.1/work/node-v6.17.1/out/Release/obj/gen -I../deps/v8/include -I../deps/cares/include  -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++0x   -O2 -pipe -c -o /var/tmp/portage/net-libs/nodejs-6.17.1/work/node-v6.17.1/out/Release/obj.target/node_lib/src/node_constants.o ../src/node_constants.cc
  x86_64-pc-linux-gnu-g++ '-DNODE_ARCH="x64"' '-DNODE_PLATFORM="linux"' '-DNODE_WANT_INTERNALS=1' '-DV8_DEPRECATION_WARNINGS=1' '-DNODE_OPENSSL_SYSTEM_CERT_PATH=""' '-DHAVE_INSPECTOR=0' '-D__POSIX__' '-DNODE_USE_V8_PLATFORM=1' '-DNODE_HAVE_I18N_SUPPORT=1' '-DHAVE_OPENSSL=1' -I../src -I../deps/uv/src/ares -I/var/tmp/portage/net-libs/nodejs-6.17.1/work/node-v6.17.1/out/Release/obj/gen -I../deps/v8/include -I../deps/cares/include  -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++0x   -O2 -pipe -c -o /var/tmp/portage/net-libs/nodejs-6.17.1/work/node-v6.17.1/out/Release/obj.target/node_lib/src/node_contextify.o ../src/node_contextify.cc
../src/node_crypto.h:505:5: note: suggested alternative: ‘EVP_MD_CTX_create’
     EVP_MD_CTX_cleanup(&mdctx_);
     ^~~~~~~~~~~~~~~~~~
     EVP_MD_CTX_create
../src/node_crypto.h: At global scope:
../src/node_crypto.h:556:14: error: field ‘mdctx_’ has incomplete type ‘EVP_MD_CTX {aka evp_md_ctx_st}’
   EVP_MD_CTX mdctx_; /* coverity[member_decl] */
              ^~~~~~
In file included from /usr/include/openssl/crypto.h:31:0,
                 from /usr/include/openssl/comp.h:16,
                 from /usr/include/openssl/ssl.h:47,
                 from ../src/node_crypto.h:18,
                 from ../src/node.cc:16:
/usr/include/openssl/ossl_typ.h:92:16: note: forward declaration of ‘EVP_MD_CTX {aka struct evp_md_ctx_st}’
 typedef struct evp_md_ctx_st EVP_MD_CTX;
                ^~~~~~~~~~~~~
In file included from ../src/node.cc:16:0:
../src/node_crypto.h: In destructor ‘virtual node::crypto::SignBase::~SignBase()’:
../src/node_crypto.h:550:5: error: ‘EVP_MD_CTX_cleanup’ was not declared in this scope
     EVP_MD_CTX_cleanup(&mdctx_);
     ^~~~~~~~~~~~~~~~~~
  x86_64-pc-linux-gnu-g++ '-DNODE_ARCH="x64"' '-DNODE_PLATFORM="linux"' '-DNODE_WANT_INTERNALS=1' '-DV8_DEPRECATION_WARNINGS=1' '-DNODE_OPENSSL_SYSTEM_CERT_PATH=""' '-DHAVE_INSPECTOR=0' '-D__POSIX__' '-DNODE_USE_V8_PLATFORM=1' '-DNODE_HAVE_I18N_SUPPORT=1' '-DHAVE_OPENSSL=1' -I../src -I../deps/uv/src/ares -I/var/tmp/portage/net-libs/nodejs-6.17.1/work/node-v6.17.1/out/Release/obj/gen -I../deps/v8/include -I../deps/cares/include  -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++0x   -O2 -pipe -c -o /var/tmp/portage/net-libs/nodejs-6.17.1/work/node-v6.17.1/out/Release/obj.target/node_lib/src/node_file.o ../src/node_file.cc
../src/node_crypto.h:550:5: note: suggested alternative: ‘EVP_MD_CTX_create’
     EVP_MD_CTX_cleanup(&mdctx_);
     ^~~~~~~~~~~~~~~~~~
     EVP_MD_CTX_create
../src/node_buffer.cc:16:0: warning: "MIN" redefined
 #define MIN(a, b) ((a) < (b) ? (a) : (b))

In file included from /usr/include/uv/unix.h:41:0,
                 from /usr/include/uv.h:62,
                 from ../src/node_internals.h:8,
                 from ../src/node.h:156,
                 from ../src/node_buffer.cc:1:
/usr/include/sys/param.h:102:0: note: this is the location of the previous definition
 #define MIN(a,b) (((a)<(b))?(a):(b))

../src/node.cc: In function ‘void node::SetupProcessObject(node::Environment*, int, const char* const*, int, const char* const*)’:
../src/node.cc:3332:42: warning: ‘bool v8::Object::SetAccessor(v8::Local<v8::Name>, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                        GetParentProcessId);
                                          ^
In file included from ../deps/v8/include/v8.h:25:0,
                 from ../src/node.h:42,
                 from ../src/node.cc:1:
../deps/v8/include/v8.h:2751:22: note: declared here
                 bool SetAccessor(Local<Name> name,
                      ^
../deps/v8/include/v8config.h:333:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
  x86_64-pc-linux-gnu-g++ '-DNODE_ARCH="x64"' '-DNODE_PLATFORM="linux"' '-DNODE_WANT_INTERNALS=1' '-DV8_DEPRECATION_WARNINGS=1' '-DNODE_OPENSSL_SYSTEM_CERT_PATH=""' '-DHAVE_INSPECTOR=0' '-D__POSIX__' '-DNODE_USE_V8_PLATFORM=1' '-DNODE_HAVE_I18N_SUPPORT=1' '-DHAVE_OPENSSL=1' -I../src -I../deps/uv/src/ares -I/var/tmp/portage/net-libs/nodejs-6.17.1/work/node-v6.17.1/out/Release/obj/gen -I../deps/v8/include -I../deps/cares/include  -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++0x   -O2 -pipe -c -o /var/tmp/portage/net-libs/nodejs-6.17.1/work/node-v6.17.1/out/Release/obj.target/node_lib/src/node_http_parser.o ../src/node_http_parser.cc
make: *** [node_lib.target.mk:146: /var/tmp/portage/net-libs/nodejs-6.17.1/work/node-v6.17.1/out/Release/obj.target/node_lib/src/node.o] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory '/var/tmp/portage/net-libs/nodejs-6.17.1/work/node-v6.17.1/out'
 * ERROR: net-libs/nodejs-6.17.1::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=net-libs/nodejs-6.17.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-libs/nodejs-6.17.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-libs/nodejs-6.17.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/nodejs-6.17.1/temp/environment'.
 * Working directory: '/var/tmp/portage/net-libs/nodejs-6.17.1/work/node-v6.17.1'
 * S: '/var/tmp/portage/net-libs/nodejs-6.17.1/work/node-v6.17.1'

Any suggestions?

[Moderator edit: added [code] tags to preserve output layout. -Hu]
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22671
Location: here

PostPosted: Wed May 15, 2019 5:49 am    Post subject: Reply with quote

It seems an openssl-1.1 problem. If you need this openssl version then unmask nodejs 10.x
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6015

PostPosted: Wed May 15, 2019 12:53 pm    Post subject: Reply with quote

If it's only being pulled in as a browser dependency, you could package.use -ssl to make the error go away.
Back to top
View user's profile Send private message
elkhunter
Tux's lil' helper
Tux's lil' helper


Joined: 19 Sep 2004
Posts: 118

PostPosted: Thu May 16, 2019 12:41 am    Post subject: Reply with quote

I tried disabling ssl by creating /etc/portage/package.use/nodejs with:
Code:
net-libs/nodejs -ssl


but I still got these errors:

Code:
/var/tmp/portage/net-libs/nodejs-6.17.1/work/node-v6.17.1/out/Release/obj.target/node_lib/src/node.o: In function `node::Init(int*, char const**, int*, char const***)':
node.cc:(.text+0xca77): undefined reference to `node::openssl_config[abi:cxx11]'
node.cc:(.text+0xcca1): undefined reference to `node::openssl_config[abi:cxx11]'
collect2: error: ld returned 1 exit status
make: *** [node.target.mk:132: /var/tmp/portage/net-libs/nodejs-6.17.1/work/node-v6.17.1/out/Release/node] Error 1
make: Leaving directory '/var/tmp/portage/net-libs/nodejs-6.17.1/work/node-v6.17

I then tried unmasking nodejs version 10 by adding the following line to /etc/portage/package.unmask
Code:
>=net-libs/nodejs-10


but it still wants to emerge version 6 as shown below:

Code:
[ebuild     U ] net-libs/nodejs-6.17.1 [6.15.1] USE="icu snapshot -debug -doc -inspector -npm* -ssl* -test" CPU_FLAGS_X86="sse2" PYTHON_TARGETS="python2_7"


[Moderator edit: added [code] tags to preserve output layout. -Hu]
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7328
Location: Saint Amant, Acadiana

PostPosted: Thu May 16, 2019 1:45 am    Post subject: Reply with quote

It is time to show your emerge --info.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
elkhunter
Tux's lil' helper
Tux's lil' helper


Joined: 19 Sep 2004
Posts: 118

PostPosted: Thu May 16, 2019 2:43 am    Post subject: Reply with quote

Here's the emerge info output:

Portage 2.3.66 (python 3.6.8-final-0, default/linux/amd64/13.0/desktop, gcc-7.3.0, glibc-2.29-r2, 4.14.3 x86_64)
=================================================================
System uname: Linux-4.14.3-x86_64-AMD_Ryzen_5_1600X_Six-Core_Processor-with-gentoo-2.6
KiB Mem: 16440168 total, 2543224 free
KiB Swap: 17609724 total, 17052848 free
Timestamp of repository gentoo: Tue, 14 May 2019 02:00:01 +0000
Head commit of repository gentoo: bd756e6e96385374e840b0f0a92566c62f1f11a4
Head commit of repository steam-overlay: 1724b9a5e972f96dcc1c3d820559ef99ffbbb03a

sh bash 5.0_p7
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
distcc 3.3.2 x86_64-pc-linux-gnu [disabled]
ccache version 3.7.1 [disabled]
app-shells/bash: 5.0_p7::gentoo
dev-java/java-config: 2.2.0-r4::gentoo
dev-lang/perl: 5.28.2-r1::gentoo
dev-lang/python: 2.7.16::gentoo, 3.4.8-r1::gentoo, 3.5.5-r1::gentoo, 3.6.8::gentoo, 3.7.3::gentoo
dev-util/ccache: 3.7.1::gentoo
dev-util/cmake: 3.14.3::gentoo
dev-util/pkgconfig: 0.29.2::gentoo
sys-apps/baselayout: 2.6-r1::gentoo
sys-apps/openrc: 0.41.2::gentoo
sys-apps/sandbox: 2.17::gentoo
sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake: 1.15.1-r1::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils: 2.29.1-r1::gentoo, 2.30-r3::gentoo, 2.31.1-r3::gentoo, 2.32-r1::gentoo
sys-devel/gcc: 6.4.0::gentoo, 7.2.0::gentoo, 7.3.0-r3::gentoo, 8.2.0-r6::gentoo, 8.3.0::gentoo, 9.1.0::gentoo
sys-devel/gcc-config: 2.0::gentoo
sys-devel/libtool: 2.4.6-r5::gentoo
sys-devel/make: 4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.0-r1::gentoo (virtual/os-headers)
sys-libs/glibc: 2.29-r2::gentoo
Repositories:

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

x-portage
location: /usr/local/portage
masters: gentoo
priority: 0

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

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

steam-overlay
location: /usr/local/portage/steam-overlay
sync-type: git
sync-uri: https://github.com/anyc/steam-overlay.git
masters: gentoo
priority: 50

ABI="amd64"
ABI_X86="64 32"
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
ACCEPT_PROPERTIES="*"
ACCEPT_RESTRICT="*"
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"
ANT_HOME="/usr/share/ant"
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"
ARCH="amd64"
AUTOCLEAN="yes"
BOOTSTRAP_USE="unicode internal-glib pkg-config split-usr python_targets_python3_6 python_targets_python2_7 multilib"
BROOT=""
CALLIGRA_FEATURES="karbon sheets words"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=znver1"
CFLAGS_amd64="-m64"
CFLAGS_x32="-mx32"
CFLAGS_x86="-m32"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x32="x86_64-pc-linux-gnux32"
CHOST_x86="i686-pc-linux-gnu"
CLEAN_DELAY="5"
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
COLLISION_IGNORE="/lib/modules/*"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /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"
CPU_FLAGS_X86="aes avx avx2 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3"
CXXFLAGS="-O2 -pipe"
DCC_EMAILLOG_WHOM_TO_BLAME=""
DEFAULT_ABI="amd64"
DISPLAY="localhost:12.0"
DISTCC_ENABLE_DISCREPANCY_EMAIL=""
DISTCC_FALLBACK="1"
DISTCC_SAVE_TEMPS="0"
DISTCC_SSH=""
DISTCC_TCP_CORK=""
DISTCC_VERBOSE="0"
DISTDIR="/usr/portage/distfiles"
EDITOR="/bin/nano"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--color n --keep-going --quiet --verbose --with-bdeps=y --autounmask=n"
EMERGE_WARNING_DELAY="10"
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"
EPREFIX=""
EROOT="/"
ESYSROOT="/"
FCFLAGS="-O2 -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 parallel-install pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FETCHCOMMAND="wget -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
FETCHCOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}""
FETCHCOMMAND_SFTP="bash -c "x=\${2#sftp://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port= ; eval \"declare -a ssh_opts=(\${3})\" ; exec sftp \${port:+-P \${port}} \"\${ssh_opts[@]}\" \"\${host}:/\${x#*/}\" \"\$1\"" sftp "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}""
FETCHCOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port= ; exec rsync --rsh=\"ssh \${port:+-p\${port}} \${3}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}""
FFLAGS="-O2 -pipe"
GCC_SPECS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
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"
GRUB_PLATFORMS=""
GSETTINGS_BACKEND="dconf"
HOME="/root"
INFINALITY_FT_FILTER_PARAMS="08 24 36 24 08"
INFINALITY_FT_FRINGE_FILTER_STRENGTH="25"
INFINALITY_FT_STEM_ALIGNMENT_STRENGTH="15"
INFINALITY_FT_STEM_FITTING_STRENGTH="15"
INFINALITY_FT_USE_VARIOUS_TWEAKS="true"
INFINALITY_FT_WINDOWS_STYLE_SHARPENING_STRENGTH="25"
INFOPATH="/usr/share/gcc-data/x86_64-pc-linux-gnu/7.3.0/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.29.1/info:/usr/share/info"
INPUT_DEVICES="evdev keyboard mouse synaptics"
IUSE_IMPLICIT="abi_x86_64 prefix prefix-guest prefix-stack"
JAVAC="/etc/java-config-2/current-system-vm/bin/javac"
JAVA_HOME="/etc/java-config-2/current-system-vm"
JDK_HOME="/etc/java-config-2/current-system-vm"
KERNEL="linux"
LANG="en_US.utf8"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LC_MESSAGES="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LDFLAGS_amd64="-m elf_x86_64"
LDFLAGS_x32="-m elf32_x86_64"
LDFLAGS_x86="-m elf_i386"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe %s"
LIBDIR_amd64="lib64"
LIBDIR_x32="libx32"
LIBDIR_x86="lib32"
LIBREOFFICE_EXTENSIONS="nlpsolver"
LOGNAME="root"
LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.cfg=00;32:*.conf=00;32:*.diff=00;32:*.doc=00;32:*.ini=00;32:*.log=00;32:*.patch=00;32:*.pdf=00;32:*.ps=00;32:*.tex=00;32:*.txt=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:"
MAIL="/var/mail/root"
MAKEOPTS="-j12"
MANPAGER="manpager"
MANPATH="/etc/java-config-2/current-system-vm/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/7.3.0/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.29.1/man:/usr/lib/llvm/7/share/man:/usr/lib/llvm/6/share/man:/usr/lib/llvm/5/share/man:/etc/java-config-2/current-system-vm/man/:/usr/local/share/man:/usr/share/man:/usr/share/rust-1.31.1/man"
MOZ_GMP_PATH="/usr/lib64/nsbrowser/plugins/gmp-gmpopenh264/system-installed"
MULTILIB_ABIS="amd64 x86"
MULTILIB_STRICT_DENY="64-bit.*shared object"
MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib /usr/X11R6/lib32 /usr/X11R6/lib"
MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|binutils|eclipse-3|debug|portage|udev|systemd|clang|python-exec|llvm)"
NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml"
NOCOLOR="true"
OFFICE_IMPLEMENTATION="libreoffice"
OPENCL_PROFILE="nvidia"
OPENGL_PROFILE="nvidia"
PAGER="/usr/bin/less"
PALEMOON_ENABLE_UNSUPPORTED_COMPILERS="1"
PATH="/usr/lib/llvm/7/bin:/usr/lib/llvm/6/bin:/usr/lib/llvm/5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin"
PHP_TARGETS="php5-6 php7-1"
PKGDIR="/var/cache/binpkgs"
PORTAGE_ARCHLIST="alpha amd64 amd64-fbsd amd64-linux arm arm-linux arm64 arm64-linux hppa ia64 m68k m68k-mint mips ppc ppc-aix ppc-macos ppc64 ppc64-linux riscv s390 sh sparc sparc-solaris sparc64-solaris x64-cygwin x64-macos x64-solaris x86 x86-cygwin x86-fbsd x86-linux x86-macos x86-solaris x86-winnt"
PORTAGE_BIN_PATH="/usr/lib/portage/python3.6"
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="log warn error"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save_summary:log,warn,error,qa echo"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="250"
PORTAGE_GPG_SIGNING_COMMAND="gpg --sign --digest-algo SHA256 --clearsign --yes --default-key "${PORTAGE_GPG_KEY}" --homedir "${PORTAGE_GPG_DIR}" "${FILE}""
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_INTERNAL_CALLER="1"
PORTAGE_LOGDIR_CLEAN="find "${PORTAGE_LOGDIR}" -type f ! -name "summary.log*" -mtime +7 -delete"
PORTAGE_OVERRIDE_EPREFIX=""
PORTAGE_PYM_PATH="/usr/lib64/python3.6/site-packages"
PORTAGE_PYTHONPATH="/usr/lib64/python3.6/site-packages"
PORTAGE_QUIET="1"
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_RSYNC_RETRIES="-1"
PORTAGE_SYNC_STALE="30"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0700"
PORTAGE_XATTR_EXCLUDE="btrfs.* security.evm security.ima security.selinux system.nfs4_acl user.apache_handler user.Beagle.* user.dublincore.* user.mime_encoding user.xdg.*"
POSTGRES_TARGETS="postgres9_5 postgres10"
PROFILE_ONLY_VARIABLES="ARCH ELIBC IUSE_IMPLICIT KERNEL USERLAND USE_EXPAND_IMPLICIT USE_EXPAND_UNPREFIXED USE_EXPAND_VALUES_ARCH USE_EXPAND_VALUES_ELIBC USE_EXPAND_VALUES_KERNEL USE_EXPAND_VALUES_USERLAND"
PWD="/root"
PYTHONDONTWRITEBYTECODE="1"
PYTHON_SINGLE_TARGET="python3_6"
PYTHON_TARGETS="python2_7 python3_6"
QEMU_SOFTMMU_TARGETS="i386 x86_64"
QEMU_USER_TARGETS="arm armeb i386 x86_64"
QT_GRAPHICSSYSTEM="raster"
QT_PLUGIN_PATH="/usr/lib64/kde4/plugins"
RESUMECOMMAND="wget -c -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
RESUMECOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}""
RESUMECOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port= ; exec rsync --rsh=\"ssh \${port:+-p\${port}} \${3}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}""
ROOT="/"
ROOTPATH="/usr/lib/llvm/8/bin:/usr/lib/llvm/7/bin:/usr/lib/llvm/6/bin:/usr/lib/llvm/5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin"
RPMDIR="/usr/portage/rpm"
RUBY_TARGETS="ruby25"
SHELL="/bin/bash"
SHLVL="1"
SSH_CLIENT="::1 44554 22"
SSH_CONNECTION="::1 44554 ::1 22"
SSH_TTY="/dev/pts/12"
SYMLINK_LIB="yes"
SYSROOT="/"
TERM="xterm"
TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE="1"
UNCACHED_ERR_FD=""
UNINSTALL_IGNORE="/lib/modules/* /var/run /var/lock"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli client consolekit crypt cups cxx dbus display-manager dri dts dvd dvdr emboss encode exif fam farstream fdk ffmpeg fftw flac fontconfig fortran frei0r fuse gdbm gegl gif glamor gnome gnome-keyring gpm gstreamer gtk gtk3 haptic iconv icu infinality infinatlity introspection ipv6 java jpeg kdenlive lcms ldap legacy-systray libnotify libtirpc lzma mad melt minizip mng mp3 mp4 mpeg multilib mysql ncurses nfs nls nptl nss nvidia ogg opengl openmp otr pam pango pcre pdf perl plasma playlist png policykit ppds pulseaudio python qml qt5 readline scripttools sdl seccomp server shared smp spell spice sqlite ssl startup-notification svg tcpd theora threads tiff truetype udev udisks unicode upower usb v4l vdpau vorbis widgets wxwidgets x264 xattr xcb xinerama xinetd xml xmp xv xvid xvmc zlib" ABI_X86="64 32" 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="aes avx avx2 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" 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="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver" 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" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="arm armeb i386 x86_64" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="nvidia vesa modesetter" 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"
USER="root"
USERLAND="GNU"
USE_EXPAND="ABI_MIPS ABI_PPC ABI_RISCV ABI_S390 ABI_X86 ALSA_CARDS APACHE2_MODULES APACHE2_MPMS CALLIGRA_FEATURES CAMERAS COLLECTD_PLUGINS CPU_FLAGS_ARM CPU_FLAGS_X86 CURL_SSL ELIBC ENLIGHTENMENT_MODULES FFTOOLS GPSD_PROTOCOLS GRUB_PLATFORMS INPUT_DEVICES KERNEL L10N LCD_DEVICES LIBREOFFICE_EXTENSIONS LIRC_DEVICES LLVM_TARGETS MONKEYD_PLUGINS NETBEANS_MODULES NGINX_MODULES_HTTP NGINX_MODULES_MAIL NGINX_MODULES_STREAM OFED_DRIVERS OFFICE_IMPLEMENTATION OPENMPI_FABRICS OPENMPI_OFED_FEATURES OPENMPI_RM PHP_TARGETS POSTGRES_TARGETS PYTHON_SINGLE_TARGET PYTHON_TARGETS QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS ROS_MESSAGES RUBY_TARGETS SANE_BACKENDS USERLAND UWSGI_PLUGINS VIDEO_CARDS VOICEMAIL_STORAGE XFCE_PLUGINS XTABLES_ADDONS"
USE_EXPAND_HIDDEN="ABI_MIPS ABI_PPC ABI_RISCV ABI_S390 CPU_FLAGS_ARM ELIBC KERNEL USERLAND"
USE_EXPAND_IMPLICIT="ARCH ELIBC KERNEL USERLAND"
USE_EXPAND_UNPREFIXED="ARCH"
USE_EXPAND_VALUES_ARCH="alpha amd64 amd64-fbsd amd64-linux arm arm64 hppa ia64 m68k m68k-mint mips ppc ppc64 ppc64-linux ppc-aix ppc-macos riscv s390 sh sparc sparc64-solaris sparc-solaris x64-cygwin x64-macos x64-solaris x86 x86-cygwin x86-fbsd x86-linux x86-macos x86-solaris x86-winnt"
USE_EXPAND_VALUES_ELIBC="AIX bionic Cygwin Darwin DragonFly FreeBSD glibc HPUX Interix mingw mintlib musl NetBSD OpenBSD SunOS uclibc Winnt"
USE_EXPAND_VALUES_KERNEL="AIX Darwin FreeBSD freemint HPUX linux NetBSD OpenBSD SunOS Winnt"
USE_EXPAND_VALUES_USERLAND="BSD GNU"
USE_ORDER="env:pkg:conf:defaults:pkginternal:features:repo:env.d"
VIDEO_CARDS="nvidia vesa modesetter"
XDG_CONFIG_DIRS="/etc/xdg"
XDG_DATA_DIRS="/usr/local/share:/usr/share"
XDG_RUNTIME_DIR="/var/run/user/0"
XDG_SESSION_COOKIE="ralph-1557799892.201414-353842230"
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"
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22671
Location: here

PostPosted: Thu May 16, 2019 5:45 am    Post subject: Reply with quote

Try to switch to binutils 2.31.1 with eselect binutils and also switch to latest stable gcc 8.3.0 with gcc-config
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
elkhunter
Tux's lil' helper
Tux's lil' helper


Joined: 19 Sep 2004
Posts: 118

PostPosted: Fri May 17, 2019 3:16 am    Post subject: Reply with quote

I switched to the newer gcc and binutils and ran revdep-rebuilt then tried emerg'ing world again but nodejs still failed with the same error. I'm not sure why it doesn't compile but is there a way to run w/o it? I think it's being pulled in by chromium.
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22671
Location: here

PostPosted: Fri May 17, 2019 5:48 am    Post subject: Reply with quote

elkhunter wrote:
I switched to the newer gcc and binutils and ran revdep-rebuilt then tried emerg'ing world again but nodejs still failed with the same error. I'm not sure why it doesn't compile but is there a way to run w/o it? I think it's being pulled in by chromium.

Yes because you have yet installed openssl-1.1.

elkhunter wrote:
I then tried unmasking nodejs version 10 by adding the following line to /etc/portage/package.unmask
Code:
>=net-libs/nodejs-10


but it still wants to emerge version 6 as shown below:

Code:
[ebuild     U ] net-libs/nodejs-6.17.1 [6.15.1] USE="icu snapshot -debug -doc -inspector -npm* -ssl* -test" CPU_FLAGS_X86="sse2" PYTHON_TARGETS="python2_7"

This happen because nodejs-10 is marked as testing package not as masked, you should add package in /etc/portage/package.accept_keywords
Code:
echo ">=net-libs/nodejs-10 ~amd64" >> /etc/portage/package.accept_keywords

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
elkhunter
Tux's lil' helper
Tux's lil' helper


Joined: 19 Sep 2004
Posts: 118

PostPosted: Sat May 18, 2019 12:32 am    Post subject: Reply with quote

I added that line to package.accept_keywords as shown below:

Code:
# cat /etc/portage/package.accept_keywords
#games-emulation/retroarch-9999 **
games-emulation/*libretro* **
games-emulation/retroarch **
>=net-libs/nodejs-10 ~amd64


but it still wants to emerge version 6:

Code:
[ebuild     U ] net-libs/nodejs-6.17.1 [6.15.1] USE="icu snapshot -debug -doc -inspector -npm* -ssl* -test" CPU_FLAGS_X86="sse2" PYTHON_TARGETS="python2_7"
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22671
Location: here

PostPosted: Sat May 18, 2019 10:42 am    Post subject: Reply with quote

elkhunter wrote:
Code:
# cat /etc/portage/package.accept_keywords
#games-emulation/retroarch-9999 **
games-emulation/*libretro* **
games-emulation/retroarch **
>=net-libs/nodejs-10 ~amd64
]

You have some entry in package.mask, post grep -r nodejs /etc/portage/package.* output
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
elkhunter
Tux's lil' helper
Tux's lil' helper


Joined: 19 Sep 2004
Posts: 118

PostPosted: Sat May 18, 2019 1:35 pm    Post subject: Reply with quote

Here's the output:
Code:
 
# grep -r nodejs /etc/portage/package.*
/etc/portage/package.accept_keywords:>=net-libs/nodejs-10 ~amd64
/etc/portage/package.unmask:>=net-libs/nodejs-10
/etc/portage/package.use/nodejs:net-libs/nodejs -ssl -npm
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 14379

PostPosted: Sat May 18, 2019 8:59 pm    Post subject: Reply with quote

What does Portage say when you tell it to install that version: emerge --pretend --verbose '>=net-libs/nodejs-10'?
Back to top
View user's profile Send private message
elkhunter
Tux's lil' helper
Tux's lil' helper


Joined: 19 Sep 2004
Posts: 118

PostPosted: Sat May 18, 2019 11:30 pm    Post subject: Reply with quote

Hu wrote:
What does Portage say when you tell it to install that version: emerge --pretend --verbose '>=net-libs/nodejs-10'?


Thanks Hu. That showed the problem: nodejs needed a newer version of icu which was blocked in the old (13.0) profile I was using. Somehow I missed updating to a newer profile. I'm trying to rebuild world now with the 17.1 profile...
Back to top
View user's profile Send private message
elkhunter
Tux's lil' helper
Tux's lil' helper


Joined: 19 Sep 2004
Posts: 118

PostPosted: Sun May 19, 2019 3:28 am    Post subject: Reply with quote

Just as a follow-up the 17.1 profile looked like too much work but 17.0 seems to work and nodejs did emerge w/o error. Thanks all for the help
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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