Date: Mon, 21 Oct 2013 15:08:55 +0200 From: Jan Henrik Sylvester <me@janh.de> To: multimedia-list freebsd <freebsd-multimedia@freebsd.org> Subject: Build fails after multimedia/ffmpeg update: net/opal audio/audacity sysutils/k3b-kde4 multimedia/k9copy-kde4 Message-ID: <52652767.9070800@janh.de>
next in thread | raw e-mail | index | archive | help
I tried to update multimedia/ffmpeg the presumably safest way: Doing pkg delete -R ffmpeg-0.7.15_2,1 [and many other ports needing an update] and trying to reinstall all leaf ports. Four ports failed due to ffmpeg: net/opal audio/audacity sysutils/k3b-kde4 multimedia/k9copy-kde4 audio/audacity, sysutils/k3b-kde4, and multimedia/k9copy-kde4 build just fine on Oct-17 (and net/opal on Oct-9). I am building on 9.2-RELEASE/amd64 with standard compiler and setting. The only related items in /etc/make.conf are: WITH_PKGNG=yes and ffmpeg_SET= LAME OPTIMIZED_CFLAGS Here are the complete build logs: http://www.math.uni-hamburg.de/home/sylvester/freebsd/opal-LOG.xz http://www.math.uni-hamburg.de/home/sylvester/freebsd/audacity-LOG.xz http://www.math.uni-hamburg.de/home/sylvester/freebsd/k3b-LOG.xz http://www.math.uni-hamburg.de/home/sylvester/freebsd/k9copy-LOG.xz The last error messages from the builds are below. So many ports are rarely broken. Is it my system or settings? Or is the multimedia/ffmpeg update not fully done, yet? Cheers, Jan Henrik ==================== net/opal ==================== [CC] h264_helper.cxx ./shared/x264wrap.cxx: In member function 'bool H264Encoder::ReadPipe(void*, size_t)': ./shared/x264wrap.cxx:593: warning: comparison between signed and unsigned integer expressions ./shared/x264wrap.cxx: In member function 'bool H264Encoder::WritePipe(const void*, size_t)': ./shared/x264wrap.cxx:606: warning: comparison between signed and unsigned integer expressions h264-x264.cxx: In member function 'virtual bool MyDecoder::Construct()': h264-x264.cxx:1077: error: 'FF_IDCT_H264' was not declared in this scope h264-x264.cxx:1081: error: 'CODEC_FLAG2_SKIP_RD' was not declared in this scope gmake[3]: *** [/usr/ports/net/opal/work/opal-3.10.10/plugins/../lib_FreeBSD_amd64/plugins/h264_x264/h264-x264.o] Error 1 ==================== audio/audacity ==================== In file included from AudacityApp.cpp:70: FFmpeg.h:356: error: 'SampleFormat' does not name a type FFmpeg.h:518: error: use of enum 'CodecID' without previous declaration FFmpeg.h:518: error: use of enum 'CodecID' without previous declaration FFmpeg.h: In function 'AVCodec* avcodec_find_encoder(int)': FFmpeg.h:518: error: declaration of C function 'AVCodec* avcodec_find_encoder(int)' conflicts with /usr/local/include/libavcodec/avcodec.h:4039: error: previous declaration 'AVCodec* avcodec_find_encoder(AVCodecID)' here FFmpeg.h: At global scope: FFmpeg.h:530: error: use of enum 'CodecID' without previous declaration FFmpeg.h:530: error: use of enum 'CodecID' without previous declaration FFmpeg.h: In function 'AVCodec* avcodec_find_decoder(int)': FFmpeg.h:530: error: declaration of C function 'AVCodec* avcodec_find_decoder(int)' conflicts with /usr/local/include/libavcodec/avcodec.h:3572: error: previous declaration 'AVCodec* avcodec_find_decoder(AVCodecID)' here FFmpeg.h: At global scope: FFmpeg.h:585: error: use of enum 'SampleFormat' without previous declaration FFmpeg.h:585: error: use of enum 'SampleFormat' without previous declaration FFmpeg.h:622: error: 'AVFormatParameters' has not been declared FFmpeg.h:622: error: 'AVFormatParameters' has not been declared FFmpeg.h:639: warning: 'av_register_protocol_fp' initialized and declared 'extern' FFmpeg.h:639: error: 'URLProtocol' was not declared in this scope [...] FFmpeg.h:908: error: initializer expression list treated as compound expression FFmpeg.h:908: error: expected ',' or ';' before '{' token AudacityApp.cpp:217: warning: 'void wxOnAssert(const wxChar*, int, const wxChar*)' defined but not used gmake[1]: *** [AudacityApp.o] Error 1 ==================== sysutils/k3b-kde4 ==================== /usr/ports/sysutils/k3b-kde4/work/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:58: error: 'AVCODEC_MAX_AUDIO_FRAME_SIZE' was not declared in this scope /usr/ports/sysutils/k3b-kde4/work/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp: In constructor 'K3bFFMpegFile::K3bFFMpegFile (const QString&)': /usr/ports/sysutils/k3b-kde4/work/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:74: error: 'class K3bFFMpegFile::Private' has no member named 'outputBuffer' /usr/ports/sysutils/k3b-kde4/work/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:75: error: 'class K3bFFMpegFile::Private' has no member named 'outputBuffer' /usr/ports/sysutils/k3b-kde4/work/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp: In member function 'bool K3bFFMpegFile::open ()': [...] /usr/ports/sysutils/k3b-kde4/work/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:330: error: 'AVCODEC_MAX_AUDIO_FRAME_SIZE' wa s not declared in this scope /usr/ports/sysutils/k3b-kde4/work/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:336: warning: 'avcodec_decode_audio3' is depr ecated (declared at /usr/local/include/libavcodec/avcodec.h:3684) /usr/ports/sysutils/k3b-kde4/work/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:350: warning: 'avcodec_decode_audio3' is depr ecated (declared at /usr/local/include/libavcodec/avcodec.h:3684) *** [plugins/decoder/ffmpeg/CMakeFiles/k3bffmpegdecoder.dir/k3bffmpegwrapper.o] Error code 1 ==================== multimedia/k9copy-kde4 ==================== In file included from /usr/ports/multimedia/k9copy-kde4/work/k9copy-2.3.4-Source/src/mpeg2/kdecmpeg2.h:24, from /usr/ports/multimedia/k9copy-kde4/work/k9copy-2.3.4-Source/src/mpeg2/k9decodethread.h:20, from /usr/ports/multimedia/k9copy-kde4/work/k9copy-2.3.4-Source/src/mpeg2/k9plaympeg2.h:24, from /usr/ports/multimedia/k9copy-kde4/work/k9copy-2.3.4-Source/src/main/kviewmpeg2.h:33, from /usr/ports/multimedia/k9copy-kde4/work/k9copy-2.3.4-Source/moc_kviewmpeg2.cpp:9, from /usr/ports/multimedia/k9copy-kde4/work/k9copy-2.3.4-Source/k9copy_automoc.cpp:6: /usr/ports/multimedia/k9copy-kde4/work/k9copy-2.3.4-Source/src/mplayer/k9internalplayer.h:17: warning: 'class k9InternalPlayer' has virtual functions but non-virtual destructor In file included from /usr/ports/multimedia/k9copy-kde4/work/k9copy-2.3.4-Source/src/import/k9chapteredit.h:18, from /usr/ports/multimedia/k9copy-kde4/work/k9copy-2.3.4-Source/moc_k9chapteredit.cpp:9, from /usr/ports/multimedia/k9copy-kde4/work/k9copy-2.3.4-Source/k9copy_automoc.cpp:21: /usr/ports/multimedia/k9copy-kde4/work/k9copy-2.3.4-Source/src/import/k9avidecode.h:32: error: 'AVFormatParameters' has not been declared /usr/ports/multimedia/k9copy-kde4/work/k9copy-2.3.4-Source/src/import/k9avidecode.h:34: error: use of enum 'CodecID' without previous declaration *** [CMakeFiles/k9copy.dir/k9copy_automoc.o] Error code 1
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52652767.9070800>