#1622 fontconfig 2.8.0-6 Malformed Mach-o file

10.6_(64-bit)
closed-fixed
Daniel Macks
5
2011-06-03
2011-05-27
René Haber
No

I'm running fink x86_64 unstable on 10.6.
The tools provided by fontconfig (/sw/lib/fontconfig2/bin/*) all result in the following error:
-bash: /sw/lib/fontconfig2/bin/fc-list: Malformed Mach-o file

I believe this is correlated to the recently introduced replacement command in the installation script:
perl -pi -e 's,%p/lib/fontconfig2,%p,g' bin/* lib/pkgconfig/*
which changes paths in binary files.

Discussion

  • Maybe not, but it has

    $ otool -L /sw64/bin/fc-list
    /sw64/bin/fc-list:
    /sw64/lib/libfontconfig.1.dylib (compatibility version 6.0.0, current version 6.4.0)
    load command 11 extends past end of load commands

     
  • Assigning to primary gnome-core-fixer-upper.

     
    • assigned_to: nobody --> dmacks
     
    • milestone: --> 10.6_(64-bit)
     
  • Daniel Macks
    Daniel Macks
    2011-06-02

    I just committed revision 7 that should solve this problem. Diagnosis was correct...that perl-pie segment was copied from a different package where the bin/* were scripts that listed things like .h pathnames.

     
  • René Haber
    René Haber
    2011-06-03

    • status: open --> closed-fixed
     
  • René Haber
    René Haber
    2011-06-03

    Thanks, this resolved the issue.