Package Details: mimemagic 1.2.0-1

Git Clone URL: https://aur.archlinux.org/mimemagic.git (read-only, click to copy)
Package Base: mimemagic
Description: Powerful and versatile MIME sniffing package using pre-compiled glob patterns, magic number signatures, XML document namespaces, and tree magic for mounted volumes, generated from the XDG shared-mime-info database
Upstream URL: https://godoc.org/github.com/zRedShift/mimemagic
Keywords: detection extension filetype freedesktop go golang magic-numbers mime mime-database mime-types xdg
Licenses: GPL2
Conflicts: mimemagic-git
Submitter: ragouel
Maintainer: Cynthetika
Last Packager: Cynthetika
Votes: 0
Popularity: 0.000000
First Submitted: 2020-04-24 00:54 (UTC)
Last Updated: 2021-11-07 04:23 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

dreieck commented on 2024-12-02 14:02 (UTC)

check() fails for me with FAIL: TestMatchFilePath//root/access/denied (0.00s):

==> Starting check()...
--- FAIL: TestMatchFilePath (0.11s)
    --- FAIL: TestMatchFilePath//root/access/denied (0.00s)
        mediatype_test.go:564: MatchFilePath() error = open /root/access/denied: no such file or directory, want open /root/access/denied: permission denied
--- FAIL: TestMatchReader (0.00s)
    --- FAIL: TestMatchReader/denied (0.00s)
        mediatype_test.go:601: MatchReader() error = <nil>, want invalid argument
        mediatype_test.go:604: MatchReader() = inode/directory, want application/octet-stream
FAIL
exit status 1
FAIL    github.com/zRedShift/mimemagic  0.478s

Complete package building must never need root priviledges.

If it does, consider faking or redirect to a place within $srcdir where it has access rights.

Regards!