https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195990
Ryder <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #7 from Ryder <[email protected]> --- Minor update: this is still broken for file-5.22 and 10.1-RELEASE-p5. This also breaks py-magic, which is what led me here. Try: >>> import magic >>> m = magic.open(magic.MAGIC_MIME) >>> m.load() Result: ...same errors as with file(1), ending with /usr/share/misc/magic, 17382: Warning: Printf format `l' is not valid for type `byte' in description `- version %ld' Thanks for the workaround. For fixing py27-magic, I can pass it the port version's magic file instead, like so: >>> m.load('/usr/local/share/file/magic') 0 >>> m.file('.macromedia') 'inode/directory; charset=binary' -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "[email protected]"
