Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 611294 - app-emulation/vmware-modules-308.1.1 Failed patch 308-4.09-00-user-pages.patch
Summary: app-emulation/vmware-modules-308.1.1 Failed patch 308-4.09-00-user-pages.patch
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo VMWare Bug Squashers [disabled]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-01 09:01 UTC by Heinrich Götzger
Modified: 2017-03-06 19:56 UTC (History)
0 users

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


Attachments
/var/tmp/portage/app-emulation/vmware-modules-308.1.1/temp/308-4.09-00-user-pages.patch.out (308-4.09-00-user-pages.patch.out,8.15 KB, text/plain)
2017-03-01 09:01 UTC, Heinrich Götzger
Details
/var/tmp/portage/app-emulation/vmware-modules-308.1.1/temp/308-4.09-00-user-pages.patch.out (308-4.09-00-user-pages.patch.out,7.21 KB, text/plain)
2017-03-01 09:17 UTC, Heinrich Götzger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Heinrich Götzger 2017-03-01 09:01:30 UTC
Created attachment 465636 [details]
/var/tmp/portage/app-emulation/vmware-modules-308.1.1/temp/308-4.09-00-user-pages.patch.out

vmware-modules fails on 4.9.6-gentoo-r1 at Patch: 308-4.09-00-user-pages.patch


 # emerge vmware-modules

 * IMPORTANT: 8 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) app-emulation/vmware-modules-308.1.1::x-local
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/4.9.6-gentoo-r1/build
 * Found sources for kernel version:
 *     4.9.6-gentoo-r1
 * Checking for suitable kernel configuration options...                                                                                                 [ ok ]
 * Checking for suitable kernel configuration options...                                                                                                 [ ok ]
>>> Unpacking source...
>>> Source unpacked in /var/tmp/portage/app-emulation/vmware-modules-308.1.1/work
>>> Preparing source in /var/tmp/portage/app-emulation/vmware-modules-308.1.1/work ...
 * Applying 308-makefile-kernel-dir.patch ...                                                                                                            [ ok ]
 * Applying 308-makefile-include.patch ...                                                                                                               [ ok ]
 * Applying 308-netdevice.patch ...                                                                                                                      [ ok ]
 * Applying 308-apic.patch ...                                                                                                                           [ ok ]
 * Applying 308-3.10-00-dentry.patch ...                                                                                                                 [ ok ]
 * Applying 308-3.10-01-inode.patch ...                                                                                                                  [ ok ]
 * Applying 308-3.10-02-control.patch ...                                                                                                                [ ok ]
 * Applying 308-3.10-03-inline.patch ...                                                                                                                 [ ok ]
 * Applying 308-3.11-00-readdir.patch ...                                                                                                                [ ok ]
 * Applying 308-3.11-01-filldir.patch ...                                                                                                                [ ok ]
 * Applying 308-3.15-00-vsock.patch ...                                                                                                                  [ ok ]
 * Applying 308-3.18-00-version-redefined.patch ...                                                                                                      [ ok ]
 * Applying 308-3.19-00-compat-namei.patch ...                                                                                                           [ ok ]
 * Applying 308-3.19-02-vmblock-path.patch ...                                                                                                           [ ok ]
 * Applying 308-3.19-04-iovec.patch ...                                                                                                                  [ ok ]
 * Applying 308-3.19-05-vmci_qpair.patch ...                                                                                                             [ ok ]
 * Applying 308-3.19-06-vsock.patch ...                                                                                                                  [ ok ]
 * Applying 308-3.19-07-vsock.patch ...                                                                                                                  [ ok ]
 * Applying 308-4.01-00-vsock.patch ...                                                                                                                  [ ok ]
 * Applying 308-4.02-00-nd_set_link.patch ...                                                                                                            [ ok ]
 * Applying 308-4.02-01-sk_alloc.patch ...                                                                                                               [ ok ]
 * Applying 308-4.03-00-vmci-misc_deregister.patch ...                                                                                                   [ ok ]
 * Applying 308-4.05-00-vmblock-follow_link.patch ...                                                                                                    [ ok ]
 * Applying 308-4.06-00-user-pages.patch ...                                                                                                             [ ok ]
 * Applying 308-4.07-00-trans_start.patch ...                                                                                                            [ ok ]
 * Applying 308-4.07-01-readlink_copy.patch ...                                                                                                          [ ok ]
 * Applying 308-4.08-00-nr_anon_mapped.patch ...                                                                                                         [ ok ]
 * Applying 308-4.09-00-user-pages.patch ...

 * Failed Patch: 308-4.09-00-user-pages.patch !
 *  ( /usr/portage/local/app-emulation/vmware-modules/files/308-4.09-00-user-pages.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/app-emulation/vmware-modules-308.1.1/temp/308-4.09-00-user-pages.patch.out

 * ERROR: app-emulation/vmware-modules-308.1.1::x-local failed (prepare phase):
 *   Failed Patch: 308-4.09-00-user-pages.patch!
 *
 * Call stack:
 *     ebuild.sh, line  115:  Called src_prepare
 *   environment, line 3862:  Called epatch '/usr/portage/local/app-emulation/vmware-modules/files/308-4.09-00-user-pages.patch'
 *   environment, line 1503:  Called die
 * The specific snippet of code:
 *               die "Failed Patch: ${patchname}!";
 *
 * If you need support, post the output of `emerge --info '=app-emulation/vmware-modules-308.1.1::x-local'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/vmware-modules-308.1.1::x-local'`.
 * The complete build log is located at '/var/tmp/portage/app-emulation/vmware-modules-308.1.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/vmware-modules-308.1.1/temp/environment'.
 * Working directory: '/var/tmp/portage/app-emulation/vmware-modules-308.1.1/work'
 * S: '/var/tmp/portage/app-emulation/vmware-modules-308.1.1/work'

>>> Failed to emerge app-emulation/vmware-modules-308.1.1, Log file:

>>>  '/var/tmp/portage/app-emulation/vmware-modules-308.1.1/temp/build.log'

 * Messages for package app-emulation/vmware-modules-308.1.1:
 * Package:    app-emulation/vmware-modules-308.1.1
 * Repository: x-local
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU vmci vsock
 * FEATURES:   preserve-libs sandbox userpriv usersandbox


 # emerge --info
Portage 2.3.3 (python 3.4.5-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-4.9.4, glibc-2.23-r3, 4.4.39-gentoo x86_64)
=================================================================
System uname: Linux-4.4.39-gentoo-x86_64-Intel-R-_Core-TM-_i7-2860QM_CPU_@_2.50GHz-with-gentoo-2.3
KiB Mem:    16401040 total,  10221120 free
KiB Swap:   12582908 total,  12582484 free
Timestamp of repository gentoo: Wed, 01 Mar 2017 08:30:01 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.22.3_rc4::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.7.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.23.2::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.4::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

x-local
    location: /usr/portage/local
    masters: gentoo
    priority: 0

flavour
    location: /var/lib/layman/flavour
    masters: gentoo
    priority: 50

vmware
    location: /var/lib/layman/vmware
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7-avx -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf /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/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=corei7-avx -O2 -pipe"
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 preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/ ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://gentoo.imj.fr/pub/gentoo/ ftp://91.121.125.139/gentoo-distfiles/ http://gentoo.supp.name/ ftp://mirror.netcologne.de/gentoo/ http://gentoo.mirror.dkm.cz/pub/gentoo/ rsync://gentoo.mirror.dkm.cz/gentoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
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="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 apache2 apm arts avi bash-completion berkdb bitmap-fonts bluetooth branding bzip2 cairo cdda cdr cli consolekit corefonts cracklib crypt cups cxx dbus declarative divx4linux dri dts dv dvd dvdr dvdread emboss encode exif fam fame firefox flac foomaticdb fortran gdbm gif glamor gpm gtk iconv imagemagick ipv6 java jikes jpeg jpg kde kipi kwallet lcms ldap libnotify mad mjpeg mng modules mp3 mp4 mpeg multilib ncurses nls nptl nptlonly ogg opengl openmp pam pango pcmcia pcre pdf phonon plasma png policykit ppds python qml qt3support qt4 qt5 quicktime rdesktop readline samba sdl seccomp semantic-desktop session spell ssl startup-notification subtitles svg tcpd tiff truetype truetype-fonts type1-fonts udev udisks unicode upower usb vorbis widgets wxwidgets x264 xattr xcb xcomposite xine xinerama xml xscreensaver xulrunner xv xvid zlib" ABI_X86="64 32" 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa fbdev" 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Heinrich Götzger 2017-03-01 09:17:03 UTC
Created attachment 465638 [details]
/var/tmp/portage/app-emulation/vmware-modules-308.1.1/temp/308-4.09-00-user-pages.patch.out

prevision attachment was on a try to find a solution without success. This log is on the patch from
https://github.com/gentoo/vmware/blob/master/app-emulation/vmware-modules/files/308-4.09-00-user-pages.patch
Comment 2 Fabio Rossi 2017-03-03 23:57:45 UTC
You are not using the latest version of vmware-modules-308.1.1 in the vmware overlay, retry with that
Comment 3 Heinrich Götzger 2017-03-06 19:56:23 UTC
Ciao Fabio,

thanks, that fixed it.

I used the ebuild from calculate overlay, which produced the described error.

Thinks are working fine and as expected now.