nmh-workers
[Top] [All Lists]

Re: mhbuild: extraneous information in message

2021-05-12 20:59:17
‘pacman -Qi mailcap’ will query for information on that package and show
the upstream URL is https://pagure.io/mailcap.  Pagure is like a
SourceForge or GitLab and that installation is Fedora's, despite the
misleading domain name: https://pagure.io/about/.  Fedora took Red Hat's
source.

Thanks for that!


I've access to a Manjaro system.  After a ‘sudo -i pacman -Syu’ to
ensure its packages are up to date, I see

   $ pacman -Q file
   file 5.40-2
   $ file -i /usr/share/mathjax2/extensions/a11y/invalid_keypress.mp3
   /usr/share/mathjax2/extensions/a11y/invalid_keypress.mp3: 
audio/mpegapplication/octet-stream; charset=binary
   $ b2sum -l32 /usr/share/mathjax2/extensions/a11y/invalid_keypress.mp3
   c7d7c71d  /usr/share/mathjax2/extensions/a11y/invalid_keypress.mp3

Right.  Last night I reported that Manjaro had version 5.38-3, but that
was based on what I read at https://discover.manjaro.org/packages/file
rather than what's actually on my machine.  It turns out that I have the
same version you do.


So the bug is there.  Does it report
‘audio/mpegapplication/octet-stream’ for lots of your MP3 files?

Yes.  As an experiment, I ran file -i on 2243 MP3 files; two were reported
as application/octet-stream, with all of the remaining 2241 reported as
audio/mpegapplication/octet-stream.


On both machines, ‘pacman -Qi file’ reports that package's upstream is
https://www.darwinsys.com/file/.

...which links to https://github.com/file/file

I just downloaded and built the master branch, and it works correctly:

   $ /tmp/file/root/bin/file -i /tmp/session2.mp3 
   /tmp/session2.mp3: audio/mpeg; charset=binary

So that's definitely the root cause.  Thanks again for all your help on
this!

     - Steven
-- 
___________________________________________________________________________
Steven Winikoff      |
Montreal, QC, Canada | "Do not meddle in the affairs of dragons,
smw@smwonline.ca     |  for you are crunchy and good with ketchup."
http://smwonline.ca  |

<Prev in Thread] Current Thread [Next in Thread>