Hello! Guillem Jover <guil...@debian.org> wrote: > On Mon, 2022-12-05 at 20:43:45 +0100, Sören Tempel wrote: > > I haven't tried reproducing the failure on alpine:latest yet so please > > let me know if you are also not able to reproduce the hang on alpine:edge. > > So this should be properly fixed now in dpkg 1.21.12 which I released > yesterday. Thanks! :)
Can confirm that this has been fixed in 1.21.12, thanks for the quick fix! > While I'm checking the Alpine packaging I noticed some things that > could be improved: Thank you for your input, appreciate it! I implemented most of this already. Just some minor follow up question below. > * Might need a makedepends on xz-dev (and remove the xz from depends?). The xz dependency was added in 2020 with the commit message "dpkg needs xz to create packages and busybox xz only support extraction" [1] is this still the case? If so: we do need it to be a runtime dependency. > * Might need a depends on xz, gzip and bzip2 for $pkgname-dev, not > sure whether one can specify fine-grained dependencies only for > that package though? Perhaps within the dev() function? It is possible to just define dependencies for the dev() package. Could you explain which part of the dev subpackage needs these compression tools though? Unfortunately, Alpine does not have an optional dependency concept so if a dependency is just needed by a particular script in a package then we tend not to add it. > * The dpkg-dev might need a depends on dpkg. Could you elaborate why this is necessary? Thanks again! Greetings, Sören [1]: https://git.alpinelinux.org/aports/commit/?id=785438d9b145d47144f450a0ec4567f76e9ae330