You are not logged in.

#1 2025-01-20 13:25:35

harvie
Member
From: Prague
Registered: 2015-01-20
Posts: 17
Website

Kernel make bindeb-pkg fails with unmet build dependencies: bc kmod cp

Hello,
i hope it's not too controversial, but am trying to build vanilla kernel for Debian (using Arch BTW :-)
I am using make bindeb-pkg, but it seems to fail during dpkg-checkbuilddeps.
Complains about missing dependencies, but they're all there and i can execute them.

$ dpkg-checkbuilddeps
dpkg-checkbuilddeps: error: unmet build dependencies: bc kmod cpio

$ which bc kmod cpio
/usr/bin/bc
/usr/bin/kmod
/usr/bin/cpio

Any idea how to fix this?
Thanks

Offline

#2 2025-01-22 20:14:23

ayekat
Member
Registered: 2011-01-17
Posts: 1,618

Re: Kernel make bindeb-pkg fails with unmet build dependencies: bc kmod cp

As dpkg-checkbuilddeps checks your locally installed dpkg packages, I would be worried if it amounted to anything other than "all dependencies are missing".

What documentation/instructions are you following?
I'm not sure if you can use an Arch Linux (or really any non-Debian system) to build a Debian Linux kernel package. But if yes, I would check if there isn't a way to either skip that dpkg-checkbuilddeps, or (better) perform the whole build process in a more Arch Linux compatible way.


pkgshackscfgblag

Offline

#3 2025-01-22 22:11:08

NuSkool
Member
Registered: 2015-03-23
Posts: 266

Re: Kernel make bindeb-pkg fails with unmet build dependencies: bc kmod cp

It's pretty trivial and I've spun up Debian containers....   https://wiki.archlinux.org/title/System … nvironment

ie: from notes....

sudo pacman -S debootstrap
sudo debootstrap --include=dbus,libpam-systemd stable ./
sudo systemd-nspawn 
root@F:~# passwd

Then start it up and log in to work on whatever.

sudo systemd-nspawn -b

Not sure if this would be ideal for compiling kernel though.


Scripts I Use                                                 :  https://github.com/Cody-Learner
grep -m1 'model name' /proc/cpuinfo    : AMD Ryzen 7 8745HS w/ Radeon 780M Graphics
grep -m1 'model name' /proc/cpuinfo    : Intel(R) N95
grep -m1 'model name' /proc/cpuinfo    : AMD Ryzen 5 PRO 2400GE w/ Radeon Vega Graphics

Offline

Board footer

Powered by FluxBB