Package: open-vm-tools
Version: 2:9.4.6-1770165-8
Severity: normal

*********

I'm working with a machine configured for an X32 port. It was not
really by choice; a Debian maintainer broke us on the platform, so we
had to add it to the testing repertoire. The machine requires we boot
with `syscall.x32=y` (https://wiki.debian.org/X32Port). A recent
"apt-get dist-upgrade" resulted in:

    ...
    Processing triggers for systemd (226-3) ...
    Setting up linux-image-4.2.0-1-amd64 (4.2.1-1) ...
    /etc/kernel/postinst.d/dkms:
    Error!  Build of vmhgfs.ko failed for: 4.2.0-1-amd64 (x86_64)
    Consult the make.log in the build directory
    /var/lib/dkms/open-vm-tools/9.10.2/build/ for more information.
    /etc/kernel/postinst.d/initramfs-tools:
    update-initramfs: Generating /boot/initrd.img-4.2.0-1-amd64
    /etc/kernel/postinst.d/zz-update-grub:
    Generating grub configuration file ...
    ...

**********

Attached is make.log (located in
/var/lib/dkms/open-vm-tools/9.10.2/build/make.log). Here are the first
set of errors:

# cat /var/lib/dkms/open-vm-tools/9.10.2/build/make.log
DKMS make.log for open-vm-tools-9.10.2 for kernel 4.2.0-1-amd64 (x86_64)
Sun Sep 27 15:00:23 EDT 2015
make: Entering directory '/var/lib/dkms/open-vm-tools/9.10.2/build/vmhgfs'
Using kernel build system.
Building vmhgfs without VMCI module symbols.
make -C /lib/modules/4.2.0-1-amd64/build/include/.. SUBDIRS=$PWD
SRCROOT=$PWD/. \
  MODULEBUILDDIR=/var/lib/dkms/open-vm-tools/9.10.2/build modules
make[1]: Entering directory '/usr/src/linux-headers-4.2.0-1-amd64'
Makefile:10: *** mixed implicit and normal rules: deprecated syntax
  CC [M]  /var/lib/dkms/open-vm-tools/9.10.2/build/vmhgfs/message.o
In file included from
/var/lib/dkms/open-vm-tools/9.10.2/build/vmhgfs/./shared/kernelStubs.h:103:0,
                 from
/var/lib/dkms/open-vm-tools/9.10.2/build/vmhgfs/message.c:59:
/var/lib/dkms/open-vm-tools/9.10.2/build/vmhgfs/./shared/kernelStubsSal.h:63:8:
warning: "_SAL_VERSION" is not defined [-Wundef]
 #elif  _SAL_VERSION == 10
        ^
/var/lib/dkms/open-vm-tools/9.10.2/build/vmhgfs/./shared/kernelStubsSal.h:111:8:
warning: "_SAL_VERSION" is not defined [-Wundef]
 #elif  _SAL_VERSION == 10
        ^
  CC [M]  /var/lib/dkms/open-vm-tools/9.10.2/build/vmhgfs/dir.o
  CC [M]  /var/lib/dkms/open-vm-tools/9.10.2/build/vmhgfs/rpcout.o
In file included from
/var/lib/dkms/open-vm-tools/9.10.2/build/vmhgfs/./shared/kernelStubs.h:103:0,
                 from
/var/lib/dkms/open-vm-tools/9.10.2/build/vmhgfs/rpcout.c:47:
/var/lib/dkms/open-vm-tools/9.10.2/build/vmhgfs/./shared/kernelStubsSal.h:63:8:
warning: "_SAL_VERSION" is not defined [-Wundef]
 #elif  _SAL_VERSION == 10
        ^
/var/lib/dkms/open-vm-tools/9.10.2/build/vmhgfs/./shared/kernelStubsSal.h:111:8:
warning: "_SAL_VERSION" is not defined [-Wundef]
 #elif  _SAL_VERSION == 10
        ^
  CC [M]  /var/lib/dkms/open-vm-tools/9.10.2/build/vmhgfs/filesystem.o
  CC [M]  /var/lib/dkms/open-vm-tools/9.10.2/build/vmhgfs/cpName.o
  CC [M]  /var/lib/dkms/open-vm-tools/9.10.2/build/vmhgfs/link.o
/var/lib/dkms/open-vm-tools/9.10.2/build/vmhgfs/link.c:59:4: warning:
initialization from incompatible pointer type
    .follow_link   = HgfsFollowlink,
    ^
/var/lib/dkms/open-vm-tools/9.10.2/build/vmhgfs/link.c:59:4: warning:
(near initialization for ‘HgfsLinkInodeOperations.follow_link’)
/var/lib/dkms/open-vm-tools/9.10.2/build/vmhgfs/link.c:61:4: warning:
initialization from incompatible pointer type
    .put_link      = HgfsPutlink,
    ^
/var/lib/dkms/open-vm-tools/9.10.2/build/vmhgfs/link.c:61:4: warning:
(near initialization for ‘HgfsLinkInodeOperations.put_link’)
/var/lib/dkms/open-vm-tools/9.10.2/build/vmhgfs/link.c: In function
‘HgfsFollowlink’:
/var/lib/dkms/open-vm-tools/9.10.2/build/vmhgfs/link.c:127:10: error:
implicit declaration of function ‘nd_set_link’
[-Werror=implicit-function-declaration]
          nd_set_link(nd, fileName);
          ^
/var/lib/dkms/open-vm-tools/9.10.2/build/vmhgfs/link.c: In function
‘HgfsPutlink’:
/var/lib/dkms/open-vm-tools/9.10.2/build/vmhgfs/link.c:238:4: error:
implicit declaration of function ‘nd_get_link’
[-Werror=implicit-function-declaration]
    fileName = nd_get_link(nd);
    ^
/var/lib/dkms/open-vm-tools/9.10.2/build/vmhgfs/link.c:238:13:
warning: assignment makes pointer from integer without a cast
    fileName = nd_get_link(nd);
             ^
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.2.0-1-common/scripts/Makefile.build:263:
recipe for target
'/var/lib/dkms/open-vm-tools/9.10.2/build/vmhgfs/link.o' failed
make[4]: *** [/var/lib/dkms/open-vm-tools/9.10.2/build/vmhgfs/link.o] Error 1
/usr/src/linux-headers-4.2.0-1-common/Makefile:1403: recipe for target
'_module_/var/lib/dkms/open-vm-tools/9.10.2/build/vmhgfs' failed
make[3]: *** [_module_/var/lib/dkms/open-vm-tools/9.10.2/build/vmhgfs] Error 2
Makefile:146: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[1]: *** [all] Error 2
...

**********

# apt-cache show open-vm-tools
Package: open-vm-tools
Source: open-vm-tools (2:9.10.2-2822639-3)
Version: 2:9.10.2-2822639-3+b1
Installed-Size: 2000
Maintainer: Bernd Zeimetz <[email protected]>
Architecture: amd64
Depends: init-system-helpers (>= 1.18~), libc6 (>= 2.16), libdumbnet1
(>= 1.8), libfuse2 (>= 2.6), libgcc1 (>= 1:4.1.1), libglib2.0-0 (>=
2.31.8), libicu55 (>= 55.1-1~), libmspack0 (>= 0.4), libprocps4,
libssl1.0.0 (>= 1.0.0), libstdc++6 (>= 5.2), libxerces-c3.1,
libxml-security-c17v5
Recommends: ethtool, zerofree
Suggests: open-vm-tools-desktop
Description-en: Open VMware Tools for virtual machines hosted on VMware (CLI)
 The Open Virtual Machine Tools (open-vm-tools) project is an open source
 implementation of VMware Tools. It is a suite of virtualization utilities and
 drivers to improve the functionality, user experience and administration of
 VMware virtual machines.
 .
 This package contains only the core user-space programs and libraries.
Description-md5: a6ea22fad449711c4296720ce1ebe6b4
Homepage: http://open-vm-tools.sourceforge.net/
Tag: admin::virtualization, role::program, uitoolkit::gtk
Section: admin
Priority: extra
Filename: pool/main/o/open-vm-tools/open-vm-tools_9.10.2-2822639-3+b1_amd64.deb
Size: 514370
MD5sum: 42856c6fe79a863f3eebbdf800c51f11
SHA1: a2848f2c5c1deb883aa38132f4e49bb70889cff5
SHA256: 0da251f97a9110f379681d1a8a7fc674eddf1d8c84e6b2d93513e2c690670fc5

Package: open-vm-tools
Version: 2:9.4.6-1770165-8
Installed-Size: 2742
Maintainer: Bernd Zeimetz <[email protected]>
Architecture: amd64
Depends: init-system-helpers (>= 1.18~), libc6 (>= 2.15), libdumbnet1
(>= 1.8), libfuse2 (>= 2.6), libgcc1 (>= 1:4.1.1), libglib2.0-0 (>=
2.31.8), libicu52 (>= 52~m1-1~), libprocps3, libstdc++6 (>= 4.1.1)
Recommends: ethtool, zerofree
Suggests: open-vm-tools-desktop
Description-en: Open VMware Tools for virtual machines hosted on VMware (CLI)
 The Open Virtual Machine Tools (open-vm-tools) project is an open source
 implementation of VMware Tools. It is a suite of virtualization utilities and
 drivers to improve the functionality, user experience and administration of
 VMware virtual machines.
 .
 This package contains only the core user-space programs and libraries.
Description-md5: a6ea22fad449711c4296720ce1ebe6b4
Homepage: http://open-vm-tools.sourceforge.net/
Tag: admin::virtualization, role::program, uitoolkit::gtk
Section: admin
Priority: extra
Filename: pool/main/o/open-vm-tools/open-vm-tools_9.4.6-1770165-8_amd64.deb
Size: 513104
MD5sum: 03744816b995c7d91696255b08f43a55
SHA1: 9b89b6a04715d43613720f6b44109391a6b132b8
SHA256: 53418a135967b3d2fc3ab44bcfa7d394013d682893552511021fbb523e147032

Attachment: make.log.tar.gz
Description: GNU Zip compressed data

Reply via email to