Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/libmusicbrainz5.spec'], chrootPath='/var/lib/mock/f40-build-761864-121639/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/libmusicbrainz5.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689811200 Wrote: /builddir/build/SRPMS/libmusicbrainz5-5.1.0-22.fc40.src.rpm RPM build warnings: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/libmusicbrainz5.spec'], chrootPath='/var/lib/mock/f40-build-761864-121639/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/libmusicbrainz5.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689811200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Baz1DS + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libmusicbrainz-5.1.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libmusicbrainz-5.1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libmusicbrainz-5.1.0 + rm -rf /builddir/build/BUILD/libmusicbrainz-5.1.0-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/libmusicbrainz-5.1.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (doxygen.patch):' Patch #0 (doxygen.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .doxygen --fuzz=0 patching file Doxyfile.cmake + echo 'Patch #1 (0001-Don-t-emit-errors-unless-compiled-for-debug.patch):' Patch #1 (0001-Don-t-emit-errors-unless-compiled-for-debug.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .silence-warnings --fuzz=0 patching file include/musicbrainz5/Entity.h patching file src/Alias.cc patching file src/Annotation.cc patching file src/Artist.cc patching file src/ArtistCredit.cc patching file src/Attribute.cc patching file src/CDStub.cc patching file src/Collection.cc patching file src/Disc.cc patching file src/FreeDBDisc.cc patching file src/HTTPFetch.cc patching file src/IPI.cc patching file src/ISRC.cc patching file src/ISWC.cc patching file src/Label.cc patching file src/LabelInfo.cc patching file src/Lifespan.cc patching file src/List.cc patching file src/Medium.cc patching file src/Message.cc patching file src/Metadata.cc patching file src/NameCredit.cc patching file src/NonMBTrack.cc patching file src/PUID.cc patching file src/Rating.cc patching file src/Recording.cc patching file src/Relation.cc patching file src/Release.cc patching file src/ReleaseGroup.cc patching file src/SecondaryType.cc patching file src/Tag.cc patching file src/TextRepresentation.cc patching file src/Track.cc patching file src/UserRating.cc patching file src/UserTag.cc patching file src/Work.cc patching file tests/mbtest.cc + echo 'HTML_TIMESTAMP = NO' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.aKt3W7 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd libmusicbrainz-5.1.0 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON CMake Warning: No source or binary directory provided. Both will be assumed to be the same as the current working directory, but note that this warning will become a fatal error in future CMake releases. CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 13.2.1 -- The CXX compiler identification is GNU 13.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PkgConfig: /usr/bin/pkg-config (found version "1.9.5") -- Checking for module 'neon' -- Found neon, version 0.32.5 -- Found Neon: /usr/lib64/libneon.so -- Checking for module 'libxml-2.0' -- Found libxml-2.0, version 2.12.1 -- Found LibXml2: /usr/lib64/libxml2.so -- Configuring done (6.7s) -- Generating done (0.2s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/libmusicbrainz-5.1.0 + /usr/bin/cmake --build . -j4 --verbose Change Dir: '/builddir/build/BUILD/libmusicbrainz-5.1.0' Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile -j4 /usr/bin/cmake -S/builddir/build/BUILD/libmusicbrainz-5.1.0 -B/builddir/build/BUILD/libmusicbrainz-5.1.0 --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/libmusicbrainz-5.1.0/CMakeFiles /builddir/build/BUILD/libmusicbrainz-5.1.0//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/libmusicbrainz-5.1.0' /usr/bin/gmake -f src/CMakeFiles/make-c-interface.dir/build.make src/CMakeFiles/make-c-interface.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libmusicbrainz-5.1.0' cd /builddir/build/BUILD/libmusicbrainz-5.1.0 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libmusicbrainz-5.1.0 /builddir/build/BUILD/libmusicbrainz-5.1.0/src /builddir/build/BUILD/libmusicbrainz-5.1.0 /builddir/build/BUILD/libmusicbrainz-5.1.0/src /builddir/build/BUILD/libmusicbrainz-5.1.0/src/CMakeFiles/make-c-interface.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libmusicbrainz-5.1.0' /usr/bin/gmake -f src/CMakeFiles/make-c-interface.dir/build.make src/CMakeFiles/make-c-interface.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libmusicbrainz-5.1.0' [ 3%] Building CXX object src/CMakeFiles/make-c-interface.dir/xmlParser.cc.o [ 3%] Building CXX object src/CMakeFiles/make-c-interface.dir/make-c-interface.cc.o cd /builddir/build/BUILD/libmusicbrainz-5.1.0/src && /usr/bin/g++ -I/builddir/build/BUILD/libmusicbrainz-5.1.0/src -I/builddir/build/BUILD/libmusicbrainz-5.1.0/src/.. -I/builddir/build/BUILD/libmusicbrainz-5.1.0/src/../include -I/usr/include/neon -I/usr/include/libxml2 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -Wextra -pedantic-errors -MD -MT src/CMakeFiles/make-c-interface.dir/make-c-interface.cc.o -MF CMakeFiles/make-c-interface.dir/make-c-interface.cc.o.d -o CMakeFiles/make-c-interface.dir/make-c-interface.cc.o -c /builddir/build/BUILD/libmusicbrainz-5.1.0/src/make-c-interface.cc cd /builddir/build/BUILD/libmusicbrainz-5.1.0/src && /usr/bin/g++ -I/builddir/build/BUILD/libmusicbrainz-5.1.0/src -I/builddir/build/BUILD/libmusicbrainz-5.1.0/src/.. -I/builddir/build/BUILD/libmusicbrainz-5.1.0/src/../include -I/usr/include/neon -I/usr/include/libxml2 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -Wextra -pedantic-errors -MD -MT src/CMakeFiles/make-c-interface.dir/xmlParser.cc.o -MF CMakeFiles/make-c-interface.dir/xmlParser.cc.o.d -o CMakeFiles/make-c-interface.dir/xmlParser.cc.o -c /builddir/build/BUILD/libmusicbrainz-5.1.0/src/xmlParser.cc /builddir/build/BUILD/libmusicbrainz-5.1.0/src/xmlParser.cc: In static member function ‘static XMLNode* XMLRootNode::parseFile(const std::string&, XMLResults*)’: /builddir/build/BUILD/libmusicbrainz-5.1.0/src/xmlParser.cc:57:11: error: ‘xmlParseFile’ was not declared in this scope; did you mean ‘xmlSaveFile’? 57 | doc = xmlParseFile(filename.c_str()); | ^~~~~~~~~~~~ | xmlSaveFile /builddir/build/BUILD/libmusicbrainz-5.1.0/src/xmlParser.cc:59:9: error: ‘xmlErrorPtr’ was not declared in this scope; did you mean ‘xmlDocPtr’? 59 | xmlErrorPtr error = xmlGetLastError(); | ^~~~~~~~~~~ | xmlDocPtr /builddir/build/BUILD/libmusicbrainz-5.1.0/src/xmlParser.cc:60:28: error: ‘error’ was not declared in this scope; did you mean ‘perror’? 60 | results->message = error->message; | ^~~~~ | perror /builddir/build/BUILD/libmusicbrainz-5.1.0/src/xmlParser.cc: In static member function ‘static XMLNode* XMLRootNode::parseString(const std::string&, XMLResults*)’: /builddir/build/BUILD/libmusicbrainz-5.1.0/src/xmlParser.cc:72:11: error: ‘xmlParseMemory’ was not declared in this scope 72 | doc = xmlParseMemory(xml.c_str(), xml.length()); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmusicbrainz-5.1.0/src/xmlParser.cc:74:9: error: ‘xmlErrorPtr’ was not declared in this scope; did you mean ‘xmlDocPtr’? 74 | xmlErrorPtr error = xmlGetLastError(); | ^~~~~~~~~~~ | xmlDocPtr /builddir/build/BUILD/libmusicbrainz-5.1.0/src/xmlParser.cc:75:28: error: ‘error’ was not declared in this scope; did you mean ‘perror’? 75 | results->message = error->message; | ^~~~~ | perror gmake[2]: *** [src/CMakeFiles/make-c-interface.dir/build.make:93: src/CMakeFiles/make-c-interface.dir/xmlParser.cc.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: Leaving directory '/builddir/build/BUILD/libmusicbrainz-5.1.0' gmake[1]: *** [CMakeFiles/Makefile2:204: src/CMakeFiles/make-c-interface.dir/all] Error 2 gmake[1]: Leaving directory '/builddir/build/BUILD/libmusicbrainz-5.1.0' gmake: *** [Makefile:139: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.aKt3W7 (%build) RPM build warnings: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.aKt3W7 (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/libmusicbrainz5.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/libmusicbrainz5.spec