[MacPorts] #41574: ffmpeg @2.1.1 +gpl2 +gpl3 +nonfree Configure error - build failure
#41574: ffmpeg @2.1.1 +gpl2 +gpl3 +nonfree Configure error - build failure ------------------------------+-------------------------------- Reporter: joe@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: ffmpeg freetype2 | Port: ------------------------------+-------------------------------- Hello, When installing ffmpeg on OS X 10.9, ffmpeg configuration fails and the port isn't installed, as the freetype2 header "freetype/freetype.h" isn't found. The fundamental issue may be with the freetype2 installation. A successful workaround is to add a symlink after freetype2 installation so that ffmpeg's configure script can find it. Then install ffmpeg. {{{ ln -s /opt/local/include/freetype2 /opt/local/include/freetype }}} -- Ticket URL: <https://trac.macports.org/ticket/41574> MacPorts <http://www.macports.org/> Ports system for OS X
#41574: ffmpeg @2.1.1 +gpl2 +gpl3 +nonfree Configure error - build failure ---------------------+-------------------------------- Reporter: joe@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: ffmpeg freetype2 Port: | ---------------------+-------------------------------- Comment (by ian@…): Same issue on 10.8 and ffmpeg @2.1.1_0+gpl2+nonfree. Tried a clean + uninstall, but no change. -- Ticket URL: <https://trac.macports.org/ticket/41574#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#41574: ffmpeg @2.1.1: build fails with freetype 2.5.1 ---------------------+-------------------------------- Reporter: joe@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: ffmpeg | ---------------------+-------------------------------- Changes (by ryandesign@…): * keywords: ffmpeg freetype2 => * cc: ryandesign@… (added) * port: => ffmpeg Comment: It's an incompatibility with freetype 2.5.1. I can look into it in a few hours. -- Ticket URL: <https://trac.macports.org/ticket/41574#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#41574: ffmpeg @2.1.1: build fails with freetype 2.5.1 ---------------------+-------------------------------- Reporter: joe@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: ffmpeg | ---------------------+-------------------------------- Comment (by t.m.guymer@…): Same issue on 10.6.8 with ffmpeg-2.1.1_0+gpl2+nonfree The soft link work around works for me. -- Ticket URL: <https://trac.macports.org/ticket/41574#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#41574: ffmpeg @2.1.1: build fails with freetype 2.5.1 -----------------------------------+---------------------- Reporter: joe@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: ffmpeg, ffmpeg-devel | -----------------------------------+---------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => devans@… * cc: jeremyhu@… (added) * port: ffmpeg => ffmpeg, ffmpeg-devel Comment: It's a convoluted configure script that I don't know the best way to fix. The configure script check is doing this: {{{ #include <ft2build.h> #include <freetype/freetype.h> }}} whereas freetype wants you to do this: {{{ #include <ft2build.h> #include FT_FREETYPE_H }}} and the ffmpeg configure script isn't set up to do that kind of thing. The first step is probably to report the problem to the developers and see what they say. And then there's a wrong `#include` in ./libavfilter/vf_drawtext.c which can probably just be removed. That should be all, hopefully. -- Ticket URL: <https://trac.macports.org/ticket/41574#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#41574: ffmpeg @2.1.1: build fails with freetype 2.5.1 -----------------------------------+---------------------- Reporter: joe@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: ffmpeg, ffmpeg-devel | -----------------------------------+---------------------- Comment (by david@…): I've been working on this also. I've reported this upstream (ffmpeg-devel) with a similar temp fix. This fix involves changing configure (is odd ways) + source files for DrawText filter, so best do the temp fix for now. A better temp fix may be... ln -sf /opt/local/include/freetype2 /opt/local/include/freetype2/freetype as this replicates the previous freetype directory structure. -- Ticket URL: <https://trac.macports.org/ticket/41574#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#41574: ffmpeg @2.1.1: build fails with freetype 2.5.1 -----------------------------------+---------------------- Reporter: joe@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: ffmpeg, ffmpeg-devel | -----------------------------------+---------------------- Comment (by david@…): This relates to the recent freetype-2.5.1 update where freetype-2.5.x seems to have changed the include directory hierarchy. -- Ticket URL: <https://trac.macports.org/ticket/41574#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#41574: ffmpeg @2.1.1: build fails with freetype 2.5.1 -----------------------------------+---------------------- Reporter: joe@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: ffmpeg, ffmpeg-devel | -----------------------------------+---------------------- Comment (by ryandesign@…): Replying to [comment:7 david@…]:
I've reported this upstream (ffmpeg-devel) with a similar temp fix.
Here's that URL: http://ffmpeg.org/pipermail/ffmpeg- devel/2013-November/151404.html Replying to [comment:8 david@…]:
This relates to the recent freetype-2.5.1 update where freetype-2.5.x seems to have changed the include directory hierarchy.
Yes. See #41593. -- Ticket URL: <https://trac.macports.org/ticket/41574#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#41574: ffmpeg @2.1.1: build fails with freetype 2.5.1 -----------------------------------+---------------------- Reporter: joe@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: ffmpeg, ffmpeg-devel | -----------------------------------+---------------------- Changes (by ryandesign@…): * cc: david@… (added) -- Ticket URL: <https://trac.macports.org/ticket/41574#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#41574: ffmpeg @2.1.1: build fails with freetype 2.5.1 -----------------------------------+---------------------- Reporter: joe@… | Owner: devans@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: Port: ffmpeg, ffmpeg-devel | -----------------------------------+---------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: Fixed in r114100. This works for us, but is not suitable for upstream, because this change makes ffmpeg require freetype 2.5.1 or newer. -- Ticket URL: <https://trac.macports.org/ticket/41574#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts