Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 398739 - emerge =app-emulation/open-vm-tools-kmod-8.8.1.528969 fails with kernel 3.2.0 (gentoo-sources-3.2.0-r1)
Summary: emerge =app-emulation/open-vm-tools-kmod-8.8.1.528969 fails with kernel 3.2.0...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo VMWare Bug Squashers [disabled]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-13 09:13 UTC by Andrejs Eigus
Modified: 2012-02-06 10:19 UTC (History)
4 users (show)

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


Attachments
build.log (build.log,13.58 KB, text/plain)
2012-01-13 09:14 UTC, Andrejs Eigus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrejs Eigus 2012-01-13 09:13:21 UTC
app-emulation/open-vm-tools-kmod-8.8.1.528969 
and ALSO 
app-emulation/open-vm-tools-kmod-2011.11.20.535097

fail to build with gentoo-sources-3.2.0-r1.


Reproducible: Always

Actual Results:  
emerge fails 


Portage 2.1.10.44 (default/linux/amd64/10.0/server, gcc-4.5.3, glibc-2.14.1-r2, 3.1.7-gentoo-mrbyte x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.1.7-gentoo-mrbyte-x86_64-Intel-R-_Xeon-R-_CPU_X5650_@_2.67GHz-with-gentoo-2.1
Timestamp of tree: Thu, 12 Jan 2012 23:30:01 +0000
ccache version 3.1.7 [enabled]
app-shells/bash:          4.2_p20
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/ccache:          3.1.7
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.2
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.2 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r2
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64 amd64-fbsd x86 ~amd64 ~amd64-fbsd ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -mtune=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -mtune=native -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n"
FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="POSIX"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en ru"
MAKEOPTS="-j5"
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="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="\ acl acpi alias amd64 asis autoindex bash-completion bcmath bzip2 cache cgi clamav clflush cli cracklib crm114 crypt curl cxx dbus disk_cache domxml dri dspam expat extensions freetype ftp gd gdbm gettext glibc-omitfp gmp gpm hal hardened headers ht iconv idn imap ithreads jpeg kolab log_config maildir mailtrain mbstring mcrypt memcached memlimit mhash milter mime mimencode mm mmx mmxext mod_php modules mtrr mudflap multilib mysql mysqli ncurses nginx nls normalizemime nptl nptlonly openmp pam pcre pear png pni pop3d pppd qmail readline reiserfs session signature-log smp snmp sockets sqlite sse sse2 ssl ssse3 svm sysfs syslog sysvipc tcpd threads tidymbstring tiff tokenizer truetype unicode userlocales utf8 valias vhost_alias vhosts vpopmail wddx xml xmlrpc xorg xsl xslt zlib zts" 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 auth_basic authz_default authz_host authz_user authn_file alias autoindex deflate dir env expires filter headers log_config mime negotiation rewrite setenvif status" APACHE2_MPMS="event" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru" NGINX_MODULES_HTTP="access autoindex browser charset empty_gif fastcgi flv geoip gzip limit_zone map proxy rewrite stub_status upstream_ip_hash upload_progress" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

BEANRWEB01:~#
Comment 1 Andrejs Eigus 2012-01-13 09:14:27 UTC
Created attachment 298827 [details]
build.log
Comment 2 Arnim Eijkhoudt 2012-01-25 08:47:01 UTC
Also confirmed for me on x86_64:

  CC [M]  /var/tmp/portage/app-emulation/open-vm-tools-kmod-2011.11.20.535097/work/open-vm-tools-2011.11.20-535097/modules/linux/vmhgfs/super.o
/var/tmp/portage/app-emulation/open-vm-tools-kmod-2011.11.20.535097/work/open-vm-tools-2011.11.20-535097/modules/linux/vmhgfs/tcp.c:53:30: error: expected ')' before numeric constant
/var/tmp/portage/app-emulation/open-vm-tools-kmod-2011.11.20.535097/work/open-vm-tools-2011.11.20-535097/modules/linux/vmhgfs/tcp.c:56:25: error: expected ')' before 'int'
/var/tmp/portage/app-emulation/open-vm-tools-kmod-2011.11.20.535097/work/open-vm-tools-2011.11.20-535097/modules/linux/vmhgfs/tcp.c:59:33: error: expected ')' before 'int'
make[2]: *** [/var/tmp/portage/app-emulation/open-vm-tools-kmod-2011.11.20.535097/work/open-vm-tools-2011.11.20-535097/modules/linux/vmhgfs/tcp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [_module_/var/tmp/portage/app-emulation/open-vm-tools-kmod-2011.11.20.535097/work/open-vm-tools-2011.11.20-535097/modules/linux/vmhgfs] Error 2
make[1]: Leaving directory `/usr/src/linux-3.2.1-gentoo-r2'
make: *** [vmhgfs.ko] Error 2
 * ERROR: app-emulation/open-vm-tools-kmod-2011.11.20.535097 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of 'emerge --info =app-emulation/open-vm-tools-kmod-2011.11.20.535097',
 * the complete build log and the output of 'emerge -pqv =app-emulation/open-vm-tools-kmod-2011.11.20.535097'.
 * The complete build log is located at '/var/tmp/portage/app-emulation/open-vm-tools-kmod-2011.11.20.535097/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/open-vm-tools-kmod-2011.11.20.535097/temp/environment'.
 * S: '/var/tmp/portage/app-emulation/open-vm-tools-kmod-2011.11.20.535097/work/open-vm-tools-2011.11.20-535097'
Comment 3 Michael Lorant 2012-01-27 07:23:59 UTC
Now that vanilla-sources-3.2.2 has been flagged as stable for amd64 this is going to be a much bigger problem for users who upgrade their kernel.
Comment 4 jupiler 2012-01-30 07:22:59 UTC
comfirmed on my 26 boxes.
  CC [M]  /var/tmp/portage/app-emulation/open-vm-tools-kmod-2011.11.20.535097/work/open-vm-tools-2011.11.20-535097/modules/linux/vmhgfs/cpName.o
/var/tmp/portage/app-emulation/open-vm-tools-kmod-2011.11.20.535097/work/open-vm-tools-2011.11.20-535097/modules/linux/vmhgfs/fsutil.c: In function 'HgfsChangeFileAttributes':
/var/tmp/portage/app-emulation/open-vm-tools-kmod-2011.11.20.535097/work/open-vm-tools-2011.11.20-535097/modules/linux/vmhgfs/fsutil.c:610:4: error: assignment of read-only member 'i_nlink'
make[2]: *** [/var/tmp/portage/app-emulation/open-vm-tools-kmod-2011.11.20.535097/work/open-vm-tools-2011.11.20-535097/modules/linux/vmhgfs/fsutil.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/var/tmp/portage/app-emulation/open-vm-tools-kmod-2011.11.20.535097/work/open-vm-tools-2011.11.20-535097/modules/linux/vmhgfs/tcp.c:53:30: error: expected ')' before numeric constant
/var/tmp/portage/app-emulation/open-vm-tools-kmod-2011.11.20.535097/work/open-vm-tools-2011.11.20-535097/modules/linux/vmhgfs/tcp.c:56:25: error: expected ')' before 'int'
/var/tmp/portage/app-emulation/open-vm-tools-kmod-2011.11.20.535097/work/open-vm-tools-2011.11.20-535097/modules/linux/vmhgfs/tcp.c:59:33: error: expected ')' before 'int'
make[2]: *** [/var/tmp/portage/app-emulation/open-vm-tools-kmod-2011.11.20.535097/work/open-vm-tools-2011.11.20-535097/modules/linux/vmhgfs/tcp.o] Error 1
make[1]: *** [_module_/var/tmp/portage/app-emulation/open-vm-tools-kmod-2011.11.20.535097/work/open-vm-tools-2011.11.20-535097/modules/linux/vmhgfs] Error 2
make[1]: Leaving directory `/usr/src/linux-3.2.1-gentoo-r2'
make: *** [vmhgfs.ko] Error 2

This might become quiet important with the CVE-2012-0056.
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-0056
Comment 5 Micha Glave 2012-02-02 20:58:34 UTC
Seems to be a know problem:

http://sourceforge.net/tracker/index.php?func=detail&aid=3457581&group_id=204462&atid=989708

So we need a version bump to 
open-vm-tools-2011.12.20-562307.tar.gz

hth

migmedia
Comment 6 MarcusX 2012-02-03 01:45:17 UTC
When will the new version be added to the portage?
I have this exact problem for quite a while, way before 3.2.0 kernel.. on multiple
VM's..
Comment 7 Vadim Kuznetsov (RETIRED) gentoo-dev 2012-02-04 16:49:58 UTC
Patched version is in the tree. Please sync and test.
Comment 8 Martin Kolleck 2012-02-06 10:19:14 UTC
The patched version works for me with sys-kernel/hardened-sources-3.2.2-r1.

Note: The patch from bug #386721 still needs to be applied though, but this affects hardened-sources only.