Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

archlinux sync: no MIME magic files found #92

Closed
SantiagoTorres opened this issue Nov 24, 2021 · 1 comment · Fixed by #93
Closed

archlinux sync: no MIME magic files found #92

SantiagoTorres opened this issue Nov 24, 2021 · 1 comment · Fixed by #93

Comments

@SantiagoTorres
Copy link
Contributor

Trying out a rebuilderd worker for arch, the sync service fails with:

Nov 24 21:19:31 localhost systemd[1]: Started rebuilderctl sync: periodically import packages.
Nov 24 21:19:31 localhost docker[15248]: [2021-11-24T21:19:31Z INFO  rebuildctl::schedule] Downloading "https://ftp.halifax.rwth-aachen.de/archlinux/core/os/x86_64/core.db"...
Nov 24 21:19:34 localhost docker[15248]: [2021-11-24T21:19:34Z INFO  rebuildctl::schedule::archlinux] Parsing index (139803 bytes)...
Nov 24 21:19:34 localhost docker[15248]: thread 'main' panicked at 'No MIME magic files found in the XDG default paths', /var/cache/buildkit/cargo/registry/src/github.com-1ecc6299db9ec823/tree_magic_mini-3.0.2/src/fdo_magic/builtin/runtim>
Nov 24 21:19:34 localhost docker[15248]: note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Nov 24 21:19:34 localhost systemd[1]: rebuilderd-sync@archlinux-core.service: Main process exited, code=exited, status=101/n/a
Nov 24 21:19:34 localhost systemd[1]: rebuilderd-sync@archlinux-core.service: Failed with result 'exit-code'.

This makes me wonder whether tree_magic_mini is looking for some sort of xdg-mime database that's not populated...

@kpcyrd
Copy link
Owner

kpcyrd commented Nov 25, 2021

hi!

It's looking for a file from the shared-mime-info package that was missing in the Dockerfile, this should be fixed after #92.

Thanks for reporting this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants