Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 281973 - app-emulation/virtualbox-ose-3.0.4 fails to compile
Summary: app-emulation/virtualbox-ose-3.0.4 fails to compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-18 21:40 UTC by Nico Baggus
Modified: 2009-08-19 08:24 UTC (History)
0 users

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 Nico Baggus 2009-08-18 21:40:43 UTC
Last relevant part of the ebuild log. The build stop while compiling {T}/webservice/soapC-3.cpp.

-------
emulation/virtualbox-ose-3.0.4/work/VirtualBox-3.0.4_OSE/out/linux.amd64/release/obj/webservice/demo_namespacemaps
kmk_builtin_append /var/tmp/portage/app-emulation/virtualbox-ose-3.0.4/work/VirtualBox-3.0.4_OSE/out/linux.amd64/release/obj/webservice/gsoap_copy_all_ts done
info: soapC-1.cpp
info: soapC-2.cpp
info: soapC-3.cpp
info: soapC-4.cpp
info: soapC-5.cpp
info: soapC-6.cpp
info: soapC-7.cpp
info: soapC-8.cpp
info: soapC-9.cpp
info: soapC-10.cpp
info: soapC-11.cpp
info: soapC-12.cpp
info: soapC-13.cpp
info: soapC-14.cpp
info: soapC-15.cpp
info: soapC-16.cpp
info: soapC-17.cpp
info: soapC-18.cpp
info: soapC-19.cpp
info: soapC-20.cpp
  CXX     vboxsoap - {T}/webservice/soapC-1.cpp
  CXX     vboxsoap - {T}/webservice/soapC-2.cpp
  CXX     vboxsoap - {T}/webservice/soapC-3.cpp
x86_64-pc-linux-gnu-g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <http://bugs.gentoo.org/> for instructions.
kmk[2]: *** [/var/tmp/portage/app-emulation/virtualbox-ose-3.0.4/work/VirtualBox-3.0.4_OSE/out/linux.amd64/release/obj/vboxsoap/gen/webservice/soapC-2.o] Error 1
The failing command:
@x86_64-pc-linux-gnu-g++ -c -O2 -g -pipe -pedantic -Wall -Wextra -Wno-missing-field-initializers -Wno-unused -Wno-trigraphs -Wno-long-long -Wno-variadic-macros -O2 -mtune=generic -fno-omit-frame-pointer -fno-strict-aliasing -fvisibility-inlines-hidden -fvisibility=hidden -DVBOX_HAVE_VISIBILITY_HIDDEN -DRT_USE_VISIBILITY_DEFAULT -m64 -I/usr -I/usr/share/gsoap/import -I/var/tmp/portage/app-emulation/virtualbox-ose-3.0.4/work/VirtualBox-3.0.4_OSE/out/linux.amd64/release/obj/webservice -I/var/tmp/portage/app-emulation/virtualbox-ose-3.0.4/work/VirtualBox-3.0.4_OSE/src/VBox/Main/webservice -I/var/tmp/portage/app-emulation/virtualbox-ose-3.0.4/work/VirtualBox-3.0.4_OSE/include -I/var/tmp/portage/app-emulation/virtualbox-ose-3.0.4/work/VirtualBox-3.0.4_OSE/out/linux.amd64/release -DVBOX -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DVBOX_WITH_HARDENING -DRTPATH_APP_PRIVATE=\"/usr/share/virtualbox-ose\" -DRTPATH_APP_PRIVATE_ARCH=\"/usr/lib64/virtualbox-ose\" -DRTPATH_SHARED_LIBS=\"/usr/lib64/virtualbox-ose\" -DRTPATH_APP_DOCS=\"\" -DRT_OS_LINUX -D_FILE_OFFSET_BITS=64 -DRT_ARCH_AMD64 -D__AMD64__ -DIN_RING3 -DHC_ARCH_BITS=64 -DGC_ARCH_BITS=64 -Wp,-MD,/var/tmp/portage/app-emulation/virtualbox-ose-3.0.4/work/VirtualBox-3.0.4_OSE/out/linux.amd64/release/obj/vboxsoap/gen/webservice/soapC-2.o.dep -Wp,-MT,/var/tmp/portage/app-emulation/virtualbox-ose-3.0.4/work/VirtualBox-3.0.4_OSE/out/linux.amd64/release/obj/vboxsoap/gen/webservice/soapC-2.o -Wp,-MP -o /var/tmp/portage/app-emulation/virtualbox-ose-3.0.4/work/VirtualBox-3.0.4_OSE/out/linux.amd64/release/obj/vboxsoap/gen/webservice/soapC-2.o /var/tmp/portage/app-emulation/virtualbox-ose-3.0.4/work/VirtualBox-3.0.4_OSE/out/linux.amd64/release/obj/webservice/soapC-2.cpp
kmk[2]: *** Deleting file `/var/tmp/portage/app-emulation/virtualbox-ose-3.0.4/work/VirtualBox-3.0.4_OSE/out/linux.amd64/release/obj/vboxsoap/gen/webservice/soapC-2.o'
kmk[2]: *** Waiting for unfinished jobs....
kmk[2]: Leaving directory `/var/tmp/portage/app-emulation/virtualbox-ose-3.0.4/work/VirtualBox-3.0.4_OSE'
kmk[2]: Entering directory `/var/tmp/portage/app-emulation/virtualbox-ose-3.0.4/work/VirtualBox-3.0.4_OSE'
kmk[2]: *** Exiting with status 2
kmk[1]: *** [pass_libraries_this] Error 2
kmk[1]: Leaving directory `/var/tmp/portage/app-emulation/virtualbox-ose-3.0.4/work/VirtualBox-3.0.4_OSE'
kmk: *** [pass_libraries_order] Error 2
 *
 * ERROR: app-emulation/virtualbox-ose-3.0.4 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3801:  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}" TOOL_YASM_AS=yasm KBUILD_PATH="${S}/kBuild" 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 '/var/log/portage/app-emulation:virtualbox-ose-3.0.4:20090818-091317.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/virtualbox-ose-3.0.4/temp/environment'.
 *
/usr/lib64/python2.6/site-packages/xmpp/transports.py:315: DeprecationWarning: socket.ssl() is deprecated.  Use ssl.wrap_socket() instead.
  tcpsock._sslObj    = socket.ssl(tcpsock._sock, None, None)



---

Reproducible: Always

Steps to Reproduce:
1. emerge virtualbox-ose on this system, The pocessor is a Core2 Duo; On a Phenom based system it just plain compiles.
Actual Results:  
Fail compile with a request to submit a bug report...

Expected Results:  
Compiled Virtualbox

# emerge --info
Portage 2.2_rc33 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.29-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 18 Aug 2009 21:30:21 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.0
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -mno-tls-direct-seg-refs -g "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openfire/resources/security/ /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /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 /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -mno-tls-direct-seg-refs -g "
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://212.219.56.134/sites/www.ibiblio.org/gentoo/ http://mirror.cambrium.nl/pub/os/linux/gentoo/ http://ftp.twaren.net/Linux/Gentoo/"
LDFLAGS="-Wl,-O1"
LINGUAS="en_GB en_US nl_NL nl en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/webapps-experimental /usr/portage/local/layman/kolab /usr/portage/local/layman/openmoko /usr/portage/local/layman/voip /usr/portage/local/layman/java-overlay /usr/portage/local/layman/ftd4linux /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib accesibility accessibility acl acpi activefilter akode alsa amd64 amrnb amrwb ao apache2 asf asterisk audiofile audit authdaemond automount avahi bash-completion berkdb bl bluetooth bookmarks branding bzip2 cairo caps cdda cddb cdparanoia cdr cgi chm cleartype cli cracklib crypt cscope css cups curl dbus dga directfb divx divx4linux dri dts dv dvb dvd dvdr dvdread eap-tls edl emboss encode esd esound eurofile exif exiscan exiscan-acl exiv2 expat extensions fam fame fastcgi fax fbcon ffmpeg firefox flac fltk font-server foomaticdb fortran fpx frxp gd gdbm ggi gif gimp gimpprint glib glut gmedia gmp gnokii gnutls gphoto2 gpm graphviz gs gsm gstreamer gtk gtk2 guile hal hardenedphp howl howl-compat hpn html htmlhandbook http httpd hvm ical icecast iconv icq id3 id3tag idea idn ieee1394 ilbc imap imlib ipppd ipv6 irda isdnlog ithreads jabber jack jack-tmpfs java java-script javascript jbig jingle joystick jpeg jpeg2k junit justify kde kerberos kipi kqemu ladcca ladspa lame laptop lcms ldap libcaca libclamav libnotify libsamplerate live lm_sensors lmtp loop-aes lua lvm lvm2 lzo mad mailwrapper matroska mbrola md5sum mdnsresponder-compat memcache memlimit mhash mikmod ming mjpeg mmap mmx mng motif mp2 mp3 mp4 mp4live mpeg mplayer mschap mudflap multilib musepack musicbrainz mysql nagios-dns nagios-game nagios-ntp nagios-ping nagios-ssh nas ncurses nemesi netboot network nls nptl nptlonly nsplugin nv nvidia obex odbc odk ogg openal openexr opengl openmp oscar oss pam pam_chroot pcmcia pcre pda pdf perl php pic plotutils png pnm pnp portaudio postscript ppds pppd pth pulseaudio pygrub python qt3 qt3support qt4 quicktime quotas radius rar rdesktop readline realmedia reflection rle rrdtool rtc ruby samba sasl scanner screen sdl server session sguil silc skey slang smime sndfile snmp snortsam softmmu sound span speex spell spf spl sqlite sqlite3 srs srt sse sse2 ssl startup-notification subversion svg swat symlink sysfs syslog tcltk tcpd teletekst theora threads tiff timidity tools truetype tta tunepimp unicode ups urandom usb userlocales utempter v4l v4l2 vcd vde via vim-syntax virtualbox visualization vmware vnc vorbis wavpack webdav wifi winbind wma wmf wmp x264 xanim xattr xfs xine xml xmlreader xmlrpc xmlwriter xorg xosd xpm xscreensaver xulrunner xv xvid xvmc yaz yv12 zeroconf zlib zrtp" ALSA_CARDS="hda-intel usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 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" APACHE2_MPMS="peruser" CAMERAS="ptp2 canon casio" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en_US nl_NL nl en" USERLAND="GNU" VIDEO_CARDS="nvidia nv via vesa vga fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-08-18 21:55:07 UTC
Please attach the build.log file of the failed emerge to this bug.
Comment 2 Nico Baggus 2009-08-19 08:24:42 UTC
The system had two problems:

1) due to changes in cryptfs the swap partition wasn't activated
2) nscd (cache daemon) appearantly has a memory leak and consumed 300MB memory. As well as a konqueror session that consumed 500MB

The compiler was killed by the kernel when it tried to consume more memory then was available.
Appearantly the compilation if the webservice/soapC-3.cpp takes a lot of memory.