Bug#988367: linux-headers 4.19.165 '"make scripts" results fatal error: classmap.h: No such file or directory'
Control: reopen -1 Control: reassign -1 src:linux 4.19.181-1 On Ma, 11 mai 21, 21:35:17, Arul pandiyan wrote: > Hello Andrei, > > I was checking the debian package default linux-headers > version linux-headers-4.19.0-16-arm64 version as well. > The Issue is still reproducible. Below are the logs. I could not find the > headers classmap.h on linux-headers-4.19.0-16-arm64. Ok, reopening and reassigning accordingly. Kind regards, Andrei > arul@debian:~/$ $ cd ~/work/linux-headers/ > arul@debian:~/work/linux-headers$ $ wget > http://ftp.cn.debian.org/debian/pool/main/l/linux > /linux-headers-4.19.0-16-common_4.19.181-1_all.deb > --2021-05-11 21:33:08-- > http://ftp.cn.debian.org/debian/pool/main/l/linux/linux-headers-4.19.0-16-common_4.19.181-1_all.deb > Resolving ftp.cn.debian.org (ftp.cn.debian.org)... 45.125.0.6, > 2403:2c80:5::6 > Connecting to ftp.cn.debian.org (ftp.cn.debian.org)|45.125.0.6|:80... > connected. > HTTP request sent, awaiting response... 200 OK > Length: 8470280 (8.1M) [application/octet-stream] > Saving to: ‘linux-headers-4.19.0-16-common_4.19.181-1_all.deb’ > > linux-headers-4.19.0-16-common_4.19 > 100%[==>] > 8.08M 1.19MB/sin 6.6s > > 2021-05-11 21:33:14 (1.22 MB/s) - > ‘linux-headers-4.19.0-16-common_4.19.181-1_all.deb’ saved [8470280/8470280] > arul@debian:~/work/linux-headers$ $ > arul@debian:~/work/linux-headers$ $ ar -x > linux-headers-4.19.0-16-common_4.19.181-1_all.deb > arul@debian:~/work/linux-headers$ $ tar -xf data.tar.xz > arul@debian:~/work/linux-headers$ $ ls -la > total 16564 > drwxr-xr-x 3 arul arul4096 Mar 19 19:59 . > drwxr-xr-x 7 arul arul4096 May 11 21:31 .. > -rw-r--r-- 1 arul arul 201912 May 11 21:32 control.tar.xz > -rw-r--r-- 1 arul arul 8268176 May 11 21:32 data.tar.xz > -rw-r--r-- 1 arul arul 4 May 11 21:32 debian-binary > -rw-r--r-- 1 arul arul 8470280 Mar 20 02:14 > linux-headers-4.19.0-16-common_4.19.181-1_all.deb > drwxr-xr-x 4 arul arul4096 Mar 19 19:59 usr > arul@debian:~/work/linux-headers$ $ find usr/ -iname classmap.h > arul@debian:~/work/linux-headers$ $ > > Regards, > Arulpandiyan V. > > On Tue, May 11, 2021 at 9:25 PM Andrei POPESCU > wrote: > > > On Ma, 11 mai 21, 16:53:08, Arul pandiyan wrote: > > > Package: linux-headers > > > Version: 4.19.165-cip41-rt18 > > > > [...] > > > > > I am using Debian buster, kernel 4.19.165-cip41-rt18. > > > > Hello, > > > > This doesn't look like a Debian kernel at all, which is probably why > > your report was filed under "unknown packages". > > > > Please re-check where you obtained it from and / or try to reproduce the > > issue with a Debian kernel, and re-open this bug if the issue is indeed > > present in Debian. > > > > Kind regards, > > Andrei > > -- > > Looking after bugs assigned to unknown or inexistent packages > > -- Looking after bugs assigned to unknown or inexistent packages signature.asc Description: PGP signature
Bug#988367: linux-headers 4.19.165 '"make scripts" results fatal error: classmap.h: No such file or directory'
Package: linux-headers Version: 4.19.165-cip41-rt18 When "make scripts" are triggered from /usr/src/linux-header-${uname -r} directory. It fails to build the scripts due to the unavailability of selinux headers. Below are the logs root@localhost:~# cd /usr/src/linux-headers-4.19.165-cip41-rt18+mel6 root@localhost:/usr/src/linux-headers-4.19.165-cip41-rt18+mel6# wget https://raw.githubusercontent.com/armbian/build/master/patch/misc/headers-debian-byteshift.patch -O - | sudo patch -p1 sudo: unable to resolve host localhost.localdomain: Name or service not known --2021-05-11 08:18:27-- https://raw.githubusercontent.com/armbian/build/master/patch/misc/headers-debian-byteshift.patch Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.111.133, 185.199.108.133, 185.199.110.133, ... Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.111.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 3591 (3.5K) [text/plain] Saving to: ‘STDOUT’ - 100%[===>] 3.51K --.-KB/sin 0s 2021-05-11 08:18:27 (11.5 MB/s) - written to stdout [3591/3591] patching file tools/include/tools/be_byteshift.h patching file tools/include/tools/le_byteshift.h root@iot2050:/usr/src/linux-headers-4.19.165-cip41-rt18+mel6# make scripts HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o YACCscripts/kconfig/zconf.tab.c LEX scripts/kconfig/zconf.lex.c HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/conf scripts/kconfig/conf --syncconfig Kconfig HOSTCC scripts/dtc/dtc.o HOSTCC scripts/dtc/flattree.o HOSTCC scripts/dtc/fstree.o HOSTCC scripts/dtc/data.o HOSTCC scripts/dtc/livetree.o HOSTCC scripts/dtc/treesource.o HOSTCC scripts/dtc/srcpos.o HOSTCC scripts/dtc/checks.o HOSTCC scripts/dtc/util.o LEX scripts/dtc/dtc-lexer.lex.c YACCscripts/dtc/dtc-parser.tab.h HOSTCC scripts/dtc/dtc-lexer.lex.o YACCscripts/dtc/dtc-parser.tab.c HOSTCC scripts/dtc/dtc-parser.tab.o HOSTLD scripts/dtc/dtc HOSTCC scripts/dtc/fdtoverlay.o HOSTCC scripts/dtc/libfdt/fdt.o HOSTCC scripts/dtc/libfdt/fdt_rw.o HOSTCC scripts/dtc/libfdt/fdt_sw.o HOSTCC scripts/dtc/libfdt/fdt_empty_tree.o HOSTCC scripts/dtc/libfdt/fdt_overlay.o HOSTCC scripts/dtc/libfdt/fdt_wip.o HOSTCC scripts/dtc/libfdt/fdt_strerror.o HOSTCC scripts/dtc/libfdt/fdt_ro.o HOSTCC scripts/dtc/libfdt/fdt_addresses.o HOSTLD scripts/dtc/fdtoverlay YACCscripts/genksyms/parse.tab.h HOSTCC scripts/genksyms/genksyms.o YACCscripts/genksyms/parse.tab.c HOSTCC scripts/genksyms/parse.tab.o LEX scripts/genksyms/lex.lex.c HOSTCC scripts/genksyms/lex.lex.o HOSTLD scripts/genksyms/genksyms HOSTCC scripts/mod/mk_elfconfig CC scripts/mod/empty.o MKELF scripts/mod/elfconfig.h CC scripts/mod/devicetable-offsets.s HOSTCC scripts/mod/modpost.o HOSTCC scripts/mod/file2alias.o HOSTCC scripts/mod/sumversion.o HOSTLD scripts/mod/modpost HOSTCC scripts/selinux/genheaders/genheaders scripts/selinux/genheaders/genheaders.c:18:10: fatal error: classmap.h: No such file or directory #include "classmap.h" ^~~~ compilation terminated. make[3]: *** [scripts/Makefile.host:90: scripts/selinux/genheaders/genheaders] Error 1 make[2]: *** [scripts/Makefile.build:544: scripts/selinux/genheaders] Error 2 make[1]: *** [scripts/Makefile.build:544: scripts/selinux] Error 2 make: *** [Makefile:1092: scripts] Error 2 root@iot2050:/usr/src/linux-headers-4.19.165-cip41-rt18+mel6# I had pushed the PR(https://github.com/ilbers/isar/pull/67) where corresponding headers can be copied to linux-headers. I am using Debian buster, kernel 4.19.165-cip41-rt18. Regards Arulpandiyan V