Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 183623

Summary: app-emulation/virtualbox-1.4.0 emerge fails - 'memcpy' redeclared as different kind of symbol
Product: Gentoo Linux Reporter: Andy <hornett83>
Component: New packagesAssignee: Markus Ullmann (RETIRED) <jokey>
Status: RESOLVED INVALID    
Severity: normal CC: swapon
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
URL: http://forums.gentoo.org/viewtopic.php?p=4122298
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build failure output
emerge -av output
make.conf - fails to build with this

Description Andy 2007-06-29 08:47:14 UTC
Emerge virtualbox fails on my system, even with a very conservative make.conf. My typical (still fairly sane) one can be found in the gentoo-forums thread I linked to. 

Reproducible: Always

Steps to Reproduce:
1. emerge -av virtualbox

Actual Results:  
The failing command:
        @gcc -c -O2 -Wall -g -fomit-frame-pointer -fno-gcse -IInnoTek -IInnoTek/crt -Itarget-i386 -Ifpu -I/var/tmp/portage/app-emulation/virtualbox-1.4.0/work/VirtualBox-OSE-1.4.0/out/linux.x86/release/obj/src/recompiler/VBoxREM -I/var/tmp/portage/app-emulation/virtualbox-1.4.0/work/VirtualBox-OSE-1.4.0/src/VBox/VMM -I/var/tmp/portage/app-emulation/virtualbox-1.4.0/work/VirtualBox-OSE-1.4.0/src/recompiler -I/var/tmp/portage/app-emulation/virtualbox-1.4.0/work/VirtualBox-OSE-1.4.0/include -I/var/tmp/portage/app-emulation/virtualbox-1.4.0/work/VirtualBox-OSE-1.4.0/out/linux.x86/release -DVBOX -DVBOX_OSE -D__LINUX__ -D_FILE_OFFSET_BITS=64 -D__X86__ -DIN_REM_R3 -DREM_INCLUDE_CPU_H -DIN_RING3 -DLOG_USE_C99 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -Wp,-MD,/var/tmp/portage/app-emulation/virtualbox-1.4.0/work/VirtualBox-OSE-1.4.0/out/linux.x86/release/obj/src/recompiler/VBoxREM/translate-op.o.dep -Wp,-MT,/var/tmp/portage/app-emulation/virtualbox-1.4.0/work/VirtualBox-OSE-1.4.0/out/linux.x86/release/obj/src/recompiler/VBoxREM/translate-op.o -Wp,-MP -o /var/tmp/portage/app-emulation/virtualbox-1.4.0/work/VirtualBox-OSE-1.4.0/out/linux.x86/release/obj/src/recompiler/VBoxREM/translate-op.o /var/tmp/portage/app-emulation/virtualbox-1.4.0/work/VirtualBox-OSE-1.4.0/src/recompiler/translate-op.c
kmk[2]: Leaving directory `/var/tmp/portage/app-emulation/virtualbox-1.4.0/work/VirtualBox-OSE-1.4.0/src/recompiler'
kmk[1]: *** [pass_dlls_before] Error 2
kmk[1]: Leaving directory `/var/tmp/portage/app-emulation/virtualbox-1.4.0/work/VirtualBox-OSE-1.4.0/src'
kmk: *** [pass_dlls_before] Error 2


retro@vince-lite ~ $ emerge --info
Portage 2.1.2.7 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.5-r3, 2.6.21.5-cfs-v17 i686)
=================================================================
System uname: 2.6.21.5-cfs-v17 i686 Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Fri, 29 Jun 2007 07:30:01 +0000
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
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.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i486-pc-linux-gnu"
CFLAGS="-march=pentium-m -pipe"
CHOST="i486-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/gconf /etc/terminfo"
CXXFLAGS="-march=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS=""
LINGUAS="en_GB"
MAKEOPTS="-j1"
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/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl berkdb bitmap-fonts cli cracklib crypt cups dri fortran gdbm gpm hal iconv ipv6 isdnlog libg++ midi mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl ssl tcpd truetype-fonts type1-fonts unicode x86 xorg zlib" ALSA_CARDS="hda-intel" 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="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Andy 2007-06-29 08:47:54 UTC
Created attachment 123364 [details]
build failure output
Comment 2 Andy 2007-06-29 08:48:28 UTC
Created attachment 123366 [details]
emerge -av output
Comment 3 Andy 2007-06-29 08:49:03 UTC
Created attachment 123367 [details]
make.conf - fails to build with this
Comment 4 Markus Ullmann (RETIRED) gentoo-dev 2007-09-04 23:59:41 UTC
Looks like your toolchain is damaged as memcpy is a standard c function and should always be there, marking invalid.

Though if you can reproduce it on a stable stage3, please reopen and attach a list with steps you took.