radxa-repo / rbuild

Radxa Image Builder (Maintenance mode)
https://radxa-repo.github.io/rbuild/
GNU General Public License v3.0
54 stars 45 forks source link

Please add libc6-dev package to base distribution #48

Closed ThomasKaiser closed 9 months ago

ThomasKaiser commented 9 months ago

Missing libc6-dev in common/flavors/.base.yaml prevents certain softwares being built, see here for an example.

RadxaYuntian commented 9 months ago

It is the software developers' responsibly to check (and install) development dependencies for their own software. I just checked my official Debian 12 VM and this package is not installed by default.

RadxaYuntian commented 9 months ago

BTW this package is part of build-essential which is usually what you install first on any Debian system before trying to build anything. On our system gcc is pulled in by dkms as an dependency. This does not mean we are trying to support building custom C code on our system by default. This check should be updated to check using dpkg instead.

ThomasKaiser commented 5 months ago

This check should be updated to check using dpkg instead.

Thanks!

I now had the time to look into it but in my testing (on Ubuntu Bionic, Jammy and Debian Bullseye) dpkg -l always returned with exit code 0 regardless of installation status while dpkg -s did the trick.