Date: Sun, 05 Jun 2022 07:37:53 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 264464] www/node: portmaster fails with dtrace: failed to compile script src/v8ustack.d: "/usr/lib/dtrace/psinfo.d", line 1: cannot translate from "struct thread *" to "lwpsinfo_t *" Message-ID: <bug-264464-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264464 Bug ID: 264464 Summary: www/node: portmaster fails with dtrace: failed to compile script src/v8ustack.d: "/usr/lib/dtrace/psinfo.d", line 1: cannot translate from "struct thread *" to "lwpsinfo_t *" Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: bhughes@freebsd.org Reporter: d8zNeCFG@aon.at Flags: maintainer-feedback?(bhughes@freebsd.org) Assignee: bhughes@freebsd.org Scenario: - FreeBSD 13.1 release amd64 - ports latest - Upgrading ports using portmaster - www/npm was installed, is being upgraded - build failed with above error - www/npm deinstalled - running "portmaster www/node" Result: - The build fails with ... c++ -o /usr/tmp/net/hal/z/SRC/FreeBSD/ports/MBi/main/www/node/work/node-v18.2.0/ou= t/Release/obj.target/v8_initializers/gen/torque-generated/src/debug/debug-w= asm-objects-tq-csa.o /usr/tmp/net/hal/z/SRC/FreeBSD/ports/MBi/main/www/node/work/node-v18.2.0/ou= t/Release/obj/gen/torque-generated/src/debug/debug-wasm-objects-tq-csa.cc '-D_GLIBCXX_USE_CXX11_ABI=3D1' '-DNODE_OPENSSL_CERT_STORE' '-DV8_GYP_BUILD' '-DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=3D64' '-D__STDC_FORMAT_MACROS' '-DV8_TARGET_ARCH_X64' '-DV8_EMBEDDER_STRING=3D"-node.13"' '-DENABLE_DISASSEMBLER' '-DV8_PROMISE_INTERNAL_FIELD_COUNT=3D1' '-DV8_SHORT_BUILTIN_CALLS' '-DOBJECT_PRINT' '-DV8_INTL_SUPPORT' '-DV8_ATOMIC_OBJECT_FIELD_WRITES' '-DV8_ENABLE_LAZY_SOURCE_POSITIONS' '-DV8_USE_SIPHASH' '-DV8_SHARED_RO_HEAP' '-DV8_WIN64_UNWINDING_INFO' '-DV8_ENABLE_REGEXP_INTERPRETER_THREADED_DISPATCH' '-DV8_SNAPSHOT_COMPRESSI= ON' '-DV8_ENABLE_WEBASSEMBLY' '-DV8_ENABLE_JAVASCRIPT_PROMISE_HOOKS' '-DV8_ALLOCATION_FOLDING' '-DV8_ALLOCATION_SITE_TRACKING' '-DV8_SCRIPTORMODULE_LEGACY_LIFETIME' '-DV8_ADVANCED_BIGINT_ALGORITHMS' -I../deps/v8 -I../deps/v8/include -I/usr/tmp/net/hal/z/SRC/FreeBSD/ports/MBi/main/www/node/work/node-v18.2.0/= out/Release/obj/gen -I/usr/tmp/net/hal/z/SRC/FreeBSD/ports/MBi/main/www/node/work/node-v18.2.0/= out/Release/obj/gen/generate-bytecode-output-root -pthread -Wno-unused-parameter -m64 -Wno-return-type -fno-strict-aliasing = -O3 -fno-omit-frame-pointer -fdata-sections -ffunction-sections -O3 -fno-rtti -fno-exceptions -std=3Dgnu++17 -MMD -MF /usr/tmp/net/hal/z/SRC/FreeBSD/ports/MBi/main/www/node/work/node-v18.2.0/ou= t/Release/.deps//usr/tmp/net/hal/z/SRC/FreeBSD/ports/MBi/main/www/node/work= /node-v18.2.0/out/Release/obj.target/v8_initializers/gen/torque-generated/s= rc/debug/debug-wasm-objects-tq-csa.o.d.raw -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -c c++ -o /usr/tmp/net/hal/z/SRC/FreeBSD/ports/MBi/main/www/node/work/node-v18.2.0/ou= t/Release/obj.target/v8_initializers/gen/torque-generated/src/wasm/wasm-obj= ects-tq-csa.o /usr/tmp/net/hal/z/SRC/FreeBSD/ports/MBi/main/www/node/work/node-v18.2.0/ou= t/Release/obj/gen/torque-generated/src/wasm/wasm-objects-tq-csa.cc '-D_GLIBCXX_USE_CXX11_ABI=3D1' '-DNODE_OPENSSL_CERT_STORE' '-DV8_GYP_BUILD' '-DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=3D64' '-D__STDC_FORMAT_MACROS' '-DV8_TARGET_ARCH_X64' '-DV8_EMBEDDER_STRING=3D"-node.13"' '-DENABLE_DISASSEMBLER' '-DV8_PROMISE_INTERNAL_FIELD_COUNT=3D1' '-DV8_SHORT_BUILTIN_CALLS' '-DOBJECT_PRINT' '-DV8_INTL_SUPPORT' '-DV8_ATOMIC_OBJECT_FIELD_WRITES' '-DV8_ENABLE_LAZY_SOURCE_POSITIONS' '-DV8_USE_SIPHASH' '-DV8_SHARED_RO_HEAP' '-DV8_WIN64_UNWINDING_INFO' '-DV8_ENABLE_REGEXP_INTERPRETER_THREADED_DISPATCH' '-DV8_SNAPSHOT_COMPRESSI= ON' '-DV8_ENABLE_WEBASSEMBLY' '-DV8_ENABLE_JAVASCRIPT_PROMISE_HOOKS' '-DV8_ALLOCATION_FOLDING' '-DV8_ALLOCATION_SITE_TRACKING' '-DV8_SCRIPTORMODULE_LEGACY_LIFETIME' '-DV8_ADVANCED_BIGINT_ALGORITHMS' -I../deps/v8 -I../deps/v8/include -I/usr/tmp/net/hal/z/SRC/FreeBSD/ports/MBi/main/www/node/work/node-v18.2.0/= out/Release/obj/gen -I/usr/tmp/net/hal/z/SRC/FreeBSD/ports/MBi/main/www/node/work/node-v18.2.0/= out/Release/obj/gen/generate-bytecode-output-root -pthread -Wno-unused-parameter -m64 -Wno-return-type -fno-strict-aliasing = -O3 -fno-omit-frame-pointer -fdata-sections -ffunction-sections -O3 -fno-rtti -fno-exceptions -std=3Dgnu++17 -MMD -MF /usr/tmp/net/hal/z/SRC/FreeBSD/ports/MBi/main/www/node/work/node-v18.2.0/ou= t/Release/.deps//usr/tmp/net/hal/z/SRC/FreeBSD/ports/MBi/main/www/node/work= /node-v18.2.0/out/Release/obj.target/v8_initializers/gen/torque-generated/s= rc/wasm/wasm-objects-tq-csa.o.d.raw -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -c =20 LD_LIBRARY_PATH=3D/usr/tmp/net/hal/z/SRC/FreeBSD/ports/MBi/main/www/node/wo= rk/node-v18.2.0/out/Release/lib.host:/usr/tmp/net/hal/z/SRC/FreeBSD/ports/M= Bi/main/www/node/work/node-v18.2.0/out/Release/lib.target:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH; cd ../.; mkdir -p /usr/tmp/net/hal/z/SRC/FreeBSD/ports/MBi/main/www/node/work/node-v18.2.0/ou= t/Release/obj.target/libnode/src; dtrace -64 "-I/usr/tmp/net/hal/z/SRC/FreeBSD/ports/MBi/main/www/node/work/node-v18.2.0= /out/Release/obj/gen" -Isrc -C -G -s src/v8ustack.d -o "/usr/tmp/net/hal/z/SRC/FreeBSD/ports/MBi/main/www/node/work/node-v18.2.0/o= ut/Release/obj.target/libnode/src/node_dtrace_ustack.o" dtrace: failed to compile script src/v8ustack.d: "/usr/lib/dtrace/psinfo.d", line 1: cannot translate from "struct thread *" to "lwpsinfo_t *" gmake[3]: *** [node_dtrace_ustack.target.mk:26: /usr/tmp/net/hal/z/SRC/FreeBSD/ports/MBi/main/www/node/work/node-v18.2.0/ou= t/Release/obj.target/libnode/src/node_dtrace_ustack.o] Error 1 gmake[3]: *** Waiting for unfinished jobs.... rm 493737673afba9fafdb5e28d49f70ab98c37eb02.intermediate 7c1d60abe8d27e2777da55811875d4d186958940.intermediate 4629dfeae40dbda28bda902b2c353e46c90105b0.intermediate gmake[2]: *** [Makefile:113: node] Error 2 gmake[2]: Leaving directory '/usr/tmp/net/hal/z/SRC/FreeBSD/ports/MBi/main/www/node/work/node-v18.2.0' =3D=3D=3D> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure = to the maintainer. *** Error code 1 Stop. make[1]: stopped in /net/hal/z/SRC/FreeBSD/ports/MBi/main/www/node *** Error code 1 Stop. make: stopped in /net/hal/z/SRC/FreeBSD/ports/MBi/main/www/node =3D=3D=3D>>> make build failed for www/node =3D=3D=3D>>> Aborting update =3D=3D=3D>>> You can restart from the point of failure with this command li= ne: portmaster <flags> www/node=20 This command has been saved to ~/portmasterfail.txt portmaster www/node 13613.60s user 457.85s system 376% cpu 1:02:14.98 total [1]#=20 Notes: - This only happens on 13.1 amd64. The following combinations work: 12.3 am= d64, 12.3 i386, 13.1 amd64. -- Martin --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264464-7788>