D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/libmusicbrainz-2.1.5-20.mga9.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.fgknvQ + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf libmusicbrainz-2.1.5 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/libmusicbrainz-2.1.5.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd libmusicbrainz-2.1.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/musicbrainz-2.1.5-gcc43-includes.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/libmusicbrainz-2.1.5-gcc7.patch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.o3sOsI + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd libmusicbrainz-2.1.5 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -fi autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in' aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.in, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:3: warning: 'AM_CONFIG_HEADER': this macro is obsolete. configure.in:3: You should use the 'AC_CONFIG_HEADERS' macro instead. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:9848: AM_CONFIG_HEADER is expanded from... configure.in:3: the top level configure.in:4: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:9496: AM_INIT_AUTOMAKE is expanded from... configure.in:4: the top level configure.in:29: warning: The macro `AC_LINK_FILES' is obsolete. configure.in:29: You should run autoupdate. ./lib/autoconf/status.m4:937: AC_LINK_FILES is expanded from... configure.in:29: the top level configure.in:35: warning: The macro `AM_PROG_LIBTOOL' is obsolete. configure.in:35: You should run autoupdate. aclocal.m4:123: AM_PROG_LIBTOOL is expanded from... configure.in:35: the top level configure.in:141: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.in:141: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.in:99: AC_PROTOTYPE_LOOP is expanded from... configure.in:89: AC_PROTOTYPE_EACH is expanded from... configure.in:99: AC_PROTOTYPE_LOOP is expanded from... configure.in:89: AC_PROTOTYPE_EACH is expanded from... configure.in:99: AC_PROTOTYPE_LOOP is expanded from... configure.in:68: AC_PROTOTYPE is expanded from... configure.in:123: AC_PROTOTYPE_ACCEPT is expanded from... configure.in:141: the top level configure.in:141: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.in:141: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.in:99: AC_PROTOTYPE_LOOP is expanded from... configure.in:89: AC_PROTOTYPE_EACH is expanded from... configure.in:89: AC_PROTOTYPE_EACH is expanded from... configure.in:99: AC_PROTOTYPE_LOOP is expanded from... configure.in:89: AC_PROTOTYPE_EACH is expanded from... configure.in:99: AC_PROTOTYPE_LOOP is expanded from... configure.in:68: AC_PROTOTYPE is expanded from... configure.in:123: AC_PROTOTYPE_ACCEPT is expanded from... configure.in:141: the top level configure.in:141: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.in:141: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.in:99: AC_PROTOTYPE_LOOP is expanded from... configure.in:89: AC_PROTOTYPE_EACH is expanded from... configure.in:99: AC_PROTOTYPE_LOOP is expanded from... configure.in:89: AC_PROTOTYPE_EACH is expanded from... configure.in:89: AC_PROTOTYPE_EACH is expanded from... configure.in:99: AC_PROTOTYPE_LOOP is expanded from... configure.in:68: AC_PROTOTYPE is expanded from... configure.in:123: AC_PROTOTYPE_ACCEPT is expanded from... configure.in:141: the top level configure.in:141: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.in:141: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.in:99: AC_PROTOTYPE_LOOP is expanded from... configure.in:89: AC_PROTOTYPE_EACH is expanded from... configure.in:89: AC_PROTOTYPE_EACH is expanded from... configure.in:99: AC_PROTOTYPE_LOOP is expanded from... configure.in:89: AC_PROTOTYPE_EACH is expanded from... configure.in:89: AC_PROTOTYPE_EACH is expanded from... configure.in:99: AC_PROTOTYPE_LOOP is expanded from... configure.in:68: AC_PROTOTYPE is expanded from... configure.in:123: AC_PROTOTYPE_ACCEPT is expanded from... configure.in:141: the top level configure.in:141: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.in:141: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.in:99: AC_PROTOTYPE_LOOP is expanded from... configure.in:89: AC_PROTOTYPE_EACH is expanded from... configure.in:99: AC_PROTOTYPE_LOOP is expanded from... configure.in:89: AC_PROTOTYPE_EACH is expanded from... configure.in:89: AC_PROTOTYPE_EACH is expanded from... configure.in:89: AC_PROTOTYPE_EACH is expanded from... configure.in:99: AC_PROTOTYPE_LOOP is expanded from... configure.in:68: AC_PROTOTYPE is expanded from... configure.in:123: AC_PROTOTYPE_ACCEPT is expanded from... configure.in:141: the top level configure.in:141: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.in:141: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.in:99: AC_PROTOTYPE_LOOP is expanded from... configure.in:89: AC_PROTOTYPE_EACH is expanded from... configure.in:89: AC_PROTOTYPE_EACH is expanded from... configure.in:99: AC_PROTOTYPE_LOOP is expanded from... configure.in:89: AC_PROTOTYPE_EACH is expanded from... configure.in:89: AC_PROTOTYPE_EACH is expanded from... configure.in:89: AC_PROTOTYPE_EACH is expanded from... configure.in:99: AC_PROTOTYPE_LOOP is expanded from... configure.in:68: AC_PROTOTYPE is expanded from... configure.in:123: AC_PROTOTYPE_ACCEPT is expanded from... configure.in:141: the top level configure.in:141: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.in:141: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.in:99: AC_PROTOTYPE_LOOP is expanded from... configure.in:89: AC_PROTOTYPE_EACH is expanded from... configure.in:99: AC_PROTOTYPE_LOOP is expanded from... configure.in:89: AC_PROTOTYPE_EACH is expanded from... configure.in:89: AC_PROTOTYPE_EACH is expanded from... configure.in:89: AC_PROTOTYPE_EACH is expanded from... configure.in:89: AC_PROTOTYPE_EACH is expanded from... configure.in:99: AC_PROTOTYPE_LOOP is expanded from... configure.in:68: AC_PROTOTYPE is expanded from... configure.in:123: AC_PROTOTYPE_ACCEPT is expanded from... configure.in:141: the top level configure.in:141: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.in:141: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.in:99: AC_PROTOTYPE_LOOP is expanded from... configure.in:89: AC_PROTOTYPE_EACH is expanded from... configure.in:89: AC_PROTOTYPE_EACH is expanded from... configure.in:99: AC_PROTOTYPE_LOOP is expanded from... configure.in:89: AC_PROTOTYPE_EACH is expanded from... configure.in:89: AC_PROTOTYPE_EACH is expanded from... configure.in:89: AC_PROTOTYPE_EACH is expanded from... configure.in:89: AC_PROTOTYPE_EACH is expanded from... configure.in:99: AC_PROTOTYPE_LOOP is expanded from... configure.in:68: AC_PROTOTYPE is expanded from... configure.in:123: AC_PROTOTYPE_ACCEPT is expanded from... configure.in:141: the top level configure.in:141: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.in:141: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.in:99: AC_PROTOTYPE_LOOP is expanded from... configure.in:89: AC_PROTOTYPE_EACH is expanded from... configure.in:99: AC_PROTOTYPE_LOOP is expanded from... configure.in:89: AC_PROTOTYPE_EACH is expanded from... configure.in:89: AC_PROTOTYPE_EACH is expanded from... configure.in:89: AC_PROTOTYPE_EACH is expanded from... configure.in:89: AC_PROTOTYPE_EACH is expanded from... configure.in:89: AC_PROTOTYPE_EACH is expanded from... configure.in:99: AC_PROTOTYPE_LOOP is expanded from... configure.in:68: AC_PROTOTYPE is expanded from... configure.in:123: AC_PROTOTYPE_ACCEPT is expanded from... configure.in:141: the top level configure.in:141: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.in:141: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.in:99: AC_PROTOTYPE_LOOP is expanded from... configure.in:89: AC_PROTOTYPE_EACH is expanded from... configure.in:89: AC_PROTOTYPE_EACH is expanded from... configure.in:99: AC_PROTOTYPE_LOOP is expanded from... configure.in:89: AC_PROTOTYPE_EACH is expanded from... configure.in:89: AC_PROTOTYPE_EACH is expanded from... configure.in:89: AC_PROTOTYPE_EACH is expanded from... configure.in:89: AC_PROTOTYPE_EACH is expanded from... configure.in:89: AC_PROTOTYPE_EACH is expanded from... configure.in:99: AC_PROTOTYPE_LOOP is expanded from... configure.in:68: AC_PROTOTYPE is expanded from... configure.in:123: AC_PROTOTYPE_ACCEPT is expanded from... configure.in:141: the top level configure.in:145: warning: AC_OUTPUT should be used without arguments. configure.in:145: You should run autoupdate. autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in' automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:4: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:4: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.in:34: installing './compile' configure.in:4: installing './missing' automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' examples/Makefile.am:23: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') examples/Makefile.am: installing './depcomp' lib/Makefile.am:25: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool Modifying ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking Fixing libtool's ltmain.sh to prevent overlinking (cf http://wiki.mandriva.com/en/Overlinking) + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking for gawk... (cached) gawk checking for x86_64-mageia-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-mageia-linux-gnu file names to x86_64-mageia-linux-gnu format... func_convert_file_noop checking how to convert x86_64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-mageia-linux-gnu-file... no checking for file... file checking for x86_64-mageia-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-mageia-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-mageia-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-mageia-linux-gnu-strip... no checking for strip... strip checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-mageia-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for x86_64-mageia-linux-gnu-g++... no checking for x86_64-mageia-linux-gnu-c++... no checking for x86_64-mageia-linux-gnu-gpp... no checking for x86_64-mageia-linux-gnu-aCC... no checking for x86_64-mageia-linux-gnu-CC... no checking for x86_64-mageia-linux-gnu-cxx... no checking for x86_64-mageia-linux-gnu-cc++... no checking for x86_64-mageia-linux-gnu-cl.exe... no checking for x86_64-mageia-linux-gnu-FCC... no checking for x86_64-mageia-linux-gnu-KCC... no checking for x86_64-mageia-linux-gnu-RCC... no checking for x86_64-mageia-linux-gnu-xlC_r... no checking for x86_64-mageia-linux-gnu-xlC... no checking for x86_64-mageia-linux-gnu-clang++... no checking for g++... g++ checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking dependency style of g++... none checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether ln -s works... yes checking whether byte ordering is bigendian... no checking size of long... 8 checking for XML_ExpatVersion in -lexpat... yes checking accept ARG2 => struct sockaddr ARG3 => socklen_t ... ok checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating include/Makefile config.status: creating include/musicbrainz/Makefile config.status: creating lib/Makefile config.status: creating osdep/Makefile config.status: creating examples/Makefile config.status: creating perl/Makefile config.status: creating python/Makefile config.status: creating python/examples/Makefile config.status: creating python/test/Makefile config.status: creating libmusicbrainz.pc config.status: creating config.h config.status: linking osdep/mb_linux.cpp to lib/mb.cpp config.status: linking osdep/mb_linux.h to lib/mb.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing default commands + /usr/bin/make -O -j8 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in include Making all in musicbrainz make[3]: Nothing to be done for 'all'. make[3]: Nothing to be done for 'all-am'. Making all in lib make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libmusicbrainz-2.1.5/lib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include/musicbrainz -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -c -o browser.lo browser.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include/musicbrainz -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -c browser.c -fPIC -DPIC -o .libs/browser.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libmusicbrainz-2.1.5/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libmusicbrainz-2.1.5/lib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include/musicbrainz -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -c -o base64.lo base64.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include/musicbrainz -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -c base64.c -fPIC -DPIC -o .libs/base64.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libmusicbrainz-2.1.5/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libmusicbrainz-2.1.5/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../include/musicbrainz -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -c -o diskid.lo diskid.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../include/musicbrainz -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -c diskid.cpp -fPIC -DPIC -o .libs/diskid.o In file included from diskid.cpp:33: diskid.h:64:5: error: reference to 'byte' is ambiguous 64 | byte FirstTrack; // The first track on CD : normally 1 | ^~~~ In file included from /usr/include/c++/12/string:42, from diskid.cpp:29: /usr/include/c++/12/bits/cpp_type_traits.h:406:30: note: candidates are: 'enum class std::byte' 406 | enum class byte : unsigned char; | ^~~~ diskid.h:60:23: note: 'typedef unsigned char byte' 60 | typedef unsigned char byte; | ^~~~ diskid.h:65:5: error: reference to 'byte' is ambiguous 65 | byte LastTrack; // The last track on CD: max number 99 | ^~~~ /usr/include/c++/12/bits/cpp_type_traits.h:406:30: note: candidates are: 'enum class std::byte' 406 | enum class byte : unsigned char; | ^~~~ diskid.h:60:23: note: 'typedef unsigned char byte' 60 | typedef unsigned char byte; | ^~~~ diskid.cpp: In member function 'void DiskId::GenerateId(PMUSICBRAINZ_CDINFO, char*)': diskid.cpp:95:35: error: 'struct MUSICBRAINZ_CDINFO' has no member named 'FirstTrack' 95 | sprintf(temp, "%02X", pCDInfo->FirstTrack); | ^~~~~~~~~~ diskid.cpp:98:35: error: 'struct MUSICBRAINZ_CDINFO' has no member named 'LastTrack' 98 | sprintf(temp, "%02X", pCDInfo->LastTrack); | ^~~~~~~~~ diskid.cpp: In member function 'Error DiskId::FillCDInfo(const std::string&, MUSICBRAINZ_CDINFO&)': diskid.cpp:132:11: error: 'struct MUSICBRAINZ_CDINFO' has no member named 'FirstTrack' 132 | cdinfo.FirstTrack = 0; | ^~~~~~~~~~ diskid.cpp:133:11: error: 'struct MUSICBRAINZ_CDINFO' has no member named 'LastTrack' 133 | cdinfo.LastTrack = 0; | ^~~~~~~~~ diskid.cpp: In member function 'Error DiskId::GenerateDiskIdRDF(const std::string&, std::string&)': diskid.cpp:168:29: error: 'struct MUSICBRAINZ_CDINFO' has no member named 'FirstTrack' 168 | MakeString(cdinfo.FirstTrack) + | ^~~~~~~~~~ diskid.cpp:171:29: error: 'struct MUSICBRAINZ_CDINFO' has no member named 'LastTrack' 171 | MakeString(cdinfo.LastTrack) + | ^~~~~~~~~ diskid.cpp:184:20: error: 'struct MUSICBRAINZ_CDINFO' has no member named 'FirstTrack' 184 | for (i = cdinfo.FirstTrack; i <= cdinfo.LastTrack; i++) | ^~~~~~~~~~ diskid.cpp:184:44: error: 'struct MUSICBRAINZ_CDINFO' has no member named 'LastTrack' 184 | for (i = cdinfo.FirstTrack; i <= cdinfo.LastTrack; i++) | ^~~~~~~~~ diskid.cpp:192:23: error: 'struct MUSICBRAINZ_CDINFO' has no member named 'LastTrack' 192 | if (i < cdinfo.LastTrack) | ^~~~~~~~~ diskid.cpp: In member function 'Error DiskId::GenerateDiskIdQueryRDF(PMUSICBRAINZ_CDINFO, std::string&, bool)': diskid.cpp:244:37: error: 'struct MUSICBRAINZ_CDINFO' has no member named 'FirstTrack' 244 | MakeString(pCDInfo->FirstTrack) + | ^~~~~~~~~~ diskid.cpp:247:37: error: 'struct MUSICBRAINZ_CDINFO' has no member named 'LastTrack' 247 | MakeString(pCDInfo->LastTrack) + | ^~~~~~~~~ diskid.cpp:260:27: error: 'struct MUSICBRAINZ_CDINFO' has no member named 'FirstTrack' 260 | for (i = pCDInfo->FirstTrack; i <= pCDInfo->LastTrack; i++) | ^~~~~~~~~~ diskid.cpp:260:53: error: 'struct MUSICBRAINZ_CDINFO' has no member named 'LastTrack' 260 | for (i = pCDInfo->FirstTrack; i <= pCDInfo->LastTrack; i++) | ^~~~~~~~~ diskid.cpp:268:34: error: 'struct MUSICBRAINZ_CDINFO' has no member named 'LastTrack' 268 | if (i < pCDInfo->LastTrack) | ^~~~~~~~~ diskid.cpp: In member function 'Error DiskId::GetWebSubmitURLArgs(const std::string&, std::string&)': diskid.cpp:308:24: error: 'struct MUSICBRAINZ_CDINFO' has no member named 'FirstTrack' 308 | (int)cdinfo.FirstTrack, | ^~~~~~~~~~ diskid.cpp:309:24: error: 'struct MUSICBRAINZ_CDINFO' has no member named 'LastTrack' 309 | (int)cdinfo.LastTrack, | ^~~~~~~~~ diskid.cpp:312:20: error: 'struct MUSICBRAINZ_CDINFO' has no member named 'FirstTrack' 312 | for (i = cdinfo.FirstTrack; i <= cdinfo.LastTrack; i++) | ^~~~~~~~~~ diskid.cpp:312:44: error: 'struct MUSICBRAINZ_CDINFO' has no member named 'LastTrack' 312 | for (i = cdinfo.FirstTrack; i <= cdinfo.LastTrack; i++) | ^~~~~~~~~ diskid.cpp:319:33: error: 'struct MUSICBRAINZ_CDINFO' has no member named 'LastTrack' 319 | sprintf(tracks, "%d", cdinfo.LastTrack); | ^~~~~~~~~ make[2]: *** [Makefile:565: diskid.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libmusicbrainz-2.1.5/lib' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libmusicbrainz-2.1.5/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../include/musicbrainz -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -c -o comsocket.lo comsocket.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../include/musicbrainz -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -c comsocket.cpp -fPIC -DPIC -o .libs/comsocket.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libmusicbrainz-2.1.5/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libmusicbrainz-2.1.5/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../include/musicbrainz -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -c -o comhttpsocket.lo comhttpsocket.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../include/musicbrainz -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -c comhttpsocket.cpp -fPIC -DPIC -o .libs/comhttpsocket.o comhttpsocket.cpp:25:27: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 25 | const char* g_strCOMVer = "libmusicbrainz/"VERSION; | ^ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libmusicbrainz-2.1.5/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libmusicbrainz-2.1.5/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../include/musicbrainz -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -c -o haar.lo haar.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../include/musicbrainz -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -c haar.cpp -fPIC -DPIC -o .libs/haar.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libmusicbrainz-2.1.5/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libmusicbrainz-2.1.5/lib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include/musicbrainz -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -c -o sha1.lo sha1.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include/musicbrainz -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -c sha1.c -fPIC -DPIC -o .libs/sha1.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libmusicbrainz-2.1.5/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libmusicbrainz-2.1.5/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../include/musicbrainz -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -c -o http.lo http.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../include/musicbrainz -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -c http.cpp -fPIC -DPIC -o .libs/http.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libmusicbrainz-2.1.5/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libmusicbrainz-2.1.5/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../include/musicbrainz -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -c -o musicbrainz.lo musicbrainz.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../include/musicbrainz -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -c musicbrainz.cpp -fPIC -DPIC -o .libs/musicbrainz.o musicbrainz.cpp:76:30: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 76 | m_versionString = string("mb_client/"VERSION); | ^ In file included from musicbrainz.cpp:34: diskid.h:64:5: error: reference to 'byte' is ambiguous 64 | byte FirstTrack; // The first track on CD : normally 1 | ^~~~ In file included from /usr/include/c++/12/string:42, from ../include/musicbrainz/musicbrainz.h:28, from musicbrainz.cpp:31: /usr/include/c++/12/bits/cpp_type_traits.h:406:30: note: candidates are: 'enum class std::byte' 406 | enum class byte : unsigned char; | ^~~~ diskid.h:60:23: note: 'typedef unsigned char byte' 60 | typedef unsigned char byte; | ^~~~ diskid.h:65:5: error: reference to 'byte' is ambiguous 65 | byte LastTrack; // The last track on CD: max number 99 | ^~~~ /usr/include/c++/12/bits/cpp_type_traits.h:406:30: note: candidates are: 'enum class std::byte' 406 | enum class byte : unsigned char; | ^~~~ diskid.h:60:23: note: 'typedef unsigned char byte' 60 | typedef unsigned char byte; | ^~~~ make[2]: *** [Makefile:565: musicbrainz.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libmusicbrainz-2.1.5/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libmusicbrainz-2.1.5/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../include/musicbrainz -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -c -o c_wrapper.lo c_wrapper.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../include/musicbrainz -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -c c_wrapper.cpp -fPIC -DPIC -o .libs/c_wrapper.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libmusicbrainz-2.1.5/lib' make[1]: *** [Makefile:484: all-recursive] Error 1 make: *** [Makefile:393: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.o3sOsI (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.o3sOsI (%build) I: [iurt_root_command] ERROR: chroot