Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/poppler.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-x86_64-1734933321.636579/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) 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 Wrote: /builddir/build/SRPMS/poppler-0.90.0-10.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/poppler.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-x86_64-1734933321.636579/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) 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 Wrote: /builddir/build/SRPMS/poppler-0.90.0-10.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/openeuler-24.03_LTS-x86_64-1734933321.636579/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) 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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.j2oejn + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf poppler-0.90.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/poppler-test-2018-12-18-45f55f1e03b9bf3fbd334c31776b6f5e472889ec.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/poppler-0.90.0.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd poppler-0.90.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.73.0-PSOutputDev-buffer-read.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/poppler-0.84.0-MacroPushRequiredVars.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/poppler-0.90.0-position-independent-code.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/poppler-gcc11.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/backport-CVE-2022-38784.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/backport-CVE-2022-27337.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/backport-CVE-2020-23804.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/backport-CVE-2022-37050.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/backport-CVE-2022-37051.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/backport-CVE-2022-37052.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/backport-CVE-2022-38349.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/backport-CVE-2020-36023.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/backport-CVE-2024-6239.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/backport-CVE-2024-4141.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/backport-CVE-2024-56378.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ByW9Sb + umask 022 + cd /builddir/build/BUILD + cd poppler-0.90.0 + mkdir build + cd build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fexceptions' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fexceptions -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fexceptions -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld ' + export LDFLAGS + /usr/bin/cmake -S . -B x86_64-openEuler-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 -DCMAKE_INSTALL_RUNSTATEDIR:PATH=/run -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON '-DCMAKE_MODULE_LINKER_FLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' -DENABLE_CMS=lcms2 -DENABLE_DCTDECODER=libjpeg -DENABLE_GTK_DOC=ON -DENABLE_LIBOPENJPEG=openjpeg2 -DENABLE_UNSTABLE_API_ABI_HEADERS=ON -DENABLE_ZLIB=OFF .. CMake Warning: Ignoring extra path from command line: "/builddir/build/BUILD/poppler-0.90.0/build" CMake Warning (dev) at CMakeLists.txt:1 (project): cmake_minimum_required() should be called prior to this top-level project() call. Please see the cmake-commands(7) manual for usage documentation of both commands. This warning is for project developers. Use -Wno-dev to suppress it. -- 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/cc - 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/c++ - 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.9.5") -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - no -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Checking _FILE_OFFSET_BITS for large files -- Checking _FILE_OFFSET_BITS for large files - not needed CMake Warning at CMakeLists.txt:81 (message): No test data found in $testdatadir. You will not be able to run 'make test' successfully. The test data is not included in the source packages and is also not part of the main git repository. Instead, you can checkout the test data from its own git repository with: git clone git://git.freedesktop.org/git/poppler/test You should checkout the test data as a sibling of your poppler source folder or specify the location of your checkout with -DTESTDATADIR=/path/to/checkoutdir/test. -- Found Freetype: /usr/lib64/libfreetype.so (found version "2.13.2") -- Checking for module 'fontconfig' -- Found fontconfig, version 2.15.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.13") -- Found PNG: /usr/lib64/libpng.so (found version "1.6.40") -- Found TIFF: /usr/lib64/libtiff.so (found version "4.6.0") -- Checking for module 'nss>=3.19' -- Found nss, version 3.94 -- Found NSS3: ssl3;smime3;nss3;nssutil3;plds4;plc4;nspr4 -- Checking for module 'cairo>=1.10.0' -- Found cairo, version 1.18.0 -- 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.78.3 -- Found gobject-2.0, version 2.78.3 -- Found gio-2.0, version 2.78.3 CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message): The package name passed to `find_package_handle_standard_args` (GLib) does not match the name of the calling package (GLIB). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): cmake/modules/FindGLIB.cmake:24 (find_package_handle_standard_args) cmake/modules/MacroOptionalFindPackage.cmake:32 (find_package) CMakeLists.txt:174 (macro_optional_find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- 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.76.1 -- Checking for modules 'gtk+-3.0>=3.8;gdk-pixbuf-2.0>=2.8' -- Found gtk+-3.0, version 3.24.41 -- Found gdk-pixbuf-2.0, version 2.42.10 -- Found GTK: gtk-3;gdk-3;z;atk-1.0;gio-2.0;pangocairo-1.0;harfbuzz;cairo-gobject;pango-1.0;gdk_pixbuf-2.0;cairo;glib-2.0;gobject-2.0 -- 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.16 -- Found lcms version 2.16, /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.12 -- 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 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-0.90.0/../test Warning: Use of boost is recommended for better performance. -- Configuring done (4.1s) -- Generating done (0.2s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/poppler-0.90.0/build/x86_64-openEuler-linux-gnu + /usr/bin/make -O -j4 V=1 VERBOSE=1 make: *** No targets specified and no makefile found. Stop. error: Bad exit status from /var/tmp/rpm-tmp.ByW9Sb (%build) Bad exit status from /var/tmp/rpm-tmp.ByW9Sb (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/poppler.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 598, 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