[MacPorts] #54333: ffmpeg-devel @20170615_0 does not build on Mac OS X 10.6.8, Snow Leopard, because of missing vda_framework pthreads

MacPorts noreply at macports.org
Sun Jun 18 01:46:42 UTC 2017


#54333: ffmpeg-devel @20170615_0 does not build on Mac OS X 10.6.8, Snow Leopard,
because of missing vda_framework pthreads
---------------------------+-------------------------
  Reporter:  ballapete     |      Owner:  dbevans
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.4.1
Resolution:                |   Keywords:  snowleopard
      Port:  ffmpeg-devel  |
---------------------------+-------------------------

Comment (by kencu):

 Replying to [comment:1 ballapete]:
 > /Developer/usr/bin/libtool: object:
 CMakeFiles/LLVMDemangle.dir/ItaniumDemangle.cpp.o
 /Developer/usr/bin/libtool: object:
 CMakeFiles/LLVMMCParser.dir/AsmLexer.cpp.o malformed object (unknown load
 command 2)
 > malformed object (unknown load command 2)
 > /Developer/usr/bin/libtool: object:
 CMakeFiles/LLVMMCDisassembler.dir/MCExternalSymbolizer.cpp.o malformed
 object (unknown load command 2)

 There are probably several different things happening here. We'll leave
 the ffmpeg-devel thing alone for a moment.

 The malformed object error is most likely this minor issue [ticket:54129]
 on SnowLeopard which is fixed quite easily with the minor edit I outlined
 here <https://trac.macports.org/ticket/54129#comment:7> . I'd make a PR
 for this -- I probably should I guess - but I usually leave the guts of
 clang and llvm to Jeremy. In the meantime, if you make that little edit in
 the Portfile, you should be able to build llvm-4.0.

 Don't forget, clang-4.0 is broken on Snow Leopard unless you implement
 this [ticket:54135] fix, which I guess I should also make a PR for. So
 either use that fix, or stick with clang-3.9 or clang-3.8.

 -------

 On to ffmpeg-devel. I don't know what to say, exactly. I just built it.
 Not much in the way of modern software will build with llvm-gcc-4.2 any
 more, so my first guess is that you need to set a newer compiler My
 default compiler on SnowLeopard is presently set to clang-3.9, which as
 we've discussed before overrides any settings in the Portfile. I'd suggest
 you (and anyone else out there on Earth still using Snow Leopard) consider
 doing something similar. Life is too short to see which port is the next
 one to require c++11.
 {{{
 $ port -v installed ffmpeg-devel
 The following ports are currently installed:
   ffmpeg-devel @20170615_0+gpl2+gpl3+nonfree (active) platform='darwin 10'
 archs='x86_64' date='2017-06-17T18:45:36-0700'

 }}}

--
Ticket URL: <https://trac.macports.org/ticket/54333#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list