Emerge aborts after the following error messages: * QA Notice: The following files contain runtime text relocations * Text relocations force the dynamic linker to perform extra * work at startup, waste system resources, and may pose a security * risk. On some architectures, the code may not even function * properly, if at all. * For more information, see http://hardened.gentoo.org/pic-fix-guide.xml * Please include this file in your report: * /var/tmp/portage/app-emulation/virtualbox-ose-2.0.2/temp/scanelf-textrel.log * TEXTREL usr/lib/virtualbox-ose/VBoxVMM.so Files matching a file type that is not allowed: usr/lib/virtualbox-ose/VBoxGuestPropSvc.so usr/lib/virtualbox-ose/VBoxRT.so usr/lib/virtualbox-ose/VBoxSharedFolders.so usr/lib/virtualbox-ose/VBoxDD2.so usr/lib/virtualbox-ose/VirtualBox.so usr/lib/virtualbox-ose/VBoxPython.so usr/lib/virtualbox-ose/VBoxVMM.so usr/lib/virtualbox-ose/VBoxSDL.so usr/lib/virtualbox-ose/VBoxDDU.so usr/lib/virtualbox-ose/VBoxSharedClipboard.so usr/lib/virtualbox-ose/VBoxSettings.so usr/lib/virtualbox-ose/components/VBoxSVCM.so usr/lib/virtualbox-ose/components/VBoxC.so usr/lib/virtualbox-ose/components/VBoxXPCOMIPCC.so usr/lib/virtualbox-ose/VBoxREM.so usr/lib/virtualbox-ose/VBoxKeyboard.so usr/lib/virtualbox-ose/VBoxDD.so usr/lib/virtualbox-ose/VBoxXPCOM.so usr/lib/virtualbox-ose/VBoxSharedOpenGL.so usr/lib/virtualbox-ose/VBoxREMImp.so usr/lib/virtualbox-ose/VBoxHeadless.so * * ERROR: app-emulation/virtualbox-ose-2.0.2 failed. * Call stack: * misc-functions.sh, line 609: Called install_qa_check * misc-functions.sh, line 360: Called die * The specific snippet of code: * [[ ${abort} == yes ]] && die "multilib-strict check failed!" * The die message: * multilib-strict check 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-2.0.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/virtualbox-ose-2.0.2/temp/environment'. * !!! install_qa_check failed; exiting. My emerge --info: Portage 2.1.4.4 (default/linux/amd64/2008.0/developer, gcc-4.1.2, glibc-2.6.1-r0, 2.6.26-gentoo-r1-worship x86_64) ================================================================= System uname: 2.6.26-gentoo-r1-worship x86_64 AMD Athlon(tm) 64 Processor 3200+ Timestamp of tree: Thu, 18 Sep 2008 09:34:01 +0000 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] app-shells/bash: 3.2_p33 dev-lang/python: 2.4.4-r13, 2.5.2-r7 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.26 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=athlon64 -ggdb" 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/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /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/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -pipe -march=athlon64 -ggdb" DISTDIR="/usr/portage/distfiles" FEATURES="collision-protect cvs digest distlocks fixpackages metadata-transfer multilib-strict parallel-fetch sandbox sfperms sign splitdebug strict unmerge-orphans userfetch usersandbox" GENTOO_MIRRORS="http://ftp.linux.ee/pub/gentoo/distfiles/ http://trumpetti.atm.tut.fi/gentoo/" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="en et en_GB en_US de" MAKEOPTS="-j2" 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" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X a52 aac acl acpi alsa amd64 apache2 arts bash-completion berkdb bluetooth bzip2 cairo cdr cjk cli cracklib crypt cups dbus directfb doc dri dvd dvdr dvdread emboss encode evo fam fbcon ffmpeg firefox flac fortran gdbm gif gmp gnutls gpm gstreamer gtk gtk2 hal hardened iconv imagemagick imlib ipv6 isdnlog jbig jpeg jpeg2k kde lcms libnotify lirc mad midi mikmod mmap mmx mng mp3 mpeg mudflap multilib mysql ncurses nptl nptlonly ogg openal opengl openmp pam pcre pdf perl pic png ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl session sndfile speex spell spl sse sse2 ssl startup-notification svg sysfs tcpd theora threads tiff truetype unicode usb vhosts vorbis x264 xattr xinerama xml xorg xprint xscreensaver xv xvid zlib" ALSA_CARDS="via82xx virmidi" 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 asis auth_basic auth_digest authn_anon authn_dbd authn_default authn_file authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config log_forensic logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en et en_GB en_US de" LIRC_DEVICES="irdeo" USERLAND="GNU" VIDEO_CARDS="ati radeon nv vesa fbdev vga" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Hm, libraries are getting installed under /usr/lib instead of /usr/lib64 because 'configure' is being called instead of 'econf'. If plain configure really needs to be used in this case, there could be an explicit call to get_libdir() and explicitly pass libdir to configure -- let's see what the maintainers have to say...
(In reply to comment #1) > Hm, libraries are getting installed under /usr/lib instead of /usr/lib64 > because 'configure' is being called instead of 'econf'. If plain configure > really needs to be used in this case, there could be an explicit call to > get_libdir() and explicitly pass libdir to configure -- let's see what the > maintainers have to say... Hi sorry for the delay but during the weekend i often move. Well, dealing with virtualbox's build system (kBuild) it'a bit tricky and the configure script handles only some stuff, currently we use the LocalConfig.kmk file to pass extra stuff to the build system. I patched virtualbox-ose-2.0.2 ebuild (patch is attached to this bug) to install files in the right place using get_libdir(), Jaak can you please test the patched ebuild an report here the results?
Created attachment 166041 [details] ebuild patch that uses get_libdir
(In reply to comment #2) > Jaak can you please test the patched ebuild an report here the results? Sorry not at the moment - I'm supposed to wake up in 3 hours to go on a week-long journey to France and I've got more urgent work to do currenty. Good luck to you meanwhile! :)
(In reply to comment #4) > Sorry not at the moment - I'm supposed to wake up in 3 hours to go on a > week-long journey to France and I've got more urgent work to do currenty. Good > luck to you meanwhile! :) > No problem, i tested it using multilib-strict, changes committed to jokey's overlay[1], thanks for the report and enjoy your journey ;) [1] http://overlays.gentoo.org/dev/jokey
Comment on attachment 166041 [details] ebuild patch that uses get_libdir updated version in overlay
(In reply to comment #6) > (From update of attachment 166041 [details] [edit]) > updated version in overlay > Yes, that emerged successfully.
Added to CVS thanks for the contribution ;)