Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 196404 - app-emulation/virtualbox-1.5.0-r1 fails to build w/ linux-headers-2.6.23
Summary: app-emulation/virtualbox-1.5.0-r1 fails to build w/ linux-headers-2.6.23
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Markus Ullmann (RETIRED)
Depends on:
Reported: 2007-10-19 11:56 UTC by Thomas Capricelli
Modified: 2007-10-29 10:29 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Capricelli 2007-10-19 11:56:02 UTC
It fails with the following compilation error. I dont thing this is related to the bug #193649

kBuild: Compiling Drivers - /tmp/portage/app-emulation/virtualbox-1.5.0-r1/work/VirtualBox-1.5.0_OSE/src/VBox/Devices/Storage/DrvBlock.cpp
kBuild: Compiling Drivers - /tmp/portage/app-emulation/virtualbox-1.5.0-r1/work/VirtualBox-1.5.0_OSE/src/VBox/Devices/Storage/DrvHostBase.cpp
kBuild: Compiling Drivers - /tmp/portage/app-emulation/virtualbox-1.5.0-r1/work/VirtualBox-1.5.0_OSE/src/VBox/Devices/Storage/DrvHostDVD.cpp
kBuild: Compiling Drivers - /tmp/portage/app-emulation/virtualbox-1.5.0-r1/work/VirtualBox-1.5.0_OSE/src/VBox/Devices/Storage/DrvHostFloppy.cpp
/tmp/portage/app-emulation/virtualbox-1.5.0-r1/work/VirtualBox-1.5.0_OSE/src/VBox/Devices/Storage/DrvHostDVD.cpp: In function ‘int drvHostDvdGetMediaSize(DRVHOSTBASE*, uint64_t*)’:
/tmp/portage/app-emulation/virtualbox-1.5.0-r1/work/VirtualBox-1.5.0_OSE/src/VBox/Devices/Storage/DrvHostDVD.cpp:234: error: ‘INT_MAX’ was not declared in this scope
/tmp/portage/app-emulation/virtualbox-1.5.0-r1/work/VirtualBox-1.5.0_OSE/src/VBox/Devices/Storage/DrvHostDVD.cpp: In function ‘int drvHostDvdPoll(DRVHOSTBASE*)’:
/tmp/portage/app-emulation/virtualbox-1.5.0-r1/work/VirtualBox-1.5.0_OSE/src/VBox/Devices/Storage/DrvHostDVD.cpp:280: error: ‘INT_MAX’ was not declared in this scope
kmk[3]: *** [/tmp/portage/app-emulation/virtualbox-1.5.0-r1/work/VirtualBox-1.5.0_OSE/out/linux.amd64/release/obj/src/VBox/Devices/Drivers/Storage/DrvHostDVD.o] Error 1
The failing command:
        @g++ -c -O2 -g -Wall -pedantic -Wno-long-long -Wno-trigraphs -Wno-variadic-macros -pipe -O2  -fno-omit-frame-pointer -fno-strict-aliasing -fvisibility-inlines-hidden -fvisibility=hidden -DVBOX_HAVE_VISIBILITY_HIDDEN -fPIC -I/tmp/portage/app-emulation/virtualbox-1.5.0-r1/work/VirtualBox-1.5.0_OSE/src/VBox/Devices -I/tmp/portage/app-emulation/virtualbox-1.5.0-r1/work/VirtualBox-1.5.0_OSE/src/VBox/Devices/Network/slirp -I/tmp/portage/app-emulation/virtualbox-1.5.0-r1/work/VirtualBox-1.5.0_OSE/include -I/tmp/portage/app-emulation/virtualbox-1.5.0-r1/work/VirtualBox-1.5.0_OSE/out/linux.amd64/release -DVBOX -DVBOX_OSE -DRT_OS_LINUX -D__LINUX__ -D_FILE_OFFSET_BITS=64 -DRT_ARCH_AMD64 -D__AMD64__ -DIN_RING3 -DHC_ARCH_BITS=64 -DGC_ARCH_BITS=32 -DPIC -DIN_IDE_R3 -DVBOX_WITH_ALSA -Wp,-MD,/tmp/portage/app-emulation/virtualbox-1.5.0-r1/work/VirtualBox-1.5.0_OSE/out/linux.amd64/release/obj/src/VBox/Devices/Drivers/Storage/DrvHostDVD.o.dep -Wp,-MT,/tmp/portage/app-emulation/virtualbox-1.5.0-r1/work/VirtualBox-1.5.0_OSE/out/linux.amd64/release/obj/src/VBox/Devices/Drivers/Storage/DrvHostDVD.o -Wp,-MP -o /tmp/portage/app-emulation/virtualbox-1.5.0-r1/work/VirtualBox-1.5.0_OSE/out/linux.amd64/release/obj/src/VBox/Devices/Drivers/Storage/DrvHostDVD.o /tmp/portage/app-emulation/virtualbox-1.5.0-r1/work/VirtualBox-1.5.0_OSE/src/VBox/Devices/Storage/DrvHostDVD.cpp
kmk[3]: *** Waiting for unfinished jobs....
kmk[3]: Leaving directory `/tmp/portage/app-emulation/virtualbox-1.5.0-r1/work/VirtualBox-1.5.0_OSE/src/VBox/Devices'
kmk[2]: *** [pass_libraries_before] Error 2
kmk[2]: Leaving directory `/tmp/portage/app-emulation/virtualbox-1.5.0-r1/work/VirtualBox-1.5.0_OSE/src/VBox'
kmk[1]: *** [pass_libraries_before] Error 2
kmk[1]: Leaving directory `/tmp/portage/app-emulation/virtualbox-1.5.0-r1/work/VirtualBox-1.5.0_OSE/src'
kmk: *** [pass_libraries_before] Error 2
 * ERROR: app-emulation/virtualbox-1.5.0-r1 failed.
 * Call stack:
 *          , line 1695:  Called dyn_compile
 *          , line 1033:  Called qa_call 'src_compile'
 *          , line   44:  Called src_compile
 *   virtualbox-1.5.0-r1.ebuild, line   72:  Called die
 * The specific snippet of code:
 *      MAKE="kmk" emake TOOL_GCC3_CC="$(tc-getCC)" TOOL_GCC3_CXX="$(tc-getCXX)" \
 *              TOOL_GCC3_AS="$(tc-getCC)" TOOL_GCC3_AR="$(tc-getAR)" \
 *              TOOL_GCC3_LD="$(tc-getCXX)" TOOL_GCC3_LD_SYSMOD="$(tc-getLD)" \
 *              all || die "kmk failed"
 *  The die message:
 *   kmk failed
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/tmp/portage/app-emulation/virtualbox-1.5.0-r1/temp/build.log'.

Reproducible: Always

emerge info

Portage (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22 x86_64)
System uname: 2.6.22 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Timestamp of tree: Thu, 18 Oct 2007 08:50:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.2-r1
dev-lang/python:     2.4.4-r5, 2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-devel/autoconf:  2.13, 2.61-r1
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.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23
ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-march=k8 -O3 -pipe"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3.svn/share/config /usr/kde/4.svn/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O3 -pipe"
FEATURES="distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
LINGUAS="en fr it"
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 --filter=H_**/files/digest-*"
PORTDIR_OVERLAY="/usr/portage/local/layman/gnustep /usr/portage-fh /var/portage/overlays/demexp"
USE="3dnow 3dnowext X a52 aac acl alsa amd64 arts berkdb bidi bitmap-fonts browserplugin bzip2 cairo cdda cdio cli cracklib crypt cups dbus dga divx4linux djvu dri dssi dts dv dvb dvd dvdread edl encode exif fam fbcon fbdev ffmpeg fftw flac font-server fortran freebox freetype gdbm gif glitz gnutls gpm gtk hal httpd iconv ilbc imap innodb ipv6 isdnlog jabber java jpeg jpeg2k kde kdrive lame live lm_sensors lua mad matroska midi mmx mmxext mng mozilla mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin nvidia obj-gc objc objc++ ogg oggvorbis opengl openmp pam pcre pdf perl perlsuid pic png pppd python qt3 qt4 quicktime readline reflection rtc rtsp samba sasl sdl session speex spl sqlite3 sse sse2 ssl stream svg tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd vim-syntax vlm vorbis wifi wmf wxwindows x264 xcb xcomposite xine xinerama xorg xv xvid xvmc zeroconf zlib zrtp" 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" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en fr it" USERLAND="GNU" VIDEO_CARDS="vga vesa"
Comment 1 Markus Ullmann (RETIRED) gentoo-dev 2007-10-22 22:26:41 UTC
should be gone in 1.5.2, please retry
Comment 2 DrChandra the Gentoo Person 2007-10-28 23:25:47 UTC
(In reply to comment #1)
I still se it in 1.5.2, with 2.6.23 headers. Same INT_MAX error.
Comment 3 DrChandra the Gentoo Person 2007-10-28 23:29:10 UTC
(In reply to comment #2)
> I still se it in 1.5.2, with 2.6.23 headers. Same INT_MAX error.
Eh, retract that. eix is showing me 1.5.2, but the emerge was 1.5.0-r1.
Comment 4 DrChandra the Gentoo Person 2007-10-29 00:31:43 UTC
I owe you a result after that ^^. 1.5.2 compiles and runs fine for me.
Comment 5 Markus Ullmann (RETIRED) gentoo-dev 2007-10-29 10:29:02 UTC
k', thanks for the report :)