Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/dcmtk.spec'], chrootPath='/var/lib/mock/dist-an23-epao-build-432924-73075/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=990gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.q03hlrpr:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.q03hlrpr:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '9e5f56c9baae47cabce0d3a8cf0fd0e3', '-D', '/var/lib/mock/dist-an23-epao-build-432924-73075/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.q03hlrpr:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/dcmtk.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1746835200 Wrote: /builddir/build/SRPMS/dcmtk-3.6.7-2.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/dcmtk.spec'], chrootPath='/var/lib/mock/dist-an23-epao-build-432924-73075/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=990gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.q03hlrpr:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.q03hlrpr:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '8ffb15f2e91d473384a0852e5ca4c110', '-D', '/var/lib/mock/dist-an23-epao-build-432924-73075/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.q03hlrpr:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/dcmtk.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1746835200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.GHxrNz + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dcmtk-3.6.7 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/dcmtk-3.6.7.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd dcmtk-3.6.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git config gc.auto 0 + /usr/bin/git add --force . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'dcmtk-3.6.7 base' + /usr/bin/git checkout --track -b rpm-build Switched to a new branch 'rpm-build' branch 'rpm-build' set up to track 'master'. + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0017-Increase-sleep-for-tests.patch + /usr/bin/git apply --index --reject -p1 - Checking patch dcmnet/tests/tscusession.cc... Checking patch dcmtls/tests/tscuscptls.cc... Applied patch dcmnet/tests/tscusession.cc cleanly. Applied patch dcmtls/tests/tscuscptls.cc cleanly. + /usr/bin/git commit -q -m 0017-Increase-sleep-for-tests.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0018-CVE-2022-43272-Fixed-memory-leak-in-single-process-mode.patch + /usr/bin/git apply --index --reject -p1 - Checking patch dcmqrdb/libsrc/dcmqrsrv.cc... Applied patch dcmqrdb/libsrc/dcmqrsrv.cc cleanly. + /usr/bin/git commit -q -m 0018-CVE-2022-43272-Fixed-memory-leak-in-single-process-mode.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0019-CVE-2024-27628.patch + /usr/bin/git apply --index --reject -p1 - :248: trailing whitespace. /* :249: trailing whitespace. * :250: trailing whitespace. * Copyright (C) 2024, OFFIS e.V. :251: trailing whitespace. * All rights reserved. See COPYRIGHT file for details. :252: trailing whitespace. * Checking patch dcmect/libsrc/enhanced_ct.cc... error: while searching for: #include "dcmtk/dcmect/types.h"? #include "dcmtk/dcmfg/concatenationcreator.h"? #include "dcmtk/dcmfg/concatenationloader.h"? #include "dcmtk/dcmiod/iodutil.h"? #include "dcmtk/dcmiod/modimagepixel.h"? ? error: patch failed: dcmect/libsrc/enhanced_ct.cc:27 error: while searching for: m_CT.getRows(rows);? m_CT.getColumns(cols);? const size_t numFrames = m_CT.m_Frames.size();? const size_t numBytesFrame = m_CT.m_Frames[0]->length;? const size_t numPixelsFrame = rows * cols;? // Creates the correct pixel data element, based on the image pixel module used.? DcmPixelData* pixData = new DcmPixelData(DCM_PixelData);? OFCondition result;? error: patch failed: dcmect/libsrc/enhanced_ct.cc:103 Checking patch dcmect/tests/CMakeLists.txt... error: while searching for: DCMTK_ADD_EXECUTABLE(dcmect_tests? tests.cc? t_huge_concat.cc? t_roundtrip.cc? )? ? error: patch failed: dcmect/tests/CMakeLists.txt:2 Checking patch dcmect/tests/Makefile.dep... error: while searching for: ../../dcmfg/include/dcmtk/dcmfg/fgplanor.h \? ../../dcmfg/include/dcmtk/dcmfg/fgplanpo.h \? ../../dcmfg/include/dcmtk/dcmfg/fgtemporalposition.h? t_roundtrip.o: t_roundtrip.cc \? ../../config/include/dcmtk/config/osconfig.h \? ../../ofstd/include/dcmtk/ofstd/ofmem.h \? error: patch failed: dcmect/tests/Makefile.dep:154 Checking patch dcmect/tests/Makefile.in... error: while searching for: -L$(oficonvdir)/libsrc? LOCALLIBS = -ldcmect -ldcmfg -ldcmiod -ldcmdata -loflog -lofstd -loficonv \? $(ZLIBLIBS) $(CHARCONVLIBS) $(MATHLIBS)? LOCALINCLUDES = -I$(top_srcdir)/include -I$(ofstddir)/include -I$(oflogdir)/include \? -I$(dcmdatadir)/include -I$(dcmioddir)/include -I$(dcmfgdir)/include? ? test_objs = tests.o t_huge_concat.o t_roundtrip.o? objs = $(test_objs)? progs = tests? ? error: patch failed: dcmect/tests/Makefile.in:24 Checking patch dcmect/tests/t_overflow.cc... Checking patch dcmect/tests/tests.cc... error: while searching for: /*? *? * Copyright (C) 2019, OFFIS e.V.? * All rights reserved. See COPYRIGHT file for details.? *? * This software and supporting documentation were developed by? error: patch failed: dcmect/tests/tests.cc:1 error: while searching for: #include "dcmtk/ofstd/oftest.h"? ? OFTEST_REGISTER(dcmect_huge_concat);? OFTEST_REGISTER(dcmect_roundtrip);? OFTEST_MAIN("dcmect")? error: patch failed: dcmect/tests/tests.cc:23 Applying patch dcmect/libsrc/enhanced_ct.cc with 2 rejects... Rejected hunk #1. Rejected hunk #2. Applying patch dcmect/tests/CMakeLists.txt with 1 reject... Rejected hunk #1. Applying patch dcmect/tests/Makefile.dep with 1 reject... Rejected hunk #1. Applying patch dcmect/tests/Makefile.in with 1 reject... Rejected hunk #1. RPM build errors: Applied patch dcmect/tests/t_overflow.cc cleanly. Applying patch dcmect/tests/tests.cc with 2 rejects... Rejected hunk #1. Rejected hunk #2. error: Bad exit status from /var/tmp/rpm-tmp.GHxrNz (%prep) Bad exit status from /var/tmp/rpm-tmp.GHxrNz (%prep) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 8ffb15f2e91d473384a0852e5ca4c110 -D /var/lib/mock/dist-an23-epao-build-432924-73075/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.q03hlrpr:/etc/resolv.conf --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/dcmtk.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 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 8ffb15f2e91d473384a0852e5ca4c110 -D /var/lib/mock/dist-an23-epao-build-432924-73075/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.q03hlrpr:/etc/resolv.conf --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/dcmtk.spec'