Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Failed to emerge Virtualbox
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
Fulgurance
Guru
Guru


Joined: 15 Feb 2017
Posts: 405

PostPosted: Fri May 25, 2018 4:56 pm    Post subject: [Solved] Failed to emerge Virtualbox Reply with quote

Hello, i would like to emerge lastest version of virtualbox, but i have an error:

Emerge info:
Code:
zohran@msi-gs73vr-6rf ~ $ emerge --info
Portage 2.3.39 (python 3.5.5-final-0, hardened/linux/amd64/selinux, gcc-7.3.0, glibc-2.26-r7, 4.16.11-gentoo x86_64)
=================================================================
System uname: Linux-4.16.11-gentoo-x86_64-Intel-R-_Core-TM-_i7-6700HQ_CPU_@_2.60GHz-with-gentoo-2.5
KiB Mem:    16309484 total,  11814252 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Fri, 25 May 2018 14:00:01 +0000
Head commit of repository gentoo: 5aba6790b2be028415d93da4bf9f47a31ba0a96b
sh bash 4.4_p19
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash:          4.4_p19::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.14-r2::gentoo, 3.5.5-r1::gentoo
dev-util/cmake:           3.11.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.5-r1::gentoo
sys-apps/openrc:          0.35.5::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.15.1-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo, 2.30-r2::gentoo
sys-devel/gcc:            6.4.0-r1::gentoo, 7.3.0-r3::gentoo
sys-devel/gcc-config:     1.9.1::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r3::gentoo
sys-kernel/linux-headers: 4.16-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r7::gentoo
Repositories:

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

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=skylake -O2 -pipe -mmovbe -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mpopcnt -mavx -mavx2 -maes -mpclmul -mfsgsbase -mrdrnd -mfma -mbmi -mbmi2 -mf16c -mrdseed -madx -mprefetchwt1 -mclflushopt -mxsavec -mxsaves"
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="-march=skylake -O2 -pipe -mmovbe -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mpopcnt -mavx -mavx2 -maes -mpclmul -mfsgsbase -mrdrnd -mfma -mbmi -mbmi2 -mf16c -mrdseed -madx -mprefetchwt1 -mclflushopt -mxsavec -mxsaves"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY 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="-march=skylake -O2 -pipe -mmovbe -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mpopcnt -mavx -mavx2 -maes -mpclmul -mfsgsbase -mrdrnd -mfma -mbmi -mbmi2 -mf16c -mrdseed -madx -mprefetchwt1 -mclflushopt -mxsavec -mxsaves"
FEATURES="assume-digests binpkg-logs candy config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox selinux sesandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=skylake -O2 -pipe -mmovbe -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mpopcnt -mavx -mavx2 -maes -mpclmul -mfsgsbase -mrdrnd -mfma -mbmi -mbmi2 -mf16c -mrdseed -madx -mprefetchwt1 -mclflushopt -mxsavec -mxsaves"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ http://gentoo.modulix.net/gentoo/ http://gentoo.mirrors.ovh.net/gentoo-distfiles/ ftp://gentoo.mirrors.ovh.net/gentoo-distfiles/ http://mirrors.soeasyto.com/distfiles.gentoo.org/ ftp://mirrors.soeasyto.com/distfiles.gentoo.org/"
LANG="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="fr fr_FR"
MAKEOPTS="-j9"
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 berkdb bzip2 cli crypt cxx dri gdbm hardened iconv ipv6 modules multilib ncurses nls nptl openmp pam pcre pie readline seccomp selinux ssl ssp tcpd unicode urandom xattr xtpax zlib" ABI_X86="32 64" ALSA_CARDS="hda-intel" 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 plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" L10N="fr fr-FR" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="intel i965 nvidia" 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, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Log:

Code:
In file included from /var/tmp/portage/app-emulation/virtualbox-5.2.12/work/VirtualBox-5.2.12/out/linux.amd64/release/obj/webservice/soapStub.h:18:0,
                 from /var/tmp/portage/app-emulation/virtualbox-5.2.12/work/VirtualBox-5.2.12/out/linux.amd64/release/obj/webservice/soapH.h:16,
                 from /var/tmp/portage/app-emulation/virtualbox-5.2.12/work/VirtualBox-5.2.12/out/linux.amd64/release/obj/webservice/soapServer.cpp:18:
/usr/include/stdsoap2.h:732:13: fatal error: xlocale.h: No such file or directory
 #   include <xlocale.h>
             ^~~~~~~~~~~
compilation terminated.
kmk: *** [/var/tmp/portage/app-emulation/virtualbox-5.2.12/work/VirtualBox-5.2.12/out/linux.amd64/release/obj/vboxwebsrv/gen/webservice/soapServer.o] Error 1
kmk: *** Waiting for unfinished jobs....
kmk_builtin_append -n "/var/tmp/portage/app-emulation/virtualbox-5.2.12/work/VirtualBox-5.2.12/out/linux.amd64/release/obj/VBoxCOM/glue/ErrorInfo.o.dep" "" "/var/tmp/portage/app-emulation/virtualbox-5.2.12/work/VirtualBox-5.2.12/src/VBox/Main/glue/ErrorInfo.cpp:" ""
In file included from /var/tmp/portage/app-emulation/virtualbox-5.2.12/work/VirtualBox-5.2.12/out/linux.amd64/release/obj/webservice/soapStub.h:18:0,
                 from /var/tmp/portage/app-emulation/virtualbox-5.2.12/work/VirtualBox-5.2.12/out/linux.amd64/release/obj/webservice/soapH.h:16,
                 from /var/tmp/portage/app-emulation/virtualbox-5.2.12/work/VirtualBox-5.2.12/out/linux.amd64/release/obj/webservice/methodmaps.cpp:23:
/usr/include/stdsoap2.h:732:13: fatal error: xlocale.h: No such file or directory
 #   include <xlocale.h>
             ^~~~~~~~~~~
compilation terminated.
kmk: *** [/var/tmp/portage/app-emulation/virtualbox-5.2.12/work/VirtualBox-5.2.12/out/linux.amd64/release/obj/vboxwebsrv/gen/webservice/methodmaps.o] Error 1
In file included from /var/tmp/portage/app-emulation/virtualbox-5.2.12/work/VirtualBox-5.2.12/out/linux.amd64/release/obj/webservice/soapStub.h:18:0,
                 from /var/tmp/portage/app-emulation/virtualbox-5.2.12/work/VirtualBox-5.2.12/out/linux.amd64/release/obj/webservice/soapH.h:16,
                 from /var/tmp/portage/app-emulation/virtualbox-5.2.12/work/VirtualBox-5.2.12/src/VBox/Main/webservice/vboxweb.cpp:70:
/usr/include/stdsoap2.h:732:13: fatal error: xlocale.h: No such file or directory
 #   include <xlocale.h>
             ^~~~~~~~~~~
compilation terminated.
kmk: *** [/var/tmp/portage/app-emulation/virtualbox-5.2.12/work/VirtualBox-5.2.12/out/linux.amd64/release/obj/vboxwebsrv/vboxweb.o] Error 1
kmk_builtin_append -n "/var/tmp/portage/app-emulation/virtualbox-5.2.12/work/VirtualBox-5.2.12/out/linux.amd64/release/obj/VBoxCOM/glue/AutoLock.o.dep" "" "/var/tmp/portage/app-emulation/virtualbox-5.2.12/work/VirtualBox-5.2.12/src/VBox/Main/glue/AutoLock.cpp:" ""
kmk_builtin_append -n "/var/tmp/portage/app-emulation/virtualbox-5.2.12/work/VirtualBox-5.2.12/out/linux.amd64/release/obj/VBoxCOM/glue/errorprint.o.dep" "" "/var/tmp/portage/app-emulation/virtualbox-5.2.12/work/VirtualBox-5.2.12/src/VBox/Main/glue/errorprint.cpp:" ""
kmk_builtin_append -n "/var/tmp/portage/app-emulation/virtualbox-5.2.12/work/VirtualBox-5.2.12/out/linux.amd64/release/obj/VBoxManage/VBoxManageInfo.o.dep" "" "/var/tmp/portage/app-emulation/virtualbox-5.2.12/work/VirtualBox-5.2.12/src/VBox/Frontends/VBoxManage/VBoxManageInfo.cpp:" ""
4 warnings
/usr/bin/kmk_sed -e "s/vboxweb.wsdl/vboxweb_5_2.wsdl/" <  /var/tmp/portage/app-emulation/virtualbox-5.2.12/work/VirtualBox-5.2.12/out/linux.amd64/release/obj/webservice/vboxwebService.wsdl > /var/tmp/portage/app-emulation/virtualbox-5.2.12/work/VirtualBox-5.2.12/out/linux.amd64/release/obj/vboxjws-gen/jdest/vboxwebService_5_2.wsdl
kmk_builtin_cp -f /var/tmp/portage/app-emulation/virtualbox-5.2.12/work/VirtualBox-5.2.12/out/linux.amd64/release/obj/webservice/vboxweb.wsdl /var/tmp/portage/app-emulation/virtualbox-5.2.12/work/VirtualBox-5.2.12/out/linux.amd64/release/obj/vboxjws-gen/jdest/vboxweb_5_2.wsdl
  LD vboxjws.jar
"/opt/icedtea-bin-3.7.0/bin/jar" cfm /var/tmp/portage/app-emulation/virtualbox-5.2.12/work/VirtualBox-5.2.12/out/linux.amd64/release/obj/VBoxJWs-inst-jar/vboxjws.jar /var/tmp/portage/app-emulation/virtualbox-5.2.12/work/VirtualBox-5.2.12/out/linux.amd64/release/obj/vboxjws-gen/jwsgen/MANIFEST.MF -C /var/tmp/portage/app-emulation/virtualbox-5.2.12/work/VirtualBox-5.2.12/out/linux.amd64/release/obj/vboxjws-gen/jdest .
kmk_builtin_append -n "/var/tmp/portage/app-emulation/virtualbox-5.2.12/work/VirtualBox-5.2.12/out/linux.amd64/release/obj/VBoxManage/VBoxManageModifyVM.o.dep" "" "/var/tmp/portage/app-emulation/virtualbox-5.2.12/work/VirtualBox-5.2.12/src/VBox/Frontends/VBoxManage/VBoxManageModifyVM.cpp:" ""
kmk: *** Exiting with status 2
 * ERROR: app-emulation/virtualbox-5.2.12::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=app-emulation/virtualbox-5.2.12::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/virtualbox-5.2.12::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-emulation/virtualbox-5.2.12/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/virtualbox-5.2.12/temp/environment'.
 * Working directory: '/var/tmp/portage/app-emulation/virtualbox-5.2.12/work/VirtualBox-5.2.12'
 * S: '/var/tmp/portage/app-emulation/virtualbox-5.2.12/work/VirtualBox-5.2.12'
!!! When you file a bug report, please include the following information:
GENTOO_VM=icedtea-bin-8  CLASSPATH="" JAVA_HOME="/opt/icedtea-bin-3.7.0"
JAVACFLAGS="-source 1.6 -target 1.6" COMPILER=""
and of course, the output of emerge --info =virtualbox-5.2.12

>>> Failed to emerge app-emulation/virtualbox-5.2.12, Log file:

>>>  '/var/tmp/portage/app-emulation/virtualbox-5.2.12/temp/build.log'

 * Messages for package app-emulation/virtualbox-5.2.12:

 * ERROR: app-emulation/virtualbox-5.2.12::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=app-emulation/virtualbox-5.2.12::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/virtualbox-5.2.12::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-emulation/virtualbox-5.2.12/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/virtualbox-5.2.12/temp/environment'.
 * Working directory: '/var/tmp/portage/app-emulation/virtualbox-5.2.12/work/VirtualBox-5.2.12'
 * S: '/var/tmp/portage/app-emulation/virtualbox-5.2.12/work/VirtualBox-5.2.12'


I would like to use wgetpaste but i have strange error ...

Code:
zohran@msi-gs73vr-6rf ~ $ sudo wgetpaste /var/tmp/portage/app-emulation/virtualbox-5.2.12/temp/build.log
Apparently nothing was received. Perhaps the connection failed. Enable --verbose or
--debug to get the output from wget that can help diagnose it correctly.
zohran@msi-gs73vr-6rf ~ $ sudo wgetpaste --verbose /var/tmp/portage/app-emulation/virtualbox-5.2.12/temp/build.log
Apparently nothing was received. Perhaps the connection failed.
--2018-05-25 18:57:37--  https://paste.pound-python.org/
Resolving paste.pound-python.org... 173.255.203.121, ::173.255.203.121
Connecting to paste.pound-python.org|173.255.203.121|:443... connected.
HTTP request sent, awaiting response... 413 Request Entity Too Large
2018-05-25 18:57:57 ERROR 413: Request Entity Too Large.
zohran@msi-gs73vr-6rf ~ $ sudo wgetpaste --debug /var/tmp/portage/app-emulation/virtualbox-5.2.12/tem
+ DEBUG=0
+ shift
+ [[ -n /var/tmp/portage/app-emulation/virtualbox-5.2.12/tem ]]
+ case "$1" in
+ ARGS[${#ARGS[*]}]=/var/tmp/portage/app-emulation/virtualbox-5.2.12/tem
+ shift
+ [[ -n '' ]]
+ set -- /var/tmp/portage/app-emulation/virtualbox-5.2.12/tem
+ [[ -n /var/tmp/portage/app-emulation/virtualbox-5.2.12/tem ]]
+ (( args=1 ))
+ case "$1" in
+ getfilenames /var/tmp/portage/app-emulation/virtualbox-5.2.12/tem
+ for f in "$@"
+ [[ -f /var/tmp/portage/app-emulation/virtualbox-5.2.12/tem ]]
+ die '/usr/bin/wgetpaste: /var/tmp/portage/app-emulation/virtualbox-5.2.12/tem No such file found.'
+ echo '/usr/bin/wgetpaste: /var/tmp/portage/app-emulation/virtualbox-5.2.12/tem No such file found.'
/usr/bin/wgetpaste: /var/tmp/portage/app-emulation/virtualbox-5.2.12/tem No such file found.
+ exit 1


Last edited by Fulgurance on Sat May 26, 2018 11:06 am; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 19602
Location: here

PostPosted: Fri May 25, 2018 7:40 pm    Post subject: Reply with quote

It's a glibc 2.26 problem because has removed xlocale.h.
The better solution would be to change xlocale.h with locale.h (or checking glibc version like this).
As workaround you can try this solution
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Fulgurance
Guru
Guru


Joined: 15 Feb 2017
Posts: 405

PostPosted: Sat May 26, 2018 11:07 am    Post subject: Reply with quote

Its good, thanks !
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