Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/nodejs-undici.spec'], chrootPath='/var/lib/mock/f40-build-2434743-60753/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/nodejs-undici.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: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1708473600 Wrote: /builddir/build/SRPMS/nodejs-undici-5.28.3-1.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/nodejs-undici.spec'], chrootPath='/var/lib/mock/f40-build-2434743-60753/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/nodejs-undici.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: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1708473600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6yUINo + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf undici-5.28.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/undici-5.28.3-stripped.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd undici-5.28.3 + rm -rf /builddir/build/BUILD/undici-5.28.3-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/undici-5.28.3-SPECPARTS + /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 'nodejs-undici-5.28.3 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/0001-feat-allow-customization-of-build-environment.patch + /usr/bin/git am --reject -q Checking patch build/wasm.js... Applied patch build/wasm.js cleanly. + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-Support-building-for-externally-shared-js-builtins-2.patch + /usr/bin/git am --reject -q Checking patch CONTRIBUTING.md... Checking patch build/wasm.js... Checking patch lib/client.js... Checking patch package.json... Applied patch CONTRIBUTING.md cleanly. Applied patch build/wasm.js cleanly. Applied patch lib/client.js cleanly. Applied patch package.json cleanly. + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-chore-refine-esbuild-node-detection.patch + /usr/bin/git am --reject -q Checking patch build/wasm.js... Checking patch lib/fetch/index.js... Applied patch build/wasm.js cleanly. Applied patch lib/fetch/index.js cleanly. + cp -p /builddir/build/SOURCES/undici-5.28.3-bundled-licenses.txt . + grep -q 'LLHTTP_VERSION_MAJOR 8' deps/llhttp/include/llhttp.h + grep -q 'LLHTTP_VERSION_MINOR 1' deps/llhttp/include/llhttp.h + grep -q 'LLHTTP_VERSION_PATCH 0' deps/llhttp/include/llhttp.h + mkdir -p node_modules/.bin/ + tar -xzf /builddir/build/SOURCES/undici-5.28.3-nm-prod.tgz + ln -srt node_modules/ node_modules_prod/@aashutoshrathi node_modules_prod/@ampproject node_modules_prod/@asamuzakjp node_modules_prod/@assemblyscript node_modules_prod/@babel node_modules_prod/@bcoe node_modules_prod/@eslint node_modules_prod/@eslint-community node_modules_prod/@fastify node_modules_prod/@graphql-tools node_modules_prod/@hapi node_modules_prod/@httptoolkit node_modules_prod/@humanwhocodes node_modules_prod/@istanbuljs node_modules_prod/@jest node_modules_prod/@jridgewell node_modules_prod/@leichtgewicht node_modules_prod/@nodelib node_modules_prod/@sideway node_modules_prod/@sinclair node_modules_prod/@sindresorhus node_modules_prod/@sinonjs node_modules_prod/@szmarczak node_modules_prod/@tootallnate node_modules_prod/@tsd node_modules_prod/@types node_modules_prod/@ungap + ln -srt node_modules/.bin/ node_modules_prod/.bin + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.WMMJ4K + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd undici-5.28.3 + export WASM_CC=clang + WASM_CC=clang + export 'WASM_CFLAGS=--target=wasm32-wasi --sysroot=/usr/wasm32-wasi' + WASM_CFLAGS='--target=wasm32-wasi --sysroot=/usr/wasm32-wasi' + export WASM_LDFLAGS=-nodefaultlibs + WASM_LDFLAGS=-nodefaultlibs + export WASM_LDLIBS=-lc + WASM_LDLIBS=-lc + env EXTERNAL_PATH=/usr/lib/node_modules_20/undici /usr/bin/node build/wasm.js /var/tmp/rpm-tmp.WMMJ4K: line 53: 226674 Segmentation fault (core dumped) env EXTERNAL_PATH='/usr/lib/node_modules_20/undici' /usr/bin/node build/wasm.js error: Bad exit status from /var/tmp/rpm-tmp.WMMJ4K (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.WMMJ4K (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/nodejs-undici.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 noarch --nodeps /builddir/build/SPECS/nodejs-undici.spec