File 5.19 supports only version 12 magic files. /usr/share/misc/magic.mgc is version 8

Pelle Andersson aknot at telia.com
Fri Dec 12 08:16:01 UTC 2014


Hello,

Yesterday we successfully upgraded 10.0-RELEASE-p12 to 10.1-RELEASE-p1.
After this we couldn't start ProFTPD. No errors about this in the logs.
The service just dies after start.

When we try to reinstall ProFTPD (make deinstall and then make install 
or make reinstall), we get this error:
/
//proftpd-1.3.5_4 depends on shared library: libpcre.so//
///usr/share/misc/magic, 93: Warning: Printf format `l' is not valid for 
type `lelong' in description `, %ld pages'//
///usr/share/misc/magic, 906: Warning: Printf format `l' is not valid 
for type `belong' in description `%ld x'//
//...//
///usr/share/misc/magic, 15118: Warning: Printf format `l' is not valid 
for type `belong' in description `Volume %ld,'//
///usr/share/misc/magic, 15609: Warning: Current entry does not yet have 
a description for adding a MIME type//
//file: File 5.19 supports only version 12 magic files. 
`/usr/share/misc/magic.mgc' is version 8//
//[: =: unexpected operator//
// - not found/


1. We have tried to reinstall the pcre port, and then reinstall ProFTPD, 
but that didn't do the trick.

2. Then we tried to make install ProFTPD without pcre - and that works, 
the daemon is running fine.

3. All other ports (Apache24, MySQL 5.6, Postfix etc) seem to be working 
and running.


Maybe something went wrong when upgrading FreeBSD?
Maybe /usr/share/misc/magic.mgc is broken (version 8 and/or 12)?

Not sure what to do next.
Any help would be much appreciated.

Thanks,



More information about the freebsd-bugs mailing list