From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adolf Belka To: development@lists.ipfire.org Subject: Can't find libid3tag when updating mpd Date: Thu, 08 Apr 2021 14:25:07 +0200 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1141352534030706949==" List-Id: --===============1141352534030706949== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi All, I am trying to update mpd. They no longer use autotools but now use meson. I = updated the lfs file to use meson with the same options that were previously = run with autotools. When the build gets to the id3tag it fails to find it. I is earlier in the bu= ild sequence and would also have been needed for the previous autotools versi= on. The log I get is attached below followed by the lfs file I am using. If I remove the id3tag line then everything else in mpd builds successfully. = If I run ./make.sh shell and extract the source into /tmp and then do the mes= on build I get the same result. I tried pkg-config --modversion libid3tag and= it came back blank so pkg-config couldn't find it. If I extract the file in my desktop system and run the meson build it success= fully completes also for the id3tag. libid3tag is installed on my arch linux = desktop system. It seems like the build is failing to find the IPFire libid3tag library file = successfully. Is there some additional entry of flag that I need to set for t= he libid3tag files to be found? -------------------------------------------------------------------------- Apr=C2=A0 5 19:58:59: Building mpd mpd-0.22.6.tar.xz checksum OK + cd /usr/src/lfs + make -f mpd LFS_BASEDIR=3D/usr/src install =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Installing mpd-0.22.6 ... Install started; saving file list to /usr/src/lsalr ... cd /usr/src/mpd-0.22.6 && meson=C2=A0=C2=A0=C2=A0 --prefix=3D/usr =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 \ =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 --sysconfdir=3D/etc= =C2=A0=C2=A0=C2=A0 \ =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 --libdir=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=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 -D icu=3Ddisabled= =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 \ =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 builddir/ The Meson build system Version: 0.56.0 Source dir: /usr/src/mpd-0.22.6 Build dir: /usr/src/mpd-0.22.6/builddir Build type: native build WARNING: Unknown options: "c_std, cpp_std" The value of new options can be set with: meson setup --reconfigure -Dnew_option=3Dnew_value ... Project name: mpd Project version: 0.22.6 Using 'CFLAGS' from environment with value: '-O2 -pipe -Wall -fexceptions -fP= IC -m64 -mtune=3Dgeneric -fstack-clash-protection -fcf-protection -Wp,-D_FORT= IFY_SOURCE=3D2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong' C compiler for the host machine: ccache cc (gcc 10.2.0 "cc (GCC) 10.2.0") C linker for the host machine: cc ld.bfd 2.35.1 Using 'CXXFLAGS' from environment with value: '-O2 -pipe -Wall -fexceptions -= fPIC -m64 -mtune=3Dgeneric -fstack-clash-protection -fcf-protection -Wp,-D_FO= RTIFY_SOURCE=3D2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong' C++ compiler for the host machine: ccache c++ (gcc 10.2.0 "c++ (GCC) 10.2.0") C++ linker for the host machine: c++ ld.bfd 2.35.1 Using 'CFLAGS' from environment with value: '-O2 -pipe -Wall -fexceptions -fP= IC -m64 -mtune=3Dgeneric -fstack-clash-protection -fcf-protection -Wp,-D_FORT= IFY_SOURCE=3D2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong' Using 'CXXFLAGS' from environment with value: '-O2 -pipe -Wall -fexceptions -= fPIC -m64 -mtune=3Dgeneric -fstack-clash-protection -fcf-protection -Wp,-D_FO= RTIFY_SOURCE=3D2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong' Host machine cpu family: x86_64 Host machine cpu: x86_64 Configuring Version.h using configuration Compiler for C++ supports arguments -Wvla: YES Compiler for C++ supports arguments -Wdouble-promotion: YES Compiler for C++ supports arguments -fvisibility=3Dhidden: YES Compiler for C++ supports arguments -ffast-math: YES Compiler for C++ supports arguments -ftree-vectorize: YES Compiler for C++ supports arguments -fno-threadsafe-statics: YES Compiler for C++ supports arguments -fmerge-all-constants: YES Compiler for C++ supports arguments -Wmissing-declarations: YES Compiler for C++ supports arguments -Wshadow: YES Compiler for C++ supports arguments -Wpointer-arith: YES Compiler for C++ supports arguments -Wcast-qual: YES Compiler for C++ supports arguments -Wwrite-strings: YES Compiler for C++ supports arguments -Wsign-compare: YES Compiler for C++ supports arguments -Wcomma: NO Compiler for C++ supports arguments -Wextra-semi: YES Compiler for C++ supports arguments -Wheader-hygiene: NO Compiler for C++ supports arguments -Winconsistent-missing-destructor-overrid= e: NO Compiler for C++ supports arguments -Wunreachable-code-break: NO Compiler for C++ supports arguments -Wunused: YES Compiler for C++ supports arguments -Wused-but-marked-unused: NO Compiler for C++ supports arguments -Wno-non-virtual-dtor: YES Compiler for C supports arguments -Wvla: YES Compiler for C supports arguments -Wdouble-promotion: YES Compiler for C supports arguments -fvisibility=3Dhidden: YES Compiler for C supports arguments -ffast-math: YES Compiler for C supports arguments -ftree-vectorize: YES Compiler for C supports arguments -Wmissing-prototypes: YES Compiler for C supports arguments -Wshadow: YES Compiler for C supports arguments -Wpointer-arith: YES Compiler for C supports arguments -Wstrict-prototypes: YES Compiler for C supports arguments -Wcast-qual: YES Compiler for C supports arguments -Wwrite-strings: YES Compiler for C supports arguments -pedantic: YES Compiler for C++ supports link arguments -Wl,-z,relro: YES Compiler for C++ supports link arguments -Wl,-z,now: YES Checking for function "getpwnam_r" : YES Checking for function "getpwuid_r" : YES Checking for function "initgroups" : YES Checking for function "fnmatch" : YES Checking for function "strndup" : YES Checking for function "strcasestr" : YES Checking for function "syslog" : YES Found pkg-config: /usr/bin/pkg-config (0.29.2) Run-time dependency Boost found: YES 1.71.0 (/usr) Found CMake: /usr/bin/cmake (3.18.3) Run-time dependency liburing found: NO (tried pkgconfig and cmake) Configuring Features.h using configuration Run-time dependency threads found: YES Checking for function "pthread_setname_np" with dependency threads: YES Header has symbol "struct ucred" : YES Header has symbol "SO_PEERCRED" : YES Checking for function "getpeereid" : NO Run-time dependency dbus-1 found: YES 1.12.20 Dependency icu-i18n skipped: feature icu disabled Checking for function "iconv" : YES Dependency smbclient skipped: feature smbclient disabled Run-time dependency zlib found: YES 1.2.11 Run-time dependency alsa found: YES 1.0.27.1 Run-time dependency libchromaprint found: NO (tried pkgconfig and cmake) Run-time dependency libcurl found: YES 7.75.0 Run-time dependency expat found: YES 2.2.0 Run-time dependency libavformat found: YES 58.29.100 Run-time dependency libavcodec found: YES 58.54.100 Run-time dependency libavutil found: YES 56.31.100 Run-time dependency libavfilter found: YES 7.57.100 Run-time dependency libnfs found: NO (tried pkgconfig and cmake) Run-time dependency libpcre found: YES 8.44 Run-time dependency libpulse found: NO (tried pkgconfig and cmake) Library sndio found: NO Dependency sqlite3 skipped: feature sqlite disabled Run-time dependency libsystemd found: NO (tried pkgconfig and cmake) Run-time dependency libupnp found: YES 1.14.3 Run-time dependency yajl found: NO (tried pkgconfig and cmake) Run-time dependency id3tag found: NO (tried pkgconfig and cmake) src/tag/meson.build:40:0: ERROR: Dependency "id3tag" not found, tried pkgconf= ig and cmake A full log can be found at /usr/src/mpd-0.22.6/builddir/meson-logs/meson-log.= txt make: *** [mpd:81: /usr/src/log/mpd-0.22.6] Error 1 -------------------------------------------------------------------------- #############################################################################= ## # # # IPFire.org - A linux based firewall=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # # Copyright (C) 2007-2018=C2=A0 IPFire Team =C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # # # # This program is free software: you can redistribute it and/or modify=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # # it under the terms of the GNU General Public License as published by=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # # the Free Software Foundation, either version 3 of the License, or=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # # (at your option) any later version.=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # # # # This program is distributed in the hope that it will be useful,=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # # but WITHOUT ANY WARRANTY; without even the implied warranty of=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.=C2=A0 See the=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # # GNU General Public License for more details.=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 # # # # You should have received a copy of the GNU General Public License=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # # along with this program.=C2=A0 If not, see .= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # # # #############################################################################= ## #############################################################################= ## # Definitions #############################################################################= ## include Config VER=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D 0.22.6 THISAPP=C2=A0=C2=A0=C2=A0 =3D mpd-$(VER) DL_FILE=C2=A0=C2=A0=C2=A0 =3D $(THISAPP).tar.xz DL_FROM=C2=A0=C2=A0=C2=A0 =3D $(URL_IPFIRE) DIR_APP=C2=A0=C2=A0=C2=A0 =3D $(DIR_SRC)/${THISAPP} TARGET=C2=A0=C2=A0=C2=A0=C2=A0 =3D $(DIR_INFO)/$(THISAPP) PROG=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D mpd PAK_VER=C2=A0=C2=A0=C2=A0 =3D 21 DEPS=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D alsa avahi faad2 ffmpeg flac lam= e libmad libshout libogg libid3tag libvorbis opus soxr #############################################################################= ## # Top-level Rules #############################################################################= ## objects =3D $(DL_FILE) $(DL_FILE) =3D $(DL_FROM)/$(DL_FILE) $(DL_FILE)_MD5 =3D 774a6250870730f3d55eb1445ab751dd install : $(TARGET) check : $(patsubst %,$(DIR_CHK)/%,$(objects)) download :$(patsubst %,$(DIR_DL)/%,$(objects)) md5 : $(subst %,%_MD5,$(objects)) dist: =C2=A0=C2=A0=C2=A0 @$(PAK) #############################################################################= ## # Downloading, checking, md5sum #############################################################################= ## $(patsubst %,$(DIR_CHK)/%,$(objects)) : =C2=A0=C2=A0=C2=A0 @$(CHECK) $(patsubst %,$(DIR_DL)/%,$(objects)) : =C2=A0=C2=A0=C2=A0 @$(LOAD) $(subst %,%_MD5,$(objects)) : =C2=A0=C2=A0=C2=A0 @$(MD5) #############################################################################= ## # Installation Details #############################################################################= ## $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) =C2=A0=C2=A0=C2=A0 @$(PREBUILD) =C2=A0=C2=A0=C2=A0 @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/= $(DL_FILE) =C2=A0=C2=A0=C2=A0 $(UPDATE_AUTOMAKE) =C2=A0=C2=A0=C2=A0 cd $(DIR_APP) && meson=C2=A0=C2=A0=C2=A0 --prefix=3D/usr = =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 \ =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 = --sysconfdir=3D/etc=C2=A0=C2=A0=C2=A0 \ =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 = --libdir=3D/usr/lib=C2=A0=C2=A0=C2=A0 \ =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 = -D ipv6=3Ddisabled =C2=A0=C2=A0=C2=A0 \ =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 = -D sqlite=3Ddisabled=C2=A0=C2=A0=C2=A0 \ =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 = -D smbclient=3Ddisabled=C2=A0=C2=A0=C2=A0 \ =C2=A0=C2=A0=C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0=C2=A0=C2=A0 cd $(DIR_APP) && ninja -C builddir/ =C2=A0=C2=A0=C2=A0 cd $(DIR_APP) && ninja -C builddir/ install =C2=A0=C2=A0=C2=A0 #install initscripts =C2=A0=C2=A0=C2=A0 $(call INSTALL_INITSCRIPT,mpd) =C2=A0=C2=A0=C2=A0 @rm -rf $(DIR_APP) =C2=A0=C2=A0=C2=A0 touch /var/log/mpd.error.log =C2=A0=C2=A0=C2=A0 touch /var/log/mpd.log =C2=A0=C2=A0=C2=A0 @$(POSTBUILD) --===============1141352534030706949==--