[Pkg-virtualbox-devel] Bug#479910: virtualbox-ose: FTBFS: /usr/share/kBuild/footer.kmk:635: *** kBuild: Cannot find include file for the template 'BLDPROG'! Searched: /usr/share/kBuild/templates . Stop.
Lucas Nussbaum
lucas at lucas-nussbaum.net
Wed May 7 08:30:49 UTC 2008
Package: virtualbox-ose
Version: 1.5.6-dfsg-6
Severity: serious
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20080506 qa-ftbfs
Justification: FTBFS on i386
Hi,
During a rebuild of all packages in sid, your package failed to build on
i386.
This rebuild was done with gcc 4.3 instead of gcc 4.2, because gcc 4.3
is now the default on most architectures (even if it's not the case on
i386 yet). Consequently, many failures are caused by the switch to gcc
4.3.
If you determine that this failure is caused by gcc 4.3, feel free to
downgrade this bug to 'important' if your package is only built on i386,
and this bug is specific to gcc 4.3 (i.e the package builds fine with
gcc 4.2).
Relevant part:
> /usr/bin/fakeroot debian/rules clean
> dpatch deapply-all
> 12-gcc-4.3 not applied to ./ .
> 11-workaround-gcc-ice not applied to ./ .
> 10-initscript not applied to ./ .
> 09-init-lsb not applied to ./ .
> 08-init-fail not applied to ./ .
> 07-xsession not applied to ./ .
> 06-vboxadd-udev not applied to ./ .
> 05-vboxdrv-references not applied to ./ .
> 04-localconf-kmk not applied to ./ .
> 03-config-kmk not applied to ./ .
> 02-2.6.25 not applied to ./ .
> 01-no-64bit-guest not applied to ./ .
> rm -rf patch-stamp patch-stampT debian/patched
> dh_testdir
> dh_testroot
> # Cleaning package
> rm -rf out
> rm -f AutoConfig.kmk configure.log env.sh
> rm -f debian/virtualbox-ose.init debian/virtualbox-ose.preinst
> rm -f debian/virtualbox-ose.README.Debian debian/README.Debian.html
> debconf-updatepo
> dh_clean
> dpkg-source -b virtualbox-ose-1.5.6-dfsg
> dpkg-source: info: using source format `1.0'
> dpkg-source: info: building virtualbox-ose using existing virtualbox-ose_1.5.6-dfsg.orig.tar.gz
> dpkg-source: info: building virtualbox-ose in virtualbox-ose_1.5.6-dfsg-6.diff.gz
> dpkg-source: warning: executable mode 0755 of 'debian/patches/08-init-fail.dpatch' will not be represented in diff
> dpkg-source: warning: executable mode 0755 of 'debian/patches/07-xsession.dpatch' will not be represented in diff
> dpkg-source: warning: executable mode 0755 of 'debian/patches/03-config-kmk.dpatch' will not be represented in diff
> dpkg-source: warning: executable mode 0755 of 'debian/patches/06-vboxadd-udev.dpatch' will not be represented in diff
> dpkg-source: warning: executable mode 0755 of 'debian/patches/12-gcc-4.3.dpatch' will not be represented in diff
> dpkg-source: warning: executable mode 0755 of 'debian/patches/11-workaround-gcc-ice.dpatch' will not be represented in diff
> dpkg-source: warning: executable mode 0755 of 'debian/patches/09-init-lsb.dpatch' will not be represented in diff
> dpkg-source: warning: executable mode 0755 of 'debian/patches/10-initscript.dpatch' will not be represented in diff
> dpkg-source: warning: executable mode 0755 of 'debian/patches/02-2.6.25.dpatch' will not be represented in diff
> dpkg-source: warning: executable mode 0755 of 'debian/patches/04-localconf-kmk.dpatch' will not be represented in diff
> dpkg-source: warning: executable mode 0755 of 'debian/patches/01-no-64bit-guest.dpatch' will not be represented in diff
> dpkg-source: warning: executable mode 0755 of 'debian/patches/05-vboxdrv-references.dpatch' will not be represented in diff
> dpkg-source: info: building virtualbox-ose in virtualbox-ose_1.5.6-dfsg-6.dsc
> debian/rules build
> test -d debian/patched || install -d debian/patched
> dpatch apply-all
> applying patch 01-no-64bit-guest to ./ ... ok.
> applying patch 02-2.6.25 to ./ ... ok.
> applying patch 03-config-kmk to ./ ... ok.
> applying patch 04-localconf-kmk to ./ ... ok.
> applying patch 05-vboxdrv-references to ./ ... ok.
> applying patch 06-vboxadd-udev to ./ ... ok.
> applying patch 07-xsession to ./ ... ok.
> applying patch 08-init-fail to ./ ... ok.
> applying patch 09-init-lsb to ./ ... ok.
> applying patch 10-initscript to ./ ... ok.
> applying patch 11-workaround-gcc-ice to ./ ... ok.
> applying patch 12-gcc-4.3 to ./ ... ok.
> dpatch cat-all >>patch-stampT
> mv -f patch-stampT patch-stamp
> dh_testdir
> ./configure --with-linux="/usr" --disable-kmods
> Checking for environment: Determined build machine: linux.x86, target machine: linux.x86, OK.
> Checking for kBuild: found, OK.
> Checking for gcc: found version 4.3.1, OK.
> Checking for as86: found version 0.16.17, OK.
> Checking for bcc: found version 0.16.17, OK.
> Checking for iasl: found version 20061109, OK.
> Checking for xslt: found, OK.
> Checking for pthread: found, OK.
> Checking for xalan: found version 1.10.0, OK.
> Checking for xerces: found version 2.7.0, OK.
> Checking for libIDL: found version 0.8.10, OK.
> Checking for zlib: found version 1.2.3.3, OK.
> Checking for SDL: found version 1.2.12, OK.
> Checking for X libraries: found, OK.
> Checking for Xcursor: found, OK.
> Checking for Qt: found version 3.3.8b, OK.
> Checking for Qt devtools: found version 3.3.8b, OK.
> Checking for ALSA: found version 1.0.16, OK.
> Checking for PulseAudio: found version 0.9.10 API version 11, OK.
> Checking for compiler.h: compiler.h not found, OK.
>
> Successfully generated '/build/user/virtualbox-ose-1.5.6-dfsg/AutoConfig.kmk' and '/build/user/virtualbox-ose-1.5.6-dfsg/env.sh'.
> Source '/build/user/virtualbox-ose-1.5.6-dfsg/env.sh' once before you start to build VBox:
>
> source /build/user/virtualbox-ose-1.5.6-dfsg/env.sh
> kmk
>
> To compile the kernel module, do:
>
> cd ./out/linux.x86/release/bin/src
> make
>
> Enjoy!
> if [ "`dpkg --print-architecture`" = "i386" ]; then \
> echo "VBOX_WITH_X11_ADDITIONS=1" >> LocalConfig.kmk; \
> else \
> echo "VBOX_WITH_X11_ADDITIONS=" >> LocalConfig.kmk; \
> fi
> dh_testdir
> # Building package
> kmk \
> BUILD_TYPE=release \
> PATH_OUT=/build/user/virtualbox-ose-1.5.6-dfsg/out
> Config.kmk:987: /build/user/virtualbox-ose-1.5.6-dfsg/out/GCCConfig.kmk: No such file or directory
> Config.kmk:2634: /build/user/virtualbox-ose-1.5.6-dfsg/out/revision.kmk: No such file or directory
> kBuild: Generating /build/user/virtualbox-ose-1.5.6-dfsg/out/revision.kmk
> * /build/user/virtualbox-ose-1.5.6-dfsg/out/revision.kmk was updated:
> export VBOX_SVN_REV=28240
> kBuild: Generating /build/user/virtualbox-ose-1.5.6-dfsg/out/GCCConfig.kmk
> kmk_builtin_append "/build/user/virtualbox-ose-1.5.6-dfsg/out/GCCConfig.kmk" "VBOX_GCC_VERSION_CC ?= $(int-add $(int-mul 10000, 4), $(int-mul 100, 3), 1)"
> kmk_builtin_append "/build/user/virtualbox-ose-1.5.6-dfsg/out/GCCConfig.kmk" "VBOX_GCC_VERSION_CXX ?= $(int-add $(int-mul 10000, 4), $(int-mul 100, 3), 1)"
> kmk_builtin_append "/build/user/virtualbox-ose-1.5.6-dfsg/out/GCCConfig.kmk" "VBOX_GCC_LIBGCC ?= /usr/lib/gcc/i486-linux-gnu/4.3.1/libgcc.a"
> kmk_builtin_append "/build/user/virtualbox-ose-1.5.6-dfsg/out/GCCConfig.kmk" "VBOX_GCC_Wno-pointer-sign ?= -Wno-pointer-sign"
> kmk_builtin_append "/build/user/virtualbox-ose-1.5.6-dfsg/out/GCCConfig.kmk" "VBOX_GCC_Wno-variadic-macros ?= -Wno-variadic-macros"
> kmk_builtin_append "/build/user/virtualbox-ose-1.5.6-dfsg/out/GCCConfig.kmk" "VBOX_GCC_Wno-invalid-offsetof ?= -Wno-invalid-offsetof"
> kmk_builtin_append "/build/user/virtualbox-ose-1.5.6-dfsg/out/GCCConfig.kmk" "VBOX_GCC_Wno-extra ?= -Wno-extra"
> kmk_builtin_append "/build/user/virtualbox-ose-1.5.6-dfsg/out/GCCConfig.kmk" "VBOX_GCC_fno-stack-protector ?= -fno-stack-protector"
> kmk_builtin_append "/build/user/virtualbox-ose-1.5.6-dfsg/out/GCCConfig.kmk" "VBOX_GCC_mtune-generic ?= -mtune=generic"
> kmk_builtin_append "/build/user/virtualbox-ose-1.5.6-dfsg/out/GCCConfig.kmk" "ifneq ($(VBOX_GCC_VERSION_CC),)"
> kmk_builtin_append "/build/user/virtualbox-ose-1.5.6-dfsg/out/GCCConfig.kmk" " ifneq ($(int-ge $(VBOX_GCC_VERSION_CC),40000),)"
> kmk_builtin_append "/build/user/virtualbox-ose-1.5.6-dfsg/out/GCCConfig.kmk" " VBOX_GCC_fvisibility-hidden ?= -fvisibility=hidden -DVBOX_HAVE_VISIBILITY_HIDDEN"
> kmk_builtin_append "/build/user/virtualbox-ose-1.5.6-dfsg/out/GCCConfig.kmk" " endif"
> kmk_builtin_append "/build/user/virtualbox-ose-1.5.6-dfsg/out/GCCConfig.kmk" "endif"
> kmk_builtin_append "/build/user/virtualbox-ose-1.5.6-dfsg/out/GCCConfig.kmk" "ifneq ($(VBOX_GCC_VERSION_CXX),)"
> kmk_builtin_append "/build/user/virtualbox-ose-1.5.6-dfsg/out/GCCConfig.kmk" " ifneq ($(int-ge $(VBOX_GCC_VERSION_CXX),40000),)"
> kmk_builtin_append "/build/user/virtualbox-ose-1.5.6-dfsg/out/GCCConfig.kmk" " VBOX_GCC_fvisibility-inlines-hidden ?= -fvisibility-inlines-hidden"
> kmk_builtin_append "/build/user/virtualbox-ose-1.5.6-dfsg/out/GCCConfig.kmk" " endif"
> kmk_builtin_append "/build/user/virtualbox-ose-1.5.6-dfsg/out/GCCConfig.kmk" "endif"
> kmk_builtin_append "/build/user/virtualbox-ose-1.5.6-dfsg/out/GCCConfig.kmk" "VBOX_PATH_GCC_INCS ?= /usr/lib/gcc/i486-linux-gnu/4.3.1/include"
> kmk_builtin_append "/build/user/virtualbox-ose-1.5.6-dfsg/out/GCCConfig.kmk" "VBOX_GCC32_VERSION_CC ?= $(int-add $(int-mul 10000, 4), $(int-mul 100, 3), 1)"
> kmk_builtin_append "/build/user/virtualbox-ose-1.5.6-dfsg/out/GCCConfig.kmk" "VBOX_GCC32_VERSION_CXX ?= $(int-add $(int-mul 10000, 4), $(int-mul 100, 3), 1)"
> kmk_builtin_append "/build/user/virtualbox-ose-1.5.6-dfsg/out/GCCConfig.kmk" "VBOX_GCC32_LIBGCC ?= /usr/lib/gcc/i486-linux-gnu/4.3.1/libgcc.a"
> kmk_builtin_append "/build/user/virtualbox-ose-1.5.6-dfsg/out/GCCConfig.kmk" "VBOX_GCC32_Wno-variadic-macros ?= -Wno-variadic-macros"
> kBuild: Generating /build/user/virtualbox-ose-1.5.6-dfsg/out/version-stamp-1.5.6_OSE
> kBuild: Generating /build/user/virtualbox-ose-1.5.6-dfsg/out/version-generated.h
> kBuild: Generating /build/user/virtualbox-ose-1.5.6-dfsg/out/version-generated.mk
> kBuild: Pass - Build Programs
> kmk[1]: Entering directory `/build/user/virtualbox-ose-1.5.6-dfsg/src'
> kmk[2]: Entering directory `/build/user/virtualbox-ose-1.5.6-dfsg/src/bldprogs'
> kBuild: Compiling bin2c - bin2c.c
> kBuild: Linking bin2c
> kmk[2]: Leaving directory `/build/user/virtualbox-ose-1.5.6-dfsg/src/bldprogs'
> kmk[2]: Entering directory `/build/user/virtualbox-ose-1.5.6-dfsg/src/libs'
> kmk[3]: Entering directory `/build/user/virtualbox-ose-1.5.6-dfsg/src/libs/xpcom18a4'
> /usr/share/kBuild/footer.kmk:635: *** kBuild: Cannot find include file for the template 'BLDPROG'! Searched: /usr/share/kBuild/templates . Stop.
> kmk[3]: Leaving directory `/build/user/virtualbox-ose-1.5.6-dfsg/src/libs/xpcom18a4'
> kmk[2]: *** [pass_bldprogs_before] Error 2
> kmk[2]: Leaving directory `/build/user/virtualbox-ose-1.5.6-dfsg/src/libs'
> kmk[1]: *** [pass_bldprogs_before] Error 2
> kmk[1]: Leaving directory `/build/user/virtualbox-ose-1.5.6-dfsg/src'
> kmk: *** [pass_bldprogs_before] Error 2
> make: *** [build-stamp] Error 2
The full build log is available from:
http://people.debian.org/~lucas/logs/2008/05/06
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot containing a sid i386
environment. Internet was not accessible from the build systems.
--
| Lucas Nussbaum
| lucas at lucas-nussbaum.net http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr GPG: 1024D/023B3F4F |
More information about the Pkg-virtualbox-devel
mailing list