Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] nettle fails to build
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
Kurogane
n00b
n00b


Joined: 23 May 2010
Posts: 39

PostPosted: Sun Apr 14, 2019 11:59 pm    Post subject: [SOLVED] nettle fails to build Reply with quote

I can't build this package because of this error

Code:
/var/tmp/portage/dev-libs/nettle-3.4.1/work/nettle-3.4.1/rsa-sign-tr.c: In function ‘sec_equal’:
/var/tmp/portage/dev-libs/nettle-3.4.1/work/nettle-3.4.1/rsa-sign-tr.c:243:3: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
   for (size_t i = 0; i < limbs; i++)
   ^
/var/tmp/portage/dev-libs/nettle-3.4.1/work/nettle-3.4.1/rsa-sign-tr.c:243:3: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
make[1]: *** [Makefile:260: rsa-sign-tr.o] Error 1
make[1]: Leaving directory '/var/tmp/portage/dev-libs/nettle-3.4.1/work/nettle-3.4.1-abi_x86_64.amd64'
make: *** [Makefile:49: all] Error 2
 * ERROR: dev-libs/nettle-3.4.1::gentoo failed (compile phase):
 *   emake failed


Code:
emerge -pqv nettle
[ebuild     U ] dev-libs/nettle-3.4.1 [3.4] USE="gmp -doc (-neon) -static-libs -test" CPU_FLAGS_X86="-aes"


Last edited by Kurogane on Tue Apr 16, 2019 9:27 pm; edited 1 time in total
Back to top
View user's profile Send private message
mike155
Veteran
Veteran


Joined: 17 Sep 2010
Posts: 1444
Location: Frankfurt, Germany

PostPosted: Mon Apr 15, 2019 12:31 am    Post subject: Reply with quote

nettle-3.4.1 compiles fine on my machine. I don't get any errors.

Please show us the output of 'emerge --info'.
Back to top
View user's profile Send private message
Kurogane
n00b
n00b


Joined: 23 May 2010
Posts: 39

PostPosted: Mon Apr 15, 2019 4:09 am    Post subject: Reply with quote

Code:
emerge --info '=dev-libs/nettle-3.4.1::gentoo'
python-exec: Invalid impl in /etc/python-exec/python-exec.conf: python3.4
Portage 2.3.62 (python 3.6.5-final-0, default/linux/amd64/17.0/no-multilib/hardened, gcc-4.9.4, glibc-2.27-r6, 4.9.6-gentoo-r1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.9.6-gentoo-r1-x86_64-Intel-R-_Xeon-R-_CPU_E3-1241_v3_@_3.50GHz-with-gentoo-2.6
KiB Mem:     2049416 total,     34000 free
KiB Swap:     707580 total,    707580 free
Timestamp of repository gentoo: Sun, 14 Apr 2019 22:00:01 +0000
Head commit of repository gentoo: 2100bc7fa64c17378786e1e9e3bdfdf4d7686bda
sh bash 4.4_p12
ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.15::gentoo, 3.4.5::gentoo, 3.5.5::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::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.69-r4::gentoo
sys-devel/automake:       1.14.1::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.26.1::gentoo, 2.28-r2::gentoo, 2.28.1::gentoo, 2.29.1-r1::gentoo, 2.30-r4::gentoo
sys-devel/gcc:            4.9.4::gentoo, 5.4.0-r3::gentoo, 6.4.0-r1::gentoo, 7.3.0-r3::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.27-r6::gentoo
Repositories:

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

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=haswell -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/teamspeak3-server/ts3server.ini /etc/teamspeak3-server/ts3server_mariadb.ini /etc/teamspeak3-server/tsdns_settings.ini /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.0/ext-active/ /etc/php/apache2-php7.1/ext-active/ /etc/php/apache2-php7.2/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/php/cli-php7.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=haswell -O2 -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="-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 pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="rsync://rsync.gtlib.gatech.edu/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
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="acl amd64 bindist bzip2 crypt cxx geoip gif hardened iconv idm ipv6 jpeg libtirpc mmx mysql ncurses nls nptl openmp pam pcre perl pie png python raius readline seccomp smtp sse sse2 ssl ssp truetype unicode urandom xattr xtpax 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 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" 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 php7-2" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" 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, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22153
Location: here

PostPosted: Mon Apr 15, 2019 6:46 am    Post subject: Reply with quote

You have an old gcc version and you should upgrade it.
First you should upgrade gcc to version 5, see news https://www.gentoo.org/support/news-items/2015-10-22-gcc-5-new-c++11-abi.html, then probably you can upgrade to gcc-8 but not sure if you should upgrade also to from gcc-6 to gcc-6 and from gcc-6 to gcc-7
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Kurogane
n00b
n00b


Joined: 23 May 2010
Posts: 39

PostPosted: Mon Apr 15, 2019 8:24 am    Post subject: Reply with quote

Well this its emerge -avuDN world not install first gcc-8

Code:
emerge -avuDN world
python-exec: Invalid impl in /etc/python-exec/python-exec.conf: python3.4

 * IMPORTANT: 12 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


 * IMPORTANT: 2 config files in '/etc/portage' need updating.
 * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
 * sections of the emerge man page to learn how to update config files.

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U  ] dev-libs/nettle-3.4.1:0/6.2::gentoo [3.4:0/6.2::gentoo] USE="gmp -doc (-neon) -static-libs -test" CPU_FLAGS_X86="-aes" 0 KiB
[ebuild     U  ] dev-libs/openssl-1.0.2r::gentoo [1.0.2q::gentoo] USE="asm sslv3 tls-heartbeat zlib -bindist -gmp -kerberos -rfc3779 -sctp -sslv2 -static-libs -test -vanilla" CPU_FLAGS_X86="(sse2)" 0 KiB
[ebuild   R    ] net-misc/iputils-20180629::gentoo  USE="arping ipv6 ssl -SECURITY_HAZARD -caps -clockdiff -doc -filecaps -gcrypt -idn -libressl -nettle -rarpd -rdisc -static -tftpd -tracepath -traceroute6% (-traceroute%)" 0 KiB
[ebuild     U  ] virtual/pkgconfig-1::gentoo [0-r1::gentoo] 0 KiB
[ebuild     U  ] net-dns/libidn2-2.1.1a::gentoo [2.0.4::gentoo] USE="-static-libs" 0 KiB
[ebuild     U  ] sys-libs/glibc-2.28-r6:2.2::gentoo [2.27-r6:2.2::gentoo] USE="multiarch (ssp%*) -audit -caps (-cet) (-compile-locales) -doc -gd -headers-only (-multilib) -nscd -profile (-selinux) -suid -systemtap -test% (-vanilla) (-hardened%*)" 0 KiB
[ebuild     U  ] sys-libs/readline-7.0_p5:0/7::gentoo [7.0_p3:0/7::gentoo] USE="-static-libs -utils" 0 KiB
[ebuild     U  ] sys-libs/e2fsprogs-libs-1.44.5::gentoo [1.43.9::gentoo] USE="-static-libs (-nls%*)" 0 KiB
[ebuild     U  ] net-misc/curl-7.64.1::gentoo [7.62.0::gentoo] USE="ipv6 ssl -adns -brotli -http2 -idn -kerberos -ldap -metalink -rtmp -samba -ssh -static-libs -test -threads" CURL_SSL="openssl -gnutls -libressl -mbedtls -nss (-winssl) (-axtls%)" 0 KiB
[ebuild     U  ] sys-libs/efivar-37:0/1::gentoo [31:0/1::gentoo] 0 KiB
[ebuild     U  ] dev-db/mysql-init-scripts-2.3::gentoo [2.2-r3::gentoo] 0 KiB
[ebuild     U ~] media-sound/teamspeak-server-3.7.1::gentoo [3.5.1::gentoo] USE="mysql -doc -tsdns" 0 KiB
[ebuild     U  ] net-misc/dhcp-4.4.1::gentoo [4.3.6_p1::gentoo] USE="client ipv6 server ssl -ldap -libressl (-selinux) -vim-syntax" 0 KiB
[ebuild     U  ] app-shells/bash-4.4_p23-r1::gentoo [4.4_p12::gentoo] USE="net nls (readline) -afs -bashlogger -examples -mem-scramble -plugins" 0 KiB
[ebuild     U  ] dev-libs/libpcre-8.42:3::gentoo [8.41-r1:3::gentoo] USE="bzip2 cxx readline recursion-limit (unicode) zlib -jit -libedit -pcre16 -pcre32 -static-libs" 0 KiB
[ebuild     U  ] net-dns/bind-tools-9.12.3_p4::gentoo [9.12.2_p2-r1::gentoo] USE="ipv6 readline seccomp ssl urandom -doc -gost -gssapi -idn -libedit -libidn2 -libressl -xml" 0 KiB
[ebuild     U  ] net-misc/ntp-4.2.8_p13::gentoo [4.2.8_p12::gentoo] USE="ipv6 readline ssl threads -caps -debug -libressl -openntpd -parse-clocks -samba (-selinux) -snmp -vim-syntax -zeroconf" 0 KiB
[ebuild     U  ] app-admin/metalog-20181125::gentoo [3-r2::gentoo] USE="unicode" 0 KiB
[ebuild     U  ] virtual/man-0-r2::gentoo [0-r1::gentoo] 0 KiB
[ebuild     U  ] app-misc/ca-certificates-20180409.3.37::gentoo [20170717.3.36.1::gentoo] USE="-cacert (-insecure_certs%)" 0 KiB
[ebuild     U  ] dev-libs/libxml2-2.9.9:2::gentoo [2.9.8:2::gentoo] USE="ipv6 python readline -debug -examples -icu -lzma -static-libs -test" PYTHON_TARGETS="python2_7 python3_6 -python3_5 (-python3_7) (-python3_4%)" 0 KiB
[ebuild   R    ] dev-python/pyelftools-0.24::gentoo  USE="-examples" PYTHON_TARGETS="python2_7 python3_6 -python3_5 (-python3_4%)" 0 KiB
[ebuild  NS    ] sys-devel/binutils-2.31.1-r4:2.31::gentoo [2.26.1:2.26.1::gentoo, 2.28-r2:2.28::gentoo, 2.28.1:2.28.1::gentoo, 2.29.1-r1:2.29.1::gentoo, 2.30-r4:2.30::gentoo] USE="cxx gold%* nls plugins%* -default-gold% -doc -multitarget -static-libs -test" 0 KiB
[ebuild     U  ] app-arch/tar-1.32::gentoo [1.30::gentoo] USE="acl nls (xattr) -minimal (-selinux) -static" 0 KiB
[ebuild     U  ] net-misc/wget-1.20.3::gentoo [1.20.1::gentoo] USE="ipv6 nls pcre ssl zlib -debug -gnutls -idn -libressl -ntlm -static -test -uuid" 0 KiB
[ebuild     U  ] net-libs/gnutls-3.6.7:0/30::gentoo [3.5.19:0/30::gentoo] USE="cxx idn nls openssl seccomp tls-heartbeat -dane -doc -examples -guile -pkcs11 -sslv2 -sslv3 -static-libs -test (-test-full) -tools -valgrind (-openpgp%) (-zlib%*)" 0 KiB
[ebuild     U  ] dev-libs/elfutils-0.173-r1::gentoo [0.170-r1::gentoo] USE="bzip2 nls utils -lzma -static-libs -test (-threads)" 0 KiB
[ebuild  NS    ] sys-devel/gcc-8.2.0-r6:8.2.0::gentoo [4.9.4:4.9.4::gentoo, 5.4.0-r3:5.4.0::gentoo, 6.4.0-r1:6.4.0::gentoo, 7.3.0-r3:7.3.0::gentoo] USE="cxx hardened nls nptl openmp (pie) sanitize* (ssp) vtv (-altivec) -debug -doc (-fixed-point) -fortran -go -graphite (-jit) (-libssp) -mpx (-multilib) -objc -objc++ -objc-gc (-pch) -pgo -regression-test -systemtap% -vanilla (-cilk%)" 0 KiB
[ebuild  NS    ] sys-kernel/gentoo-sources-4.19.27-r1:4.19.27-r1::gentoo [4.9.6-r1:4.9.6-r1::gentoo, 4.9.16:4.9.16::gentoo, 4.9.34:4.9.34::gentoo, 4.9.72:4.9.72::gentoo, 4.9.76-r1:4.9.76-r1::gentoo, 4.9.95:4.9.95::gentoo, 4.12.12:4.12.12::gentoo, 4.14.8-r1:4.14.8-r1::gentoo, 4.14.52:4.14.52::gentoo, 4.14.61:4.14.61::gentoo, 4.14.65:4.14.65::gentoo, 4.14.83:4.14.83::gentoo] USE="-build -experimental -symlink" 0 KiB
[ebuild     U  ] www-servers/nginx-1.14.2-r4::gentoo [1.14.1::gentoo] USE="http http-cache http2 ipv6 pcre ssl -aio -debug -libatomic -libressl -luajit -pcre-jit -rtmp (-selinux) -threads -vim-syntax" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset empty_gif fastcgi geo geoip grpc gzip gzip_static limit_conn limit_req map memcached mirror proxy referer rewrite scgi spdy split_clients ssi upstream_hash upstream_ip_hash upstream_keepalive upstream_least_conn upstream_zone userid uwsgi -addition -auth_ldap -auth_pam -auth_request -brotli -cache_purge -dav -dav_ext -degradation -echo -fancyindex -flv -geoip2 -gunzip -headers_more -image_filter -javascript -lua -memc -metrics -mogilefs -mp4 -naxsi -perl -push_stream -random_index -realip -secure_link -security -slice -slowfs_cache -sticky -stub_status -sub -upload_progress -upstream_check -vhost_traffic_status -xslt" NGINX_MODULES_MAIL="-imap -pop3 -smtp" NGINX_MODULES_STREAM="-access -geo -geoip -geoip2 -javascript -limit_conn -map -realip -return -split_clients -ssl_preread -upstream_hash -upstream_least_conn -upstream_zone" 0 KiB
[ebuild     U  ] app-arch/lz4-1.8.3:0/r131::gentoo [1.8.2:0/r131::gentoo] USE="-static-libs" 0 KiB
[ebuild     U  ] dev-python/setuptools-40.6.3::gentoo [36.7.2::gentoo] USE="-test" PYTHON_TARGETS="python2_7 python3_6 (-pypy) (-pypy3) -python3_5 (-python3_7) (-python3_4%)" 0 KiB
[ebuild     U  ] sys-apps/file-5.36::gentoo [5.34::gentoo] USE="python zlib -static-libs" PYTHON_TARGETS="python2_7 python3_6 (-pypy) -python3_5 (-python3_7) (-python3_4%)" 0 KiB
[ebuild     U  ] sys-libs/cracklib-2.9.6-r2::gentoo [2.9.6-r1::gentoo] USE="nls python zlib -static-libs" PYTHON_TARGETS="python2_7 python3_6 -python3_5 (-python3_4%)" 0 KiB
[ebuild   R    ] dev-python/certifi-2018.4.16::gentoo  PYTHON_TARGETS="python2_7 python3_6 (-pypy) (-pypy3) -python3_5 (-python3_7) (-python3_4%)" 0 KiB
[ebuild     U  ] dev-python/cython-0.29.4::gentoo [0.25.2::gentoo] USE="-doc -emacs -test" PYTHON_TARGETS="python2_7 python3_6 -python3_5 (-python3_7) (-python3_4%)" 0 KiB
[ebuild   R    ] dev-python/pyblake2-1.1.2::gentoo  PYTHON_TARGETS="python2_7 python3_6 (-pypy) (-pypy3) -python3_5 (-python3_7) (-python3_4%)" 0 KiB
[ebuild   R    ] dev-python/pyxattr-0.6.0-r1::gentoo  USE="-doc -test" PYTHON_TARGETS="python2_7 python3_6 (-pypy) -python3_5 (-python3_7) (-python3_4%)" 0 KiB
[ebuild   R    ] dev-python/pypax-0.9.4::gentoo  USE="xtpax -ptpax" PYTHON_TARGETS="python2_7 python3_6 (-pypy) -python3_5 (-python3_7) (-python3_4%)" 0 KiB
[ebuild     U  ] sys-apps/kmod-25::gentoo [24::gentoo] USE="python tools zlib -debug -doc -lzma -static-libs" PYTHON_TARGETS="python2_7 python3_6 -python3_5 (-python3_4%)" 0 KiB
[ebuild     U  ] app-editors/nano-3.2::gentoo [2.9.8::gentoo] USE="magic ncurses nls spell unicode -debug -justify -minimal -slang -static" 0 KiB
[ebuild   R    ] sys-apps/util-linux-2.33-r1::gentoo  USE="cramfs ncurses nls pam python readline suid unicode -build -caps -fdformat -kill (-selinux) -slang -static-libs -systemd -test -tty-helpers -udev" PYTHON_TARGETS="python2_7 python3_6 -python3_5 (-python3_7) (-python3_4%)" 0 KiB
[ebuild     U  ] sys-fs/e2fsprogs-1.44.5::gentoo [1.43.9::gentoo] USE="nls -fuse -static-libs" 0 KiB
[ebuild     U  ] dev-libs/cyrus-sasl-2.1.27-r2:2::gentoo [2.1.26-r10:2::gentoo] USE="mysql pam ssl urandom -authdaemond -berkdb -gdbm -java -kerberos -ldapdb -libressl -openldap -postgres -sample (-selinux) -sqlite -srp -static-libs" 0 KiB
[ebuild     U  ] dev-util/glib-utils-2.58.3::gentoo [2.56.4::gentoo] PYTHON_SINGLE_TARGET="python3_6 -python3_5 (-python3_7)" PYTHON_TARGETS="python3_6 -python3_5 (-python3_7)" 0 KiB
[ebuild     U  ] net-misc/openssh-7.9_p1-r4::gentoo [7.7_p1-r9::gentoo] USE="pam (pie) ssl -X -X509 -audit -bindist -debug -hpn -kerberos -ldns -libedit -libressl -livecd -sctp (-selinux) -static -test (-skey%)" 0 KiB
[ebuild     U  ] dev-libs/glib-2.58.3:2::gentoo [2.56.4:2::gentoo] USE="mime xattr -dbus -debug (-fam) -gtk-doc% (-selinux) -static-libs -systemtap -test -utils" 0 KiB
[ebuild   R    ] app-admin/syslog-ng-3.17.2::gentoo  USE="geoip ipv6 python smtp -amqp -caps -dbi -geoip2 -http -json -libressl -mongodb -pacct -redis -spoof-source -systemd -tcpd" PYTHON_SINGLE_TARGET="python3_6 -python2_7 -python3_5 (-python3_4%)" PYTHON_TARGETS="python2_7 python3_6 -python3_5 (-python3_4%)" 0 KiB
[ebuild     U  ] sys-apps/hwids-20180917::gentoo [20171003::gentoo] USE="net pci udev usb" 0 KiB
[ebuild     U  ] sys-fs/udev-init-scripts-33::gentoo [32::gentoo] 0 KiB
[ebuild     U  ] sys-boot/efibootmgr-16::gentoo [15::gentoo] 0 KiB
[ebuild     U  ] sys-boot/grub-2.02-r3:2/2.02-r3::gentoo [2.02-r1:2/2.02-r1::gentoo] USE="fonts nls themes truetype -debug -device-mapper -doc -efiemu -libzfs -mount -multislot -sdl -static (-test)" GRUB_PLATFORMS="efi-64 pc -coreboot -efi-32 -emu -ieee1275 -loongson -multiboot -qemu -qemu-mips -uboot -xen -xen-32" 0 KiB
[ebuild     U  ] dev-db/mariadb-10.2.22-r1:0/18::gentoo [10.1.37:0/18::gentoo] USE="backup bindist pam perl server (-client-libs) -cracklib -debug -extraengine -galera -innodb-lz4 -innodb-lzo -innodb-snappy -jdbc -jemalloc -kerberos -latin1 -libressl (-mroonga) -numa -odbc -oqgraph -profiling -rocksdb% (-selinux) -sphinx -sst-mariabackup -sst-rsync -sst-xtrabackup -static -systemd -systemtap -tcmalloc -test -tokudb -xml -yassl (-static-libs%)" 0 KiB
[ebuild     U  ] dev-lang/php-7.1.27:7.1::gentoo [7.1.22:7.1::gentoo] USE="acl bzip2 cgi cli crypt ctype curl fileinfo filter fpm ftp gd hash iconv imap ipv6 json mhash mysql mysqli nls opcache pdo phar posix readline session simplexml sqlite ssl tokenizer truetype unicode xml xmlwriter zip zlib -apache2 -bcmath -berkdb -calendar -cdb -cjk -coverage -debug -embed -enchant -exif (-firebird) -flatfile -gdbm -gmp -inifile -intl -iodbc -kerberos -ldap -ldap-sasl -libedit -libressl -mssql -oci8-instant-client -odbc -pcntl -phpdbg -postgres -qdbm -recode (-selinux) -session-mm -sharedmem -snmp -soap -sockets -spell -systemd -sysvipc -test -threads -tidy -wddx -webp -xmlreader -xmlrpc -xpm -xslt" 0 KiB
[ebuild     U  ] dev-lang/php-5.6.40-r1:5.6::gentoo [5.6.38:5.6::gentoo] USE="acl bzip2 cgi cli crypt ctype curl fileinfo filter fpm ftp gd hash iconv imap ipv6 json mhash mysql mysqli nls opcache pdo phar posix readline session simplexml sqlite ssl tokenizer truetype unicode xml xmlwriter zip zlib -apache2 -bcmath -berkdb -calendar -cdb -cjk -coverage -debug -embed -enchant -exif (-firebird) -flatfile -gdbm -gmp -inifile -intl -iodbc -kerberos -ldap -ldap-sasl -libedit -libmysqlclient -libressl -mssql -oci8-instant-client -odbc -pcntl -postgres -qdbm -recode (-selinux) -sharedmem -snmp -soap -sockets -spell -sybase-ct -systemd -sysvipc -threads -tidy -vpx -wddx -xmlreader -xmlrpc -xpm -xslt" 0 KiB
[ebuild     U  ] dev-lang/php-7.2.16:7.2::gentoo [7.2.10:7.2::gentoo] USE="acl bzip2 cgi cli ctype curl fileinfo filter fpm ftp gd hash iconv imap ipv6 json mhash mysql mysqli nls opcache pdo phar posix readline session simplexml sqlite ssl tokenizer truetype unicode xml xmlwriter zip zlib -apache2 -argon2 -bcmath -berkdb -calendar -cdb -cjk -coverage -debug -embed -enchant -exif (-firebird) -flatfile -gdbm -gmp -inifile -intl -iodbc -kerberos -ldap -ldap-sasl -libedit -libressl -lmdb -mssql -oci8-instant-client -odbc -pcntl -phpdbg -postgres -qdbm -recode (-selinux) -session-mm -sharedmem -snmp -soap -sockets -sodium -spell -systemd -sysvipc -test -threads -tidy -tokyocabinet -wddx -webp -xmlreader -xmlrpc -xpm -xslt -zip-encryption" 0 KiB
[ebuild   R    ] app-portage/gemato-14.0::gentoo  USE="blake2 bzip2 gpg -lzma -sha3 -test -tools" PYTHON_TARGETS="python2_7 python3_6 (-pypy) -python3_5 (-python3_7) (-python3_4%)" 0 KiB
[ebuild     U  ] app-admin/perl-cleaner-2.27::gentoo [2.25::gentoo] 0 KiB
[ebuild   R    ] app-portage/gentoolkit-0.4.2-r1::gentoo  PYTHON_TARGETS="python2_7 python3_6 (-pypy) -python3_5 (-python3_7) (-python3_4%)" 0 KiB
[ebuild   R    ] dev-php/pecl-mailparse-2.1.6-r4::gentoo  PHP_TARGETS="php5-6 php7-1 (-php7-0*)" 0 KiB
[ebuild   R    ] dev-php/pecl-mailparse-3.0.2-r1:7::gentoo  PHP_TARGETS="php5-6 php7-1 php7-2 (-php7-0*)" 0 KiB

Total: 61 packages (46 upgrades, 3 in new slots, 12 reinstalls), Size of downloads: 0 KiB


I going to upgrade gcc-8 later coming back to result.

Maybe a bug?
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22153
Location: here

PostPosted: Mon Apr 15, 2019 9:52 am    Post subject: Reply with quote

The problem at moment is that gcc-5.4 is hard masked and you should unmask and install it manually (remeber to select gcc 5 with gcc-config). After that you must follow new instruction https://www.gentoo.org/support/news-items/2015-10-22-gcc-5-new-c++11-abi.html.

Code:
 * IMPORTANT: 12 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

Read news isn't a option in gentoo.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
mike155
Veteran
Veteran


Joined: 17 Sep 2010
Posts: 1444
Location: Frankfurt, Germany

PostPosted: Mon Apr 15, 2019 10:39 am    Post subject: Reply with quote

Quote:
The problem at moment is that gcc-5.4 is hard masked and you should unmask and install it manually (remember to select gcc 5 with gcc-config).

I don't understand what you mean with 'unmask and install it'. As far as I can see, GCC 5.4, 6.4 and 7.3 are already installed - but GCC 4.9.4 is selected as the default C Compiler.
Code:
...
portage 2.3.62 (python 3.6.5-final-0, default/linux/amd64/17.0/no-multilib/hardened, gcc-4.9.4, glibc-2.27-r6, 4.9.6-gentoo-r1 x86_64)
...
sys-devel/gcc:            4.9.4::gentoo, 5.4.0-r3::gentoo, 6.4.0-r1::gentoo, 7.3.0-r3::gentoo
...

The TO could switch to GCC 5.4, 6.4 or 7.3 using 'eselect gcc list' and 'eselect gcc set <target>'.

Then there's the C++ ABI change between 4.9 and 5.4. How to handle that? Is it necessary to switch to GCC 5.4 first and do the tasks in news item? Or could the TO switch directly to GCC 7.3 and do the tasks in the news item then?

I think I would switch to GCC 7.3 and a more recent version of binutils and run 'emerge -e @world' - but that could go wrong, of course...


Last edited by mike155 on Mon Apr 15, 2019 11:09 am; edited 1 time in total
Back to top
View user's profile Send private message
Kurogane
n00b
n00b


Joined: 23 May 2010
Posts: 39

PostPosted: Mon Apr 15, 2019 11:06 am    Post subject: Reply with quote

fedeliallalinea wrote:
The problem at moment is that gcc-5.4 is hard masked and you should unmask and install it manually (remeber to select gcc 5 with gcc-config). After that you must follow new instruction https://www.gentoo.org/support/news-items/2015-10-22-gcc-5-new-c++11-abi.html.

Code:
 * IMPORTANT: 12 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

Read news isn't a option in gentoo.


You not see my point, if necessary to build nettle-3.4.1 with gcc-8 then why not upgrade first to gcc-8 then upgrade to nettle-3.4.1 and not nettle-3.4.1 then gcc-8.

mike155 wrote:
The TO could switch to GCC 5.4, 6.4 or 7.3 using 'eselect gcc list' and 'eselect gcc set <target>'.


I did not even know there was such an option 8O
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22153
Location: here

PostPosted: Mon Apr 15, 2019 5:07 pm    Post subject: Reply with quote

Kurogane wrote:
You not see my point, if necessary to build nettle-3.4.1 with gcc-8 then why not upgrade first to gcc-8 then upgrade to nettle-3.4.1 and not nettle-3.4.1 then gcc-8.

No because the transition from gcc-4 to gcc-8 isn't tested, you should at least passing to gcc-5 following the news I posted.
_________________
Questions are guaranteed in life; Answers aren't.
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