Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/poppler.spec'], chrootPath='/var/lib/mock/dist-an23-build-145005-57699/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/poppler.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1657843200 Wrote: /builddir/build/SRPMS/poppler-20.11.0-4.0.1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/poppler.spec'], chrootPath='/var/lib/mock/dist-an23-build-145005-57699/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/poppler.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1657843200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.BGy4Ep + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf poppler-20.11.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/poppler-test-2009-05-13_0d2bfd4af4c76a3bac27ccaff793d9129df7b57a.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/poppler-20.11.0.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd poppler-20.11.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/poppler-0.30.0-rotated-words-selection.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/poppler-0.66.0-covscan.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/poppler-0.66.0-nss.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/poppler-20.11.0-check-gdatetime.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/poppler-20.11.0-bad-generation.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + chmod -x poppler/CairoFontEngine.cc + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.QkVnKp + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 poppler-20.11.0 + mkdir build + cd build + export 'CC=gcc -fPIC' + CC='gcc -fPIC' + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC='gcc -fPIC' + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B anolis-linux-build -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 -DENABLE_CMS=lcms2 -DENABLE_DCTDECODER=libjpeg -DENABLE_GTK_DOC=ON -DENABLE_LIBOPENJPEG=openjpeg2 -DENABLE_ZLIB=OFF -DENABLE_NSS=ON -DENABLE_UNSTABLE_API_ABI_HEADERS=ON -DENABLE_QT6=OFF .. -- The C compiler identification is GNU 12.1.0 -- The CXX compiler identification is GNU 12.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 -- Performing Test GCC_HAS_AS_NEEDED -- Performing Test GCC_HAS_AS_NEEDED - Success -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.0") -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Checking _FILE_OFFSET_BITS for large files -- Checking _FILE_OFFSET_BITS for large files - not needed -- Found Freetype: /usr/lib64/libfreetype.so (found version "2.12.1") -- Checking for module 'fontconfig' -- Found fontconfig, version 2.14.0 -- Found Fontconfig: /usr/lib64/libfontconfig.so -- Found JPEG: /usr/lib64/libjpeg.so (found version "62") -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.12") -- Found PNG: /usr/lib64/libpng.so (found version "1.6.38") -- Found TIFF: /usr/lib64/libtiff.so (found version "4.4.0") -- Checking for module 'nss>=3.19' -- Found nss, version 3.75.0 -- Found NSS3: ssl3;smime3;nss3;nssutil3;plds4;plc4;nspr4 -- Checking for module 'cairo>=1.10.0' -- Found cairo, version 1.17.6 -- Found Cairo: /usr/lib64/libcairo.so (Required is at least version "1.10.0") -- Checking for modules 'glib-2.0>=2.41;gobject-2.0>=2.41;gio-2.0>=2.41' -- Found glib-2.0, version 2.73.2 -- Found gobject-2.0, version 2.73.2 -- Found gio-2.0, version 2.73.2 -- Found GLIB: gio-2.0;gobject-2.0;glib-2.0 -- Checking for module 'gobject-introspection-1.0' -- Found gobject-introspection-1.0, version 1.71.0 -- Checking for modules 'gtk+-3.0>=3.8;gdk-pixbuf-2.0>=2.8' -- Found gtk+-3.0, version 3.24.33 -- Found gdk-pixbuf-2.0, version 2.42.9 -- Found GTK: gtk-3;gdk-3;z;pangocairo-1.0;pango-1.0;harfbuzz;atk-1.0;cairo-gobject;cairo;gio-2.0;gdk_pixbuf-2.0;gobject-2.0;glib-2.0 -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.10.6", minimum required is "3") -- Performing Test ICONV_SECOND_ARGUMENT_IS_CONST -- Performing Test ICONV_SECOND_ARGUMENT_IS_CONST - Failed -- Found Iconv: /usr/lib64/libc.so -- Checking for module 'lcms2' -- Found lcms2, version 2.13 -- Found lcms version 2.13, /usr/lib64/liblcms2.so -- Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR) -- Could NOT find Boost (missing: Boost_INCLUDE_DIR) (Required is at least version "1.58.0") -- Checking for module 'poppler-data' -- Found poppler-data, version 0.4.11 -- Looking for include file dlfcn.h -- Looking for include file dlfcn.h - found -- Looking for include file fcntl.h -- Looking for include file fcntl.h - found -- Looking for include file stdlib.h -- Looking for include file stdlib.h - found -- Looking for include file sys/mman.h -- Looking for include file sys/mman.h - found -- Looking for include file sys/stat.h -- Looking for include file sys/stat.h - found -- Looking for include file unistd.h -- Looking for include file unistd.h - found -- Looking for C++ include codecvt -- Looking for C++ include codecvt - found -- Looking for fseek64 -- Looking for fseek64 - not found -- Looking for fseeko -- Looking for fseeko - found -- Looking for ftell64 -- Looking for ftell64 - not found -- Looking for pread64 -- Looking for pread64 - found -- Looking for lseek64 -- Looking for lseek64 - found -- Looking for gmtime_r -- Looking for gmtime_r - found -- Looking for timegm -- Looking for timegm - found -- Looking for gettimeofday -- Looking for gettimeofday - found -- Looking for localtime_r -- Looking for localtime_r - found -- Looking for popen -- Looking for popen - found -- Looking for mkstemp -- Looking for mkstemp - found -- Looking for strcpy_s -- Looking for strcpy_s - not found -- Looking for strcat_s -- Looking for strcat_s - not found -- Looking for strtok_r -- Looking for strtok_r - found -- Performing Test HAVE_DIRENT_H -- Performing Test HAVE_DIRENT_H - Success -- Performing Test HAVE_NDIR_H -- Performing Test HAVE_NDIR_H - Failed -- Performing Test HAVE_SYS_DIR_H -- Performing Test HAVE_SYS_DIR_H - Success -- Performing Test HAVE_SYS_NDIR_H -- Performing Test HAVE_SYS_NDIR_H - Failed -- Looking for nanosleep -- Looking for nanosleep - found Building Poppler with support for: font configuration: fontconfig splash output: yes cairo output: yes qt5 wrapper: yes qt6 wrapper: no glib wrapper: yes introspection: yes gtk-doc: yes cpp wrapper: yes use libjpeg: yes use libpng: yes use libtiff: yes use zlib compress: no use zlib uncompress: no use nss3: yes use curl: no use libopenjpeg2: yes use lcms2: yes use boost: no command line utils: yes fuzz target: no test data dir: /builddir/build/BUILD/poppler-20.11.0/../test Warning: Use of boost is recommended for better performance. -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP ENABLE_NSS INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/poppler-20.11.0/build/anolis-linux-build + unset CC + make -j64 make: *** No targets specified and no makefile found. Stop. error: Bad exit status from /var/tmp/rpm-tmp.QkVnKp (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.QkVnKp (%build) Child return code was: 1 EXCEPTION: [Error()] 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 600, 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 --target x86_64 --nodeps /builddir/build/SPECS/poppler.spec