After a long investigation, it turns out the issue is not related to libarchive 3.6.2, but rather to a race condition between reprepro and the external decompression tool it invokes.
See https://salsa.debian.org/debian/reprepro/-/merge_requests/6 for a fix, currently building in https://launchpad.net/~schopin/+archive/ubuntu/reprepro
After a long investigation, it turns out the issue is not related to libarchive 3.6.2, but rather to a race condition between reprepro and the external decompression tool it invokes.
See https:/ /salsa. debian. org/debian/ reprepro/ -/merge_ requests/ 6 for a fix, currently building in https:/ /launchpad. net/~schopin/ +archive/ ubuntu/ reprepro