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: * ebuild.sh, line 1695: Called dyn_compile * ebuild.sh, line 1033: Called qa_call 'src_compile' * ebuild.sh, 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)" \ * TOOL_GCC3_CFLAGS="${CFLAGS}" TOOL_GCC3_CXXFLAGS="${CXXFLAGS}" \ * 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 2.1.3.14 (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-apps/sandbox: 1.2.18.1 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" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O3 -pipe" CHOST="x86_64-pc-linux-gnu" 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" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org http://gentoo.tiscali.nl/ http://ftp.ntua.gr/pub/linux/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://gentoo.intergenia.de" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LINGUAS="en fr it" MAKEOPTS="-j 3" 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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/gnustep /usr/portage-fh /var/portage/overlays/demexp" SYNC="rsync://gentoo.freehackers.org/gentoo-portage" 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" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
should be gone in 1.5.2, please retry
(In reply to comment #1) I still se it in 1.5.2, with 2.6.23 headers. Same INT_MAX error.
(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.
I owe you a result after that ^^. 1.5.2 compiles and runs fine for me.
k', thanks for the report :)