Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 253782 - Error while emerging app-emulation/vmware-workstation-6.5.1.126130
Summary: Error while emerging app-emulation/vmware-workstation-6.5.1.126130
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo VMWare Bug Squashers [disabled]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-04 21:12 UTC by Dmitry V. Krivenok
Modified: 2009-01-05 13:59 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
vmware-workstation-6.5.1.126130-installer.patch-24519.out (vmware-workstation-6.5.1.126130-installer.patch-24519.out,13.74 KB, text/plain)
2009-01-04 21:14 UTC, Dmitry V. Krivenok
Details
Build log (build.log,1.70 KB, text/plain)
2009-01-04 21:15 UTC, Dmitry V. Krivenok
Details
environment (environment,101.36 KB, text/plain)
2009-01-04 21:16 UTC, Dmitry V. Krivenok
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry V. Krivenok 2009-01-04 21:12:39 UTC
I tried to emerge app-emulation/vmware-workstation-6.5.1.126130 and got the following errors:



olimpico_mobile portage # emerge -av app-emulation/vmware-workstation

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild IN f  ] app-emulation/vmware-workstation-6.5.1.126130  0 kB

Total: 1 package (1 new, 1 interactive), Size of downloads: 0 kB
Fetch Restriction: 1 package

Would you like to merge these packages? [Yes/No]

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) app-emulation/vmware-workstation-6.5.1.126130
* VMware-Workstation-6.5.1-126130.x86_64.bundle RMD160 SHA1 SHA256 size ;-) ...                                                                      [ ok ]
* checking ebuild checksums ;-) ...                                                                                                                  [ ok ]
* checking auxfile checksums ;-) ...                                                                                                                 [ ok ]
* checking miscfile checksums ;-) ...                                                                                                                [ ok ]
>>> Unpacking source...
stat: invalid option -- L
Usage: stat [-l] [-f] [-s] [-v] [-h] [-t] [-c format] file1 [file2 ...]
od: invalid -j argument `-4'
magic number does not match
* Applying vmware-workstation-6.5.1.126130-installer.patch ...

* Failed Patch: vmware-workstation-6.5.1.126130-installer.patch !
*  ( /usr/portage/app-emulation/vmware-workstation/files/vmware-workstation-6.5.1.126130-installer.patch )
*
* Include in your bugreport the contents of:
*
*   /var/tmp/portage/app-emulation/vmware-workstation-6.5.1.126130/temp/vmware-workstation-6.5.1.126130-installer.patch-24519.out

*
* ERROR: app-emulation/vmware-workstation-6.5.1.126130 failed.
* Call stack:
*               ebuild.sh, line   49:  Called src_unpack
*             environment, line 2639:  Called epatch '/usr/portage/app-emulation/vmware-workstation/files/vmware-workstation-6.5.1.126130-installer.patch'
*             environment, line 1288:  Called die
* The specific snippet of code:
*                   die "Failed Patch: ${patchname}!";
*  The die message:
*   Failed Patch: vmware-workstation-6.5.1.126130-installer.patch!
*
* 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/vmware-workstation-6.5.1.126130/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-emulation/vmware-workstation-6.5.1.126130/temp/environment'.
*

>>> Failed to emerge app-emulation/vmware-workstation-6.5.1.126130, Log file:

>>>  '/var/tmp/portage/app-emulation/vmware-workstation-6.5.1.126130/temp/build.log'

* Messages for package app-emulation/vmware-workstation-6.5.1.126130:

* Failed Patch: vmware-workstation-6.5.1.126130-installer.patch !
*  ( /usr/portage/app-emulation/vmware-workstation/files/vmware-workstation-6.5.1.126130-installer.patch )
*
* Include in your bugreport the contents of:
*
*   /var/tmp/portage/app-emulation/vmware-workstation-6.5.1.126130/temp/vmware-workstation-6.5.1.126130-installer.patch-24519.out
*
* ERROR: app-emulation/vmware-workstation-6.5.1.126130 failed.
* Call stack:
*               ebuild.sh, line   49:  Called src_unpack
*             environment, line 2639:  Called epatch '/usr/portage/app-emulation/vmware-workstation/files/vmware-workstation-6.5.1.126130-installer.patch'
*             environment, line 1288:  Called die
* The specific snippet of code:
*                   die "Failed Patch: ${patchname}!";
*  The die message:
*   Failed Patch: vmware-workstation-6.5.1.126130-installer.patch!
*
* 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/vmware-workstation-6.5.1.126130/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-emulation/vmware-workstation-6.5.1.126130/temp/environment'.
*
olimpico_mobile portage # 

Reproducible: Always

Steps to Reproduce:
1. Just run emerge -av app-emulation/vmware-workstation


Actual Results:  
Strange error messages were shown (see Description) 

Expected Results:  
vmware-workstation should be emerged without any errors :)

Info about environment:

olimpico_mobile portage # uname -a
Linux olimpico_mobile 2.6.24-gentoo-r4 #17 SMP Fri Jun 6 23:14:13 MSD 2008 x86_64 AMD Turion(tm) 64 X2 Mobile Technology TL-60 AuthenticAMD GNU/Linux
olimpico_mobile portage # emerge --info
Portage 2.1.6.4 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.24-gentoo-r4-x86_64-AMD_Turion-tm-_64_X2_Mobile_Technology_TL-60-with-glibc2.2.5
Timestamp of tree: Sun, 04 Jan 2009 11:30:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.4.4-r14, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
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.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O3 -pipe"
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 /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="ru_RU.KOI8-R"
LC_ALL="C"
LDFLAGS="-Wl,-O1"
LINGUAS="ru"
MAKEOPTS=""
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus doc dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gd gdbm ggi gif gnome gpm gs gstreamer gtk hal iconv imap ipv6 isdnlog java jbig jpeg jpeg2k kde kpathsea latex ldap libnotify lua mad mbox midi mikmod mmx motif mp3 mpeg mudflap multilib ncurses neXt nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png pop ppds pppd python qt3 qt3support qt4 quicktime readline reflection resolvconf rle sdl session smime spell spl sse sse2 ssl startup-notification svg sysfs tcl tcpd tetex tiff tk truetype unicode usb vorbis wxwindows xml xorg xulrunner xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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="ru" USERLAND="GNU" VIDEO_CARDS="vesa fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

olimpico_mobile portage #
Comment 1 Dmitry V. Krivenok 2009-01-04 21:14:56 UTC
Created attachment 177401 [details]
vmware-workstation-6.5.1.126130-installer.patch-24519.out
Comment 2 Dmitry V. Krivenok 2009-01-04 21:15:49 UTC
Created attachment 177402 [details]
Build log
Comment 3 Dmitry V. Krivenok 2009-01-04 21:16:37 UTC
Created attachment 177404 [details]
environment
Comment 4 Dmitry V. Krivenok 2009-01-04 21:24:59 UTC
Mike Auty noticed that stat's only called once during the installer phase, in the line:
FILE_SIZE=`stat --format "%s" "$0"`

I run this command and got the following error:

olimpico_mobile portage # stat --format "%s" /usr/portage/distfiles/VMware-Workstation-6.5.1-126130.x86_64.bundle
stat: invalid option -- -
Usage: stat [-l] [-f] [-s] [-v] [-h] [-t] [-c format] file1 [file2 ...]
olimpico_mobile portage #

It seems that right command should be:

olimpico_mobile portage # stat -c "%s" /usr/portage/distfiles/VMware-Workstation-6.5.1-126130.x86_64.bundle
361697489
olimpico_mobile portage #

I found strange thing:

olimpico_mobile portage # which stat
/usr/bin/stat
olimpico_mobile portage # equery b /usr/bin/stat
[ Searching for file(s) /usr/bin/stat in *... ]
!!! Parse error in '/var/db/pkg/sys-kernel/livecd-kernel-1/CONTENTS'
!!!   line 1: Unrecognized CONTENTS entry
sys-apps/stat-3.3 (/usr/bin/stat)
sys-apps/coreutils-6.10-r2 (/usr/bin/stat)
olimpico_mobile portage #

stat belongs to both sys-apps/stat and sys-apps/coreutils.
Is it OK?
Comment 5 Dmitry V. Krivenok 2009-01-04 22:08:09 UTC
I unemerged sys-apps/stat and reemerged coreutils.
Now proper version of stat is used and vmware-workstation is installed without any errors.
Comment 6 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2009-01-05 12:35:08 UTC
Reopening to reassign to ikelos.
Comment 7 Mike Auty (RETIRED) gentoo-dev 2009-01-05 13:59:24 UTC
Yep, vmware requires a GNU stat, I don't think I'll add a specific block against stat since it seems a bit of a rare problem (although I'm surprise stat and coreutils can co-exist).  So I'll mark this as LATER for now, and if anyone else runs into the problem, I'll reopen it and add specific blocks against stat (only in the DEPEND not the RDEPEND).

On a side note Dmitry, I couldn't see this because it was assigned to devrel@g.o, rather than bug-wranglers@g.o or vmware@g.o.  Anyway, glad you got it all solved...  5:)