| ▲ | williebeek 4 hours ago | |
I remember installing an emulator (Mednafen) on Arch Linux about a decade ago. The program failed to run because it was linked against a library my system didn't have. Turns out, the maintainer built the software on his own system and it used a library he had on his system but was not listed in the dependencies. It is an officially maintained package and I always assumed these were built on a dedicated build server instead of some a random volunteer/home computer. Don't know if Arch still builds the same way but this event scared me enough to switch distros. | ||
| ▲ | kpcyrd 2 hours ago | parent | next [-] | |
This may happen even with `pkgctl build` if a makedepends= (transitively) pulled in the shared library into the build environment, but depends= doesn't. There's warnings in place if a .so dependency is detected, but it's up to the maintainer to notice and act on it. For safety/security concerns, Arch Linux has been one of the driving forces in the reproducible builds project, and for large parts of the operating system it's possible to independently verify that those binaries have in fact been built from source code. It's auditing story for official packages is stronger than that of NixOS (and on par with Debian): https://reproducible.archlinux.org/ All of this is entirely unrelated to the AUR incident however. | ||
| ▲ | reorder9695 3 hours ago | parent | prev | next [-] | |
Tools exist (e.g. pkgctl) to allow you to test building and installing the package on a clean image to catch these kinds of things, maintainers should really be using these before publishing. | ||
| ▲ | rcxdude 3 hours ago | parent | prev [-] | |
It's only relatively recently that this has shifted from the norm. Debian operated this way for a long time and it was only in 2019 that they forbade it entirely. | ||