Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 577472 - app-emulation/vmware-modules-304.2 with kernel 4.5 /build/portage/app-emulation/vmware-modules-304.2/work/vmblock-only/linux/inode.c:66:4: error: unknown field 'follow_link' specified in initializer
Summary: app-emulation/vmware-modules-304.2 with kernel 4.5 /build/portage/app-emulati...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo VMWare Bug Squashers [disabled]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-15 13:11 UTC by Ognian Tenchev
Modified: 2016-03-19 17:16 UTC (History)
0 users

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


Attachments
build.log (build.log,6.94 KB, patch)
2016-03-15 13:12 UTC, Ognian Tenchev
Details | Diff
304-4.5-01-inode.patch (304-4.5-01-inode.patch,2.29 KB, patch)
2016-03-15 13:21 UTC, Ognian Tenchev
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ognian Tenchev 2016-03-15 13:11:28 UTC
New day, new kernel version and again vmware-modules 304.2 can't compile.

Reproducible: Always

Steps to Reproduce:
1. emerge vmware-modules

Actual Results:  
compile and install


emerge --info
Portage 2.2.28 (python 2.7.11-final-0, default/linux/amd64/13.0, gcc-5.3.0, glibc-2.22-r2, 4.5.0-gentoo-dr x86_64)
=================================================================
System uname: Linux-4.5.0-gentoo-dr-x86_64-Intel-R-_Core-TM-_i5-2520M_CPU_@_2.50GHz-with-gentoo-2.2
KiB Mem:     8064164 total,   1215640 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Tue, 15 Mar 2016 11:15:01 +0000
sh bash 4.3_p42-r2
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
distcc[17764] (dcc_mkdir) ERROR: mkdir '/dev/shm/tmp/.distcc//state' failed: No such file or directory [disabled]
ccache version 3.2.4 [enabled]
app-shells/bash:          4.3_p42-r2::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.22.1::gentoo
dev-lang/python:          2.7.11-r2::gentoo
dev-util/ccache:          3.2.4::gentoo
dev-util/cmake:           3.5.0::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.20.5::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.7.3-r1::gentoo, 4.8.4::gentoo, 4.9.3::gentoo, 5.3.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.5::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.info-top.com/gentoo-portage
    priority: -1000
    sync-rsync-vcs-ignore: true

dr
    location: /etc/portage/overlays/dr
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
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.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.telepoint.bg/gentoo/"
LANG="en_US"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/build"
USE="7zip X a52 aac acl acpi additions aes alsa amd64 amr amrnb automount avx bash-completion bcmath berkdb bluetooth bogofilter bonjour bzip2 cairo calendar cdda cddb cdio cdr cgi chardet cli cluster compositor concurrentmodphp corba cracklib crypt curl curlwrappers cursors cxx daab dbase dbus dc1394 devhelp dga dhcp dirac disk-partition diskio dri dts dv dvb dvd dvdr elf encode epiphany exif extraengine extrafilters fam fastbuild fastcgi fat fcgi ffmpeg fftw filter flac flatfile fontconfig force-cgi-redirect fortran freetds ftp fuse gaim galago gd gdbm gdl gdm gdu ggi gif glib glitz gmp gnome-keyring gnomecd gnutls gpm graphviz groupwise gstreamer gtk gtk2 gtkhtml gudev guile hash hdaps hddtemp httpd icons iconv id3tag ieee1394 imap imlib inherit-graph inifile iproute2 ipv6 javascript jpeg json keyring lame laptop libgcrypt libnotify live lm_sensors lzo mad matroska meanwhile mmx mmxext mng mod modplug modules mp2 mp3 mp3rtp mp4 mpeg multilib musepack musicbrainz mysql mysqli nas ncurses network networking nls nntp nptl nptl-only nsplugin ntfs objc objc++ objc-gc ogg openct opengl openmp optimisememory pam pango pch pcmcia pcntl pcre pdf pdo perlsuid php pidgin png popcnt portaudio posix ppds prediction qmail qq readline real regex reiser4 reiserfs rrdcgi rtsp samba sasl scrobbler sdl sdl-image seccomp session sharedext shout silc simplexml slang slp smbclient smbsharemodes smp smux sndfile soap sockets soundex sourceview speex sqlite sqlite3 sse sse2 sse3 sse4 sse4_1 sse4_2 ssl ssse3 startup-notification stream subversion svg swat sysvipc t1lib taglib tcpd theora threads tidy tiff tokenizer totem truetype tta twolame type1 udev unicode usb vaapi vala vcd vcdx vhook vlm vorbis vorbis-psy wavpack wddx webdav wideband win32codecs winbind wma wmf wxwindows x264 xattr xcb xforms xml xmlreader xmlrpc xmlwriter xmp xosd xpm xprint xscreensaver xsl xv xvid 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" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" FOO2ZJS_DEVICES="hp1018" 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 ublox ubx" GRUB_PLATFORMS="pc" 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" LINGUAS="en_US bg en" LIRC_DEVICES="all" NGINX_MODULES_HTTP="mp4 flv access auth_basic autoindex browser charset empty_gif fastcgi geo gzip limit_req limit_zone map memcached proxy referer rewrite scgi split_clients ssi upstream_ip_hash userid uwsgi geoip gzip_static headers_more image_filter perl push realip secure_link stub_status sub upload upload_progress xslt addition cache_purge dav degradation random_index slowfs_cache spdy" OFFICE_IMPLEMENTATION="libreoffice" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" QEMU_SOFTMMU_TARGETS="arm i386 ppc ppc64 ppcemb x86_64 xtensa xtensaeb" QEMU_USER_TARGETS="arm armeb i386 ppc ppc64 ppc64abi32 unicore32 x86_64" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="intel i915 i965" 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"
USE_PYTHON="2.7"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Ognian Tenchev 2016-03-15 13:12:17 UTC
Created attachment 428296 [details, diff]
build.log
Comment 2 Ognian Tenchev 2016-03-15 13:20:47 UTC
Kernel 4.5 drop follow_link and introduce get_link - https://lwn.net/Articles/671470/
This broke again vmware-modules.

I have not enough knowledge for these kind of things, but anyway I try to make patch. It compiles fine for me, and I can start couple of my VM's. Maybe someone will create better patch. 

Attaching mine here. Put it in /etc/portage/patches/app-emulation/vmware-modules/ and emerge vmware-modules. Cross your fingers and give it a try.

P.S. You will also need patch for 4.3 kernel (bug #565060) - https://565060.bugs.gentoo.org/attachment.cgi?id=416216
Comment 3 Ognian Tenchev 2016-03-15 13:21:27 UTC
Created attachment 428298 [details, diff]
304-4.5-01-inode.patch
Comment 4 Alex Xu (Hello71) 2016-03-18 01:57:16 UTC
known bug. at least 2 versions of patch exist (almost certainly significantly more). unfortunately vmware project is chronically understaffed atm.
Comment 5 Evan Teran 2016-03-18 02:11:28 UTC
Please try the vmware overlay, I have patched it so it will be functional up to and including  kernel version 4.5
Comment 6 Andreas K. Hüttel archtester gentoo-dev 2016-03-19 17:16:00 UTC
(In reply to Evan Teran from comment #5)
> Please try the vmware overlay, I have patched it so it will be functional up
> to and including  kernel version 4.5

... and moved to main tree. 

Fixed in vmware-modules-304.3-r1