D: [iurt_root_command] chroot sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/libmusicbrainz5-5.1.0-9.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.z1ABoO + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf libmusicbrainz-release-5.1.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/release-5.1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libmusicbrainz-release-5.1.0 + rm -rf /home/pterjan/rpmbuild/BUILD/libmusicbrainz-release-5.1.0-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/libmusicbrainz-release-5.1.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Ysd0Dz + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd libmusicbrainz-release-5.1.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -Wno-dev -S . -B build -DCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_LIBDIR:PATH=lib64 -DCMAKE_INSTALL_LIBEXECDIR:PATH=libexec -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_RUNSTATEDIR:PATH=/run -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLIB_SUFFIX=64 -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON '-DCMAKE_MODULE_LINKER_FLAGS=-Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_STATIC_LIBS:BOOL=OFF -B . -- The C compiler identification is GNU 14.1.0 -- The CXX compiler identification is GNU 14.1.0 -- 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 "2.2.0") -- Checking for module 'neon' -- Found neon, version 0.31.2 -- Found Neon: /usr/lib64/libneon.so -- Checking for module 'libxml-2.0' -- Found libxml-2.0, version 2.12.7 -- Found LibXml2: /usr/lib64/libxml2.so -- Configuring done (0.7s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: BUILD_STATIC_LIBS CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP CMAKE_INSTALL_LIBDIR CMAKE_INSTALL_LIBEXECDIR CMAKE_INSTALL_RUNSTATEDIR CMAKE_INSTALL_SYSCONFDIR SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /home/pterjan/rpmbuild/BUILD/libmusicbrainz-release-5.1.0 + /usr/bin/make -O -j48 V=1 VERBOSE=1 /usr/bin/cmake -S/home/pterjan/rpmbuild/BUILD/libmusicbrainz-release-5.1.0 -B/home/pterjan/rpmbuild/BUILD/libmusicbrainz-release-5.1.0 --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /home/pterjan/rpmbuild/BUILD/libmusicbrainz-release-5.1.0/CMakeFiles /home/pterjan/rpmbuild/BUILD/libmusicbrainz-release-5.1.0//CMakeFiles/progress.marks /usr/bin/make -f CMakeFiles/Makefile2 all /usr/bin/make -f src/CMakeFiles/make-c-interface.dir/build.make src/CMakeFiles/make-c-interface.dir/depend make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libmusicbrainz-release-5.1.0' cd /home/pterjan/rpmbuild/BUILD/libmusicbrainz-release-5.1.0 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/pterjan/rpmbuild/BUILD/libmusicbrainz-release-5.1.0 /home/pterjan/rpmbuild/BUILD/libmusicbrainz-release-5.1.0/src /home/pterjan/rpmbuild/BUILD/libmusicbrainz-release-5.1.0 /home/pterjan/rpmbuild/BUILD/libmusicbrainz-release-5.1.0/src /home/pterjan/rpmbuild/BUILD/libmusicbrainz-release-5.1.0/src/CMakeFiles/make-c-interface.dir/DependInfo.cmake "--color=" make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libmusicbrainz-release-5.1.0' /usr/bin/make -f src/CMakeFiles/make-c-interface.dir/build.make src/CMakeFiles/make-c-interface.dir/build make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libmusicbrainz-release-5.1.0' [ 3%] Building CXX object src/CMakeFiles/make-c-interface.dir/xmlParser.cc.o cd /home/pterjan/rpmbuild/BUILD/libmusicbrainz-release-5.1.0/src && /usr/bin/g++ -I/home/pterjan/rpmbuild/BUILD/libmusicbrainz-release-5.1.0/src -I/home/pterjan/rpmbuild/BUILD/libmusicbrainz-release-5.1.0/src/.. -I/home/pterjan/rpmbuild/BUILD/libmusicbrainz-release-5.1.0/src/../include -I/usr/include/neon -I/usr/include/libxml2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wextra -pedantic-errors -DNDEBUG -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 /home/pterjan/rpmbuild/BUILD/libmusicbrainz-release-5.1.0/src/xmlParser.cc /home/pterjan/rpmbuild/BUILD/libmusicbrainz-release-5.1.0/src/xmlParser.cc: In static member function 'static XMLNode* XMLRootNode::parseFile(const std::string&, XMLResults*)': /home/pterjan/rpmbuild/BUILD/libmusicbrainz-release-5.1.0/src/xmlParser.cc:59:44: error: invalid conversion from 'const xmlError*' {aka 'const _xmlError*'} to 'xmlErrorPtr' {aka '_xmlError*'} [-fpermissive] 59 | xmlErrorPtr error = xmlGetLastError(); | ~~~~~~~~~~~~~~~^~ | | | const xmlError* {aka const _xmlError*} /home/pterjan/rpmbuild/BUILD/libmusicbrainz-release-5.1.0/src/xmlParser.cc: In static member function 'static XMLNode* XMLRootNode::parseString(const std::string&, XMLResults*)': /home/pterjan/rpmbuild/BUILD/libmusicbrainz-release-5.1.0/src/xmlParser.cc:74:44: error: invalid conversion from 'const xmlError*' {aka 'const _xmlError*'} to 'xmlErrorPtr' {aka '_xmlError*'} [-fpermissive] 74 | xmlErrorPtr error = xmlGetLastError(); | ~~~~~~~~~~~~~~~^~ | | | const xmlError* {aka const _xmlError*} make[2]: *** [src/CMakeFiles/make-c-interface.dir/build.make:93: src/CMakeFiles/make-c-interface.dir/xmlParser.cc.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libmusicbrainz-release-5.1.0' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libmusicbrainz-release-5.1.0' [ 1%] Building CXX object src/CMakeFiles/make-c-interface.dir/make-c-interface.cc.o cd /home/pterjan/rpmbuild/BUILD/libmusicbrainz-release-5.1.0/src && /usr/bin/g++ -I/home/pterjan/rpmbuild/BUILD/libmusicbrainz-release-5.1.0/src -I/home/pterjan/rpmbuild/BUILD/libmusicbrainz-release-5.1.0/src/.. -I/home/pterjan/rpmbuild/BUILD/libmusicbrainz-release-5.1.0/src/../include -I/usr/include/neon -I/usr/include/libxml2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wextra -pedantic-errors -DNDEBUG -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 /home/pterjan/rpmbuild/BUILD/libmusicbrainz-release-5.1.0/src/make-c-interface.cc make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libmusicbrainz-release-5.1.0' make[1]: *** [CMakeFiles/Makefile2:204: src/CMakeFiles/make-c-interface.dir/all] Error 2 make: *** [Makefile:139: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.Ysd0Dz (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.Ysd0Dz (%build) I: [iurt_root_command] ERROR: chroot