MusicPlayerDaemon / MPD

Music Player Daemon
https://www.musicpd.org/
GNU General Public License v2.0
2.18k stars 352 forks source link

I needed the libvmaf.so.1 to compile #1934

Closed Mackel123 closed 10 months ago

Mackel123 commented 10 months ago

Bug report

Describe the bug

I needed the libvmaf.so.1 to compiile or run the mpd.

Expected Behavior

It run as I expecter and play music.

Actual Behavior

Nothing.

Version

mpd --version
Music Player Daemon 0.23.15 (0.23.15)
Copyright 2003-2007 Warren Dukes <warren.dukes@gmail.com>
Copyright 2008-2021 Max Kellermann <max.kellermann@gmail.com>
This is free software; see the source for copying conditions.  There is NO
 [wavpack] wv
 [openmpt] mptm mod s3m xm it 669 amf ams c67 dbm digi dmf dsm dtm far imf ice j2b m15 mdl med mms mt2 mtm nst okt plm psm pt36 ptm sfx sfx2 st26 stk stm stp ult wow gdm mo
 [modplug] 669 amf ams dbm dfm dsm far it med mdl mod mtm mt2 okt s3m stm ult umx xm
 [mikmod] amf dsm far gdm imf it med mod mtm s3m stm stx ult uni xm
 [sidplay] sid mus str prg P00
 [wildmidi] mid
 [fluidsynth] mid
 [gme] ay gbs gym hes kss nsf nsfe rsn sap spc vgm vgz
 [ffmpeg] 16sv 3g2 3gp 4xm 8svx aa3 aac ac3 adx afc aif aifc aiff al alaw amr anim apc ape asf atrac au aud avi avm2 avs bap bfi c93 cak cin cmv cpk daud dct divx dts dv dv
kv mlp mm mmf mov mp+ mp1 mp2 mp3 mp4 mpc mpeg mpg mpga mpp mpu mve mvi mxf nc nsv nut nuv oga ogm ogv ogx oma ogg omg opus psp pva qcp qt r3d ra ram rl2 rm rmvb roq rpl rv
 wma wmv wsaud wsvga wv wve rtp:// rtsp:// rtsps://

Configuration

music_directory "~/disk/Music"
playlist_directory "~/.mpd/playlists"
db_file "~/.mpd/mpd.db"
log_file "~/.mpd/mpd.log"
pid_file "~/.mpd/mpd.pid"
state_file "~/.mpd/mpdstate"

audio_output {
        type "pulse"
        name "pulse audio"
}

audio_output {
    type                    "fifo"
    name                    "my_fifo"
    path                    "/tmp/mpd.fifo"
    format                  "44100:16:2"
}

bind_to_address "127.0.0.1"
#bind_to_address "~/.mpd/socket"
port "6600"

Log

FAILED: mpd
c++  -o mpd mpd.p/meson-generated_.._GitVersion.cxx.o mpd.p/src_Main.cxx.o mpd.p/src_protocol_ArgParser.cxx.o mpd.p/src_command_CommandError.cxx.o mpd.p/src_command_PositionArg.cxx.o mpd.p/src_command_AllCommands.cxx.o mpd.p/src_command_QueueCommands.cxx.o mpd.p/src_command_TagCommands.cxx.o mpd.p/src_command_PlayerCommands.cxx.o mpd.p/src_command_PlaylistCommands.cxx.o mpd.p/src_command_FileCommands.cxx.o mpd.p/src_command_OutputCommands.cxx.o mpd.p/src_command_MessageCommands.cxx.o mpd.p/src_command_ClientCommands.cxx.o mpd.p/src_command_PartitionCommands.cxx.o mpd.p/src_command_OtherCommands.cxx.o mpd.p/src_command_CommandListBuilder.cxx.o mpd.p/src_config_PartitionConfig.cxx.o mpd.p/src_config_PlayerConfig.cxx.o mpd.p/src_config_ReplayGainConfig.cxx.o mpd.p/src_Idle.cxx.o mpd.p/src_IdleFlags.cxx.o mpd.p/src_decoder_Thread.cxx.o mpd.p/src_decoder_Control.cxx.o mpd.p/src_decoder_Bridge.cxx.o mpd.p/src_decoder_DecoderPrint.cxx.o mpd.p/src_client_Listener.cxx.o mpd.p/src_client_Client.cxx.o mpd.p/src_client_Config.cxx.o mpd.p/src_client_Domain.cxx.o mpd.p/src_client_Event.cxx.o mpd.p/src_client_Expire.cxx.o mpd.p/src_client_Idle.cxx.o mpd.p/src_client_List.cxx.o mpd.p/src_client_New.cxx.o mpd.p/src_client_Process.cxx.o mpd.p/src_client_Read.cxx.o mpd.p/src_client_Write.cxx.o mpd.p/src_client_Message.cxx.o mpd.p/src_client_Subscribe.cxx.o mpd.p/src_client_File.cxx.o mpd.p/src_client_Response.cxx.o mpd.p/src_client_ThreadBackgroundCommand.cxx.o mpd.p/src_Listen.cxx.o mpd.p/src_LogInit.cxx.o mpd.p/src_ls.cxx.o mpd.p/src_Instance.cxx.o mpd.p/src_MusicBuffer.cxx.o mpd.p/src_MusicPipe.cxx.o mpd.p/src_MusicChunk.cxx.o mpd.p/src_MusicChunkPtr.cxx.o mpd.p/src_Mapper.cxx.o mpd.p/src_Partition.cxx.o mpd.p/src_Permission.cxx.o mpd.p/src_player_CrossFade.cxx.o mpd.p/src_player_Thread.cxx.o mpd.p/src_player_Control.cxx.o mpd.p/src_PlaylistError.cxx.o mpd.p/src_PlaylistPrint.cxx.o mpd.p/src_PlaylistSave.cxx.o mpd.p/src_playlist_PlaylistStream.cxx.o mpd.p/src_playlist_PlaylistMapper.cxx.o mpd.p/src_playlist_PlaylistAny.cxx.o mpd.p/src_playlist_PlaylistSong.cxx.o mpd.p/src_playlist_PlaylistQueue.cxx.o mpd.p/src_playlist_Print.cxx.o mpd.p/src_db_PlaylistVector.cxx.o mpd.p/src_queue_Queue.cxx.o mpd.p/src_queue_Print.cxx.o mpd.p/src_queue_Save.cxx.o mpd.p/src_queue_Selection.cxx.o mpd.p/src_queue_Playlist.cxx.o mpd.p/src_queue_PlaylistControl.cxx.o mpd.p/src_queue_PlaylistEdit.cxx.o mpd.p/src_queue_PlaylistTag.cxx.o mpd.p/src_queue_PlaylistState.cxx.o mpd.p/src_LocateUri.cxx.o mpd.p/src_SongUpdate.cxx.o mpd.p/src_SongLoader.cxx.o mpd.p/src_SongPrint.cxx.o mpd.p/src_SongSave.cxx.o mpd.p/src_StateFile.cxx.o mpd.p/src_StateFileConfig.cxx.o mpd.p/src_Stats.cxx.o mpd.p/src_TagPrint.cxx.o mpd.p/src_TagSave.cxx.o mpd.p/src_TagFile.cxx.o mpd.p/src_TagStream.cxx.o mpd.p/src_TagAny.cxx.o mpd.p/src_TimePrint.cxx.o
mpd.p/src_mixer_Memento.cxx.o mpd.p/src_PlaylistFile.cxx.o mpd.p/src_CommandLine.cxx.o mpd.p/src_unix_SignalHandlers.cxx.o mpd.p/src_unix_Daemon.cxx.o mpd.p/src_storage_StorageState.cxx.o mpd.p/src_queue_PlaylistUpdate.cxx.o mpd.p/src_command_StorageCommands.cxx.o mpd.p/src_command_DatabaseCommands.cxx.o mpd.p/src_RemoteTagCache.cxx.o mpd.p/src_command_StickerCommands.cxx.o mpd.p/src_sticker_Database.cxx.o mpd.p/src_sticker_Print.cxx.o mpd.p/src_sticker_SongSticker.cxx.o mpd.p/src_sticker_TagSticker.cxx.o mpd.p/src_sticker_AllowedTags.cxx.o mpd.p/src_sticker_CleanupService.cxx.o mpd.p/src_command_FingerprintCommands.cxx.o
mpd.p/src_lib_chromaprint_DecoderClient.cxx.o mpd.p/src_command_NeighborCommands.cxx.o mpd.p/src_TagArchive.cxx.o mpd.p/src_db_update_Archive.cxx.o -flto -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -march=x86-64 -mtune=generic
-O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -Wl,--start-group src/cmdline/libcmdline.a src/lib/fmt/libfmt.a libbasic.a src/config/libfs.a liblog.a src/fs/libfs.a src/lib/icu/libicu.a src/util/libutil.a src/fs/glue/libfs_glue.a src/io/libio.a src/io/libio_fs.a src/lib/dbus/libdbus.a src/event/libevent.a src/io/uring/liburing.a src/thread/libthread.a src/net/libnet.a src/system/libsystem.a src/neighbor/libneighbor_glue.a src/neighbor/plugins/libneighbor_plugins.a src/lib/upnp/libupnp.a src/lib/curl/libcurl.a src/lib/expat/libexpat.a src/input/libinput_glue.a src/input/plugins/libinput_plugins.a src/lib/alsa/libalsa.a src/pcm/libpcm_basic.a src/lib/ffmpeg/libffmpeg.a src/lib/ffmpeg/libffmpeg_util.a src/lib/nfs/libnfs.a src/lib/yajl/libyajl.a src/lib/crypto/libcrypto_md5.a src/input/libinput_api.a src/pcm/libpcm.a src/tag/libtag.a src/time/libtime.a src/archive/libarchive_glue.a src/archive/plugins/libarchive_plugins.a src/archive/libarchive_api.a src/output/liboutput_glue.a src/output/liboutput_registry.a src/output/plugins/liboutput_plugins.a src/lib/pipewire/libpipewire.a src/lib/pulse/libpulse.a src/output/liboutput_api.a src/filter/plugins/libfilter_plugins.a src/filter/libfilter_api.a src/mixer/plugins/libmixer_plugins.a src/mixer/libmixer_api.a src/zeroconf/libzeroconf_bonjour.a src/zeroconf/avahi/libavahi.a src/filter/libfilter_glue.a src/mixer/libmixer_glue.a src/decoder/libdecoder_glue.a src/decoder/plugins/libdecoder_plugins.a src/lib/xiph/libflac.a src/lib/xiph/libxiph.a src/lib/xiph/libvorbis.a src/lib/xiph/libogg.a src/lib/crypto/libcrypto_base64.a src/decoder/libdecoder_api.a src/encoder/libencoder_glue.a src/encoder/plugins/libencoder_plugins.a src/playlist/libplaylist_glue.a src/playlist/plugins/libplaylist_plugins.a src/playlist/libplaylist_api.a src/db/libdb_glue.a src/db/plugins/libdb_plugins.a src/lib/pcre/libpcre.a src/lib/zlib/libzlib.a src/db/libdb_api.a src/storage/libstorage_api.a src/storage/libstorage_glue.a src/storage/plugins/libstorage_plugins.a src/song/libsong.a src/lib/systemd/libsystemd.a src/lib/sqlite/libsqlite.a /usr/lib/libdbus-1.so /usr/lib/libfmt.so /usr/lib/liburing.so /usr/lib/libavutil.so /usr/lib/libavformat.so /usr/lib/libavcodec.so /usr/lib/libavfilter.so /usr/lib/libpcre2-8.so /usr/lib/libsqlite3.so /usr/lib/libchromaprint.so /usr/lib/libicui18n.so /usr/lib/libicuuc.so /usr/lib/libicudata.so -pthread /usr/lib/libupnp.so /usr/lib/libixml.so /usr/lib/libcurl.so /usr/lib/libexpat.so /usr/lib/libcdio_paranoia.so /usr/lib/libcdio_cdda.so /usr/lib/libcdio.so -lm /usr/lib/libmms.so /usr/lib/libnfs.so /usr/lib/libyajl.so /usr/lib/libasound.so /usr/lib/libsamplerate.so /usr/lib/libsoxr.so /usr/lib/libid3tag.so /usr/lib/libz.so -lbz2 /usr/lib/libiso9660.so /usr/lib/libzzip.so /usr/lib/libao.so /usr/lib/libjack.so /usr/lib/libpipewire-0.3.so /usr/lib/libpulse.so /usr/lib/libshout.so /usr/lib/libopenal.so /usr/lib/libavahi-common.so /usr/lib/libavahi-client.so /usr/lib/libFLAC.so /usr/lib/libfluidsynth.so /usr/lib/libaudiofile.so -lfaad /usr/lib/libgme.so -lmad /usr/lib/libmikmod.so /usr/lib/libmodplug.so -lmpcdec /usr/lib/libmpg123.so /usr/lib/libopus.so /usr/lib/libsidplayfp.so -fopenmp /usr/lib/libsndfile.so /usr/lib/libogg.so /usr/lib/libvorbis.so /usr/lib/libwavpack.so /usr/lib/libWildMidi.so /usr/lib/libvorbisenc.so -lmp3lame /usr/lib/libtwolame.so /usr/lib/libmpdclient.so /usr/lib/libsystemd.so -Wl,--end-group
In member function ‘__ct ’,
    inlined from ‘__ct ’ at ../src/util/AllocatedString.hxx:159:30,
    inlined from ‘soundcloud_resolve’ at ../src/playlist/plugins/SoundCloudPlaylistPlugin.cxx:56:29,
    inlined from ‘TranslateSoundCloudUri’ at ../src/playlist/plugins/SoundCloudPlaylistPlugin.cxx:102:32,
    inlined from ‘soundcloud_open_uri’ at ../src/playlist/plugins/SoundCloudPlaylistPlugin.cxx:261:37:
../src/util/AllocatedString.hxx:58:20: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
   58 |                 *p = SENTINEL;
      |                    ^
../src/util/AllocatedString.hxx:53:24: note: at offset [-9223372036854775808, -1] into destination object of size [9, 9223372036854775807] allocated by ‘operator new []’
   53 |                 :value(new value_type[TotalSize(src) + 1])
      |                        ^
/usr/bin/ld: warning: libvmaf.so.1, needed by /usr/lib/libavfilter.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: /usr/lib/libavfilter.so: undefined reference to `vmaf_model_destroy'
/usr/bin/ld: /usr/lib/libavfilter.so: undefined reference to `vmaf_close'
/usr/bin/ld: /usr/lib/libavfilter.so: undefined reference to `vmaf_feature_dictionary_set'
/usr/bin/ld: /usr/lib/libavfilter.so: undefined reference to `vmaf_init'
/usr/bin/ld: /usr/lib/libavfilter.so: undefined reference to `vmaf_model_feature_overload'
/usr/bin/ld: /usr/lib/libavfilter.so: undefined reference to `vmaf_picture_unref'
/usr/bin/ld: /usr/lib/libavfilter.so: undefined reference to `vmaf_write_output'
/usr/bin/ld: /usr/lib/libavfilter.so: undefined reference to `vmaf_score_pooled'
/usr/bin/ld: /usr/lib/libavfilter.so: undefined reference to `vmaf_read_pictures'
/usr/bin/ld: /usr/lib/libavfilter.so: undefined reference to `vmaf_model_load'
/usr/bin/ld: /usr/lib/libavfilter.so: undefined reference to `vmaf_model_load_from_path'
/usr/bin/ld: /usr/lib/libavfilter.so: undefined reference to `vmaf_use_features_from_model'
/usr/bin/ld: /usr/lib/libavfilter.so: undefined reference to `vmaf_picture_alloc'
/usr/bin/ld: /usr/lib/libavfilter.so: undefined reference to `vmaf_use_feature'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'mpd-git-0.23.13.792.gba2df05fb-2':
error: packages failed to build: mpd-git-0.23.13.792.gba2df05fb-2
MaxKellermann commented 10 months ago

This is a problem with your libavfilter build and has nothing to do with MPD.