#43686: defect: file (libmagic) : runtime failure ----------------------+-------------------------------- Reporter: vergus@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: file ----------------------+-------------------------------- Using the file command provided by the port 'file' has not been working for a while now. It only ever produces runtime errors like the following: {{{ $ file /tmp/testmldbm /tmp/testmldbm: ERROR: line 46: softmagic.c, 481: format `(Hash, version %d, native byte-order)' does not match with `%lu' }}} However, downloading and building the same version source (5.18) works as expected: {{{ $ ./src/file -m magic/magic.mgc /tmp/testmldbm /tmp/testmldbm: Berkeley DB 1.85 (Hash, version 2, native byte-order) }}} As does the older version (5.04) provided by OS X in /usr/bin: {{{ $ /usr/bin/file /tmp/testmldbm /tmp/testmldbm: Berkeley DB 1.85 (Hash, version 2, native byte-order) }}} -- Ticket URL: <https://trac.macports.org/ticket/43686> MacPorts <http://www.macports.org/> Ports system for OS X