D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/amule-2.4.0-0.git20211122.2.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.nRCCWU + umask 022 + cd /home/pterjan/rpmbuild/BUILD/amule-2.4.0-build + test -d /home/pterjan/rpmbuild/BUILD/amule-2.4.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/amule-2.4.0-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/amule-2.4.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/amule-2.4.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/amule-2.4.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.BWc0EQ + umask 022 + cd /home/pterjan/rpmbuild/BUILD/amule-2.4.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/amule-2.4.0-build + rm -rf amule-8fd81283f7c480afc31912c873f94c3f126496a0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/amule-2.4.0+git20211122.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd amule-8fd81283f7c480afc31912c873f94c3f126496a0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/amule-2.4.0-version_check.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed -i -e 's|VERSION "GIT"|VERSION "2.4.0 GIT"|' CMakeLists.txt + sed -i 's|unset (\${CMAKE_REQUIRED_LIBRARIES})|#unset (\${CMAKE_REQUIRED_LIBRARIES})|' cmake/bfd.cmake + 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.35Zn0W + umask 022 + cd /home/pterjan/rpmbuild/BUILD/amule-2.4.0-build + cd amule-8fd81283f7c480afc31912c873f94c3f126496a0 + '[' 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 -DENABLE_BOOST=ON -DBUILD_AMULECMD=ON -DBUILD_REMOTEGUI=ON -DBUILD_WEBSERVER=ON -DBUILD_CAS=ON -DBUILD_WXCAS=ON -DBUILD_ALC=ON -DBUILD_ALCC=ON -DBUILD_DAEMON=ON -DENABLE_IP2COUNTRY=ON -DBUILD_FILEVIEW=ON -DBUILD_XAS=ON '-DSVNDATE=rev. 20211122' -- The C compiler identification is GNU 14.2.0 -- The CXX compiler identification is GNU 14.2.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 -- Could NOT find Git (missing: GIT_EXECUTABLE) -- Looking for readline -- Looking for readline - found -- Looking for add_history -- Looking for add_history - found -- Looking for stdio.h -- Looking for stdio.h - found -- Looking for readline.h -- Looking for readline.h - not found. -- Looking for readline/readline.h -- Looking for readline/readline.h - found -- Looking for readline/history.h -- Looking for readline/history.h - found -- Found readline: /usr/lib64/libreadline.so -- Found PkgConfig: /usr/bin/pkg-config (found version "2.2.0") -- Checking for one of the modules 'gdlib' -- gdlib version: 2.3.3 -- OK -- Looking for getopt_long -- Looking for getopt_long - found -- Found ZLIB: /usr/lib64/libz.so (found version "1.3.1") -- Found PNG: /usr/lib64/libpng.so (found version "1.6.44") -- Found Boost: /usr/lib64/cmake/Boost-1.86.0/BoostConfig.cmake (found version "1.86.0") -- Looking for include files boost/system/error_code.hpp, boost/asio.hpp -- Looking for include files boost/system/error_code.hpp, boost/asio.hpp - found -- Looking for GeoIP.h -- Looking for GeoIP.h - found -- GeoIP found useable -- Looking for argz.h -- Looking for argz.h - found -- Looking for limits.h -- Looking for limits.h - found -- Looking for locale.h -- Looking for locale.h - found -- Looking for nl_types.h -- Looking for nl_types.h - found -- Looking for stdlib.h -- Looking for stdlib.h - found -- Looking for string.h -- Looking for string.h - found -- Looking for sys/param.h -- Looking for sys/param.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Found Gettext: /usr/bin/msgmerge (found version "0.22.5") -- Everything is fine. aMule can be localized -- Looking for fallocate -- Looking for fallocate - found -- Looking for getrlimit -- Looking for getrlimit - found -- Looking for setrlimit -- Looking for setrlimit - found -- Looking for fcntl.h -- Looking for fcntl.h - found -- Looking for sys/resource.h -- Looking for sys/resource.h - found -- Looking for sys/statvfs.h -- Looking for sys/statvfs.h - found -- Looking for posix_fallocate -- Looking for posix_fallocate - found -- Looking for sys/select.h -- Looking for sys/select.h - found -- Looking for sys/time.h -- Looking for sys/time.h - found -- Looking for sys/wait.h -- Looking for sys/wait.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Check size of int -- Check size of int - done -- Looking for errno.h -- Looking for errno.h - found -- Looking for float.h -- Looking for float.h - found -- Looking for signal.h -- Looking for signal.h - found -- Looking for stdarg.h -- Looking for stdarg.h - found -- Looking for free -- Looking for free - found -- Looking for C++ include cxxabi.h -- Looking for C++ include cxxabi.h - found -- Looking for execinfo.h -- Looking for execinfo.h - found -- Looking for inttypes.h -- Looking for inttypes.h - found -- Looking for strerror_r -- Looking for strerror_r - found -- Looking for C++ include cryptlib.h -- Looking for C++ include cryptlib.h - not found -- Looking for C++ include cryptopp/cryptlib.h -- Looking for C++ include cryptopp/cryptlib.h - found -- cryptopp prefix found: cryptopp -- Found libcrypto++ in /usr/lib64/libcryptopp.so -- Looking for C++ include cryptopp/config.h -- Looking for C++ include cryptopp/config.h - found -- crypto++ version 8.7.0 -- OK -- Searching for wx-BASE CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:233 (message): Could NOT find wxWidgets (missing: wxWidgets_LIBRARIES wxWidgets_INCLUDE_DIRS) (Required is at least version "2.8.12") Call Stack (most recent call first): /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake/Modules/FindwxWidgets.cmake:1014 (find_package_handle_standard_args) cmake/wx.cmake:83 (find_package) CMakeLists.txt:91 (include) -- Configuring incomplete, errors occurred! error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.35Zn0W (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.35Zn0W (%build) I: [iurt_root_command] ERROR: chroot