Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xf86-video-virtualbox emake failed
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
chi86
Apprentice
Apprentice


Joined: 30 Jul 2013
Posts: 164
Location: Austria

PostPosted: Mon Apr 25, 2016 8:57 am    Post subject: xf86-video-virtualbox emake failed Reply with quote

Hi,
I just moved to the new released kernel (4.4.6) and when I did:
Code:
emerge @module-rebuild


The package "x11-drivers/xf86-video-virtualbox-4.3.32::gentoo" failed with:
Code:

...
 char *strreplace(char *s, char old, char new);
                                          ^
kmk_builtin_append -n "/var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.3.32/work/VirtualBox-4.3.32/out/linux.amd64/release/obj/RuntimeGuestR3Shared/r3/posix/semmutex-posix.o.dep" "" "r3/posix/semmutex-posix.cpp:" ""
kmk: *** [/var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.3.32/work/VirtualBox-4.3.32/out/linux.amd64/release/obj/RuntimeGuestR0/common/alloc/heapsimple.o] Error 1
In file included from /var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.3.32/work/VirtualBox-4.3.32/include/iprt/string.h:36:0,
                 from /var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.3.32/work/VirtualBox-4.3.32/src/VBox/Runtime/common/checksum/alt-md5.cpp:54:
/lib/modules/4.4.6-gentoo/build/include/linux/string.h:117:42: error: expected ',' or '...' before 'new'
 char *strreplace(char *s, char old, char new);
                                          ^
kmk: *** [/var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.3.32/work/VirtualBox-4.3.32/out/linux.amd64/release/obj/RuntimeGuestR0/common/alloc/heapoffset.o] Error 1
kmk_builtin_append -n "/var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.3.32/work/VirtualBox-4.3.32/out/linux.amd64/release/obj/RuntimeGuestR0/common/checksum/crc32.o.dep" "" "common/checksum/crc32.cpp:" ""
kmk: *** [/var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.3.32/work/VirtualBox-4.3.32/out/linux.amd64/release/obj/RuntimeGuestR0/common/checksum/alt-md5.o] Error 1
kmk_builtin_append -n "/var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.3.32/work/VirtualBox-4.3.32/out/linux.amd64/release/obj/RuntimeGuestR0/common/checksum/crc64.o.dep" "" "common/checksum/crc64.cpp:" ""
kmk_builtin_append -n "/var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.3.32/work/VirtualBox-4.3.32/out/linux.amd64/release/obj/RuntimeGuestR0/common/checksum/ipv4.o.dep" "" "common/checksum/ipv4.cpp:" ""
kmk: *** Exiting with status 2
 * ERROR: x11-drivers/xf86-video-virtualbox-4.3.32::gentoo failed (compile phase):
 *   emake failed


My "emerge --info":
Code:

Portage 2.2.26 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop, gcc-4.9.3, glibc-2.22
-r4, 4.4.6-gentoo x86_64)
=================================================================
System uname: Linux-4.4.6-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_960_@_3.20GHz-with-gentoo-2.
2
KiB Mem:    24680792 total,  20117232 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Mon, 25 Apr 2016 06:30:01 +0000
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r1::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.4.3-r1::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.19.1::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r4::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /e
tc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=corei7 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlaf
iles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknow
n-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.iso88591"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compr
ess --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles
 --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 apache2 berkdb bindist bitmap-fonts bluetooth branding bzi
p2 cairo cdda cdr cleartype cli consolekit corefonts cracklib crypt cups cxx dbus dri dts dvd
 dvdr emboss encode exif fam firefox flac fortran gdbm gif git glamor gpm gtk gtk3 gzip iconv
 ipv6 jpeg lcms ldap libnotify mad mikmod mmx mmxext mng modules mp3 mp4 mpeg mulitilib multi
lib ncurses nls nptl nsplugin ogg opengl openmp openmpi pam pango pcre pdf png policykit ppds
 pulseaudio qt3support qt4 readline scanner sdl seccomp session spell sse sse2 ssl startup-no
tification subversion svg tcpd threads tiff truetype type1 udev udisks unicode upower usb vim
-syntax vorbis wxwidgets x264 xattr xcb xml xv xvid 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" APACHE
2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias aut
hn_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 e
nv 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_alia
s" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author"
 CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS
_X86="mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="asht
ech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom o
ceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox
 ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk
 hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console present
er-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="
python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" V
IDEO_CARDS="nouveau" XFCE_PLUGINS="brightness clock trash" XTABLES_ADDONS="quota2 psd pknock
lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawn
at logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP
2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


And the whole error:
https://bpaste.net/show/22b470b1da54


I already tried to build the kernel new and started with the ned kernel but the same outcome!

Any ideas what I did wrong?
Back to top
View user's profile Send private message
trjkl
n00b
n00b


Joined: 30 May 2016
Posts: 3

PostPosted: Sun Jun 05, 2016 7:18 pm    Post subject: Reply with quote

Did you get this working? I've got the same error message
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 21356
Location: here

PostPosted: Sun Jun 05, 2016 7:40 pm    Post subject: Reply with quote

trjkl wrote:
Did you get this working? I've got the same error message

There is another thread for this problem, you can see here
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
C5ace
Apprentice
Apprentice


Joined: 23 Dec 2013
Posts: 266
Location: Brisbane, Australia

PostPosted: Mon Jun 06, 2016 11:37 am    Post subject: Reply with quote

This may solve your problem:

https://forums.gentoo.org/viewtopic-t-1043660-highlight-.html

good luck
C5ace
Back to top
View user's profile Send private message
trjkl
n00b
n00b


Joined: 30 May 2016
Posts: 3

PostPosted: Mon Jun 06, 2016 8:17 pm    Post subject: Reply with quote

C5ace wrote:
This may solve your problem:

https://forums.gentoo.org/viewtopic-t-1043660-highlight-.html


Ok, it now compiles without error, thanks.
Interested in knowing if that's a bug in string.h or an issue in how xf86-video-virtualbox is trying to use it ?

EDIT
this makes it clear
https://bugs.gentoo.org/show_bug.cgi?id=582132
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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