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-cjs-module-lexer.spec'], chrootPath='/var/lib/mock/f39-build-2100141-50449/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=982gid=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-cjs-module-lexer.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=1703116800 Wrote: /builddir/build/SRPMS/nodejs-cjs-module-lexer-1.2.3-1.fc39.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-cjs-module-lexer.spec'], chrootPath='/var/lib/mock/f39-build-2100141-50449/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=982gid=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-cjs-module-lexer.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=1703116800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.n21T8Z + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cjs-module-lexer-1.2.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/cjs-module-lexer-1.2.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd cjs-module-lexer-1.2.3 + rm -rf /builddir/build/BUILD/cjs-module-lexer-1.2.3-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/cjs-module-lexer-1.2.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-cjs-module-lexer-1.2.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-parametrize-wasm-compilation-process.patch + /usr/bin/git am --reject -q Checking patch Makefile... Applied patch Makefile cleanly. + cp -p /builddir/build/SOURCES/cjs-module-lexer-1.2.3-bundled-licenses.txt . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.WqJ5Ty + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -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 cjs-module-lexer-1.2.3 + rm -rf lib/lexer.wasm + tar -xzf /builddir/build/SOURCES/cjs-module-lexer-1.2.3-nm-dev.tgz + ln -rsf node_modules_dev node_modules + /usr/bin/make -O -j64 V=1 VERBOSE=1 -j1 WASM_CC=clang 'WASM_CFLAGS=--target=wasm32-wasi --sysroot=/usr/wasm32-wasi' 'WASM_LDFLAGS=-nostartfiles -nodefaultlibs -lc' clean lib/lexer.wasm rm -f lib/* clang --target=wasm32-wasi --sysroot=/usr/wasm32-wasi -I include-wasm/ -Wno-logical-op-parentheses -Wno-parentheses -Oz \ src/lexer.c -o lib/lexer.wasm \ -nostartfiles -nodefaultlibs -lc -Wl,-z,stack-size=13312,--no-entry,--compress-relocations,--strip-all -Wl,--export=__heap_base,--export=parseCJS,--export=sa -Wl,--export=e,--export=re,--export=es,--export=ee -Wl,--export=rre,--export=ree,--export=res,--export=ru,--export=us,--export=ue + npm --offline run build > cjs-module-lexer@1.2.3 build > node build.js && babel dist/lexer.mjs | terser -o dist/lexer.js + npm --offline pack npm notice npm notice πŸ“¦ cjs-module-lexer@1.2.3 npm notice === Tarball Contents === npm notice 1.1kB LICENSE npm notice 14.1kB README.md npm notice 33.3kB dist/lexer.js npm notice 33.3kB dist/lexer.mjs npm notice 192B lexer.d.ts npm notice 53.6kB lexer.js npm notice 1.4kB package.json npm notice === Tarball Details === npm notice name: cjs-module-lexer npm notice version: 1.2.3 npm notice filename: cjs-module-lexer-1.2.3.tgz npm notice package size: 43.8 kB npm notice unpacked size: 136.8 kB npm notice shasum: 6e11bb473f733c95e7b462a253a9f2a0ffad5ae9 npm notice integrity: sha512-Miivd7DSBOTRH[...]fiotpaRa4gW7g== npm notice total files: 7 npm notice cjs-module-lexer-1.2.3.tgz + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Nnv8B9 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/nodejs-cjs-module-lexer-1.2.3-1.fc39.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/nodejs-cjs-module-lexer-1.2.3-1.fc39.noarch ++ dirname /builddir/build/BUILDROOT/nodejs-cjs-module-lexer-1.2.3-1.fc39.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/nodejs-cjs-module-lexer-1.2.3-1.fc39.noarch + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -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 cjs-module-lexer-1.2.3 + mkdir -p /builddir/build/BUILDROOT/nodejs-cjs-module-lexer-1.2.3-1.fc39.noarch/usr/lib/node_modules_20/cjs-module-lexer + tar --strip-components=1 -xzf cjs-module-lexer-1.2.3.tgz -C /builddir/build/BUILDROOT/nodejs-cjs-module-lexer-1.2.3-1.fc39.noarch/usr/lib/node_modules_20/cjs-module-lexer + /usr/bin/find-debuginfo -j64 --strict-build-id -m -i --build-id-seed 1.2.3-1.fc39 --unique-debug-suffix -1.2.3-1.fc39.noarch --unique-debug-src-base nodejs-cjs-module-lexer-1.2.3-1.fc39.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/cjs-module-lexer-1.2.3 find-debuginfo: starting Extracting debug info from 0 files Creating .debug symlinks for symlinks to ELF files find: β€˜debug’: No such file or directory find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./usr/lib/node_modules_20/cjs-module-lexer/LICENSE is executable but has no shebang, removing executable bit *** WARNING: ./usr/lib/node_modules_20/cjs-module-lexer/lexer.js is executable but has no shebang, removing executable bit *** WARNING: ./usr/lib/node_modules_20/cjs-module-lexer/README.md is executable but has no shebang, removing executable bit *** WARNING: ./usr/lib/node_modules_20/cjs-module-lexer/lexer.d.ts is executable but has no shebang, removing executable bit + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j64 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Sg1nmO + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -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 cjs-module-lexer-1.2.3 + /usr/bin/node -e 'require("./")' + /usr/lib/rpm/nodejs-symlink-deps /usr/lib/node_modules_20 --check /usr/lib/rpm/nodejs-symlink-deps:82: SyntaxWarning: invalid escape sequence '\^' depver = re.sub('^ *(~|\^|=|>=|<=) *', '', ver).split('.')[0] WARNING: node_modules already exists. Make sure you have no bundled dependencies. + npm --offline run test > cjs-module-lexer@1.2.3 test > npm run test-wasm && npm run test-js > cjs-module-lexer@1.2.3 test-wasm > WASM=1 mocha -b -u tdd test/*.js Lexer βœ” esbuild hint style βœ” Getter opt-outs βœ” TypeScript reexports βœ” Rollup Babel reexport getter βœ” Rollup Babel reexports βœ” module exports reexport spread βœ” Regexp case βœ” Regexp division βœ” Multiline string escapes βœ” Dotted number βœ” Division operator case βœ” Single parse cases βœ” shebang βœ” module.exports βœ” non-identifiers βœ” Literal exports βœ” Literal exports unsupported βœ” Literal exports example βœ” Literal exports complex βœ” defineProperty value βœ” module assign βœ” Single parse cases βœ” Simple export with unicode conversions βœ” Simple import βœ” Exported function βœ” Export destructuring βœ” Minified import syntax βœ” plus plus division βœ” return bracket division βœ” import.meta βœ” import meta edge cases βœ” dynamic import method βœ” Comments βœ” Bracket matching βœ” Division / Regex ambiguity βœ” Template string expression ambiguity Samples βœ” Self test error: Bad exit status from /var/tmp/rpm-tmp.Sg1nmO (%check) Bad exit status from /var/tmp/rpm-tmp.Sg1nmO (%check) RPM build errors: 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-cjs-module-lexer.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-cjs-module-lexer.spec