Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jul 2015 18:15:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 201656] audio/audacity: FFmpeg support causes conflicting type in build
Message-ID:  <bug-201656-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: antumdeluge@gmail.com
                CC: xxjack12xx@gmail.com
                CC: xxjack12xx@gmail.com
             Flags: maintainer-feedback?(xxjack12xx@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@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-201656-13>