Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 384105 - [vmware overlay] =app-emulation/vmware-modules-264.0 fails to build against Linux 3.1-rc6 [patch included]
Summary: [vmware overlay] =app-emulation/vmware-modules-264.0 fails to build against L...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo VMWare Bug Squashers [disabled]
URL: http://weltall.heliohost.org/wordpres...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-22 15:30 UTC by Richard
Modified: 2012-01-10 14:51 UTC (History)
4 users (show)

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


Attachments
Failure log (build.log,24.86 KB, text/plain)
2011-09-22 15:32 UTC, Richard
Details
Weltall's patch (patch3031vmware741.patch,924 bytes, patch)
2011-09-22 15:34 UTC, Richard
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Richard 2011-09-22 15:30:49 UTC
A really awesome guy posted a patch for this at his blog:

http://weltall.heliohost.org/wordpress/2011/08/10/vmware-workstation-7-1-4-fix-for-linux-3-1/

Is there any chance that this could go into the overlay?

By the way, for anyone suffering from this problem, here is a workaround:

ebuild `equery which app-emulation/vmware-modules-264.0` prepare && wget -O - "http://weltall.heliohost.org/wordpress/wp-content/uploads/2011/08/patch3031vmware741.patch" | patch -d /var/tmp/portage/app-emulation/vmware-modules-264.0/work -p1 && ebuild `equery which app-emulation/vmware-modules-264.0` merge

Just run that as a single command and the vmware-modules package should install without any issue.

Here is my system information in case the maintainer wants to see it:

# emerge --info =app-emulation/vmware-modules-264.0
Portage 2.1.10.19 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.6, glibc-2.12.2-r0, 3.1.0-rc6 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.1.0-rc6-x86_64-Intel-R-_Core-TM-_i7-2820QM_CPU_@_2.30GHz-with-gentoo-2.0.3
Timestamp of tree: Thu, 22 Sep 2011 14:45:01 +0000
ccache version 3.1.6 [enabled]
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/ccache:          3.1.6
dev-util/cmake:           2.8.5-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.4.6-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo sunrise vmware local_overlay
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2  -mcx16 -msahf -maes -mpclmul -mpopcnt -msse4.1 -msse4.2 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=256 -mtune=core2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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=core2  -mcx16 -msahf -maes -mpclmul -mpopcnt -msse4.1 -msse4.2 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=256 -mtune=core2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs buildpkg ccache distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS="-O2 -march=core2  -mcx16 -msahf -maes -mpclmul -mpopcnt -msse4.1 -msse4.2 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=256 -mtune=core2 -pipe"
GENTOO_MIRRORS="http://mirror.lug.udel.edu/pub/gentoo/ http://gentoo.osuosl.org/ ftp://mirrors.rit.edu/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en zh_CN zh_HK zh_TW"
MAKEOPTS="-j9"
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/sunrise /var/lib/layman/vmware /usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cjk cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam ffmpeg fftw firefox flac fontconfig fortran gdbm gdu gif gnutls gpm iconv ipv6 java jpeg kde kipi lcms ldap libnotify lzma mad mmap mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses networkmanager nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf perl phonon plasma png policykit ppds pppd python qt3support qt4 readline sdl session spell sse sse2 sse3 ssl ssse3 startup-notification svg sysfs tcpd theora threads tiff truetype udev unicode usb vaapi vorbis x264 xcb xcomposite xinerama xml xorg xscreensaver xulrunner xv xvid xvmc zlib zsh-completion" 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 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" 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="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en zh_CN zh_HK zh_TW" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" 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, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

app-emulation/vmware-modules-264.0 was built with the following:
USE="(consolekit) (multilib) (policykit)"
Comment 1 Richard 2011-09-22 15:32:26 UTC
Created attachment 287419 [details]
Failure log

A permissions issue kept me from attaching the build.log. That should be fixed now.
Comment 2 Richard 2011-09-22 15:34:17 UTC
Created attachment 287421 [details, diff]
Weltall's patch

For convenience, I have attached the patch.
Comment 3 Preston Crow 2011-10-26 15:42:28 UTC
The workaround also works for vmware-modules-238.5 in the trunk:

ebuild `equery which app-emulation/vmware-modules-238.5` prepare && wget -O - "http://weltall.heliohost.org/wordpress/wp-content/uploads/2011/08/patch3031vmware741.patch" | patch -d /var/tmp/portage/app-emulation/vmware-modules-238.5/work -p1 && ebuild `equery which app-emulation/vmware-modules-238.5` merge

I had some transient DNS errors with the host for the patch, and you have to be careful as the cut-and-paste will add newlines.
Comment 4 Richard 2011-10-29 21:05:21 UTC
With =app-emulation/vmware-modules-264.0-r1, the ebuild fails to build at all and I cannot fix it by applying this patch. It looks like the patch has been included, but I do not have time to look into this in more detail.
Comment 5 Vadim Kuznetsov (RETIRED) gentoo-dev 2012-01-10 14:51:22 UTC
fixed in the tree (and overlay) some time ago.