[MacPorts] #43686: defect: file (libmagic) : runtime failure

MacPorts noreply at macports.org
Mon May 12 12:08:42 PDT 2014


#43686: defect: file (libmagic) : runtime failure
-----------------------+--------------------------------
  Reporter:  vergus@…  |      Owner:  macports-tickets@…
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.2.1
Resolution:            |   Keywords:
      Port:  file      |
-----------------------+--------------------------------

Comment (by dluke@…):

 I also see this with macports file vs the system provided file on BDB 1.85
 hash files (like my local copy of non-macports spamassassin uses). I'm
 attaching a small test file which was created with the following program:

 {{{
 #!/opt/local/bin/perl

 use DB_File;

 my %hash;

 my $X = tie %hash, 'DB_File', "test_file";

 $X->put("foo", "bar");
 $X->sync;
 }}}

 It also has the same issue:
 {{{
 % /opt/local/bin/file test_file
 test_file: ERROR: line 46: softmagic.c, 481: format `(Hash, version %d,
 native byte-order)' does not match with `%lu'
 % /usr/bin/file test_file
 test_file: Berkeley DB 1.85 (Hash, version 2, native byte-order)
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/43686#comment:2>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list