Fwd: failure to compile: node22/24/25/26

Bob Melson <[email protected]> Fri, 29 May 2026 15:58:02 -0600
Newsgroups gmane.os.freebsd.questions
Organization Dept. of Paleocomputing, Whatsamatta U.
Message-ID <[email protected]>
Sent originally to [email protected] .. neglected to inclue this 
mailing list.

Anybody having similar problems w/node*  on 14.4?

TIA,
Bob Melson



-------- Forwarded Message --------
Subject: 	failure to compile: node22/24/25/26
Date: 	Wed, 27 May 2026 18:43:51 -0600
From: 	Bob Melson <[email protected]>
Organization: 	Dept. of Paleocomputing, Whatsamatta U.
To: 	[email protected]



All attempts to compile the subject node versions fail at the same point 
and with the same error.  On the other hand, node20 - soon to be EOL'd 
and removed - compiles and installs cleanly.  I don't know what the 
problem is - debugging unfamiliar code or make files is beyond my now 
rusty abilities.

If you have any thoughts/insights, I'd be most grateful.

uname -a:  FreeBSD strider 14.4-RELEASE-p5 FreeBSD 14.4-RELEASE-p5 
releng/14.4-n273711-069cb8961153 GENERIC amd64

TIA,
Bob Melson

ld: error: undefined symbol: sqlite3session_changeset
 >>> referenced by node_sqlite.cc
 >>>               node_sqlite.o:(void 
node::sqlite::Session::Changeset<&sqlite3session_changeset>(v8::FunctionCallbackInfo<v8::Value> 
const&)) in archive 
/usr/ports/www/node24/work/node-v24.16.0/out/Release/obj.target/libnode.a

ld: error: undefined symbol: sqlite3session_patchset
 >>> referenced by node_sqlite.cc
 >>>               node_sqlite.o:(void 
node::sqlite::Session::Changeset<&sqlite3session_patchset>(v8::FunctionCallbackInfo<v8::Value> 
const&)) in archive 
/usr/ports/www/node24/work/node-v24.16.0/out/Release/obj.target/libnode.a
c++: error: linker command failed with exit code 1 (use -v to see 
invocation)
gmake[1]: *** [embedtest.target.mk:198: 
/usr/ports/www/node24/work/node-v24.16.0/out/Release/embedtest] Error 1
gmake[1]: *** Waiting for unfinished jobs....
rm 
0422d7edf4c6caf3957c7291518e56b73e5632a3cadb6cd5c6a87de9bd71a49a.intermediate 
265b67cb76789a3b9232b1c8da2b4bd2c6da9628a9d0468597fcdda0870322be.intermediate 
fe563f9b84a440ac01e7ab7f221696325025712de81506aa9d2ecb094a9940c9.intermediate 
06ea1ad64201255d02e459fb08e2bc9f5c1db2a73c51d98b4f4f2039f164ce78.intermediate
gmake: *** [Makefile:143: node] Error 2
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped making 
"/usr/ports/www/node24/work/.stage_done.node._usr_local" in 
/usr/ports/www/node24
*** Error code 1

Stop.
make: stopped making "all" in /usr/ports/www/node24

-- 
Robert G. Melson | Rio Grande Microsolutions | El Paso, TX
--
A modern liberal is someone who doesn't care what you do, as long as
it's compulsory.  M. Stanton Evans