Menu

#8 universal build fails: libhighlight.a is a fat file, Inappropriate file type or format

stable_release
closed-fixed
None
5
2018-10-16
2013-09-28
No

Hello, we have a port for highlight in MacPorts, and I'm trying to give it the ability to build universal (i.e. for more than one architecture at a time, e.g. i386 and x86_64 together). This fails with the following message:

ar -crs libhighlight.a stylecolour.o stringtools.o xhtmlgenerator.o latexgenerator.o texgenerator.o rtfgenerator.o htmlgenerator.o ansigenerator.o svggenerator.o codegenerator.o xterm256generator.o bbcodegenerator.o odtgenerator.o syntaxreader.o elementstyle.o themereader.o datadir.o preformatter.o platform_fs.o ASStreamIterator.o ASResource.o ASFormatter.o ASBeautifier.o ASEnhancer.o InternalUtils.o  LuaExceptions.o  LuaFunction.o  LuaState.o LuaUserData.o  LuaUtils.o  LuaValue.o  LuaVariable.o  LuaWrappers.o
ar: libhighlight.a is a fat file (use libtool(1) or lipo(1) and ar(1) on it)
ar: libhighlight.a: Inappropriate file type or format
make[1]: *** [lib-static] Error 1

I'm uncertain how to fix this.

1 Attachments

Discussion

  • André Simon

    André Simon - 2013-09-30
    • status: open --> accepted
    • assigned_to: André Simon
     
  • Ryan Carsten Schmidt

    No; as you can see from the attached log file, it was a clean build.

     
  • André Simon

    André Simon - 2013-09-30

    Would it be possible for me to dig into this using PureDarwin? I have no Mac available.

     
  • André Simon

    André Simon - 2018-10-16
    • status: accepted --> open-fixed
     
  • André Simon

    André Simon - 2018-10-16
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.