public inbox for kernelnewbies@kernelnewbies.org
 help / color / mirror / Atom feed
From: "Adverg Ebashinskii" <ebashinskii@mail.ru>
To: kernelnewbies <kernelnewbies@kernelnewbies.org>
Subject: Linux Kernel build dpkg-buildpackage error 
Date: Sun, 15 Aug 2021 10:25:09 +0300	[thread overview]
Message-ID: <1629012309.840897614@f717.i.mail.ru> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 879 bytes --]


 
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

[-- Attachment #1.2: Type: text/html, Size: 13727 bytes --]

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

             reply	other threads:[~2021-08-15  7:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-15  7:25 Adverg Ebashinskii [this message]
2021-08-15  9:05 ` Linux Kernel build dpkg-buildpackage error Ewan Marshall
2021-08-15  9:48   ` Adverg Ebashinskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1629012309.840897614@f717.i.mail.ru \
    --to=ebashinskii@mail.ru \
    --cc=kernelnewbies@kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox