[Bug 294112] security/nmap doesn't build in libpcre2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 29 Mar 2026 07:37:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294112
Bug ID: 294112
Summary: security/nmap doesn't build in libpcre2
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: cy@FreeBSD.org
Reporter: freebsd@oldach.net
Flags: maintainer-feedback?(cy@FreeBSD.org)
Assignee: cy@FreeBSD.org
nmap build post 7.99 update bails out while working on libpcre2, see below.
Why do we build the bundled libpcre2 anyway, when the port's Makefile has
LIB_DEPENDS=libpcre2-16.so:devel/pcre2? Both are pcre2 10.47. Likely Am I
missing the obvious?
......snip......
gmake[2]: Entering directory
'/usr/obj/usr/ports/security/nmap/work/nmap-7.99/libpcre'
CC src/libpcre2_8_la-pcre2_auto_possess.lo
CC src/libpcre2_8_la-pcre2_chkdint.lo
CC src/libpcre2_8_la-pcre2_compile.lo
CC src/libpcre2_8_la-pcre2_compile_cgroup.lo
CC src/libpcre2_8_la-pcre2_compile_class.lo
CC src/libpcre2_8_la-pcre2_config.lo
CC src/libpcre2_8_la-pcre2_context.lo
CC src/libpcre2_8_la-pcre2_convert.lo
CC src/libpcre2_8_la-pcre2_dfa_match.lo
CC src/libpcre2_8_la-pcre2_error.lo
CC src/libpcre2_8_la-pcre2_extuni.lo
CC src/libpcre2_8_la-pcre2_find_bracket.lo
CC src/libpcre2_8_la-pcre2_maketables.lo
CC src/libpcre2_8_la-pcre2_match.lo
CC src/libpcre2_8_la-pcre2_match_data.lo
CC src/libpcre2_8_la-pcre2_match_next.lo
CC src/libpcre2_8_la-pcre2_newline.lo
CC src/libpcre2_8_la-pcre2_ord2utf.lo
CC src/libpcre2_8_la-pcre2_pattern_info.lo
CC src/libpcre2_8_la-pcre2_script_run.lo
CC src/libpcre2_8_la-pcre2_serialize.lo
CC src/libpcre2_8_la-pcre2_string_utils.lo
CC src/libpcre2_8_la-pcre2_study.lo
CC src/libpcre2_8_la-pcre2_substitute.lo
CC src/libpcre2_8_la-pcre2_substring.lo
CC src/libpcre2_8_la-pcre2_tables.lo
CC src/libpcre2_8_la-pcre2_ucd.lo
CC src/libpcre2_8_la-pcre2_valid_utf.lo
CC src/libpcre2_8_la-pcre2_xclass.lo
CC src/libpcre2_8_la-pcre2_chartables.lo
CCLD libpcre2-8.la
ld: error: version script assignment of 'PCRE2_10.47' to symbol
'pcre2_jit_compile_8' failed: symbol not defined
ld: error: version script assignment of 'PCRE2_10.47' to symbol
'pcre2_jit_free_unused_memory_8' failed: symbol not defined
ld: error: version script assignment of 'PCRE2_10.47' to symbol
'pcre2_jit_match_8' failed: symbol not defined
ld: error: version script assignment of 'PCRE2_10.47' to symbol
'pcre2_jit_stack_assign_8' failed: symbol not defined
ld: error: version script assignment of 'PCRE2_10.47' to symbol
'pcre2_jit_stack_create_8' failed: symbol not defined
ld: error: version script assignment of 'PCRE2_10.47' to symbol
'pcre2_jit_stack_free_8' failed: symbol not defined
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[2]: *** [Makefile:1401: libpcre2-8.la] Error 1
gmake[2]: Leaving directory
'/usr/obj/usr/ports/security/nmap/work/nmap-7.99/libpcre'
gmake[1]: *** [Makefile:1058: all] Error 2
gmake[1]: Leaving directory
'/usr/obj/usr/ports/security/nmap/work/nmap-7.99/libpcre'
gmake: *** [Makefile:135: build-pcre] Error 2
*** Error code 1
Stop.
make[1]: stopped making
"/usr/obj/usr/ports/security/nmap/work/.package_done.nmap._usr_local" in
/usr/ports/security/nmap
*** Error code 1
Stop.
make: stopped making "package deinstall install-package clean" in
/usr/ports/security/nmap
--
You are receiving this mail because:
You are the assignee for the bug.