Comment 76 for bug 776103

Revision history for this message
Serge Hallyn (serge-hallyn) wrote : Re: [Bug 776103] Re: package open-vm-dkms 2011.03.28-387002-0ubuntu2 fails to build against 2.6.39 kernels, due to missing linux/smp_lock.h

Quoting Nate Muench (<email address hidden>):
> How does it not build? My branch and the packaging (in my PPA) are
> exactly the same (excluding some changes in changelog and the removal of
> my commented out lines in debian/rules).

No they are not. Please re-fetch the bzr tree and do a diff. There are
missing files.

# dget https://launchpad.net/~n-muench/+archive/virtual-test/+files/open-vm-tools_2011.07.19-450511-0%7Eppa3.dsc
# bzr branch lp:~n-muench/ubuntu/oneiric/open-vm-tools/open-vm-tools.fix-july
# rm -rf open-vm-tools.fix-july/.bzr
# dpkg-source -x open-vm-tools_2011.07.19-450511-0%7Eppa3.dsc
# diff -Nrup open-vm-tools-2011.07.19-450511 open-vm-tools.fix-july | diffstat
    debian/changelog | 9
    debian/rules | 22
    docs/api/services/main.doxy | 55 --
    lib/file/fileStandAlone.c | 767 -------------------------------
    lib/file/fileTemp.c | 370 --------------
    lib/file/fileTempPosix.c | 576 -----------------------
    lib/include/vmware/tools/log.h | 184 -------
    modules/linux/shared/compat_log2.h | 60 --
    services/plugins/dndcp/copyPasteCompat.c | 171 ------
    services/plugins/unity/toolsPlugin.cpp | 206 --------
    10 files changed, 3 insertions(+), 2417 deletions(-)

> @Serge I want a build log, please.

# cd open-vm-tools.fix-july
# fakeroot debian/rules build > ~/failbuild 2>&1

(log attached) Notice it fails because it is missing lib/file/fileStandAlone.c
which is not in your bzr tree.