Package: kernel-package Version: 13.014 Severity: normal Dear Maintainer,
I've been trying to use kernel-package and/or the kernel-built-in deb-pkg to build debian packages from vanilla kernels 3.14.x, 3.15.x and 3.16.x. I import the configuration directly from my testing kernel 3.14-2 and do the following: $ cp /boot/config-3.14-2-amd64 .config $ make menuconfig $ make-kpkg clean $ fakeroot make-kpkg --append-to-version "-desktop.1-amd64" --revision "3.1x.xx~desktop.1" --initrd kernel_image kernel_headers After a little while every single vanilla kernel since 3.14 fails to build: CC [M] drivers/staging/rtl8821ae/btcoexist/halbtcoutsrc.o In file included from drivers/staging/rtl8821ae/btcoexist/halbt_precomp.h:31:0, from drivers/staging/rtl8821ae/btcoexist/halbtcoutsrc.c:21: drivers/staging/rtl8821ae/btcoexist/../pci.h:289:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl_pci_probe’ int __devinit rtl_pci_probe(struct pci_dev *pdev, ^ In file included from drivers/staging/rtl8821ae/btcoexist/halbt_precomp.h:31:0, from drivers/staging/rtl8821ae/btcoexist/halbtc8723b2ant.c:13: drivers/staging/rtl8821ae/btcoexist/../pci.h:289:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl_pci_probe’ int __devinit rtl_pci_probe(struct pci_dev *pdev, ^ In file included from drivers/staging/rtl8821ae/btcoexist/halbt_precomp.h:31:0, from drivers/staging/rtl8821ae/btcoexist/halbtc8723b1ant.c:15: drivers/staging/rtl8821ae/btcoexist/../pci.h:289:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl_pci_probe’ int __devinit rtl_pci_probe(struct pci_dev *pdev, ^ In file included from drivers/staging/rtl8821ae/btcoexist/halbt_precomp.h:31:0, from drivers/staging/rtl8821ae/btcoexist/halbtc8192e2ant.c:14: drivers/staging/rtl8821ae/btcoexist/../pci.h:289:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl_pci_probe’ int __devinit rtl_pci_probe(struct pci_dev *pdev, ^ scripts/Makefile.build:308: recipe for target 'drivers/staging/rtl8821ae/btcoexist/halbtcoutsrc.o' failed make[4]: *** [drivers/staging/rtl8821ae/btcoexist/halbtcoutsrc.o] Error 1 make[4]: *** Waiting for unfinished jobs.... scripts/Makefile.build:308: recipe for target 'drivers/staging/rtl8821ae/btcoexist/halbtc8723b1ant.o' failed make[4]: *** [drivers/staging/rtl8821ae/btcoexist/halbtc8723b1ant.o] Error 1 scripts/Makefile.build:308: recipe for target 'drivers/staging/rtl8821ae/btcoexist/halbtc8192e2ant.o' failed make[4]: *** [drivers/staging/rtl8821ae/btcoexist/halbtc8192e2ant.o] Error 1 scripts/Makefile.build:308: recipe for target 'drivers/staging/rtl8821ae/btcoexist/halbtc8723b2ant.o' failed make[4]: *** [drivers/staging/rtl8821ae/btcoexist/halbtc8723b2ant.o] Error 1 scripts/Makefile.build:455: recipe for target 'drivers/staging/rtl8821ae' failed make[3]: *** [drivers/staging/rtl8821ae] Error 2 scripts/Makefile.build:455: recipe for target 'drivers/staging' failed make[2]: *** [drivers/staging] Error 2 make[2]: *** Waiting for unfinished jobs.... Makefile:843: recipe for target 'drivers' failed make[1]: *** [drivers] Error 2 make[1]: Leaving directory '/home/candres/Downloads/kernels/linux-stable' debian/ruleset/targets/common.mk:295: recipe for target 'debian/stamp/build/kernel' failed make: *** [debian/stamp/build/kernel] Error 2 Obviously Debian has been building these kernels without trouble so I don't get why I keep getting the same error, across different kernel versions. -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (900, 'testing'), (200, 'unstable'), (175, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.13.11.6-desktop.1-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages kernel-package depends on: ii bc 1.06.95-9 ii binutils 2.24.51.20140818-1 ii build-essential 11.6 ii bzip2 1.0.6-7 ii dpkg-dev 1.17.10 ii file 1:5.19-1 ii gettext 0.19.2-1 ii kmod 18-1 ii po-debconf 1.0.16+nmu3 ii xmlto 0.0.25-2 ii xz-utils [lzma] 5.1.1alpha+20120614-2 Versions of packages kernel-package recommends: ii cpio 2.11+dfsg-2 ii docbook-utils 0.6.14-3 ii kernel-common 13.014 pn uboot-mkimage <none> Versions of packages kernel-package suggests: ii libncurses5-dev [libncurses-dev] 5.9+20140712-2 pn linux-source <none> -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org