Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 233496 - app-emulation/virtualbox-1.6.2 fails to compile; looking for libstdc++
Summary: app-emulation/virtualbox-1.6.2 fails to compile; looking for libstdc++
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Markus Ullmann (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-31 15:52 UTC by Chuck Wegrzyn
Modified: 2008-08-10 14:19 UTC (History)
1 user (show)

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


Attachments
Build log for the emerge of virtualbox (build.log,2.24 KB, text/plain)
2008-07-31 15:54 UTC, Chuck Wegrzyn
Details
ebuild environment file... (environment,110.21 KB, text/plain)
2008-07-31 15:55 UTC, Chuck Wegrzyn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chuck Wegrzyn 2008-07-31 15:52:54 UTC
I ran "emerge virtualbox" and it failed complaining that it couldn't find libstdc++.a or the libstdc++ headers.

I also made certain that I had libstdc++ emerged into my system:

emerge --search libstdc
Searching...
[ Results for search key : libstdc ]
[ Applications found : 3 ]

*  virtual/libstdc++
      Latest version available: 3.3
      Latest version installed: 3.3
      Size of files: 0 kB
      Homepage:      http://www.gentoo.org/proj/en/base/
      Description:   Virtual for the GNU Standard C++ Library
      License:       GPL-2




Reproducible: Always

Steps to Reproduce:
1.emerge virtualbox
2.
3.

Actual Results:  
einstein ~ # emerge virtualbox
Calculating dependencies... done!
>>> Verifying ebuild manifests
>>> Building (1 of 1) app-emulation/virtualbox-1.6.2
 * VirtualBox-1.6.2-OSE.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                        [ ok ]
 * checking ebuild checksums ;-) ...                                                                                   [ ok ]
 * checking auxfile checksums ;-) ...                                                                                  [ ok ]
 * checking miscfile checksums ;-) ...                                                                                 [ ok ]
>>> Unpacking source...
>>> Unpacking VirtualBox-1.6.2-OSE.tar.bz2 to /var/tmp/portage/app-emulation/virtualbox-1.6.2/work
 * Applying virtualbox-1.6.2-remove-unused.patch ...                                                                    [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/app-emulation/virtualbox-1.6.2/work/VirtualBox-1.6.2 ...
Checking for environment: Determined build machine: linux.x86, target machine: linux.x86, OK.
Checking for kBuild: found, OK.
Checking for gcc: found version 4.1.2, OK.
Checking for as86: found version 0.16.17, OK.
Checking for bcc: found version 0.16.17, OK.
Checking for iasl: found version 20080701, OK.
Checking for xslt: found, OK.
Checking for pthread: found, OK.
Checking for libxml2: found version 2.6.32, OK.
Checking for libxslt: found version 1.1.24, OK.
Checking for libIDL: found version 0.8.10, OK.
Checking for zlib: found version 1.2.3, OK.
Checking for libpng: found version 1.2.27, OK.
Checking for SDL: found version 1.2.13, OK.
Checking for X libraries: found, OK.
Checking for Xcursor: found, OK.
Checking for Qt3: found version 3.3.8b, OK.
Checking for Qt3 devtools: found version 3.3.8b, OK.
Checking for Qt4: found version 4.3.5, OK.
Checking for Qt4 devtools: found version 4.3.5, OK.
Checking for Qt4 uic3: found version 4.3.5, OK.
Checking for static stc++ library:
  libstdc++ not found at libstdc++.a or libstdc++ headers not found
  Check the file /var/tmp/portage/app-emulation/virtualbox-1.6.2/work/VirtualBox-1.6.2/configure.log for detailed error information.
 * ERROR: app-emulation/virtualbox-1.6.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2752:  Called die
 * The specific snippet of code:
 *       ./configure ${myconf} || die "configure failed";
 *  The die message:
 *   configure failed
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-emulation/virtualbox-1.6.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/virtualbox-1.6.2/temp/environment'.


Expected Results:  
For it to work.

emerge --info
Portage 2.2_rc5 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r6 i686)
=================================================================
System uname: Linux-2.6.25-gentoo-r6-i686-Intel-R-_Core-TM-2_Quad_CPU_Q9450_@_2.66GHz-with-glibc2.0
Timestamp of tree: Thu, 31 Jul 2008 14:06:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.4.4-r13, 2.5.2-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="en_US"
PKGDIR="/usr/portage/packages"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X accessibility acl acpi alsa berkdb bluetooth branding bzip2 cairo cddb cdio cdparanoia cdr cdrom cli cracklib crypt cups dbus doc dri dv dvb dvd dvdr dvdread eds emboss encode esd evo exif fam fat fbdev ffmpeg firefox ftp ftpd gcj gdbm gif gimp gnome gpm grace gstreamer gtk hal iconv ieee1394 imagemagick ipv6 isdnlog java jpeg jpeg2k kde ldap libnotify mad midi mikmod mmx mozdevelop mp3 mpeg mudflap multitarget ncurses nls nptl nptlonly ntfs ogg opengl pam pcre pdf perl png postgres ppds pppd python qt3 qt3support qt4 quicktime radio raw rdesktop readline real realmedia reflection scanner sdl session soap sockets spell spl sqlite3 sse ssl ssse3 startup-notification subversion svg sysfs tcpd threads threadsafe tiff trash-plugin truetype unicode usb v4l v4l2 valgrind vorbis win32codecs x86 xcomposite xfce xforms xinerama xml xorg xprint xulrunner xv xvid zlib" ALSA_CARDS="hda_intel loopback intel8x0 intel8x0m" 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" 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" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US" USERLAND="GNU" VIDEO_CARDS="vga vesa radeon fglrx fbdev vmware v4l"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Chuck Wegrzyn 2008-07-31 15:54:16 UTC
Created attachment 161845 [details]
Build log for the emerge of virtualbox
Comment 2 Chuck Wegrzyn 2008-07-31 15:55:45 UTC
Created attachment 161847 [details]
ebuild environment file...
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2008-07-31 19:59:33 UTC
You do not have built gcc with USE=nocxx by chance?
Comment 4 Chuck Wegrzyn 2008-07-31 20:34:23 UTC
GCC is built in a "standard" way. I haven't enabled 'nocxx' (given that UFED says not to change it unless you know what you are doing). Is this a requirement?
Comment 5 Markus Ullmann (RETIRED) gentoo-dev 2008-08-10 14:19:31 UTC
virtualbox is bound to gcc3 series upstream wise