Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/libsvm.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-53624-14768/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/libsvm.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 Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/libsvm-3.31-2.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/libsvm.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-53624-14768/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/libsvm.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 Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.W1GTwJ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libsvm-331 + /usr/bin/gzip -dc /builddir/build/SOURCES/v331.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libsvm-331 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/libsvm.packageMain.patch + /usr/bin/patch -p0 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/patch -p0 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/libsvm.javaDir.patch + /usr/bin/patch -p0 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/libsvm.toolsDir.patch + /usr/bin/cat /builddir/build/SOURCES/libsvm.svm-toy-qt5.patch + /usr/bin/patch -p0 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/libsvm.matlab.patch + /usr/bin/patch -p0 -s --fuzz=0 --no-backup-if-mismatch -f + cp -p /builddir/build/SOURCES/log ChangeLog + cp -p /builddir/build/SOURCES/guide.pdf /builddir/build/SOURCES/libsvm-svm-toy-qt.desktop . + cp -p /builddir/build/SOURCES/LibSVM-svm-toy-48.png libsvm-svm-toy-qt-48.png + sed -i.orig 's/\r//' FAQ.html + touch -r FAQ.html.orig FAQ.html + rm FAQ.html.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.PshKSV + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd libsvm-331 + make all 'RPM_CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' LIBDIR=/usr/lib64 CPP_STD=c++17 g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wconversion -fPIC -fopenmp -c svm.cpp g++ -shared -Wl,-soname,libsvm.so.3 -fopenmp svm.o -o libsvm.so.3 ln -sf libsvm.so.3 libsvm.so g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wconversion -fPIC -fopenmp svm-train.c -L. -lsvm -o svm-train -lm g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wconversion -fPIC -fopenmp svm-predict.c -L. -lsvm -o svm-predict -lm g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wconversion -fPIC -fopenmp svm-scale.c -o svm-scale make -C python make[1]: Entering directory '/builddir/build/BUILD/libsvm-331/python' make -C .. lib make[2]: Entering directory '/builddir/build/BUILD/libsvm-331' make[2]: Nothing to be done for 'lib'. make[2]: Leaving directory '/builddir/build/BUILD/libsvm-331' make[1]: Leaving directory '/builddir/build/BUILD/libsvm-331/python' make -C svm-toy/qt make[1]: Entering directory '/builddir/build/BUILD/libsvm-331/svm-toy/qt' /usr/bin/moc-qt5 svm-toy.cpp -o svm-toy.moc g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -fPIC -std=c++17 svm-toy.cpp ../../svm.o -o svm-toy-qt -fopenmp -lQt5Widgets -lQt5Gui -lQt5Core /usr/bin/ld: warning: libpcre2-16.so.0, needed by /usr/lib/gcc/aarch64-OpenCloudOS-linux/12/../../../../lib64/libQt5Core.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: /usr/lib/gcc/aarch64-OpenCloudOS-linux/12/../../../../lib64/libQt5Core.so: undefined reference to `pcre2_compile_16' /usr/bin/ld: /usr/lib/gcc/aarch64-OpenCloudOS-linux/12/../../../../lib64/libQt5Core.so: undefined reference to `pcre2_jit_stack_assign_16' /usr/bin/ld: /usr/lib/gcc/aarch64-OpenCloudOS-linux/12/../../../../lib64/libQt5Core.so: undefined reference to `pcre2_match_data_create_from_pattern_16' /usr/bin/ld: /usr/lib/gcc/aarch64-OpenCloudOS-linux/12/../../../../lib64/libQt5Core.so: undefined reference to `pcre2_match_16' /usr/bin/ld: /usr/lib/gcc/aarch64-OpenCloudOS-linux/12/../../../../lib64/libQt5Core.so: undefined reference to `pcre2_match_context_create_16' /usr/bin/ld: /usr/lib/gcc/aarch64-OpenCloudOS-linux/12/../../../../lib64/libQt5Core.so: undefined reference to `pcre2_config_16' /usr/bin/ld: /usr/lib/gcc/aarch64-OpenCloudOS-linux/12/../../../../lib64/libQt5Core.so: undefined reference to `pcre2_jit_stack_free_16' /usr/bin/ld: /usr/lib/gcc/aarch64-OpenCloudOS-linux/12/../../../../lib64/libQt5Core.so: undefined reference to `pcre2_jit_stack_create_16' /usr/bin/ld: /usr/lib/gcc/aarch64-OpenCloudOS-linux/12/../../../../lib64/libQt5Core.so: undefined reference to `pcre2_match_context_free_16' /usr/bin/ld: /usr/lib/gcc/aarch64-OpenCloudOS-linux/12/../../../../lib64/libQt5Core.so: undefined reference to `pcre2_pattern_info_16' /usr/bin/ld: /usr/lib/gcc/aarch64-OpenCloudOS-linux/12/../../../../lib64/libQt5Core.so: undefined reference to `pcre2_jit_compile_16' /usr/bin/ld: /usr/lib/gcc/aarch64-OpenCloudOS-linux/12/../../../../lib64/libQt5Core.so: undefined reference to `pcre2_code_free_16' /usr/bin/ld: /usr/lib/gcc/aarch64-OpenCloudOS-linux/12/../../../../lib64/libQt5Core.so: undefined reference to `pcre2_get_ovector_pointer_16' /usr/bin/ld: /usr/lib/gcc/aarch64-OpenCloudOS-linux/12/../../../../lib64/libQt5Core.so: undefined reference to `pcre2_get_error_message_16' /usr/bin/ld: /usr/lib/gcc/aarch64-OpenCloudOS-linux/12/../../../../lib64/libQt5Core.so: undefined reference to `pcre2_match_data_free_16' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:11: svm-toy] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/libsvm-331/svm-toy/qt' make: *** [Makefile:68: svm-toy-qt] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.PshKSV (%build) Bad exit status from /var/tmp/rpm-tmp.PshKSV (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/libsvm.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 597, 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 aarch64 --nodeps /builddir/build/SPECS/libsvm.spec