Bug#392985: bcm5700-source: Bizarre use of dh_builddeb destdir causes build failure
Package: bcm5700-source
Version: 8.2.18-2
Severity: important
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
$ fakeroot debian/rules binary-modules KSRC=/lib/modules/2.6.17-2-k7/build KVERS=$(uname -r)
...
dh_builddeb --destdir=/lib/modules/2.6.17-2-k7/build/..
dpkg-deb: building package `bcm5700-module-2.6.17-2-k7' in `/lib/modules/2.6.17-2-k7/build/../bcm5700-module-2.6.17-2-k7_8.2.18-2_i386.deb'.
dpkg-deb: unable to create `/lib/modules/2.6.17-2-k7/build/../bcm5700-module-2.6.17-2-k7_8.2.18-2_i386.deb': Permission denied
dh_builddeb: command returned error code 512
make: *** [binary-modules] Error 1
Removing the --destdir argument to dh_builddep causes it to (correctly)
build the module package in the parent directory.
- -- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (530, 'testing'), (520, 'unstable'), (510, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-k7
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Versions of packages bcm5700-source depends on:
ii module-assistant 0.10.6 tool to make module package creati
Versions of packages bcm5700-source recommends:
ii debconf-utils 1.5.5 debconf utilities
ii debhelper 5.0.37.3 helper programs for debian/rules
ii dpkg-dev 1.13.22 package building tools for Debian
ii kernel-package 10.062 A utility for building Linux kerne
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFFMPbishl/216gEHgRAi6aAKCVVcJXthDlIsEQrDXAlEkT3mNEAQCgxQpc
68dNtfn6Ui+t5VO4sIfKEx4=
=p8Mg
-----END PGP SIGNATURE-----
Reply to: