pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lang/nodejs build error on NetbSD 11.99.2 (amd64)



Hello Paul,

Paul Goyette writes:
> building in a clean sandbox, and all dependencies rebuilt
> cleanly.  pkgsrc updated on 2025-09-13 at 02:45:15 UTC
> and host/build system rebuilt from NetBSD HEAD as of 2025-08-02
> at 23:50:41 UTC
>
> ../deps/ncrypto/ncrypto.cc:17:10: fatal error: openssl/thread.h: No such file or directory
>     17 | #include <openssl/thread.h>
>        |          ^~~~~~~~~~~~~~~~~~
> compilation terminated.
> gmake[1]: *** [deps/ncrypto/ncrypto.target.mk:85: /tmp/pkgs/lang/nodejs/work/node-v24.7.0/out/Release/obj.target/ncrypto/deps/ncrypto/ncrypto.o] Error 1
> [...]

I think that's because <openssl/thread.h> was not installed in
NetBSD-current before 2025-09-06.

Updating to a newer -current should fix that.

Please also see "nodejs-24.7 build fail on netbsd-11 - missing
openssl/thread.h" thread on tech-pkg@:

 <https://mail-index.NetBSD.org/tech-pkg/2025/09/05/msg031494.html>


Home | Main Index | Thread Index | Old Index