open-vm-dkms 2012.12.26-958366-0ubuntu3: open-vm-tools kernel module failed to build

Bug #1175295 reported by Fabio Marconi
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
VMWare tools
Unknown
Unknown
open-vm-tools (Ubuntu)
Fix Released
Undecided
Nate Muench (Mink)

Bug Description

Release of Ubuntu:13.10
Package Version:
Expected Results:
Actual Results:

Hallo
This popup at the startup of the session, system works.

Thanks
Fabio

ProblemType: Package
DistroRelease: Ubuntu 13.10
Package: open-vm-dkms 2012.12.26-958366-0ubuntu3
ProcVersionSignature: Ubuntu 3.9.0-0.3-generic 3.9.0
Uname: Linux 3.9.0-0-generic x86_64
ApportVersion: 2.10-0ubuntu1
Architecture: amd64
DKMSKernelVersion: 3.9.0-0-generic
Date: Wed May 1 20:17:21 2013
InstallationDate: Installed on 2012-10-12 (201 days ago)
InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64 (20121011)
MarkForUpload: True
PackageArchitecture: all
PackageVersion: 2012.12.26-958366-0ubuntu3
SourcePackage: open-vm-tools
Title: open-vm-dkms 2012.12.26-958366-0ubuntu3: open-vm-tools kernel module failed to build
UpgradeStatus: Upgraded to saucy on 2013-05-01 (0 days ago)

Related branches

CVE References

Revision history for this message
Fabio Marconi (fabiomarconi) wrote :
Revision history for this message
Nate Muench (Mink) (n-muench) wrote :

In progress. I've linked prep branch. It'll be slow work until we get the LiveCD start coming out, and also it's still early in the development cycle, so I'm taking my time.

I still have to test the packaging, but the prep branch isn't mature enough to start auto building it, since the (planned) major changes haven't been pushed yet.

Changed in open-vm-tools (Ubuntu):
assignee: nobody → Nate Muench (Mink) (n-muench)
status: New → In Progress
tags: removed: need-duplicate-check
Revision history for this message
Nate Muench (Mink) (n-muench) wrote :

There currently an issue, package fails to build in Saucy. but a build with Raring built successfully. Will compare build logs later.

Making all in backdoor
make[3]: Entering directory `/build/buildd/open-vm-tools-2013.04.16-1098359/lib/backdoor'
--------------------------------------SNIP---------------------------------------------
In file included from /build/buildd/open-vm-tools-2013.04.16-1098359/lib/include/backdoor.h:44:0,
                 from backdoor.c:49:
/build/buildd/open-vm-tools-2013.04.16-1098359/lib/include/backdoor_types.h: In function 'BACKDOOR_STRUCT_SIZES':
/build/buildd/open-vm-tools-2013.04.16-1098359/lib/include/vm_assert.h:370:20: error: typedef 'AssertOnCompileFailed' locally defined but not used [-Werror=unused-local-typedefs]
       typedef char AssertOnCompileFailed[AssertOnCompileMisused]; \
                    ^
/build/buildd/open-vm-tools-2013.04.16-1098359/lib/include/vm_assert.h:392:7: note: in definition of macro 'MY_ASSERTS'
       assertions \
       ^
/build/buildd/open-vm-tools-2013.04.16-1098359/lib/include/backdoor_types.h:126:12: note: in expansion of macro 'ASSERT_ON_COMPILE'
            ASSERT_ON_COMPILE(sizeof(Backdoor_proto) == 6 * sizeof(uintptr_t));
            ^
/build/buildd/open-vm-tools-2013.04.16-1098359/lib/include/vm_assert.h:370:20: error: typedef 'AssertOnCompileFailed' locally defined but not used [-Werror=unused-local-typedefs]
       typedef char AssertOnCompileFailed[AssertOnCompileMisused]; \
                    ^
/build/buildd/open-vm-tools-2013.04.16-1098359/lib/include/vm_assert.h:392:7: note: in definition of macro 'MY_ASSERTS'
       assertions \
       ^
/build/buildd/open-vm-tools-2013.04.16-1098359/lib/include/backdoor_types.h:127:12: note: in expansion of macro 'ASSERT_ON_COMPILE'
            ASSERT_ON_COMPILE(sizeof(Backdoor_proto_hb) == 7 * sizeof(uintptr_t));
            ^
cc1: all warnings being treated as errors
make[3]: *** [backdoor.lo] Error 1
make[3]: Leaving directory `/build/buildd/open-vm-tools-2013.04.16-1098359/lib/backdoor'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/buildd/open-vm-tools-2013.04.16-1098359/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/build/buildd/open-vm-tools-2013.04.16-1098359'
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

Revision history for this message
Nate Muench (Mink) (n-muench) wrote :

It's failing because of GCC 4.8. I've reported it to upstream (https://sourceforge.net/tracker/?func=detail&aid=3613125&group_id=204462&atid=989708)

Revision history for this message
Nate Muench (Mink) (n-muench) wrote :

After doing some googleing, I found a solution, adding a CFLAG does the trick. Until we get a newer version. I'll put a proposal together later this week, after approval, I'll get started on revision 2 (the point of this first one was to get the package building successfully).

Revision history for this message
Nate Muench (Mink) (n-muench) wrote :

I can give an update. The first update is basically done, just got to create proposal. The only issue right now is you can't use shared folders (vmhgfs can't be loaded), which may or may not be related to incompatibilities with GCC 4.8, and being forced to add that CFLAG to allow it to build (which will be removed after upstream releases a new version, assuming compatibilities are fixed). But the vmxnet module works.

Changed in open-vm-tools (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package open-vm-tools - 2013.04.16-1098359-0ubuntu1

---------------
open-vm-tools (2013.04.16-1098359-0ubuntu1) saucy-proposed; urgency=low

  * Merging upstream version 2013.04.16-1098359.
    - Fixes building on Saucy kernels (LP: #1175295).

  * Stop DKMS from building vmci & vsock modules
    - Modules are now in the kernel.

  * debian/patches:
    - Removing procps.patch, not needed anymore.
    - Removed 0005-kernel-38-fixes.patch
      + No longer needed.
    - Renumbering patches.

  * debian/rules:
    - Added Wno-error=unused-local-typedefs to CLFAGS
      + Suppresses build errors with GCC 4.8.

  * Items merged from Debian:
    (From 2:9.2.2-893683-8 release)
    - Adding patch from Mathias Krause <email address hidden> to fix
      kernel stack memory leack in vsock module [CVE-2013-3237]
 -- Nate Muench <email address hidden> Wed, 29 May 2013 12:57:21 -0500

Changed in open-vm-tools (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.