pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/47176: kdemultimedia4 DragonFly ffmpegthumbs error: 'avcodec_init' was not declared



>Number:         47176
>Category:       pkg
>Synopsis:       kdemultimedia4 DragonFly ffmpegthumbs error: 'avcodec_init' 
>was not declared
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Nov 10 11:20:00 +0000 2012
>Originator:     David Shao
>Release:        DragonFly  3.3-DEVELOPMENT x86_64
>Organization:
>Environment:
DragonFly  3.3-DEVELOPMENT x86_64
>Description:
Using DragonFly 3.3-DEVELOPEMENT x86_64 through
commit 0e61c83473708c1cc849f5568ff78a205b644e67
Date:   Thu Nov 8 16:17:32 2012 +0100
debug - Add a basic Makefile

and using pkgsrc current master 

commit e02b605412f2c84590a22ad81feed2bc81ae0e9a
Author: pkgsrc fixup <pkgsrc%dragonflybsd.org@localhost>
Date:   Fri Nov 9 12:29:47 2012 -0800

# pkg_rolling-replace -uv

-- checking for module 'libavcodec'
--   found libavcodec, version 54.59.100
-- checking for module 'libavformat'
--   found libavformat, version 54.29.104
-- checking for module 'libavdevice'
--   found libavdevice, version 54.2.101
-- checking for module 'libavutil'
--   found libavutil, version 51.73.101
-- checking for module 'libswscale'
--   found libswscale, version 2.1.101
-- checking for module 'libpostproc'
--   found libpostproc, version 52.0.100
-- Found FFmpeg: 
/usr/pkgsrc/multimedia/kdemultimedia4/work/.buildlink/lib/libavcodec.so;/usr/pkgsrc/multimedia/kdemultimedia4/work/.buildlink/lib/libavformat.so;/usr/pkgsrc/multimedia/kdemultimedia4/work/.buildlink/lib/libswscale.so
 

...

[ 21%] Building CXX object 
ffmpegthumbs/CMakeFiles/ffmpegthumbs.dir/ffmpegthumbnailer/moviedecoder.o
/usr/pkgsrc/multimedia/kdemultimedia4/work/kdemultimedia-4.8.4/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:
 In member function 'void ffmpegthumbnailer::MovieDecoder::initialize(const 
QString&)':
/usr/pkgsrc/multimedia/kdemultimedia4/work/kdemultimedia-4.8.4/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:55:
 error: 'avcodec_init' was not declared in this scope
/usr/pkgsrc/multimedia/kdemultimedia4/work/kdemultimedia-4.8.4/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:60:
 error: 'av_open_input_file' was not declared in this scope
/usr/pkgsrc/multimedia/kdemultimedia4/work/kdemultimedia-4.8.4/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:65:
 warning: 'int av_find_stream_info(AVFormatContext*)' is deprecated (declared 
at 
/usr/pkgsrc/multimedia/kdemultimedia4/work/.buildlink/include/libavformat/avformat.h:1446)
/usr/pkgsrc/multimedia/kdemultimedia4/work/kdemultimedia-4.8.4/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:65:
 warning: 'int av_find_stream_info(AVFormatContext*)' is deprecated (declared 
at 
/usr/pkgsrc/multimedia/kdemultimedia4/work/.buildlink/include/libavformat/avformat.h:1446)
/usr/pkgsrc/multimedia/kdemultimedia4/work/kdemultimedia-4.8.4/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:
 In member function 'void ffmpegthumbnailer::MovieDecoder::destroy()':
/usr/pkgsrc/multimedia/kdemultimedia4/work/kdemultimedia-4.8.4/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:92:
 warning: 'void av_close_input_file(AVFormatContext*)' is deprecated (declared 
at 
/usr/pkgsrc/multimedia/kdemultimedia4/work/.buildlink/include/libavformat/avformat.h:1622)
/usr/pkgsrc/multimedia/kdemultimedia4/work/kdemultimedia-4.8.4/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:92:
 warning: 'void av_close_input_file(AVFormatContext*)' is deprecated (declared 
at 
/usr/pkgsrc/multimedia/kdemultimedia4/work/.buildlink/include/libavformat/avformat.h:1622)
/usr/pkgsrc/multimedia/kdemultimedia4/work/kdemultimedia-4.8.4/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:
 In member function 'void ffmpegthumbnailer::MovieDecoder::initializeVideo()':
/usr/pkgsrc/multimedia/kdemultimedia4/work/kdemultimedia-4.8.4/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:149:
 warning: 'int avcodec_open(AVCodecContext*, AVCodec*)' is deprecated (declared 
at 
/usr/pkgsrc/multimedia/kdemultimedia4/work/.buildlink/include/libavcodec/avcodec.h:3569)
/usr/pkgsrc/multimedia/kdemultimedia4/work/kdemultimedia-4.8.4/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:149:
 warning: 'int avcodec_open(AVCodecContext*, AVCodec*)' is deprecated (declared 
at 
/usr/pkgsrc/multimedia/kdemultimedia4/work/.buildlink/include/libavcodec/avcodec.h:3569)
*** Error code 1

Not sure if relevant but despite
$ ls -la /var/db/pkg | grep pulse
drwxr-xr-x  1 root  wheel         0 Nov  9 09:39 pulseaudio-2.1nb1

-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
-----------------------------------------------------------------------------
   * MusicBrainz3 - A library that provides access to metadata lookup on the 
MusicBrainz server
   * FFmpeg - FFmpeg libraries
   * swscale - FFmpeg video scaling libraries
   * taglib - Library for reading and editing audio meta data.
   * OggVorbis - Libraries for Ogg Vorbis general audio compression codec
   * TunePimp - A library for developing MusicBrainz enabled tagging 
applications
   * cdparanoia - Reads digital audio directly from a CD, then writes the data 
to a file or pipe in several different formats
   * FLAC - An encoder/decoder for the Free Lossless Audio Codec

-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
-----------------------------------------------------------------------------
   * PulseAudio (0.9.12 or higher)  <http://www.pulseaudio.org/>
     PulseAudio Audio Server
     libpulse is needed to let KMix control PulseAudio
   * PulseAudio (0.9.12 or higher)  <http://www.pulseaudio.org/>
     PulseAudio Audio Server
     libpulse is needed to let KMix control PulseAudio


>How-To-Repeat:
using pkgsrc current master 

commit e02b605412f2c84590a22ad81feed2bc81ae0e9a
Author: pkgsrc fixup <pkgsrc%dragonflybsd.org@localhost>
Date:   Fri Nov 9 12:29:47 2012 -0800

# pkg_rolling-replace -uv
>Fix:



Home | Main Index | Thread Index | Old Index