This forum has been archived. All content is frozen. Please use KDE Discuss instead.

git compilation error in musicbrainz/MusicDNSAudioDecoder

Tags: None
(comma "," separated)
User avatar
google01103
Manager
Posts
6668
Karma
25
compiled fine recently

wanrnings then the following error:
Code: Select all
amarok/src/musicbrainz/MusicDNSAudioDecoder.cpp:254:41: warning: ‘void av_close_input_file(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations]
make[2]: *** [src/CMakeFiles/amaroklib.dir/musicbrainz/MusicDNSAudioDecoder.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [src/CMakeFiles/amaroklib.dir/all] Error 2
make: *** [all] Error 2


full warnings/error log http://pastebin.com/qTrth15w

only thing I did maybe relevant is that I removed a package libavformat53 (as there were no longer any providers nor rpm dependencies) but libavformat52 and libavformat52 are still installed


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS
The problem is known, caused by ffmpeg again. A fix is already in the reviewboard.


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
User avatar
google01103
Manager
Posts
6668
Karma
25
thanks,


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
Sentynel
KDE Developer
Posts
285
Karma
1
OS
For future reference, the important part of the error log is at the top - "/home/smiley/MyTemp/amarok/src/musicbrainz/MusicDNSAudioDecoder.cpp:139:122: error: ‘av_open_input_file’ was not declared in this scope". This was only removed in ffmpeg's latest release 0.11, which has libavformat version 54, so I suspect you have a libavformat package which contains the latest version or a libavformat54 package installed.

Anyway, a fix for this has been committed; please try building again.


User avatar
google01103
Manager
Posts
6668
Karma
25
updated git and now up and running


OpenSuse Leap 42.1 x64, Plasma 5.x



Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], Sogou [Bot], Yahoo [Bot]