Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 470896 - app-emulation/vmware-modules-{264,271} with kernel 3.10 - .../work/vmblock-only/linux/control.c:211:4: error: implicit declaration of function ‘create_proc_entry’ [-Werror=implicit-function-declaration]
Summary: app-emulation/vmware-modules-{264,271} with kernel 3.10 - .../work/vmblock-on...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo VMWare Bug Squashers [disabled]
URL:
Whiteboard:
Keywords: PATCH
: 480646 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-05-21 18:05 UTC by Fabio Rossi
Modified: 2016-08-11 11:13 UTC (History)
16 users (show)

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


Attachments
271-procfs.patch (271-procfs.patch,22.87 KB, patch)
2013-05-21 18:05 UTC, Fabio Rossi
Details | Diff
Patch for the 264.5 vmware-modules to work with the 3.10 kernel (264-procfs.patch,23.63 KB, patch)
2013-07-01 15:23 UTC, Mike Auty (RETIRED)
Details | Diff
vmware-modules-271.2.ebuild (vmware-modules-271.2.ebuild,2.01 KB, text/plain)
2013-07-08 08:48 UTC, Coacher
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fabio Rossi 2013-05-21 18:05:32 UTC
Created attachment 348842 [details, diff]
271-procfs.patch

Next kernel release 3.10 will remove the create_proc_entry() function:

  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-271.2/work/vmblock-only/linux/module.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-271.2/work/vmblock-only/linux/super.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-271.2/work/vmblock-only/linux/control.o
/var/tmp/portage/app-emulation/vmware-modules-271.2/work/vmblock-only/linux/dentry.c:38:4: warning: initialization from incompatible pointer type [enabled by default]
/var/tmp/portage/app-emulation/vmware-modules-271.2/work/vmblock-only/linux/dentry.c:38:4: warning: (near initialization for ‘LinkDentryOps.d_revalidate’) [enabled by default]
/var/tmp/portage/app-emulation/vmware-modules-271.2/work/vmblock-only/linux/dentry.c: In function ‘DentryOpRevalidate’:
/var/tmp/portage/app-emulation/vmware-modules-271.2/work/vmblock-only/linux/dentry.c:104:7: warning: passing argument 2 of ‘actualDentry->d_op->d_revalidate’ makes integer from pointer without a cast [enabled by default]
/var/tmp/portage/app-emulation/vmware-modules-271.2/work/vmblock-only/linux/dentry.c:104:7: note: expected ‘unsigned int’ but argument is of type ‘struct nameidata *’
/var/tmp/portage/app-emulation/vmware-modules-271.2/work/vmblock-only/linux/inode.c:49:4: warning: initialization from incompatible pointer type [enabled by default]
/var/tmp/portage/app-emulation/vmware-modules-271.2/work/vmblock-only/linux/inode.c:49:4: warning: (near initialization for ‘RootInodeOps.lookup’) [enabled by default]
/var/tmp/portage/app-emulation/vmware-modules-271.2/work/vmblock-only/linux/control.c: In function ‘SetupProcDevice’:
/var/tmp/portage/app-emulation/vmware-modules-271.2/work/vmblock-only/linux/control.c:211:4: error: implicit declaration of function ‘create_proc_entry’ [-Werror=implicit-function-declaration]
/var/tmp/portage/app-emulation/vmware-modules-271.2/work/vmblock-only/linux/control.c:211:21: warning: assignment makes pointer from integer without a cast [enabled by default]
/var/tmp/portage/app-emulation/vmware-modules-271.2/work/vmblock-only/linux/control.c:221:20: error: dereferencing pointer to incomplete type
/var/tmp/portage/app-emulation/vmware-modules-271.2/work/vmblock-only/linux/control.c: In function ‘ExecuteBlockOp’:
/var/tmp/portage/app-emulation/vmware-modules-271.2/work/vmblock-only/linux/control.c:285:9: warning: assignment from incompatible pointer type [enabled by default]
cc1: some warnings being treated as errors
make[3]: *** [/var/tmp/portage/app-emulation/vmware-modules-271.2/work/vmblock-only/linux/control.o] Error 1
make[2]: *** [_module_/var/tmp/portage/app-emulation/vmware-modules-271.2/work/vmblock-only] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/usr/src/wireless-testing'
make: *** [vmblock.ko] Error 2
 * ERROR: app-emulation/vmware-modules-271.2 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=app-emulation/vmware-modules-271.2'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/vmware-modules-271.2'`.
 * This ebuild is from an overlay named 'vmware': '/var/lib/layman/vmware/'
 * The complete build log is located at '/var/log/portage/app-emulation:vmware-modules-271.2:20130521-160839.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-emulation/vmware-modules-271.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/vmware-modules-271.2/temp/environment'.
 * Working directory: '/var/tmp/portage/app-emulation/vmware-modules-271.2/work/vmblock-only'
 * S: '/var/tmp/portage/app-emulation/vmware-modules-271.2/work'


I started from a patch found here, http://communities.vmware.com/thread/446113, and then completed with a missing part.
Comment 1 Mike Auty (RETIRED) gentoo-dev 2013-07-01 15:05:16 UTC
This affects multiple versions, and the patch only applies to 271, but I'll try and work up one for 264.5 as well...
Comment 2 Mike Gilbert gentoo-dev 2013-07-01 15:15:02 UTC
Does this affect open-vm-tools-kmod as well?
Comment 3 Mike Auty (RETIRED) gentoo-dev 2013-07-01 15:23:02 UTC
Created attachment 352406 [details, diff]
Patch for the 264.5 vmware-modules to work with the 3.10 kernel

So here's the patch for 264.5.
Comment 4 renato gallo 2013-07-02 12:09:56 UTC
I confirm the patch works on app-emulation/vmware-modules-271.2



emerge --info
Portage 2.1.12.2 (default/linux/amd64/13.0/desktop/gnome, gcc-4.6.3, glibc-2.17, 3.9.4-gentoo x86_64)
=================================================================
System uname: Linux-3.9.4-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_M_640_@_2.80GHz-with-gentoo-2.2
KiB Mem:     3908648 total,     76264 free
KiB Swap:   25165816 total,  23828868 free
Timestamp of tree: Tue, 02 Jul 2013 10:00:01 +0000
ld ld di GNU (GNU Binutils) 2.23.52.20130527
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r3, 3.2.3-r2, 3.3.2
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6, 1.12.6
sys-devel/binutils:       9999
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo zugaina sunrise mv
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/php/cli-php5.5/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 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=y --autounmask-write"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://mirror.bytemark.co.uk/gentoo/ http://mirror.bytemark.co.uk/gentoo/ rsync://mirror.bytemark.co.uk/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/"
LANG="it_IT.iso885915@euro"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/zugaina /var/lib/layman/sunrise /var/lib/layman/mv"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aacs aalib accessibility acl acpi activefilter adc65 afp agfa_cl20 alsa amd64 aox apache2 api-doc-extras ar archive artworkextra as atm audit autoipd avahi ax203 barbie bcmath berkdb bg bluetooth bluray bn bn_IN bookmarks br branding bs bzip2 ca cairo calendar canon canusb caps casio_qv cdb cdda cddb cdio cdr cgi cjk cli clicksmart310 clutter cnijtools colord common-lisp connection-sharing consolekit corefonts coverage cracklib crypt cs cuda cue cups curl custom-cflags cxx cy da dbus dconf de declarative demosaic deprecated dga dhcp digigr8 digita dimagev dimera3500 directfb directory discouraged djvu dmx doctool downloads-monitor dri dts dv dvb dvd dvdr dvi eap-sim eap-tls eds eigen el emacs emboss en_GB enchant encode enigma13 equalizer es et evo examples exif extensions extra extra-print-profiles fa fam fbcon ffmpeg fftw fi firefox firefox-bookmarks flac flash flatfile flickr fontconfig foomaticdb fortran fpm fprint fpx fr ftp fuji fuse gbm gconf gd gdbm gdu geonames ggi gif gimp gjs glade glamor gles1 gles2 gmp gnome gnome-keyring gnome-online-accounts gphoto2 gpm gps graphviz grilo gsf gsmart300 gsmloc gssapi gstreamer gtk gtk3 gu hardened hdri he hi highlight hostip howl-compat hp215 hr html http hu hy i18n i915 i965 iclick iconv icq id idn imagemagick imap inifile intl introspection iodbc ios iptc ipv6 irc irda is ivorbis ja jabber jack jadetex jamcam java jbig jd11 jemalloc jl2005a jl2005c john jpeg jpeg2k json ka kde kerberos kn ko kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica konica_qm150 lame laptop largan latex lcms ldap ldap-sasl lg_gsm libass libcaca libkms libmysqlclient libnotify libsamplerate libsecret libvisual lirc lo lqr lua lv lzma mad madwifi mai manual map mars mhash minizip mk mktemp ml mms mmx mng modemmanager modules mono mp140 mp210 mp280 mp3 mp4 mp520 mp610 mpeg mr ms msn mudflap multilib mustek mysql nas nautilus nb ncat ncurses ndiff netlink network networking networkmanager nl nls nmap-update nn nokia nominatim nping nptl nsplugin ocr odbc odk offensive office offlinehelp ogg opencl openexr opengl openmp openvg opus or osmesa oss pa pam panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 pango passwdqc pccam300 pccam600 pch pcmcia pcntl pcre pdf pdo perl pic pl playlist plazes plugins plymouth png polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 policykit postproc postscript ppds pt pt_BR pt_PT pulseaudio pvr pypy1_9 pypy2_0 python python2_5 python3_1 python3_3 q32 q64 q8 qt3support qt4 r100 r200 r300 r600 radius raw rdp readline realtime redland resolvconf rfc3779 ricoh ricoh_g3 ro rss ru samba samsung sasl script sdl seed sendto sensord session si sierra sip sipix_blink sipix_blink2 sipix_web2 sk skyhook sl smal smartcard snmp soap socialweb sockets sonix sony_dscf1 sony_dscf55 soundvision spca50x speex spell spice spidermonkey sq905 sql sql-debug sqlite sr sr@latin sse sse2 sse3 sse4_1 ssl ssse3 st2205 startup-notification stv0674 stv0680 sv svg sx330z syslog systemtap sysvipc t1lib ta taglib tcpd tdb te telepathy template test-programs th theora threads thunderbird tidy tiff tk tools topfield toshiba_pdrm11 tp6801 tr track-src-odirect tracker truetype tslib udev udisks uk unicode upnp upnp-av upower urandom usb utils uxa v4l vala vcd vdpau verbose-debug vi viaregtool vim vim-syntax vorbis wavpack wddx webkit webp wifi wimax wininst wmf wps wxwidgets x264 xa xattr xcb xine xinerama xml xmlreader xmlrpc xmlwriter xmp xnest xorg xpm xps xslt xv xvfb xvid xvmc yahoo yahoo-geo zeitgeist zeroconf zip zlib" ABI_X86="64" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 sheets stage tables krita karbon braindump author" 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" LIBREOFFICE_EXTENSIONS="presenter-minimizer scripting-beanshell scripting-javascript wiki-publisher nlpsolver pdfimport presenter-console" LINGUAS="it" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4 php5-5" PYTHON_SINGLE_TARGET="python2_7 python3_3%" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga 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, USE_PYTHON
Comment 5 Stefan G. Weichinger 2013-07-08 08:44:39 UTC
(In reply to renato gallo from comment #4)
> I confirm the patch works on app-emulation/vmware-modules-271.2

can't get the patch applied ... could someone share the ebuild as well?
(do other older patches have to get removed from the ebuild?)
Comment 6 Coacher 2013-07-08 08:48:37 UTC
Created attachment 352846 [details]
vmware-modules-271.2.ebuild

(In reply to Stefan G. Weichinger from comment #5)
> (In reply to renato gallo from comment #4)
> > I confirm the patch works on app-emulation/vmware-modules-271.2
> 
> can't get the patch applied ... could someone share the ebuild as well?
> (do other older patches have to get removed from the ebuild?)
Comment 7 Stefan G. Weichinger 2013-07-08 09:02:10 UTC
(In reply to Coacher from comment #6)
> Created attachment 352846 [details]
> vmware-modules-271.2.ebuild


Thanks ... I had the wrong patch :-/ sorry ;-)
Comment 8 Norman Back 2013-07-15 07:38:36 UTC
Confirm patch works on app-emulation/vmware-modules-264.5 with sys-kernel/gentoo-sources-3.10.1
Comment 9 Vasilis Lourdas 2013-07-24 13:20:11 UTC
271-procfs.patch works fine here (vmware-modules-271.2). Thanks.

emerge --info
Portage 2.1.12.2 (default/linux/amd64/13.0/desktop/kde, gcc-4.6.3, glibc-2.15-r3, 3.10.2-gentoo x86_64)
=================================================================
System uname: Linux-3.10.2-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9550_@_2.83GHz-with-gentoo-2.2
KiB Mem:     8167940 total,   3496468 free
KiB Swap:    8388600 total,   8388600 free
Timestamp of tree: Wed, 24 Jul 2013 12:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.5, 3.2.5-r1
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.12.6
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.5.4, 4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo vmware Local-overlay-Vasilis
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA skype-eula Google-TOS AdobeFlash-11.x Oracle-BCLA-JavaSE skype-4.0.0.7-copyright TeamViewer"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core2 -mcx16 -msahf -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-tbm -mno-avx -mno-sse4.2 -msse4.1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=core2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /var/lib/hsqldb"
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/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=core2 -mcx16 -msahf -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-tbm -mno-avx -mno-sse4.2 -msse4.1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=core2"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://files.gentoo.gr http://ftp.cc.uoc.gr/mirrors/linux/gentoo/ ftp://files.gentoo.gr ftp://ftp.ntua.gr/pub/linux/gentoo/ ftp://ftp.cc.uoc.gr/mirrors/linux/gentoo/ http://gentoo.mneisen.org/ http://mirror.netcologne.de/gentoo/ http://mirrors.linuxant.fr/distfiles.gentoo.org/ http://gentoo.wheel.sk/ http://gentoo.modulix.net/gentoo/ http://gentoo.mirror.dkm.cz/pub/gentoo/ http://gentoo.inf.elte.hu/ http://tux.rainside.sk/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ http://ftp.halifax.rwth-aachen.de/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://mirror.netcologne.de/gentoo/ http://gentoo.mirror.pw.edu.pl/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ http://gentoo.supp.name/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://mirrors.linuxant.fr/distfiles.gentoo.org/ http://portage.org.ua/ http://mirror.leaseweb.com/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp.dei.uc.pt/pub/linux/gentoo/ http://mirror.ovh.net/gentoo-distfiles/ http://mirror.opteamax.de/gentoo/ http://gentoo.lagis.at/"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/vmware /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="256-color X a52 aac acl acpi additions aio alsa amd64 apache2 apng archive asf bash-completion bcmath berkdb branding bzip2 bzlib cairo calendar caps cdr charconv chm cli consolekit contrast corefonts cracklib crypt cryptsetup css ctype cups cupsddk curl cxx dba dbus dcc_video declarative device-mapper dia dmi dri dts dvd dvdr dvdread ebook effects emboss encode exif expat extras faac faad fam fastcgi fat fbcon ffmpeg fftw filter firefox firefox3 flac flatfile fontconfig foomaticdb fpm ftp g3dvl gallium gcj gd gdbm gif gimp gimpprint git gles2 glib glx gmp gnomedb gnutls gocr gphoto2 gpm graphviz gs gstreamer gtk hddtemp hotpixels howl iconv icu id3tag imagemagick imap imlib innodb inotify intl iso14755 jabber java java6 javascript jpeg jpeg2k json kde kdeenablefinal kdehiddenvisibility kipi lame lastfm lcdfilter lcms lensfun libkms libnotify libsamplerate libwww lm_sensors lzma mad madwifi maildir mailwrapper maps matroska mdadm melt mhash mime minizip mmap mmx mmxext modules motif mozbranding mozdevelop mozilla mozsvg mp3 mp4 mpeg mplayer mpm-worker mudflap multilib multiuser mysql mysqli mysqlnd ncurses newspr nlpsolver nls no-old-linux nodrm nomalloccheck nptl ntfs ntfsprogs objc offensive ofx ogg oldpim opengl openmp optimization oqgraph osmesa pam pango pcmcia pcntl pcre pdf pdfimport pdo pear phonon php plasma plotutils pmu png policykit posix postgres ppds python qt3support qt4 quicktime rar raw rdesktop rdoc readline redeyes reports romio sasl scanner script sdl semantic-desktop server session sha512 sharedext simplexml smp sndfile soap sockets speex spell sphinx spreadsheet sqlite sqlite3 srt sse sse2 sse3 sse4_1 ssl ssse3 startup-notification subtitles subversion svg symlink sysfs syslog sysvipc tcltk tcpd templates tetex theora thin-splines threads tidy tiff tokenizer tordns truetype udev udisks unicode upower urandom usb userlocales v4l vda vdpau video vmware-tools vmware_guest_linux vmware_guest_windows vncviewer vorbis wddx webkit webm windeco wv wxgtk1 wxwidgets x264 xcomposite xetex xft xine xinerama xml xmlreader xmlrpc xmlwriter xorg xpdf-headers xpm xprint xscreensaver xsl xv xvid xvnc zip zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_core authn_dbm authn_file authz_core authz_dbm 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 mime mime_magic negotiation rewrite setenvif socache_shmcb speling status unique_id userdir usertrack vhost_alias version unixd" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" ENLIGHTENMENT_MODULES="backlight battery clock comp conf-applications conf-dialogs conf-display conf-edgebindings conf-interaction conf-intl conf-keybindings conf-menus conf-paths conf-performance conf-randr conf-shelves conf-theme conf-window-manipulation conf-window-remembers cpufreq dropshadow everything fileman fileman-opinfo gadman ibar ibox illume2 mixer msgbus notification pager quickaccess start syscon systray tasks temperature tiling winlist wizard xkbswitch" 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" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer pdfimport" LINGUAS="en en_GB en_US el" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3 php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18" SANE_BACKENDS="snapscan" USERLAND="GNU" VIDEO_CARDS="nouveau" 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, USE_PYTHON
Comment 10 Martin Mokrejš 2013-08-08 18:52:02 UTC
I hit this issue also with vanilla 3.10.4 kernel. The 271-procfs.patch works for me also.

gcc version 4.7.2 (Gentoo 4.7.2-r1 p1.5, pie-0.5.5)
Comment 11 László Szalma 2013-08-10 10:13:29 UTC
If more confirm will make the patch get in to the portage tree, then here it is: ~amd64 3.10.5-gentoo-r1, /etc/portage/patches/app-emulation/vmware-modules-271.2/271-procfs.patch the module compiles, and everything works fine. Thank you!
Comment 12 Andreas K. Hüttel archtester gentoo-dev 2013-08-11 17:24:35 UTC
Patches added. Let's hope nothing explodes.
Comment 13 Andreas K. Hüttel archtester gentoo-dev 2013-08-13 14:36:28 UTC
*** Bug 480646 has been marked as a duplicate of this bug. ***
Comment 14 Manfred Knick 2013-08-19 19:01:58 UTC
(In reply to Andreas K. Hüttel from comment #12)

Hi, Andreas,

> Patches added. 

Where to? 

I guess, you mean:

# head  /usr/portage/app-emulation/vmware-modules/ChangeLog 
...
  11 Aug 2013; Andreas K. Huettel <dilfridge@gentoo.org>
  +files/264-3.10.0.patch, +files/271-3.10.0.patch,
  vmware-modules-264.5.ebuild, vmware-modules-271.2.ebuild:
  Add contributed patches for kernel 3.10.0, see bug 470896

But why isn't there at least a new minor version number
for portage to grasp the updates?

Why is this bug already "Closed Fixed" without a new version in portage
so others don't find it searching for e.g. "vmware-modules 3.10" 
without the need of adding an "ALL" to include the "old" ones?
In such a case, you don't need to wonder getting "duplicate"s ...

Kind regards
Respectfully yours
Manfred
Comment 15 Manfred Knick 2013-08-20 08:09:54 UTC
(In reply to Andreas K. Hüttel from comment #12)

Hi, Andreas,

> Patches added. Let's hope nothing explodes.

Not at all - just the opposite:

Confirmation for x86_64:

... Kernel 3.10.7
... ASUS P8C WS, Intel Xeon E3-1275 V2, 32GB
... Adaptec ASR-71685E
... Intel 10-Gigabit X540-AT2
... 
... The kernel is KVM-enabled (*) and additionally incorporates the
... complete current iSCSI patchset from SCST (trunk, revision 4976).
... 
... All works well together.

This is especially valuable with G.K-H just having declared 3.10 as 
"long-term".

Thank you very much!
Yours sincerely
Manfred


(*) Of course, only one of the hypervisors can be started at a time, 
either KVM or VMware.