[MacPorts] #40581: gpac build error

MacPorts noreply at macports.org
Wed Sep 25 08:40:44 PDT 2013


#40581: gpac build error
--------------------------------+--------------------------------
  Reporter:  macsforever2000@…  |      Owner:  macports-tickets@…
      Type:  defect             |     Status:  new
  Priority:  Normal             |  Milestone:
 Component:  ports              |    Version:  2.2.0
Resolution:                     |   Keywords:
      Port:  gpac               |
--------------------------------+--------------------------------

Comment (by devans@…):

 I got the same result when I tried it just now.

 I then deactivated ffmpeg and tried again.  This got rid of the
 AVCODEC_MAX_AUDIO_FRAME_SIZE error.  However, it then failed as follows:

 cc -I/opt/local/include -O3  -arch x86_64 -Wall -fno-strict-aliasing -Wno-
 pointer-sign -fPIC -DPIC -fvisibility="hidden" -DGPAC_HAVE_CONFIG_H
 -I"/opt/local/var/macports/build/_opt_macports_trunk_dports_multimedia_gpac/gpac/work/gpac"
 -Wno-deprecated-declarations
 -I"/opt/local/var/macports/build/_opt_macports_trunk_dports_multimedia_gpac/gpac/work/gpac/include"
 -DFFMPEG_OLD_HEADERS -I/usr/include
 -I"/opt/local/var/macports/build/_opt_macports_trunk_dports_multimedia_gpac/gpac/work/gpac/extra_lib/include"
 -c -o ffmpeg_decode.o ffmpeg_decode.c
 In file included from ffmpeg_decode.c:25:
 ./ffmpeg_in.h:74:10: fatal error: 'ffmpeg/avformat.h' file not found
 #include <ffmpeg/avformat.h>
          ^
 Conclusions:

  * even though it's configured for the local ffmpeg copy it's using
 include files from the external one if it's installed due to the
 -I/opt/local/include at the beginning of the compile command

  * if external ffmpeg is deactivated it still isn't including the local .h
 files correctly (or worse their not available)

  * note that the compile command is using 'cc' for the compiler.  This is
 one of Ryan's UseTheRightCompiler problems (not related to ffmpeg).

-- 
Ticket URL: <https://trac.macports.org/ticket/40581#comment:3>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list