[Bug 201656] audio/audacity: FFmpeg support causes conflicting type in build

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jul 17 18:15:58 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201656

            Bug ID: 201656
           Summary: audio/audacity: FFmpeg support causes conflicting type
                    in build
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: antumdeluge at gmail.com
                CC: xxjack12xx at gmail.com
                CC: xxjack12xx at gmail.com
             Flags: maintainer-feedback?(xxjack12xx at gmail.com)

If I try to build/upgrade the audacity 2.1.0 Port (audio/audacity) with FFmpeg
support the build fails with errors stating conflicting types in FFmpeg.h:

In file included from AudacityApp.cpp:73:
./FFmpeg.h:690:7: error: conflicting types for 'av_oformat_next'
      av_oformat_next,
      ^
./FFmpeg.h:485:16: note: expanded from macro 'FFMPEG_FUNCTION_WITH_RETURN'
      inline r n a                                                      \
               ^
/usr/local/include/libavformat/avformat.h:1905:17: note: previous declaration
is here
AVOutputFormat *av_oformat_next(const AVOutputFormat *f);
                ^
In file included from AudacityApp.cpp:73:
./FFmpeg.h:757:7: error: conflicting types for 'av_fifo_size'
      av_fifo_size,
      ^
./FFmpeg.h:485:16: note: expanded from macro 'FFMPEG_FUNCTION_WITH_RETURN'
      inline r n a                                                      \
               ^
/usr/local/include/libavutil/fifo.h:76:5: note: previous declaration is here
int av_fifo_size(const AVFifoBuffer *f);
    ^
In file included from AudacityApp.cpp:73:
./FFmpeg.h:803:7: error: conflicting types for 'av_dict_get'
      av_dict_get,
      ^
./FFmpeg.h:485:16: note: expanded from macro 'FFMPEG_FUNCTION_WITH_RETURN'
      inline r n a                                                      \
               ^

$ uname -a
FreeBSD AntumD_FreeBSD 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Tue Nov 11
21:02:49 UTC 2014     root at releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC
 amd64

I'm guessing there is an incompatibility between audacity 2.1.0 and the
currently installed ffmpeg.

$ pkg info audacity
audacity-2.1.0
Name           : audacity
Version        : 2.1.0

$ pkg info ffmpeg
ffmpeg-2.7.1_1,1
Name           : ffmpeg
Version        : 2.7.1_1,1

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list