Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 437450 - app-emulation/open-vm-tools-kmod-2012.05.21.724730 with gentoo-sources-3.6.0 - .../work/open-vm-tools-2012.05.21-724730/modules/linux/vmhgfs/page.c:896:39: error: ‘KM_USER0’ undeclared (first use in this function)
Summary: app-emulation/open-vm-tools-kmod-2012.05.21.724730 with gentoo-sources-3.6.0 ...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Vadim Kuznetsov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-06 22:38 UTC by Billy DeVincentis
Modified: 2012-12-09 14:25 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Billy DeVincentis 2012-10-06 22:38:47 UTC
open-vm-tools-kmod-2012.05.21.724730 fails to compile against gentoo-sources-3.6.0, sorry I don't have a build log as I was leaving before and I reverted to the previous kernel but I wanted to get this bug opened.

Reproducible: Always
Comment 1 Billy DeVincentis 2012-10-06 22:57:13 UTC
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmci/vmci.mod.o
  LD [M]  /var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmci/vmci.ko
make[1]: Leaving directory `/usr/src/linux-3.6.0-gentoo'
make -C $PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= postbuild
make[1]: Entering directory `/var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmci'
make[1]: `postbuild' is up to date.
make[1]: Leaving directory `/var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmci'
cp -f vmci.ko ./../vmci.o
 * Preparing vmhgfs module
make -j5 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- 'LDFLAGS=-m elf_x86_64' auto-build HEADER_DIR=/usr/src/linux/include BUILD_DIR=/lib/modules/3.6.0-gentoo/build OVT_SOURCE_DIR=/var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730 
Using 2.6.x kernel build system.
make -C /lib/modules/3.6.0-gentoo/build SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/linux-3.6.0-gentoo'
  CC [M]  /var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmhgfs/filesystem.o
  CC [M]  /var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmhgfs/request.o
  CC [M]  /var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmhgfs/stubs.o
  CC [M]  /var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmhgfs/tcp.o
  CC [M]  /var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmhgfs/link.o
  CC [M]  /var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmhgfs/transport.o
  CC [M]  /var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmhgfs/module.o
  CC [M]  /var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmhgfs/file.o
  CC [M]  /var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmhgfs/super.o
  CC [M]  /var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmhgfs/vmci.o
  CC [M]  /var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmhgfs/bdhandler.o
  CC [M]  /var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmhgfs/dir.o
  CC [M]  /var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmhgfs/fsutil.o
  CC [M]  /var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmhgfs/page.o
  CC [M]  /var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmhgfs/inode.o
  CC [M]  /var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmhgfs/dentry.o
/var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmhgfs/page.c: In function ‘HgfsDoWriteBegin’:
/var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmhgfs/page.c:896:39: error: ‘KM_USER0’ undeclared (first use in this function)
/var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmhgfs/page.c:896:39: note: each undeclared identifier is reported only once for each function it appears in
/var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmhgfs/page.c:896:7: error: too many arguments to function ‘kmap_atomic’
In file included from include/linux/pagemap.h:10:0,
                 from /var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmhgfs/page.c:28:
include/linux/highmem.h:66:21: note: declared here
/var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmhgfs/page.c:904:36: error: macro "kunmap_atomic" passed 2 arguments, but takes just 1
/var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmhgfs/page.c:904:7: error: ‘kunmap_atomic’ undeclared (first use in this function)
make[2]: *** [/var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmhgfs/page.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmhgfs/dentry.c:43:4: warning: initialization from incompatible pointer type [enabled by default]
/var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmhgfs/dentry.c:43:4: warning: (near initialization for ‘HgfsDentryOperations.d_revalidate’) [enabled by default]
/var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmhgfs/inode.c:121:4: warning: initialization from incompatible pointer type [enabled by default]
/var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmhgfs/inode.c:121:4: warning: (near initialization for ‘HgfsDirInodeOperations.create’) [enabled by default]
/var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmhgfs/inode.c:126:4: warning: initialization from incompatible pointer type [enabled by default]
/var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmhgfs/inode.c:126:4: warning: (near initialization for ‘HgfsDirInodeOperations.lookup’) [enabled by default]
/var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmhgfs/inode.c: In function ‘HgfsPermission’:
/var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmhgfs/inode.c:1820:7: error: ‘struct hlist_head’ has no member named ‘next’
/var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmhgfs/inode.c:1820:7: warning: comparison of distinct pointer types lacks a cast [enabled by default]
/var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmhgfs/inode.c:1821:19: warning: initialization from incompatible pointer type [enabled by default]
make[2]: *** [/var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmhgfs/inode.o] Error 1
make[1]: *** [_module_/var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmhgfs] Error 2
make[1]: Leaving directory `/usr/src/linux-3.6.0-gentoo'
make: *** [vmhgfs.ko] Error 2
 * ERROR: app-emulation/open-vm-tools-kmod-2012.05.21.724730 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=app-emulation/open-vm-tools-kmod-2012.05.21.724730'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/open-vm-tools-kmod-2012.05.21.724730'`.
 * The complete build log is located at '/var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/temp/environment'.
 * Working directory: '/var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmhgfs'
 * S: '/var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730'

>>> Failed to emerge app-emulation/open-vm-tools-kmod-2012.05.21.724730, Log file:

>>>  '/var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/temp/build.log'
 * 
 * The following package has failed to build or install:
 * 
 *  (app-emulation/open-vm-tools-kmod-2012.05.21.724730::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/temp/build.log'
 * 
Vm-Lin1-Gentoo billydv #
Comment 2 Toei Rei 2012-10-15 06:43:36 UTC
fails against vanilla-3.6.* too.
Comment 3 Toei Rei 2012-10-29 18:23:41 UTC
would say this is the same problem as in bug #438110
Comment 4 Vadim Kuznetsov (RETIRED) gentoo-dev 2012-12-09 14:25:49 UTC
Could you test new version:

  09 Dec 2012; Vadim Kuznetsov vadimk@gentoo.org +files/frozen.patch,
  +open-vm-tools-kmod-2012.10.14.874563.ebuild,
  +open-vm-tools-kmod-9.2.2.893683.ebuild,
  -open-vm-tools-kmod-2012.03.13.651368-r1.ebuild:
  version bump. bug 438110