app-emulation/virtualbox-bin, x11-drivers/nvidia-drivers and other programs which packed with makeself can't be unpacked. Reproducible: Always Steps to Reproduce: 1. emerge -1av x11-drivers/nvidia-drivers or some other package which use unpack_makeself * Messages for package x11-drivers/nvidia-drivers-260.19.29: * Unknown filetype "" ? * ERROR: x11-drivers/nvidia-drivers-260.19.29 failed (unpack phase): * failure unpacking () makeself NVIDIA-Linux-x86-260.19.29.run ('1.6.0-nv' +903) * * Call stack: * ebuild.sh, line 56: Called src_unpack * environment, line 4156: Called unpack_makeself * environment, line 4811: Called assert 'failure unpacking () makeself NVIDIA-Linux-x86-260.19.29.run ('1.6.0-nv' +903)' * isolated-functions.sh, line 14: Called die * The specific snippet of code: * [[ $x -eq 0 ]] || die "$@" * * If you need support, post the output of 'emerge --info =x11-drivers/nvidia-drivers-260.19.29', * the complete build log and the output of 'emerge -pqv =x11-drivers/nvidia-drivers-260.19.29'. * The complete build log is located at '/mnt/sda8/x32.var.tmp/portage/x11-drivers/nvidia-drivers-260.19.29/temp/build.log'. * The ebuild environment file is located at '/mnt/sda8/x32.var.tmp/portage/x11-drivers/nvidia-drivers-260.19.29/temp/environment'. * S: '/mnt/sda8/x32.var.tmp/portage/x11-drivers/nvidia-drivers-260.19.29/work/' * Messages for package app-emulation/virtualbox-bin-4.0.2: * Unknown filetype "" ? * ERROR: app-emulation/virtualbox-bin-4.0.2 failed (unpack phase): * failure unpacking () makeself VirtualBox-4.0.2-69518-Linux_x86.run ('2.1.5' +9664) * * Call stack: * ebuild.sh, line 56: Called src_unpack * environment, line 2486: Called unpack_makeself 'VirtualBox-4.0.2-69518-Linux_x86.run' * environment, line 2983: Called assert 'failure unpacking () makeself VirtualBox-4.0.2-69518-Linux_x86.run ('2.1.5' +9664)' * isolated-functions.sh, line 14: Called die * The specific snippet of code: * [[ $x -eq 0 ]] || die "$@" * * If you need support, post the output of 'emerge --info =app-emulation/virtualbox-bin-4.0.2', * the complete build log and the output of 'emerge -pqv =app-emulation/virtualbox-bin-4.0.2'. * The complete build log is located at '/mnt/sda8/x32.var.tmp/portage/app-emulation/virtualbox-bin-4.0.2/temp/build.log'. * The ebuild environment file is located at '/mnt/sda8/x32.var.tmp/portage/app-emulation/virtualbox-bin-4.0.2/temp/environment'. * S: '/mnt/sda8/x32.var.tmp/portage/app-emulation/virtualbox-bin-4.0.2/work'
localhost ~ # emerge --info Portage 2.1.9.42 (default/linux/x86/10.0, gcc-4.4.5, glibc-2.11.3-r0, 2.6.36-gentoo-r8 i686) ================================================================= System uname: Linux-2.6.36-gentoo-r8-i686-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4400+-with-gentoo-1.12.14 Timestamp of tree: Sat, 16 Apr 2011 12:30:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.6.6-r2, 3.1.3-r1 dev-util/ccache: 2.4-r9 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 1.12.14-r1 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.13, 2.65-r1 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.3.4, 4.4.5 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 sys-kernel/linux-headers: 2.6.36.1 virtual/os-headers: 2.6.36.1 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=k8 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /var/bind /var/lib/hsqldb /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5.2/ext-active/ /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.2/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.2/ext-active/ /etc/php/cli-php5.3/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" CXXFLAGS="-O2 -march=k8 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs ccache collision-protect distlocks fixlafiles fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="ru_RU.UTF-8" LC_ALL="" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="ru 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="/var/lib/layman/ltsp /var/lib/layman/sunrise /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext 3gpp X acl alsa bash-completion berkdb bzip2 cdr cli consolekit cracklib crypt cups cxx dbus doc dri dvd dvdr emovix encode fame ffmpeg flac fortran gdbm gif gnome gnome-keyring gpm gstreamer gtk gtk2 iconv id3tag ithreads java jpeg jpeg2k kde lame lcms libnotify mmx modules mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre perl png pppd profile python qt3support qt4 quicktime readline sdl session slang sound spell sql sqlite sse sse2 sse3 ssh ssl ssse3 startup-notification svg sysfs taglib tcpd theora threads tiff tk truetype udev unicode usb v4l v4l2 vcd vorbis webkit win32codecs x86 xcomposite xml xorg xvid 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 cgi cgid 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="worker" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" NETBEANS_MODULES="php profiler webcommon ide java websvccommon nb harness cnd dlight" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv nouveau vesa fbdev v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
You have done the first of these so far: * If you need support, post the output of 'emerge --info =x11-drivers/nvidia-drivers-260.19.29', * the complete build log and the output of 'emerge -pqv =x11-drivers/nvidia-drivers-260.19.29'. * The complete build log is located at '/mnt/sda8/x32.var.tmp/portage/x11-drivers/nvidia-drivers-260.19.29/temp/build.log'. * The ebuild environment file is located at '/mnt/sda8/x32.var.tmp/portage/x11-drivers/nvidia-drivers-260.19.29/temp/environment'.
localhost ~ # emerge -pqv =x11-drivers/nvidia-drivers-260.19.29 [ebuild R ] x11-drivers/nvidia-drivers-260.19.29 USE="gtk -acpi -custom-cflags (-multilib)" localhost ~ # emerge --info =x11-drivers/nvidia-drivers-260.19.29 Portage 2.1.9.42 (default/linux/x86/10.0, gcc-4.4.5, glibc-2.11.3-r0, 2.6.36-gentoo-r8 i686) ================================================================= System Settings ================================================================= System uname: Linux-2.6.36-gentoo-r8-i686-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4400+-with-gentoo-1.12.14 Timestamp of tree: Sat, 16 Apr 2011 16:30:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.6.6-r2, 3.1.3-r1 dev-util/ccache: 2.4-r9 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 1.12.14-r1 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.13, 2.65-r1 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.3.4, 4.4.5 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 sys-kernel/linux-headers: 2.6.36.1 virtual/os-headers: 2.6.36.1 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=k8 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /var/bind /var/lib/hsqldb /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5.2/ext-active/ /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.2/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.2/ext-active/ /etc/php/cli-php5.3/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" CXXFLAGS="-O2 -march=k8 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs ccache collision-protect distlocks fixlafiles fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="ru_RU.UTF-8" LC_ALL="" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="ru 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="/var/lib/layman/ltsp /var/lib/layman/sunrise /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext 3gpp X acl alsa bash-completion berkdb bzip2 cdr cli consolekit cracklib crypt cups cxx dbus doc dri dvd dvdr emovix encode fame ffmpeg flac fortran gdbm gif gnome gnome-keyring gpm gstreamer gtk gtk2 iconv id3tag ithreads java jpeg jpeg2k kde lame lcms libnotify mmx modules mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre perl png pppd profile python qt3support qt4 quicktime readline sdl session slang sound spell sql sqlite sse sse2 sse3 ssh ssl ssse3 startup-notification svg sysfs taglib tcpd theora threads tiff tk truetype udev unicode usb v4l v4l2 vcd vorbis webkit win32codecs x86 xcomposite xml xorg xvid 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 cgi cgid 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="worker" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" NETBEANS_MODULES="php profiler webcommon ide java websvccommon nb harness cnd dlight" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv nouveau vesa fbdev v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= x11-drivers/nvidia-drivers-260.19.29 was built with the following: USE="gtk -acpi -custom-cflags (-multilib)"
Created attachment 270331 [details] complete build.log
Created attachment 270333 [details] environment
since no one else is complaining, chances are your system is broken in some way please run: emerge --debug nvidia-drivers >& log and post the log as an attachment
Created attachment 270339 [details] emerge debug nvidia-drivers
your sys-apps/file is broken: file: could not find any magic files! re-emerge it and/or strace it to find out why it cant find its files
re-emerge wasn't solved a problem. How can I connect `strace` to `file` when emerge is running. Sorry I have not even a little experience with debuging.
(In reply to comment #9) > re-emerge wasn't solved a problem. How can I connect `strace` to `file` when > emerge is running. Sorry I have not even a little experience with debuging. emerge strace strace -f -o file.strace file Then attach <file.strace>.
Created attachment 270635 [details] file.strace I have seen a problem. But I don't know how to exclude `/usr/local/zend/lib` from system libs. I don't want to delete it.
localhost ~ # cd /etc/ld.so.conf.d/ localhost ld.so.conf.d # mv zend_server.conf zend_server.conf.bak localhost ld.so.conf.d # env-update >>> Regenerating /etc/ld.so.cache... It fixed. Thanks all for help. Gentoo community the best! :)