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)



On Sat, 13 Sep 2025, Leonardo Taccari wrote:

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.

Yup.   Build succeeds with yesterday's HEAD.  Thanks!


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>

+---------------------+--------------------------+----------------------+
| Paul Goyette (.sig) | PGP Key fingerprint:     | E-mail addresses:    |
| (Retired)           | 1B11 1849 721C 56C8 F63A | paul%whooppee.com@localhost    |
| Software Developer  | 6E2E 05FD 15CE 9F2D 5102 | pgoyette%netbsd.org@localhost  |
| & Network Engineer  |                          | pgoyette99%gmail.com@localhost |
+---------------------+--------------------------+----------------------+


Home | Main Index | Thread Index | Old Index