Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 639594 - app-emulation/virtualbox-guest-additions-5.1.30 fails to build
Summary: app-emulation/virtualbox-guest-additions-5.1.30 fails to build
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-03 10:50 UTC by Pacho Ramos
Modified: 2018-10-31 15:40 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log.gz (virtualbox-guest-additions-5.1.30:20171203-104544.log.gz,178.98 KB, application/gzip)
2017-12-03 10:50 UTC, Pacho Ramos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2017-12-03 10:50:25 UTC
Created attachment 507872 [details]
build.log.gz

/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.1.30/work/vboxvideo/vbox_drv.c:329:12: error: implicit declaration of function 'drm_pci_init' [-Werror=implicit-function-declaration]
     return drm_pci_init(&driver, &vbox_pci_driver);
            ^~~~~~~~~~~~
/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.1.30/work/vboxvideo/vbox_drv.c: In function 'vbox_exit':
/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.1.30/work/vboxvideo/vbox_drv.c:333:5: error: implicit declaration of function 'drm_pci_exit' [-Werror=implicit-function-declaration]
     drm_pci_exit(&driver, &vbox_pci_driver);
     ^~~~~~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:314: /var/tmp/portage/app-emulation/virtualbox-guest-additions-5.1.30/work/vboxvideo/vbox_drv.o] Error 1
/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.1.30/work/vboxvideo/vbox_fb.c:399:5: error: unknown field 'gamma_set' specified in initializer
     .gamma_set = vbox_fb_gamma_set,
     ^
/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.1.30/work/vboxvideo/vbox_fb.c:399:18: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
     .gamma_set = vbox_fb_gamma_set,
                  ^~~~~~~~~~~~~~~~~
/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.1.30/work/vboxvideo/vbox_fb.c:399:18: note: (near initialization for 'vbox_fb_helper_funcs.fb_probe')
/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.1.30/work/vboxvideo/vbox_fb.c:400:5: error: unknown field 'gamma_get' specified in initializer
     .gamma_get = vbox_fb_gamma_get,
     ^
/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.1.30/work/vboxvideo/vbox_fb.c:400:18: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
     .gamma_get = vbox_fb_gamma_get,
                  ^~~~~~~~~~~~~~~~~
/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.1.30/work/vboxvideo/vbox_fb.c:400:18: note: (near initialization for 'vbox_fb_helper_funcs.initial_config')
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:314: /var/tmp/portage/app-emulation/virtualbox-guest-additions-5.1.30/work/vboxvideo/vbox_fb.o] Error 1
make[1]: *** [Makefile:1503: _module_/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.1.30/work/vboxvideo] Error 2
make[1]: Leaving directory '/usr/src/linux-4.14.3-gentoo'
make: *** [/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.1.30/work/vboxvideo/Makefile.include.footer:85: vboxvideo] Error 2

Portage 2.3.16 (python 3.6.3-final-0, default/linux/amd64/17.0/desktop/gnome/systemd, gcc-6.4.0, glibc-2.25-r9, 4.13.11-gentoo x86_64)
=================================================================
System uname: Linux-4.13.11-gentoo-x86_64-Intel-R-_Core-TM-_i7-7700HQ_CPU_@_2.80GHz-with-gentoo-2.4.1
KiB Mem:    16138708 total,   1498716 free
KiB Swap:    5240828 total,   3293104 free
Timestamp of repository gentoo: Sat, 02 Dec 2017 16:30:01 +0000
Head commit of repository gentoo: df59470b1db4002e04bcf2f347a5b8c74b733a0e
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1
ccache version 3.2.4 [enabled]
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14::gentoo, 3.4.5::gentoo, 3.5.4-r1::gentoo, 3.6.3-r1::gentoo
dev-util/ccache:          3.2.4::gentoo
dev-util/cmake:           3.8.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.28.1::gentoo, 2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r9::gentoo
Repositories:

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

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

ago
    location: /hdd/portage/local/layman/ago
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -fno-stack-protector"
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/chromium/policies/managed/chrome-gnome-shell.json /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/opt/chrome/policies/managed/chrome-gnome-shell.json /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=native -fno-stack-protector"
DISTDIR="/hdd/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n --autounmask-write --keep-going"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache cgroup compress-build-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms sign split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.heanet.ie/pub/gentoo/"
LANG="es_ES.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
MAKEOPTS="-j9"
PKGDIR="/hdd/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 applet avahi avx avx256 bash-completion berkdb bluetooth branding bzip2 cairo ccache cdda cddb cdr chm cli colord cracklib crypt cups cvs cxx dbus djvu dri dts dvd dvdr dvi ebook eds emboss enchant encode evo exif fam fat ffmpeg firefox flac fortran fuse gdbm gif git glamor gnome gnome-keyring gnome-online-accounts google googledrive gphoto2 gpm gromacs gstreamer gtk gtk3 gtkstyle hfs http iconv infinality introspection ios irc jabber jpeg kpathsea latex lcms ldap libass libnotify libsecret libvisual lyx mad mms mmx mmxext mng mobi modules monolithic-build mp3 mp4 mpeg mtp multilib musicbrainz nautilus ncurses network-cron networkmanager nls nptl ntfs ntp numa nvidia offensive ogg opengl openmp optimized-qmake pam pango pch pdf pdfimport png policykit ppds pulseaudio qt3support qt4 qt5 readline reiserfs scanner sdl seccomp sendto session smp sna snmp spell squashfs sse sse2 sse3 sse4 sse4_1 ssl ssse3 startup-notification svg systemd t1lib tcpd test theora threads tiff tracker truetype udev udisks unicode upnp upnp-av upower usb v4l vaapi vala vcd vdpau vlc vorbis wifi wxwidgets x264 x265 xattr xcb xfs xml xmpp xv xvid youtube zeroconf zlib" ABI_X86="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="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext 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" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" L10N="es es-ES en en-US fr fr-FR" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="es es_ES en en_US fr fr_FR" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5 python3_6" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="fbdev vesa intel i965 nouveau" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Marco Genasci 2017-12-03 12:42:03 UTC
Upstream bug https://www.virtualbox.org/ticket/17080
It seems fixed in 5.2 version
Comment 2 Ben Kohler gentoo-dev 2018-10-31 15:40:44 UTC
Please reopen if this still affects 5.2.x