Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 162339 - app-emulation/virtualbox-9999 doesn't compile (with gcc-4.1.1-r3)
Summary: app-emulation/virtualbox-9999 doesn't compile (with gcc-4.1.1-r3)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Markus Ullmann (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-16 10:27 UTC by Helmut Jarausch
Modified: 2007-01-18 12:48 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Jarausch 2007-01-16 10:27:24 UTC
emerge app-emulation/virtualbox fails when compiling virtualbox itself.
I get
Entering directory `/var/tmp/portage/app-emulation/virtualbox-9999/work/virtualbox-9999/src/VBox/Frontends/VirtualBox'
/var/tmp/portage/app-emulation/virtualbox-9999/work/virtualbox-9999/kBuild/gnumake-header.kmk:33: kBuild: Using vanilla GNU make isn't safe for anything but kBuild bootstrapping!
kBuild: Compiling /var/tmp/portage/app-emulation/virtualbox-9999/work/virtualbox-9999/out/linux.x86/release/obj/src/VBox/Frontends/VirtualBox/VirtualBox/moc/moc_VBoxGlobal.cpp
/var/tmp/portage/app-emulation/virtualbox-9999/work/virtualbox-9999/out/linux.x86/release/obj/src/VBox/Frontends/VirtualBox/VirtualBox/include/COMWrappers.h:2150: error: 'int32_t CNetworkAdapter::GetTAPFileDescriptor() const' cannot be overloaded


Reproducible: Always




emerge --info
Portage 2.1.2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r4 i686)
=================================================================
System uname: 2.6.18-gentoo-r4 i686 Intel(R) Pentium(R) III CPU family      1266MHz
Gentoo Base System version 1.12.6
Timestamp of tree: Tue, 16 Jan 2007 07:20:01 +0000
ccache version 2.4 [disabled]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r1, 2.5-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.18
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo "
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.informatik.RWTH-Aachen.de/gentoo-portage"
USE="X berkdb bitmap-fonts cdr cli cracklib crypt cups dlloader doc dri dvd fortran gcj gdbm gnome gpm gtk gtk2 iconv ipv6 isdnlog jpeg kde libg++ ncurses nls nptl nptlonly opengl pam pcre pdf perl png ppds pppd python qt readline reflection session spl ssl svg tcl tcpd tetex tiff tk truetype-fonts type1-fonts udev unicode x86 xorg zlib" 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" USERLAND="GNU" VIDEO_CARDS="nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS

8 #
Comment 1 Thomas Fischer 2007-01-16 11:38:54 UTC
I can confirm this problem, happens to my two boxes, too.
The file COMWrappers.h is generated by some xslt processing. It contains multiple declarations for the same function due to duplicate #if constructs:

#if !defined (Q_WS_WIN32)
    LONG GetTAPFileDescriptor () const;
    void SetTAPFileDescriptor (LONG a_TAPFileDescriptor);
#endif
#if !defined (Q_WS_WIN32)
    LONG GetTAPFileDescriptor () const;
    void SetTAPFileDescriptor (LONG a_TAPFileDescriptor);
#endif
...
Comment 2 Markus Ullmann (RETIRED) gentoo-dev 2007-01-16 20:42:15 UTC
hrm which libxslt do you use? seems .19 causes some trouble here as well
Comment 3 Markus Ullmann (RETIRED) gentoo-dev 2007-01-16 20:43:49 UTC
err, I meant .17 causes trouble, .19 works fine
Comment 4 Helmut Jarausch 2007-01-17 11:11:25 UTC
(In reply to comment #3)
> err, I meant .17 causes trouble, .19 works fine
> 

Yes, upgrading to 1.1.19 fixed the problem. So, please unmask 
dev-libs/libxslt-1.1.19
Comment 5 Christian Faulhammer (RETIRED) gentoo-dev 2007-01-18 12:48:47 UTC
I say FIXED.  virtualbox is hard masked, the dependency has been fixed, so it is ok.