Damus
David Chisnall (*Now with 50% more sarcasm!*) · 7w
My main reaction to reading this tale of suffering for packaging for various Linux distros was to appreciate #FreeBSD more. Packaging Rust and Go things is easy. Running your own package repo is eas...
Edwin Török profile picture
@nprofile1q... nice! Looks like Rust, Go and Haskell have good support for dealing with dependencies: https://docs.freebsd.org/en/books/porters-handbook/special/#using-cargo

Interestingly Fedora says that Go programs *must* vendor their dependencies (which contradicts the usual no vendoring for system packages...) https://docs.fedoraproject.org/en-US/packaging-guidelines/Golang/#_vendored_dependencies

Although it seems like a better way forward would be to add better support for emitting distro packages into the upstream language-specific tooling. That'd be a one-off effort / language ecosystem, rather than having each library/application having to figure out how to do this on its own.
It'd probably require augmenting the upstream language-specific packages with more metadata, although it feels like a https://xkcd.com/927/ problem.
1
David Chisnall (*Now with 50% more sarcasm!*) · 7w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqhxatvn8sm87kkhrnqku097p5ddqhmhwtn385v3are3gk208p3dqqpvlv9g Both Go and Rust build statically linked binaries. Debian's rule of 'all of the dependencies must be separately packaged' makes no sense because they will only ever be build depende...