[Bug 283234] www/node22 fails linking with bundled OpenSSL

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 10 Dec 2024 08:20:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283234

            Bug ID: 283234
           Summary: www/node22 fails linking with bundled OpenSSL
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet@FreeBSD.org
          Reporter: jakub_lach@mailplus.pl
          Assignee: sunpoet@FreeBSD.org
             Flags: maintainer-feedback?(sunpoet@FreeBSD.org)

I use LibreSSL and node22 apparently needs OpenSSL or bundled one, the latter
one failed here:

ld: error: undefined symbol: sf_parser_init                                     
>>> referenced by nghttp3_http.c                                                                    
>>>               nghttp3_http.o:(nghttp3_http_parse_priority) in archive /usr/obj/usr/ports/www/n  ode22/work/node-v22.11.0/out/Release/obj.target/deps/ngtcp2/libnghttp3.a                            
>>> referenced by nghttp3_http.c                                                                    
>>>               nghttp3_http.o:(nghttp3_pri_parse_priority_versioned) in archive /usr/obj/usr/po  rts/www/node22/work/node-v22.11.0/out/Release/obj.target/deps/ngtcp2/libnghttp3.a                   

ld: error: undefined symbol: sf_parser_dict                                     
>>> referenced by nghttp3_http.c                                                                    
>>>               nghttp3_http.o:(nghttp3_http_parse_priority) in archive /usr/obj/usr/ports/www/n  ode22/work/node-v22.11.0/out/Release/obj.target/deps/ngtcp2/libnghttp3.a                            
>>> referenced by nghttp3_http.c                                                                    
>>>               nghttp3_http.o:(nghttp3_pri_parse_priority_versioned) in archive /usr/obj/usr/po  rts/www/node22/work/node-v22.11.0/out/Release/obj.target/deps/ngtcp2/libnghttp3.a                   
c++: error: linker command failed with exit code 1 (use -v to see invocation)   
gmake[1]: *** [cctest.target.mk:330:
/usr/obj/usr/ports/www/node22/work/node-v22.11.0/out/Release/  cctest] Error 1  
gmake[1]: *** Waiting for unfinished jobs....                                   
rm 5bda9552c35c04503c585dbf01264b5174b73661.intermediate
d979ef214e9e798e17fabfc04a7960020236eb0b.  intermediate
8e425e5269db2e3e0eed4ef9fc8bc05833dfa5e7.intermediate
cad4e9dae6e0e1aad7519002b9011f0  813e50e3a.intermediate

-- 
You are receiving this mail because:
You are the assignee for the bug.