Linux Kernel build dpkg-buildpackage error

Adverg Ebashinskii ebashinskii at mail.ru
Sun Aug 15 03:25:09 EDT 2021


 
Hello!
 
I’m trying to build Linux Kernel from upstream and faced some build error.
 
Environment:
 
Ubuntu 20.04 
gcc  (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
Linux Kernel 5.8.0-59-generic
 
Steps to build:
 
I follow the instructions specified in this site  https://wiki.ubuntu.com/KernelTeam/GitKernelBuild
 
1​​​​​​  cp /boot/config-$(uname -r) .config
 
2  make olddefconfig
 
3  make clean
 
4  make -j $(getconf _NPROCESSORS_ONLN) deb-pkg LOCALVERSION=-custom
 
After pretty long time of compiling source files I got the following error:
 
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:77: deb-pkg] Error 2
make: *** [Makefile:1559: deb-pkg] Error 2
 
Is there a way to fix that?
--
Regards,
Adverg Ebashinskii
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20210815/ffc2fbb0/attachment-0001.html>


More information about the Kernelnewbies mailing list