Closed Alaric617R closed 1 year ago
I was caught with the following error when building cxl-kernel: sh ./scripts/package/mkdebian dpkg-buildpackage -r"fakeroot -u" -a$(cat debian/arch) -b -nc -uc dpkg-buildpackage: info: source package linux-upstream dpkg-buildpackage: info: source version 5.17.4-smdk+-1 dpkg-buildpackage: info: source distribution focal dpkg-buildpackage: info: source changed by alaricyx <alaricyx@saffron> dpkg-buildpackage: info: host architecture amd64 dpkg-source --before-build . debian/rules binary make KERNELRELEASE=5.17.4-smdk+ ARCH=x86 KBUILD_BUILD_VERSION=1 -f ./Makefile CALL scripts/checksyscalls.sh CALL scripts/atomic/check-atomics.sh DESCEND objtool DESCEND bpf/resolve_btfids CHK include/generated/compile.h CHK kernel/kheaders_data.tar.xz make[4]: *** No rule to make target 'debian/canonical-certs.pem', needed by 'certs/x509_certificate_list'. Stop. make[3]: *** [Makefile:1831: certs] Error 2 make[2]: *** [debian/rules:7: build-arch] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 make[1]: *** [scripts/Makefile.package:83: bindeb-pkg] Error 2 make: *** [Makefile:1539: bindeb-pkg] Error 2 Did I miss something during make config or it's something else?
sh ./scripts/package/mkdebian dpkg-buildpackage -r"fakeroot -u" -a$(cat debian/arch) -b -nc -uc dpkg-buildpackage: info: source package linux-upstream dpkg-buildpackage: info: source version 5.17.4-smdk+-1 dpkg-buildpackage: info: source distribution focal dpkg-buildpackage: info: source changed by alaricyx <alaricyx@saffron> dpkg-buildpackage: info: host architecture amd64 dpkg-source --before-build . debian/rules binary make KERNELRELEASE=5.17.4-smdk+ ARCH=x86 KBUILD_BUILD_VERSION=1 -f ./Makefile CALL scripts/checksyscalls.sh CALL scripts/atomic/check-atomics.sh DESCEND objtool DESCEND bpf/resolve_btfids CHK include/generated/compile.h CHK kernel/kheaders_data.tar.xz make[4]: *** No rule to make target 'debian/canonical-certs.pem', needed by 'certs/x509_certificate_list'. Stop. make[3]: *** [Makefile:1831: certs] Error 2 make[2]: *** [debian/rules:7: build-arch] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 make[1]: *** [scripts/Makefile.package:83: bindeb-pkg] Error 2 make: *** [Makefile:1539: bindeb-pkg] Error 2
make config
I was caught with the following error when building cxl-kernel:
sh ./scripts/package/mkdebian dpkg-buildpackage -r"fakeroot -u" -a$(cat debian/arch) -b -nc -uc dpkg-buildpackage: info: source package linux-upstream dpkg-buildpackage: info: source version 5.17.4-smdk+-1 dpkg-buildpackage: info: source distribution focal dpkg-buildpackage: info: source changed by alaricyx <alaricyx@saffron> dpkg-buildpackage: info: host architecture amd64 dpkg-source --before-build . debian/rules binary make KERNELRELEASE=5.17.4-smdk+ ARCH=x86 KBUILD_BUILD_VERSION=1 -f ./Makefile CALL scripts/checksyscalls.sh CALL scripts/atomic/check-atomics.sh DESCEND objtool DESCEND bpf/resolve_btfids CHK include/generated/compile.h CHK kernel/kheaders_data.tar.xz make[4]: *** No rule to make target 'debian/canonical-certs.pem', needed by 'certs/x509_certificate_list'. Stop. make[3]: *** [Makefile:1831: certs] Error 2 make[2]: *** [debian/rules:7: build-arch] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 make[1]: *** [scripts/Makefile.package:83: bindeb-pkg] Error 2 make: *** [Makefile:1539: bindeb-pkg] Error 2
Did I miss something duringmake config
or it's something else?