when i am trying to emerge games-server/halflife-steam-2.0 i recive following error ( propobly ebuild has error in it) "chmod: cannot access `steam': No such file or directory" * hldsupdatetool.bin RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking hldsupdatetool.bin ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking hldsupdatetool.bin to /var/tmp/portage/games-server/halflife-steam-2.0/work chmod: cannot access `steam': No such file or directory >>> Source unpacked. >>> Compiling source in /var/tmp/portage/games-server/halflife-steam-2.0/work ... >>> Source compiled. >>> Test phase [not enabled]: games-server/halflife-steam-2.0 >>> Install halflife-steam-2.0 into /var/tmp/portage/games-server/halflife-steam-2.0/image/ category games-server install: cannot stat `steam': No such file or directory * * ERROR: games-server/halflife-steam-2.0 failed. * Call stack: * ebuild.sh, line 49: Called src_install * environment, line 2263: Called die * The specific snippet of code: * doexe steam || die; * The die message: * (no error message) * * 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/games-server/halflife-steam-2.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-server/halflife-steam-2.0/temp/environment'. * Reproducible: Always Steps to Reproduce: 1. just emerge games-server/halflife-steam-2.0 2. 3. Actual Results: >>> Install halflife-steam-2.0 into /var/tmp/portage/games-server/halflife-steam-2.0/image/ category games-server install: cannot stat `steam': No such file or directory Expected Results: it should emerge with no errors
unpacks fine for me. reopen with the output from emerge --info and /var/tmp/portage/games-server/halflife-steam-2.0/temp/build.log
emerge --info Portage 2.2_rc1 (default-linux/x86/2007.0, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.25.4 i686) ================================================================= System uname: Linux-2.6.25.4-i686-Intel-R-_Core-TM-2_CPU_4300_@_1.80GHz-with-glibc2.0 Timestamp of tree: Mon, 07 Jul 2008 11:03:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6-r1 dev-lang/python: 2.5.2-r5 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 9999-r1 sys-apps/sandbox: 1.2.18.1-r3 sys-devel/autoconf: 2.13, 2.62-r1 sys-devel/automake: 1.4_p6, 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 -mtune=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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="-march=core2 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.po.opole.pl http://src.gentoo.pl http://gentoo.mirror.pw.edu.pl/ http://gentoo.ynet.sk/pub" LANG="pl_PL" LC_ALL="pl_PL" LDFLAGS="" LINGUAS="pl" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/banned_branches" 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/portage/local/layman/mozilla /usr/portage/local/layman/kde /usr/portage/local/layman/sabayon /usr/portage/local/layman/desktop-effects /usr/portage/local/layman/secondlife /usr/local/portage" SYNC="rsync://192.168.0.1/gentoo-portage" USE="X a52 aac acl alsa apache2 avahi cli clucene cracklib crypt cups dbus dga divx dri dts dv dvb dvd dvdread encode extensions firefox fortran ftp fuse gd gdbm gif glitz gmedia gnome gpm gstreamer gtk iconv imq ipv6 isdnlog java jpeg kde4 l7filter logitech-mouse mad midi mmx mmxext mp3 mpeg mudflap musepack mysql ncurses nls nptl nptlonly opengl openmp oss pam pcre pdf perl php png ppds pppd pulseaudio python qt3 qt3support qt4 quicktime radio rar readline real realmedia reflection sdl session snmp sockets speex spl sqlite sqlite3 srt sse sse2 ssl ssse3 svg tcpd threadsafe tiff truetype unicode v4l v4l2 vidix vorbis win32codecs wma wmp x264 x86 xanim xcb xcomposite xml xml2 xorg xrandr xvid xvmc zlib" ALSA_CARDS="emu10k1 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" 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="pl" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS ------------------------------------------------------------------------------------------------------------------ log info /var/tmp/portage/games-server/halflife-steam-2.0/temp/build.log >>> Unpacking source... >>> Unpacking hldsupdatetool.bin to /var/tmp/portage/games-server/halflife-steam-2.0/work chmod: cannot access `steam': No such file or directory >>> Source unpacked. >>> Compiling source in /var/tmp/portage/games-server/halflife-steam-2.0/work ... >>> Source compiled. >>> Test phase [not enabled]: games-server/halflife-steam-2.0 >>> Install halflife-steam-2.0 into /var/tmp/portage/games-server/halflife-steam-2.0/image/ category games-server install: cannot stat `steam': No such file or directory ^[[31;01m*^[[0m ^[[31;01m*^[[0m ERROR: games-server/halflife-steam-2.0 failed. ^[[31;01m*^[[0m Call stack: ^[[31;01m*^[[0m ebuild.sh, line 49: Called src_install ^[[31;01m*^[[0m environment, line 2283: Called die ^[[31;01m*^[[0m The specific snippet of code: ^[[31;01m*^[[0m doexe steam || die; ^[[31;01m*^[[0m The die message: ^[[31;01m*^[[0m (no error message) ^[[31;01m*^[[0m ^[[31;01m*^[[0m If you need support, post the topmost build error, and the call stack if relevant. ^[[31;01m*^[[0m A complete build log is located at '/var/tmp/portage/games-server/halflife-steam-2.0/temp/build.log'. ^[[31;01m*^[[0m The ebuild environment file is located at '/var/tmp/portage/games-server/halflife-steam-2.0/temp/environment'. ^[[31;01m*^[[0m
Modify the ebuild and add set -x on the line right before the unpack_pdv line. That'll generate a bunch of additional output. I'd like to see that please.
Created attachment 159949 [details] Emerge - more details log
well, maybe I'm just not seeing it so make it more obvious by using sed -xe please.
sigh. should be "set -xe"
If i have in ebuild; src_unpack() { <------>unpack_pdv hldsupdatetool.bin 4 <------>set -xe <------>chmod a+x steam } Then i recive this error :-) >>> Emerging (1 of 1) games-server/halflife-steam-2.0 to / * hldsupdatetool.bin RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking hldsupdatetool.bin ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking hldsupdatetool.bin to /var/tmp/portage/games-server/halflife-steam-2.0/work + chmod a+x steam chmod: cannot access `steam': No such file or directory * The ebuild phase 'unpack' has exited unexpectedly. This type of behavior * is known to be triggered by things such as failed variable assignments * (bug #190128) or bad substitution errors (bug #200313). * Messages for package games-server/halflife-steam-2.0: * The ebuild phase 'unpack' has exited unexpectedly. This type of behavior * is known to be triggered by things such as failed variable assignments * (bug #190128) or bad substitution errors (bug #200313).
put the set on the line before the unpack
>>> Emerging (1 of 1) games-server/halflife-steam-2.0 to / * hldsupdatetool.bin RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking hldsupdatetool.bin ;-) ... [ ok ] >>> Unpacking source... + unpack_pdv hldsupdatetool.bin 4 ++ find_unpackable_file hldsupdatetool.bin ++ local src=hldsupdatetool.bin ++ [[ -z hldsupdatetool.bin ]] ++ [[ -e /var/tmp/portage/games-server/halflife-steam-2.0/distdir/hldsupdatetool.bin ]] ++ src=/var/tmp/portage/games-server/halflife-steam-2.0/distdir/hldsupdatetool.bin ++ [[ ! -e /var/tmp/portage/games-server/halflife-steam-2.0/distdir/hldsupdatetool.bin ]] ++ echo /var/tmp/portage/games-server/halflife-steam-2.0/distdir/hldsupdatetool.bin + local src=/var/tmp/portage/games-server/halflife-steam-2.0/distdir/hldsupdatetool.bin + local sizeoff_t=4 + [[ -z /var/tmp/portage/games-server/halflife-steam-2.0/distdir/hldsupdatetool.bin ]] + [[ -z 4 ]] ++ basename /var/tmp/portage/games-server/halflife-steam-2.0/distdir/hldsupdatetool.bin + local shrtsrc=hldsupdatetool.bin + echo '>>> Unpacking hldsupdatetool.bin to /var/tmp/portage/games-server/halflife-steam-2.0/work' >>> Unpacking hldsupdatetool.bin to /var/tmp/portage/games-server/halflife-steam-2.0/work ++ tail -c 4 /var/tmp/portage/games-server/halflife-steam-2.0/distdir/hldsupdatetool.bin ++ hexdump -e '"%i"' + local metaskip=3481062 ++ tail -c 8 /var/tmp/portage/games-server/halflife-steam-2.0/distdir/hldsupdatetool.bin ++ head -c 4 ++ hexdump -e '"%i"' + local tailskip=7825 ++ emktemp ++ local exe=touch ++ [[ '' == -d ]] ++ local topdir= ++ [[ -z '' ]] ++ [[ -z /var/tmp/portage/games-server/halflife-steam-2.0/temp ]] ++ topdir=/var/tmp/portage/games-server/halflife-steam-2.0/temp ++ type -P mktemp ++ [[ touch == \t\o\u\c\h ]] ++ TMPDIR=/var/tmp/portage/games-server/halflife-steam-2.0/temp ++ mktemp -t tmp.XXXXXXXXXX + local metafile=/var/tmp/portage/games-server/halflife-steam-2.0/temp/tmp.0azT8VA32Z + tail -c +3481063 /var/tmp/portage/games-server/halflife-steam-2.0/distdir/hldsupdatetool.bin ++ tail -c +3481063 /var/tmp/portage/games-server/halflife-steam-2.0/distdir/hldsupdatetool.bin ++ strings ++ head -n 1 + local datafile=steam.tar.Z ++ basename steam.tar.Z + datafile=steam.tar.Z ++ emktemp ++ local exe=touch ++ [[ '' == -d ]] ++ local topdir= ++ [[ -z '' ]] ++ [[ -z /var/tmp/portage/games-server/halflife-steam-2.0/temp ]] ++ topdir=/var/tmp/portage/games-server/halflife-steam-2.0/temp ++ type -P mktemp ++ [[ touch == \t\o\u\c\h ]] ++ TMPDIR=/var/tmp/portage/games-server/halflife-steam-2.0/temp ++ mktemp -t tmp.XXXXXXXXXX + local tmpfile=/var/tmp/portage/games-server/halflife-steam-2.0/temp/tmp.jTyMnTfazw + tail -c +7826 /var/tmp/portage/games-server/halflife-steam-2.0/distdir/hldsupdatetool.bin + head -c 512 ++ file -b /var/tmp/portage/games-server/halflife-steam-2.0/temp/tmp.jTyMnTfazw + local iscompressed=data + [[ data == \c\o\m\p\r\e\s\s ]] + iscompressed=0 ++ file -b /var/tmp/portage/games-server/halflife-steam-2.0/temp/tmp.jTyMnTfazw + local istar=data + [[ data == \P\O\S\I\X\ \t\a\r ]] + istar=0 + '[' 0 -eq 1 ']' + '[' 0 -eq 1 ']' + tail -c +7826 /var/tmp/portage/games-server/halflife-steam-2.0/distdir/hldsupdatetool.bin + head -c 3473237 + true + chmod a+x steam chmod: cannot access `steam': No such file or directory * The ebuild phase 'unpack' has exited unexpectedly. This type of behavior * is known to be triggered by things such as failed variable assignments * (bug #190128) or bad substitution errors (bug #200313). * Messages for package games-server/halflife-steam-2.0: * The ebuild phase 'unpack' has exited unexpectedly. This type of behavior * is known to be triggered by things such as failed variable assignments * (bug #190128) or bad substitution errors (bug #200313).
downgrade your version of file. Latest version of file misidentifies the temp file as "data" instead of "compressed...."
"downgrade your version of file." What this is exactly means ? what file? hldsupdatetool.bin - i should download older version ? and why it doesnt working in here ?
Use the stable version of sys-apps/file
emerge =sys-apps/file-4.23 and mask >sys-apps/file-4.23 it works, THX