Kernel compile build .deb fail

Kernels & Hardware, configuring network, installing services

Kernel compile build .deb fail

Postby sunrat » 2020-06-05 03:09

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
sunrat
 
Posts: 3087
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: Kernel compile build .deb fail

Postby ruwolf » 2020-06-06 10:40

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
ruwolf
 
Posts: 410
Joined: 2008-02-18 05:04
Location: Slovakia, Banovce nad Bebravou, Matice slovenskej 1260/4-7

Re: Kernel compile build .deb fail

Postby sunrat » 2020-06-06 11:18

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!
User avatar
sunrat
 
Posts: 3087
Joined: 2006-08-29 09:12
Location: Melbourne, Australia


Return to System configuration

Who is online

Users browsing this forum: No registered users and 13 guests

fashionable