[MacPorts] #37733: ffmpeg fails to build against libsdl-devel

MacPorts noreply at macports.org
Tue Jan 22 16:47:49 PST 2013


#37733: ffmpeg fails to build against libsdl-devel
--------------------------+------------------------
  Reporter:  lllactive@…  |      Owner:  jeremyhu@…
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.1.2
Resolution:               |   Keywords:
      Port:  ffmpeg       |
--------------------------+------------------------

Comment (by ryandesign@…):

 Replying to [comment:11 lllactive@…]:
 > With sudo port installed dependentof:libsdl-devel I get:
 >
 > {{{
 > The following ports are currently installed:
 >   ffmpeg @0.5_5+darwin_10
 >   ffmpeg @0.5.1_0+darwin_10
 >   ffmpeg @0.5.1_1+darwin_10
 >   ffmpeg @0.7.11_1+mmx
 >   ffmpeg @0.7.13_2+gpl2+mmx
 >   gegl @0.1.0_2+darwin_10
 >   gegl @0.1.0_4+darwin_10
 >   gegl @0.2.0_0+python27
 >   gegl @0.2.0_2+python27
 >   gegl @0.2.0_4+python27 (active)
 > }}}
 >
 > Is that expected?

 It is, if those ports were installed while libsdl-devel was active. It's
 possible that at one time one of those ports did actually require libsdl-
 devel. But they don't now:
 {{{
 $ port -v deps ffmpeg gegl
 Full Name: ffmpeg @1.0.1_1+gpl2
 Build Dependencies:   port:pkgconfig, port:gmake, port:texi2html,
 port:yasm
 Library Dependencies: port:lame, port:libvorbis, port:libopus,
 port:libogg,
                       port:libtheora, port:libmodplug, port:jack,
 port:dirac,
                       port:schroedinger, port:openjpeg, port:freetype,
                       path:lib/libspeex.dylib:speex, port:libvpx,
                       path:lib/pkgconfig/sdl.pc:libsdl, port:bzip2,
 port:zlib,
                       port:XviD, port:x264
 --
 Full Name: gegl @0.2.0_4+python27
 Build Dependencies:   port:pkgconfig, port:intltool, port:w3m,
 port:python27
 Library Dependencies: port:babl, port:gtk2, port:lua, port:openexr,
 port:exiv2,
                       port:libopenraw, port:librsvg,
 path:lib/pkgconfig/sdl.pc:libsdl,
                       path:lib/libavcodec.dylib:ffmpeg, port:libspiro,
 port:lensfun
 }}}
 And while they both declare a ''path'' dependency on libsdl (which means
 they're supposed to accept either libsdl or libsdl-devel), libsdl-devel is
 a rather different version of the software so I wouldn't be surprised if
 it doesn't actually work anymore in this case.

 > Should I now do:
 >
 > {{{
 > sudo port -f deactivate libsdl-devel
 > sudo port install libsdl
 > sudo port clean ffmpeg
 > sudo port upgrade ffmpeg
 > }}}

 Yes.

 Assuming that works, I would also rebuild gegl, since your gegl was built
 against libsdl-devel, and it would be a good idea to rebuild it against
 libsdl.

 {{{
 sudo port clean gegl
 sudo port -ns upgrade --force gegl
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/37733#comment:12>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list