Re: build issue in builddeb (dpkg-checkbuilddeps: error: Unmet build dependencies: libssl-dev) in 6.12

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Nov 22, 2024 at 2:09 AM Frank Wunderlich
<frank-w@xxxxxxxxxxxxxxx> wrote:
>
> Hi,
>
> i noticed this issue with debian package build-system in final 6.12.
>
> LOCALVERSION=-main board=bpi-r2 ARCH=arm CROSS_COMPILE=ccache arm-linux-gnueabihf-
> make[1]: Entering directory '/media/data_ext/git/kernel/build'
>   GEN     debian
> dpkg-buildpackage --build=binary --no-pre-clean --unsigned-changes -R'make -f debian/rules' -j1 -a$(cat debian/arch)
> dpkg-buildpackage: info: source package linux-upstream
> dpkg-buildpackage: info: source version 6.12.0-00061-g837897c10f69-3
> dpkg-buildpackage: info: source distribution noble
> dpkg-buildpackage: info: source changed by frank <frank@frank-u24>
> dpkg-buildpackage: info: host architecture armhf
>  dpkg-source --before-build .
> dpkg-checkbuilddeps: error: Unmet build dependencies: libssl-dev

This error message means, you need to install "libssl-dev:armhf"


> dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
> dpkg-buildpackage: warning: (Use -d flag to override.)
> make[3]: *** [/media/data_ext/git/kernel/BPI-R2-4.14/scripts/Makefile.package:126: bindeb-pkg] Error 3
>
> it was ok in at least rc1 and libssl-dev is installed


Presumably, you already installed libssl-dev for your build machine
(i.e. "libssl-dev:amd64" if your build machine is x86_64).

But, you have not installed "libssl-dev" for the architecture
your are building for (i.e, "libssl-dev:armhf")













>
> basicly i use this command after setting crosscompiler
>
> LOCALVERSION="${gitbranch}" board="$board" KDEB_COMPRESS=gzip make bindeb-pkg
>
> if i Revert "kbuild: deb-pkg: add pkg.linux-upstream.nokernelheaders build profile"
>
> i can compile again..any idea why this happens? my build-system is ubuntu 24.4 and github actions with ubuntu-latest.
>
> https://github.com/frank-w/BPI-Router-Linux/actions/runs/11955322294/job/33327423877
>
> regards Frank</frank@frank-u24>



-- 
Best Regards
Masahiro Yamada





[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux