The build launch by "time MAKEOPTS="-j1" emerge -1av virtualbox-ose" fails systematically with this error (been trying for a few weeks) : chcon -t texrel_shlib_t /var/tmp/portage/app-emulation/virtualbox-ose-3.0.6/work/VirtualBox-3.0.6_OSE/out/linux.x86/release/bin/VBoxRT.so || true chcon: échec de récupération du contexte de sécurité de `/var/tmp/portage/app-emulation/virtualbox-ose-3.0.6/work/VirtualBox-3.0.6_OSE/out/linux.x86/release/bin/VBoxRT.so': Opération non supportée CXX VBoxXPCOM - {C}/src/libs/xpcom18a4/xpcom/build/nsXPComInit.cpp CXX VBoxXPCOM - {C}/src/libs/xpcom18a4/xpcom/build/nsStringAPI.cpp LD VBoxXPCOM /var/tmp/portage/app-emulation/virtualbox-ose-3.0.6/work/VirtualBox-3.0.6_OSE/out/linux.x86/release/obj/VBox-xpcom-proxy/VBox-xpcom-proxy.a: member /var/tmp/portage/app-emulation/virtualbox-ose-3.0.6/work/VirtualBox-3.0.6_OSE/out/linux.x86/release/obj/VBox-xpcom-proxy/VBox-xpcom-proxy.a(nsProxyObjectManager.o) in archive is not an object collect2: ld a retourné 1 code d'état d'exécution kmk[2]: *** [/var/tmp/portage/app-emulation/virtualbox-ose-3.0.6/work/VirtualBox-3.0.6_OSE/out/linux.x86/release/obj/VBoxXPCOM/VBoxXPCOM.so] Error 1 The failing command: @i686-pc-linux-gnu-g++ -shared '-Wl,-rpath,/usr/lib/virtualbox-ose' -fPIC -Wl,--whole-archive /var/tmp/portage/app-emulation/virtualbox-ose-3.0.6/work/VirtualBox-3.0.6_OSE/out/linux.x86/release/obj/VBox-xpcom-typelib/VBox-xpcom-typelib.a /var/tmp/portage/app-emulation/virtualbox-ose-3.0.6/work/VirtualBox-3.0.6_OSE/out/linux.x86/release/obj/VBox-xpcom-string/VBox-xpcom-string.a /var/tmp/portage/app-emulation/virtualbox-ose-3.0.6/work/VirtualBox-3.0.6_OSE/out/linux.x86/release/obj/VBox-xpcom-base/VBox-xpcom-base.a /var/tmp/portage/app-emulation/virtualbox-ose-3.0.6/work/VirtualBox-3.0.6_OSE/out/linux.x86/release/obj/VBox-xpcom-ds/VBox-xpcom-ds.a /var/tmp/portage/app-emulation/virtualbox-ose-3.0.6/work/VirtualBox-3.0.6_OSE/out/linux.x86/release/obj/VBox-xpcom-io/VBox-xpcom-io.a /var/tmp/portage/app-emulation/virtualbox-ose-3.0.6/work/VirtualBox-3.0.6_OSE/out/linux.x86/release/obj/VBox-xpcom-components/VBox-xpcom-components.a /var/tmp/portage/app-emulation/virtualbox-ose-3.0.6/work/VirtualBox-3.0.6_OSE/out/linux.x86/release/obj/VBox-xpcom-threads/VBox-xpcom-threads.a /var/tmp/portage/app-emulation/virtualbox-ose-3.0.6/work/VirtualBox-3.0.6_OSE/out/linux.x86/release/obj/VBox-xpcom-xptinfo/VBox-xpcom-xptinfo.a /var/tmp/portage/app-emulation/virtualbox-ose-3.0.6/work/VirtualBox-3.0.6_OSE/out/linux.x86/release/obj/VBox-xpcom-xptcall/VBox-xpcom-xptcall.a /var/tmp/portage/app-emulation/virtualbox-ose-3.0.6/work/VirtualBox-3.0.6_OSE/out/linux.x86/release/obj/VBox-xpcom-proxy/VBox-xpcom-proxy.a /var/tmp/portage/app-emulation/virtualbox-ose-3.0.6/work/VirtualBox-3.0.6_OSE/out/linux.x86/release/obj/VBox-xpcom-nspr/VBox-xpcom-nspr.a /var/tmp/portage/app-emulation/virtualbox-ose-3.0.6/work/VirtualBox-3.0.6_OSE/out/linux.x86/release/obj/VBoxXPCOMGlue_s/VBoxXPCOMGlue_s.a -Wl,--no-whole-archive -Wl,-z,noexecstack -Wl,--as-needed -Wl,--version-script=/var/tmp/portage/app-emulation/virtualbox-ose-3.0.6/work/VirtualBox-3.0.6_OSE/src/libs/xpcom18a4/xpcom-namespace-cleanup.map -m32 -o /var/tmp/portage/app-emulation/virtualbox-ose-3.0.6/work/VirtualBox-3.0.6_OSE/out/linux.x86/release/obj/VBoxXPCOM/VBoxXPCOM.so -Wl,-soname=VBoxXPCOM.so /var/tmp/portage/app-emulation/virtualbox-ose-3.0.6/work/VirtualBox-3.0.6_OSE/out/linux.x86/release/obj/VBoxXPCOM/xpcom/build/nsXPComInit.o /var/tmp/portage/app-emulation/virtualbox-ose-3.0.6/work/VirtualBox-3.0.6_OSE/out/linux.x86/release/obj/VBoxXPCOM/xpcom/build/nsStringAPI.o -lpthread -ldl /var/tmp/portage/app-emulation/virtualbox-ose-3.0.6/work/VirtualBox-3.0.6_OSE/out/linux.x86/release/obj/VBox-xpcom-typelib/VBox-xpcom-typelib.a /var/tmp/portage/app-emulation/virtualbox-ose-3.0.6/work/VirtualBox-3.0.6_OSE/out/linux.x86/release/obj/VBox-xpcom-string/VBox-xpcom-string.a /var/tmp/portage/app-emulation/virtualbox-ose-3.0.6/work/VirtualBox-3.0.6_OSE/out/linux.x86/release/obj/VBox-xpcom-base/VBox-xpcom-base.a /var/tmp/portage/app-emulation/virtualbox-ose-3.0.6/work/VirtualBox-3.0.6_OSE/out/linux.x86/release/obj/VBox-xpcom-ds/VBox-xpcom-ds.a /var/tmp/portage/app-emulation/virtualbox-ose-3.0.6/work/VirtualBox-3.0.6_OSE/out/linux.x86/release/obj/VBox-xpcom-io/VBox-xpcom-io.a /var/tmp/portage/app-emulation/virtualbox-ose-3.0.6/work/VirtualBox-3.0.6_OSE/out/linux.x86/release/obj/VBox-xpcom-components/VBox-xpcom-components.a /var/tmp/portage/app-emulation/virtualbox-ose-3.0.6/work/VirtualBox-3.0.6_OSE/out/linux.x86/release/obj/VBox-xpcom-threads/VBox-xpcom-threads.a /var/tmp/portage/app-emulation/virtualbox-ose-3.0.6/work/VirtualBox-3.0.6_OSE/out/linux.x86/release/obj/VBox-xpcom-xptinfo/VBox-xpcom-xptinfo.a /var/tmp/portage/app-emulation/virtualbox-ose-3.0.6/work/VirtualBox-3.0.6_OSE/out/linux.x86/release/obj/VBox-xpcom-xptcall/VBox-xpcom-xptcall.a /var/tmp/portage/app-emulation/virtualbox-ose-3.0.6/work/VirtualBox-3.0.6_OSE/out/linux.x86/release/obj/VBox-xpcom-proxy/VBox-xpcom-proxy.a /var/tmp/portage/app-emulation/virtualbox-ose-3.0.6/work/VirtualBox-3.0.6_OSE/out/linux.x86/release/obj/VBox-xpcom-nspr/VBox-xpcom-nspr.a /var/tmp/portage/app-emulation/virtualbox-ose-3.0.6/work/VirtualBox-3.0.6_OSE/out/linux.x86/release/obj/VBoxXPCOMGlue_s/VBoxXPCOMGlue_s.a /var/tmp/portage/app-emulation/virtualbox-ose-3.0.6/work/VirtualBox-3.0.6_OSE/out/linux.x86/release/bin/VBoxRT.so kmk[2]: Leaving directory `/var/tmp/portage/app-emulation/virtualbox-ose-3.0.6/work/VirtualBox-3.0.6_OSE' kmk[1]: *** [pass_dlls_this] Error 2 kmk[1]: Leaving directory `/var/tmp/portage/app-emulation/virtualbox-ose-3.0.6/work/VirtualBox-3.0.6_OSE' kmk: *** [pass_dlls_order] Error 2 * * ERROR: app-emulation/virtualbox-ose-3.0.6 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3823: 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/tmp/portage/app-emulation/virtualbox-ose-3.0.6/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/virtualbox-ose-3.0.6/temp/environment'. * >>> Failed to emerge app-emulation/virtualbox-ose-3.0.6, Log file: >>> '/var/tmp/portage/app-emulation/virtualbox-ose-3.0.6/temp/build.log' * Messages for package app-emulation/virtualbox-ose-3.0.6: * * ERROR: app-emulation/virtualbox-ose-3.0.6 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3823: 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/tmp/portage/app-emulation/virtualbox-ose-3.0.6/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/virtualbox-ose-3.0.6/temp/environment'. * real 6m51.544s user 3m47.062s sys 0m48.851s emerge --info : --------------- Portage 2.1.6.13 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r6 i686) ================================================================= System uname: Linux-2.6.30-gentoo-r6-i686-AMD_Athlon-tm-_XP_3200+-with-gentoo-1.12.11.1 Timestamp of tree: Sat, 10 Oct 2009 09:30:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.0_p28 dev-java/java-config: 1.3.7-r1, 2.1.8-r1 dev-lang/python: 2.5.4-r3, 2.6.2-r1 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.6-r2 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="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -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 /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /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 -march=athlon-xp -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ " LANG="fr_FR.utf8" LC_ALL="fr_FR.utf8" LDFLAGS="-Wl,-O1" LINGUAS="fr fr_FR" 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/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X a52 aac acl acpi alsa arts bash-completion berkdb bluetooth branding bzip2 cairo cdr clamav cli consolekit cracklib crypt ctype cups dbus dri dts dvd dvdr eds emboss encode esd evo fam ffmpeg firefox flac fortran gd gdbm geoip gif gimp gnome gphoto2 gpm gstreamer gtk hal iconv imagemagick imlib ipv6 isdnlog jack java jpeg kde kpathsea ldap libnotify mad mikmod mjpeg mmx modules mozilla mp3 mp4 mpeg mplayer mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection scanner sdl session spell spl sse ssl startup-notification svg sysfs tcpd theora thunar tiff truetype unicode usb v4l v4l2 vcd vorbis win32codecs wxwindows x264 x86 xine xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr fr_FR" LIRC_DEVICES="serial" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Reproducible: Always Steps to Reproduce: 1.emerge -1av virtualbox-ose 2.wait till error 3.
Perhaps something is still stuck in ccache ? Try purging it.
After "CCACHE_DIR=/var/tmp/ccache/ ccache -C", it compiles OK. Thanks. You may have solved bug 286782 as well. What to do now ? Do I mark the bug as fixed ? Was there really something to fix ?
Bugs introduced on the user side are invalid.