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/qt5-qtwebengine.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-230783-18398/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=982gid=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/qt5-qtwebengine.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 (15 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/qt5-qtwebengine-5.15.16-1.ocs23.src.rpm RPM build warnings: %patchN is deprecated (15 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 /builddir/build/SPECS/qt5-qtwebengine.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-230783-18398/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/qt5-qtwebengine.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 (15 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.IPtStL + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf qtwebengine-everywhere-src-5.15.16 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/qtwebengine-everywhere-src-5.15.16-clean.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd qtwebengine-everywhere-src-5.15.16 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pulseaudio-12.2-headers.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv pulse src/3rdparty/chromium/ + pushd src/3rdparty/chromium ~/build/BUILD/qtwebengine-everywhere-src-5.15.16/src/3rdparty/chromium ~/build/BUILD/qtwebengine-everywhere-src-5.15.16 ~/build/BUILD/qtwebengine-everywhere-src-5.15.16 Patch #2 (qtwebengine-opensource-src-5.12.4-fix-extractcflag.patch): + popd + echo 'Patch #2 (qtwebengine-opensource-src-5.12.4-fix-extractcflag.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .fix-extractcflag --fuzz=0 patching file src/buildtools/config/functions.pri Patch #3 (qtwebengine-opensource-src-5.9.0-no-neon.patch): + echo 'Patch #3 (qtwebengine-opensource-src-5.9.0-no-neon.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .no-neon --fuzz=0 patching file src/buildtools/config/linux.pri Hunk #1 succeeded at 82 (offset -5 lines). Patch #4 (qtwebengine-SIOCGSTAMP.patch): + echo 'Patch #4 (qtwebengine-SIOCGSTAMP.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .SIOCGSTAMP --fuzz=0 patching file src/3rdparty/chromium/third_party/webrtc/rtc_base/physical_socket_server.cc Hunk #1 succeeded at 71 (offset -1 lines). Patch #5 (qtwebengine-5.15.0-QT_DEPRECATED_VERSION.patch): + echo 'Patch #5 (qtwebengine-5.15.0-QT_DEPRECATED_VERSION.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .QT_DEPRECATED_VERSION --fuzz=0 patching file src/webenginewidgets/api/qwebenginedownloaditem.h Patch #6 (chromium-angle-nullptr.patch): + echo 'Patch #6 (chromium-angle-nullptr.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .angle_nullptr --fuzz=0 patching file src/3rdparty/chromium/third_party/angle/src/common/utilities.cpp Patch #7 (chromium-hunspell-nullptr.patch): + echo 'Patch #7 (chromium-hunspell-nullptr.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .hunspell_nullptr --fuzz=0 patching file src/3rdparty/chromium/third_party/hunspell/src/hunspell/hunspell.cxx Patch #8 (qtwebengine-everywhere-5.15.8-libpipewire-0.3.patch): + echo 'Patch #8 (qtwebengine-everywhere-5.15.8-libpipewire-0.3.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .libpipewire-0.3 --fuzz=0 patching file src/3rdparty/chromium/third_party/webrtc/modules/desktop_capture/BUILD.gn patching file src/3rdparty/chromium/third_party/webrtc/webrtc.gni Patch #24 (qtwebengine-everywhere-src-5.11.3-aarch64-new-stat.patch): + echo 'Patch #24 (qtwebengine-everywhere-src-5.11.3-aarch64-new-stat.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .aarch64-new-stat --fuzz=0 patching file src/3rdparty/chromium/sandbox/linux/system_headers/arm64_linux_syscalls.h Patch #26 (qtwebengine-everywhere-5.15.5-use-python2.patch): + echo 'Patch #26 (qtwebengine-everywhere-5.15.5-use-python2.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .use-python2 --fuzz=0 patching file src/3rdparty/chromium/third_party/catapult/common/py_vulcanize/py_vulcanize/generate.py patching file src/webengine/module.pro Patch #32 (qtwebengine-skia-missing-includes.patch): + echo 'Patch #32 (qtwebengine-skia-missing-includes.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .skia-missing-includes --fuzz=0 patching file src/3rdparty/chromium/third_party/skia/src/utils/SkParseColor.cpp Patch #34 (qtwebengine-fix-build.patch): + echo 'Patch #34 (qtwebengine-fix-build.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .fix-build --fuzz=0 patching file src/3rdparty/chromium/base/debug/profiler.h patching file src/3rdparty/chromium/cc/trees/target_property.cc patching file src/3rdparty/chromium/device/base/synchronization/one_writer_seqlock.cc patching file src/3rdparty/chromium/extensions/common/constants.h patching file src/3rdparty/chromium/gpu/config/gpu_preferences.h patching file src/3rdparty/chromium/net/base/parse_number.h patching file src/3rdparty/chromium/pdf/document_attachment_info.h patching file src/3rdparty/chromium/ppapi/utility/completion_callback_factory_thread_traits.h patching file src/3rdparty/chromium/third_party/angle/src/common/angleutils.h patching file src/3rdparty/chromium/third_party/libgav1/src/src/utils/threadpool.cc patching file src/3rdparty/chromium/third_party/perfetto/src/trace_processor/importers/proto/proto_importer_module.h patching file src/3rdparty/chromium/ui/events/gesture_event_details.h patching file src/3rdparty/chromium/ui/gl/gl_surface_glx.cc patching file src/3rdparty/chromium/ui/gl/gl_surface_glx.h patching file src/3rdparty/chromium/v8/src/base/logging.h patching file src/core/browsing_data_remover_delegate_qt.h Patch #35 (qt5-qtwebengine-c99.patch): + echo 'Patch #35 (qt5-qtwebengine-c99.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .c99 --fuzz=0 patching file src/3rdparty/chromium/third_party/libsync/BUILD.gn patching file src/3rdparty/chromium/third_party/libsync/src/sync.c Patch #50 (0001-avcodec-x86-mathops-clip-constants-used-with-shift-i.patch): + echo 'Patch #50 (0001-avcodec-x86-mathops-clip-constants-used-with-shift-i.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .0001-avcodec-x86-mathops-clip-constants-used-with-shift-i --fuzz=0 patching file src/3rdparty/chromium/third_party/ffmpeg/libavcodec/x86/mathops.h Patch #51 (qtwebengine-icu-74.patch): + echo 'Patch #51 (qtwebengine-icu-74.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .icu-74 --fuzz=0 patching file src/3rdparty/chromium/third_party/blink/renderer/platform/text/text_break_iterator.cc Patch #60 (qtwebengine-ffmpeg5.patch): + echo 'Patch #60 (qtwebengine-ffmpeg5.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/3rdparty/chromium/media/ffmpeg/ffmpeg_common.h patching file src/3rdparty/chromium/media/filters/audio_file_reader.cc patching file src/3rdparty/chromium/media/filters/ffmpeg_audio_decoder.cc patching file src/3rdparty/chromium/media/filters/ffmpeg_demuxer.cc patching file src/3rdparty/chromium/media/filters/ffmpeg_glue.cc patching file src/3rdparty/chromium/media/filters/ffmpeg_video_decoder.cc patching file src/3rdparty/chromium/media/filters/media_file_checker.cc patching file src/3rdparty/chromium/third_party/webrtc/modules/video_coding/codecs/h264/h264_decoder_impl.cc + sed -i -e '/toolprefix = /d' -e 's/\${toolprefix}//g' src/3rdparty/chromium/build/toolchain/linux/BUILD.gn + cp -bv /usr/include/re2/filtered_re2.h /usr/include/re2/re2.h /usr/include/re2/set.h /usr/include/re2/stringpiece.h src/3rdparty/chromium/third_party/re2/src/re2/ '/usr/include/re2/filtered_re2.h' -> 'src/3rdparty/chromium/third_party/re2/src/re2/filtered_re2.h' (backup: 'src/3rdparty/chromium/third_party/re2/src/re2/filtered_re2.h~') '/usr/include/re2/re2.h' -> 'src/3rdparty/chromium/third_party/re2/src/re2/re2.h' (backup: 'src/3rdparty/chromium/third_party/re2/src/re2/re2.h~') '/usr/include/re2/set.h' -> 'src/3rdparty/chromium/third_party/re2/src/re2/set.h' (backup: 'src/3rdparty/chromium/third_party/re2/src/re2/set.h~') '/usr/include/re2/stringpiece.h' -> 'src/3rdparty/chromium/third_party/re2/src/re2/stringpiece.h' (backup: 'src/3rdparty/chromium/third_party/re2/src/re2/stringpiece.h~') + cp -p src/3rdparty/chromium/LICENSE LICENSE.Chromium + '[' '!' -f ./include/QtWebEngineCore/qtwebenginecoreglobal.h ']' + test -f ./include/QtWebEngineCore/qtwebenginecoreglobal.h + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.PFbBbF + 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 -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/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 -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 -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/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 qtwebengine-everywhere-src-5.15.16 ++ pwd + export PATH=/builddir/build/BUILD/qtwebengine-everywhere-src-5.15.16/python2/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PATH=/builddir/build/BUILD/qtwebengine-everywhere-src-5.15.16/python2/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin ++ pwd + export LD_LIBRARY_PATH=:/builddir/build/BUILD/qtwebengine-everywhere-src-5.15.16/python2/usr/lib64 + LD_LIBRARY_PATH=:/builddir/build/BUILD/qtwebengine-everywhere-src-5.15.16/python2/usr/lib64 + export STRIP=strip + STRIP=strip + export 'NINJAFLAGS=-v -j32' + NINJAFLAGS='-v -j32' + export NINJA_PATH=/usr/bin/ninja + NINJA_PATH=/usr/bin/ninja + /usr/lib64/qt5/bin/qmake 'QMAKE_CFLAGS_DEBUG=-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' 'QMAKE_CFLAGS_RELEASE=-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' 'QMAKE_CXXFLAGS_DEBUG=-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' 'QMAKE_CXXFLAGS_RELEASE=-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' 'QMAKE_LFLAGS_DEBUG=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' 'QMAKE_LFLAGS_RELEASE=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' QMAKE_STRIP= CONFIG+=force_debug_info 'CONFIG+=link_pulseaudio use_gold_linker' 'QMAKE_EXTRA_ARGS+=-system-webengine-ffmpeg -system-webengine-webp -system-webengine-opus' QMAKE_EXTRA_ARGS+=-webengine-kerberos QMAKE_EXTRA_ARGS+=-system-webengine-icu . Info: creating stash file /builddir/build/BUILD/qtwebengine-everywhere-src-5.15.16/.qmake.stash Info: creating cache file /builddir/build/BUILD/qtwebengine-everywhere-src-5.15.16/.qmake.cache Running configuration tests... Checking for architecture supported... yes Checking for bison... yes Checking for submodule initialized... yes Checking for build path without whitespace... yes Checking for platform supported... Checking for gperf... yes Checking for flex... yes Checking for python2... Checking for host pkg-config... /usr/bin/pkg-config Checking for jumbo build merge limit... 8 Checking for node.js... true Checking for linker supports -z noexecstack... yes Checking for x11... yes Checking for libdrm... yes Checking for xcomposite... yes Checking for xcursor... yes Checking for xi... yes Checking for xproto (glproto)... yes Checking for xtst... yes Checking for xkbfile... yes Checking for d-bus... yes Checking for libavcodec libavformat libavutil... yes Checking for opus... yes Checking for libwebp, libwebpmux and libwebpdemux... yes Checking for fontconfig... yes Checking for freetype >= 2.4.2... yes Checking for glib-2.0 >= 2.32.0... yes Checking for glibc > 2.16... yes Checking for harfbuzz >= 2.4.0... yes Checking for icu >= 65... yes Checking for compatible jpeglib... yes Checking for khr... yes Checking for lcms2... yes Checking for libevent... yes Checking for libvpx... yes Checking for compatible libxml2 and libxslt... no Checking for minizip... no Checking for system ninja... yes Checking for nss >= 3.26... yes Checking for libpng >= 1.6.0... yes Checking for re2... yes Checking for snappy... yes Checking for zlib... yes Checking for compatible ffmpeg... no WARNING: Python version 2 (2.7.5 or later) is required to build QtWebEngine. WARNING: Python version 2 (2.7.5 or later) is required to build QtPdf. WARNING: QtWebEngine will not be built. WARNING: QtPdf will not be built. ERROR: Unmodified ffmpeg >= 5.0 is not supported. Please configure with -qt-webengine-ffmpeg. RPM build warnings: RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.PFbBbF (%build) %patchN is deprecated (15 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.PFbBbF (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/qt5-qtwebengine.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/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 /builddir/build/SPECS/qt5-qtwebengine.spec