Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Kernel compile build .deb fail

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
User avatar
sunrat
Administrator
Administrator
Posts: 6412
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 462 times

Kernel compile build .deb fail

#1 Post by sunrat »

Noobiest of noobs with this, first time trying to build a kernel. I want to use XanMod kernel for music production to see if it handles a MIDI keyboard better. https://xanmod.org/ . Binaries don't build nvidia on Buster due to being compiled with gcc-10 so could change to Bullseye or sid, or compile on Buster with gcc-8.
I ran makemenuconfig and only changed the Processor Family. Then

Code: Select all

make -j4 deb-pkg LOCALVERSION=-rat2
Seemed to compile OK but had errors on .deb build:

Code: Select all

make[2]: *** [debian/rules:6: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
make[1]: *** [scripts/Makefile.package:77: deb-pkg] Error 2
make: *** [Makefile:1434: deb-pkg] Error 2
The build directory ended up with these files so I assume it was only .deb build failed:

Code: Select all

linux-5.6.16-xanmod1-rat2_5.6.16-xanmod1-rat2-1.diff.gz
linux-5.6.16-xanmod1-rat2_5.6.16-xanmod1-rat2-1.dsc
linux-5.6.16-xanmod1-rat2_5.6.16-xanmod1-rat2.orig.tar.gz
Files referenced in the errors:
rules - http://paste.debian.net/1150352/
scripts/Makefile.package - http://paste.debian.net/1150353/
Makefile - http://paste.debian.net/1150354/
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

User avatar
ruwolf
Posts: 623
Joined: 2008-02-18 05:04
Location: Banovce nad Bebravou
Has thanked: 35 times
Been thanked: 26 times

Re: Kernel compile build .deb fail

#2 Post by ruwolf »

It was quite long ago, when I built kernel, but: Is there no switch to be more verbose like KBUILD_VERBOSE=1 or KBUILD_VERBOSE=2?

User avatar
sunrat
Administrator
Administrator
Posts: 6412
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 462 times

Re: Kernel compile build .deb fail

#3 Post by sunrat »

I tried it again redirecting the errors to a text file, the problem with .deb build fail turned out to be because I didn't have lz4 installed.
The kernel booted fine but when using a MIDI USB keyboard into software instruments in Harrison Mixbus I got a flood of xruns.
So back now with the Liquorix kernel I was using all along which just has an occasional xrun which is what I was trying to eliminate.
I need to learn a lot more about configuring and compiling kernels! This ain't over... :mrgreen:
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

Post Reply