Your message dated Sun, 26 Jul 2015 03:34:09 +0000 with message-id <[email protected]> and subject line Bug#720682: fixed in bbswitch 0.8-2 has caused the Debian Bug report #720682, regarding does only build for running kernel to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 720682: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=720682 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: bbswitch-source Version: 0.7-2 Severity: important Hi, the Makefile in the unpacked kernel sets its KVERSION variable to uname -r, which makes the build fail for any kernel version unequal the running kernel. This kind of defeats the purpose of having a -source package which should allow modules to be built before the kernel has been booted yet. Please take precautions to allow building the bbswitch kernel module for a kernel that is not the one running currently: [30/527]mh@fan[chroot kernel32]:~/m-a/user/usr_src/modules/bbswitch$ uname -a Linux fan 3.10.5-zgws1 #2 SMP Mon Aug 5 15:05:39 UTC 2013 i686 GNU/Linux [31/528]mh@fan[chroot kernel32]:~/m-a/user/usr_src/modules/bbswitch$ fakeroot debian/rules kdist_clean for templ in ; do \ cp $templ `echo $templ | sed -e 's/_KVERS_/unknown/g'` ; \ done for templ in `ls debian/*.modules.in` ; do \ test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in} ${templ%.modules.in}.backup 2>/dev/null || true; \ sed -e 's/##KVERS##/unknown/g ;s/#KVERS#/unknown/g ; s/_KVERS_/unknown/g ; s/##KDREV##//g ; s/#KDREV#//g ; s/_KDREV_//g ' < $templ > ${templ%.modules.in}; \ done dh_clean /usr/bin/make clean KBUILD=/usr/src/linux KVERS=unknown make[1]: Entering directory `/home/mh/m-a/user/usr_src/modules/bbswitch' /usr/bin/make O="$(pwd)" -C /lib/modules/3.10.5-zgws1/build M="$(pwd)" clean make: Entering an unknown directory make: *** /lib/modules/3.10.5-zgws1/build: No such file or directory. Stop. make: Leaving an unknown directory make[1]: *** [clean] Error 2 make[1]: Leaving directory `/home/mh/m-a/user/usr_src/modules/bbswitch' make: *** [kdist_clean] Error 2 [32/529]mh@fan[chroot kernel32]:~/m-a/user/usr_src/modules/bbswitch$ This call is happens in a chroot where no kernel is actually installed. Therefore, there is no /lib/modules/ at all. Building a kernel module should not require a kernel to be present in the build environment. We might be building for another system. [38/535]mh@fan[chroot kernel32]:~/linux/3.10.9/linux-3.10.9$ m-a --non-inter --userdir $HOME/m-a/user --text-mode --kernel-dir $(pwd) build bbswitch Removing old /home/mh/m-a/user/usr_src/modules/bbswitch/ tree Extracting the package tarball, /usr/src/bbswitch.tar.bz2, please wait... for templ in ; do \ cp $templ `echo $templ | sed -e 's/_KVERS_/3.10.9-zgws1/g'` ; \ done for templ in `ls debian/*.modules.in` ; do \ test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in} ${templ%.modules.in}.backup 2>/dev/null || true; \ sed -e 's/##KVERS##/3.10.9-zgws1/g ;s/#KVERS#/3.10.9-zgws1/g ; s/_KVERS_/3.10.9-zgws1/g ; s/##KDREV##/3.10.9.20130824.0/g ; s/#KDREV#/3.10.9.20130824.0/g ; s/_KDREV_/3.10.9.20130824.0/g ' < $templ > ${templ%.modules.in}; \ done dh_clean /usr/bin/make clean KBUILD=/home/mh/linux/3.10.9/linux-3.10.9 KVERS=3.10.9-zgws1 make[1]: Entering directory `/home/mh/m-a/user/usr_src/modules/bbswitch' /usr/bin/make O="$(pwd)" -C /lib/modules/3.10.5-zgws1/build M="$(pwd)" clean make: *** /lib/modules/3.10.5-zgws1/build: No such file or directory. Stop. make: Entering an unknown directory make: Leaving an unknown directory make[1]: *** [clean] Error 2 make[1]: Leaving directory `/home/mh/m-a/user/usr_src/modules/bbswitch' make: *** [kdist_clean] Error 2 /usr/bin/make -f debian/rules kdist_clean kdist_config binary-modules make[1]: Entering directory `/home/mh/m-a/user/usr_src/modules/bbswitch' for templ in ; do \ cp $templ `echo $templ | sed -e 's/_KVERS_/3.10.9-zgws1/g'` ; \ done for templ in `ls debian/*.modules.in` ; do \ test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in} ${templ%.modules.in}.backup 2>/dev/null || true; \ sed -e 's/##KVERS##/3.10.9-zgws1/g ;s/#KVERS#/3.10.9-zgws1/g ; s/_KVERS_/3.10.9-zgws1/g ; s/##KDREV##/3.10.9.20130824.0/g ; s/#KDREV#/3.10.9.20130824.0/g ; s/_KDREV_/3.10.9.20130824.0/g ' < $templ > ${templ%.modules.in}; \ done dh_clean /usr/bin/make clean KBUILD=/home/mh/linux/3.10.9/linux-3.10.9 KVERS=3.10.9-zgws1 make[2]: Entering directory `/home/mh/m-a/user/usr_src/modules/bbswitch' /usr/bin/make O="$(pwd)" -C /lib/modules/3.10.5-zgws1/build M="$(pwd)" clean make: Entering an unknown directory make: *** /lib/modules/3.10.5-zgws1/build: No such file or directory. Stop. make: Leaving an unknown directory make[2]: *** [clean] Error 2 make[2]: Leaving directory `/home/mh/m-a/user/usr_src/modules/bbswitch' make[1]: *** [kdist_clean] Error 2 make[1]: Leaving directory `/home/mh/m-a/user/usr_src/modules/bbswitch' make: *** [kdist_build] Error 2 BUILD FAILED! See /home/mh/m-a/user/var_cache_modass/bbswitch-source.buildlog.3.10.9-zgws1.1377336334 for details. [39/536]mh@fan[chroot kernel32]:~/linux/3.10.9/linux-3.10.9$ Please note that this build attempt clearly specified that we were building for Linux 3.10.9. The code still wants to peddle around in /lib/modules/3.10.5. At a second look to the upstream Makefile, one sees that it make install will install to /lib/modules/$(KVERSION), hardcoded. Has this ever been actually tested for building of Debian packages? If so, how was it tested? Greetings Marc -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 3.10.5-zgws1 (SMP w/6 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
--- End Message ---
--- Begin Message ---Source: bbswitch Source-Version: 0.8-2 We believe that the bug you reported is fixed in the latest version of bbswitch, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Vincent Cheng <[email protected]> (supplier of updated bbswitch package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Sat, 25 Jul 2015 20:10:27 -0700 Source: bbswitch Binary: bbswitch-dkms bbswitch-source Architecture: source Version: 0.8-2 Distribution: unstable Urgency: medium Maintainer: Debian NVIDIA Maintainers <[email protected]> Changed-By: Vincent Cheng <[email protected]> Description: bbswitch-dkms - Interface for toggling the power on NVIDIA Optimus video cards bbswitch-source - Interface for toggling the power on NVIDIA Optimus video cards Closes: 720682 778455 Changes: bbswitch (0.8-2) unstable; urgency=medium . [ Andreas Beckmann ] * bbswitch-source: Add Recommends: debhelper. * d/rules.modules: Set KDIR to allow building for a different kernel than the running one. (Closes: #720682) * bbswitch-source: Use reproducible timestamps inside bbswitch.tar.bz2. (Closes: #778455) . [ Vincent Cheng ] * Update Standards version to 3.9.6, no changes required. Checksums-Sha1: c05639d464b562e25ff47c329b36217385597353 2051 bbswitch_0.8-2.dsc 57dad3240b80150dcef9dd774dcb564351f8d29f 3192 bbswitch_0.8-2.debian.tar.xz Checksums-Sha256: 3a68c66cec864d3af2055a00be95bc09b14ce040df1a1de78007ebf288acfb0f 2051 bbswitch_0.8-2.dsc 2f636d28d755804d0bdf67d35017e6d2a2387f85b414b0c04939c0b7ffef2c3b 3192 bbswitch_0.8-2.debian.tar.xz Files: c50baa18a2084286f8d8ec53b73f11bf 2051 kernel extra bbswitch_0.8-2.dsc 52cce698b1fcbad811d2784016639a3f 3192 kernel extra bbswitch_0.8-2.debian.tar.xz -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJVtFD9AAoJEI7tzBuqHzL//i8P/3aW/2aROUkAp8YYXjqYNe6g azt8QjCVWgck1dTqAM47oXNecHF5e1VW3Q4Dw/DCYa7vaA2WW4ZpToMNiK734r58 vytfnucxJ1FEH6quzprF4T83XjLZS270FdhgS4A8EJQiOtd+K9aIQ1B7tS/cg3Y1 FDeDQJbnVw6S0m0GzuQSTHTd1AstQJ8kB6pePtCMfMVOUYinupIRU2shbUzeuezC Je4AsCPcme5TNdLHA/zIFUCHt3fvn1tJmE4mqYco+g06TsNmou+UdRmrkC/QtFMR RSIjJrdTuHiOIkZpJTcTNuOsiGhzdelP5IHo9HY582ZCyt22Fs1s+fgZHOPTrqp2 3VaQlvqpUl7m6QCQ6G4zOup58vM4XvvS+PjB8mNCZm2gtGvikylG4kydUxtPS+Ct DIk0RaXP4KhUlpoWYnheiiTCDY4wDLkOsJ0DIjfiJS0LsrHTlKUXM1lA16R+a48+ PEYzux7OKgzV4wnyaZZeB/26NKbOT1wqpn57E7WZ9D5TkSkRvFS8Yg+5IWwoj8MI X6I/1MVWKcLxBN6V57HNd4V4jP1cocUy6CdLgvuGbK8QQSVvKkB3g5OuuduRF14R TbYNvDO2bXhOT9aBFFrFrmsCTV1gcsEg6HpSVuc/mYh1da8AKpQrFikxAjDoCPZw yqsQfHd3lFGv7zMt9kj8 =+tnS -----END PGP SIGNATURE-----
--- End Message ---

