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 x86_64 --nodeps /builddir/build/SPECS/pcl.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-137531-79561/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 x86_64 --nodeps /builddir/build/SPECS/pcl.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 (4 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/pcl-1.15.0-1.oc9.src.rpm RPM build warnings: %patchN is deprecated (4 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 x86_64 --nodeps --nocheck /builddir/build/SPECS/pcl.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-137531-79561/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 x86_64 --nodeps --nocheck /builddir/build/SPECS/pcl.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 (4 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.hgdYZo + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pcl-1.15.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pcl-1.15.0.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd pcl-1.15.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (pcl-1.15.0-sse2.patch):' Patch #0 (pcl-1.15.0-sse2.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .sse2 --fuzz=0 patching file cmake/pcl_find_sse.cmake Patch #2 (pcl-1.12.0.patch): + echo 'Patch #2 (pcl-1.12.0.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .fedora --fuzz=0 patching file ./PCLConfig.cmake.in Hunk #1 succeeded at 395 (offset -3 lines). Patch #3 (pcl-1.11.0-doxyfix.patch): + echo 'Patch #3 (pcl-1.11.0-doxyfix.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .doxyfix --fuzz=0 patching file ./doc/doxygen/doxyfile.in Hunk #1 succeeded at 131 (offset 6 lines). Hunk #2 succeeded at 237 (offset 8 lines). Patch #5 (pcl-1.15.0-sphinx.patch): + echo 'Patch #5 (pcl-1.15.0-sphinx.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .sphinx --fuzz=0 patching file doc/advanced/content/conf.py patching file doc/tutorials/content/conf.py + rm -fr surface/src/3rdparty/opennurbs + rm -rf surface/include/pcl/surface/3rdparty/opennurbs + sed -i 's|@PCL_SOURCE_DIR@/build|@PCL_SOURCE_DIR@/x86_64-OpenCloudOS-linux-gnu|' doc/doxygen/doxyfile.in + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qWufCi + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -fno-fat-lto-objects -fexceptions -g1 -grecord-gcc-switches -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -fno-fat-lto-objects -fexceptions -g1 -grecord-gcc-switches -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -fno-fat-lto-objects -fexceptions -g1 -grecord-gcc-switches -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -fno-fat-lto-objects -fexceptions -g1 -grecord-gcc-switches -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 pcl-1.15.0 + CFLAGS='-O2 -flto=auto -fno-fat-lto-objects -fexceptions -g1 -grecord-gcc-switches -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -fno-fat-lto-objects -fexceptions -g1 -grecord-gcc-switches -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -fno-fat-lto-objects -fexceptions -g1 -grecord-gcc-switches -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -fno-fat-lto-objects -fexceptions -g1 -grecord-gcc-switches -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 + /usr/bin/cmake -S . -B x86_64-OpenCloudOS-linux-gnu -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 -DCMAKE_BUILD_TYPE=Release -DWITH_DOCS=ON -DWITH_CUDA=OFF -DWITH_TUTORIALS=ON -DBUILD_apps=ON -DBUILD_global_tests=OFF -DOPENNI_INCLUDE_DIR:PATH=/usr/include/ni -DLIB_INSTALL_DIR=lib64 -DPCL_WARNINGS_ARE_ERRORS=OFF -DPCL_ENABLE_SSE=ON -DPCL_PKGCONFIG_SUFFIX:STRING= -DBUILD_documentation=ON -DCMAKE_SKIP_RPATH=ON -- The C compiler identification is GNU 12.3.1 -- The CXX compiler identification is GNU 12.3.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") -- Performing Test LIBATOMIC_NOT_NEEDED -- Performing Test LIBATOMIC_NOT_NEEDED - Failed -- Could NOT find ClangFormat (missing: ClangFormat_EXECUTABLE ClangFormat_VERSION) (Required is at least version "14") -- Found OpenMP_C: -fopenmp (found version "4.5") -- Found OpenMP_CXX: -fopenmp (found version "4.5") -- Found OpenMP: TRUE (found version "4.5") found components: C CXX -- Found OpenMP, spec date 201511 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Found flann version 1.9.2 -- Checking for module 'libusb-1.0' -- Found libusb-1.0, version 1.0.26 -- Found libusb: /usr/lib64/libusb-1.0.so -- Found OpenNI: /usr/lib64/libOpenNI.so;libusb::libusb (found version "1.5.7.10") -- OpenNI found (version: 1.5.7.10, include: /usr/include/ni, lib: /usr/lib64/libOpenNI.so;libusb::libusb) -- Could NOT find OpenNI2 (missing: OPENNI2_LIBRARIES OPENNI2_INCLUDE_DIRS) -- OpenNI2 grabber support: not building because OpenNI2 not found -- Could NOT find Ensenso (missing: ENSENSO_LIBRARIES ENSENSO_INCLUDE_DIRS) -- IDS-Imaging Ensenso camera support: not building because Ensenso not found -- Could NOT find davidSDK (missing: DAVIDSDK_LIBRARY DAVIDSDK_INCLUDE_DIR) -- David Vision Systems SDK support: not building because davidSDK not found -- Could NOT find DSSDK (missing: DSSDK_LIBRARIES DSSDK_INCLUDE_DIRS) -- DepthSense SDK support: not building because DSSDK not found -- Could NOT find RSSDK (missing: RSSDK_LIBRARIES RSSDK_INCLUDE_DIRS) -- RealSense SDK support: not building because RSSDK not found -- Could NOT find RSSDK2 -- RealSense SDK 2.0 (librealsense) support: not building because RSSDK2 not found -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.13") -- Found PNG: /usr/lib64/libpng.so (found version "1.6.40") CMake Error at /usr/lib64/cmake/Qhull/QhullTargets.cmake:160 (message): The imported target "Qhull::qhull" references the file "/usr/bin/qhull" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained "/usr/lib64/cmake/Qhull/QhullTargets.cmake" but not all the files it references. Call Stack (most recent call first): /usr/lib64/cmake/Qhull/QhullConfig.cmake:1 (include) cmake/Modules/FindQhull.cmake:45 (find_package) CMakeLists.txt:383 (find_package) -- Configuring incomplete, errors occurred! error: Bad exit status from /var/tmp/rpm-tmp.qWufCi (%build) %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.qWufCi (%build) RPM build warnings: RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps --nocheck /builddir/build/SPECS/pcl.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 x86_64 --nodeps --nocheck /builddir/build/SPECS/pcl.spec