Closed Vekhir closed 11 months ago
Thanks for your report, this is a simple one: you're missing the shared-mime-info
dependency :)
Interesting, because shared-mime-info-2.3-1
gets installed.
@kpcyrd
I think I have the solution. shared-mime-info
just got a new version a few days ago. Running my quick test above with the old version correctly yields application/x-bzip
, the new version 2.3
instead returns application/x-bzip2
.
This then isn't matched correctly, and leads to failure.
Edit: Just confirmed that passing in the old version via -I
builds fine.
Hi, when I'm building
rebuilderd 0.19.0
in a clean chroot on Arch Linux, I get the following two test failures duringcheck()
:This seems rather odd to me, as the tests are - from my limited understanding - correct and should pass. The issue is clearly in
detect_compression
(source), so eithertree_magic_mini
somehow doesn't recognize the magic bytes or the mapping frommime
toCompressedWith
fails.This quick test
prints out
application/x-bzip2
for me. Maybe it's related.Are you able to reproduce the issue? It is reliably reproducible on my side.
System information
OS: Arch Linux Kernel: Linux 6.5.6-arch2-1 Rebuilderd: 0.19.0-2 Rust: 1:1.73.0-1 tree_magic_mini: v3.0.3 (via cargo) bzip2: v0.4.3 (via cargo) bzip2-sys: v0.1.11+1.0.8 (via cargo)