nmap: depend on libpcre2 not libpcre
PATCH 1/1 nmap: depend on libpcre2 not libpcre
* switched to libpcre2 in:
https://github.com/nmap/nmap/commit/828ab48764b82d0226e860c73c5dac5b11f77385
* in builds hwere libpcre2 isn't pulled by some other dependency it was failing with:
| service_scan.h:74:10: fatal error: pcre2.h: No such file or directory | 74 | #include <pcre2.h> | | ^~~~~~~~~|
--- meta-oe/recipes-security/nmap/nmap_7.95.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-security/nmap/nmap_7.95.bb +1 -1
@@ -17,7 +17,7 @@ inherit autotools-brokensep pkgconfig python3native PACKAGECONFIG ?= "pcre ncat nping pcap" PACKAGECONFIG[pcap] = "--with-pcap=linux, --without-pcap, libpcap, libpcap" -PACKAGECONFIG[pcre] = "--with-libpcre=${STAGING_LIBDIR}/.., --with-libpcre=included, libpcre" +PACKAGECONFIG[pcre] = "--with-libpcre=${STAGING_LIBDIR}/.., --with-libpcre=included, libpcre2" PACKAGECONFIG[ssl] = "--with-openssl=${STAGING_LIBDIR}/.., --without-openssl, openssl, openssl" PACKAGECONFIG[ssh2] = "--with-openssh2=${STAGING_LIBDIR}/.., --without-openssh2, libssh2, libssh2" PACKAGECONFIG[libz] = "--with-libz=${STAGING_LIBDIR}/.., --without-libz, zlib, zlib"
Signature · 1 line
2.46.0
this exposes an issue, when linking with lld linker ends up with
riscv64-yoe-linux-ld.lld: error: unable to find library -lpcre2-8
Quoted 37 lines · Martin Jansa via lists.openembedded.org
* switched to libpcre2 in:
https://github.com/nmap/nmap/commit/828ab48764b82d0226e860c73c5dac5b11f77385* in builds hwere libpcre2 isn't pulled by some other dependency it was failing with:
| service_scan.h:74:10: fatal error:pcre2.h: No such file or directory | 74 | #include <pcre2.h> | | ^~~~~~~~~|Signed-off-by Martin Jansa <[email protected]>--- meta-oe/recipes-security/nmap/nmap_7.95.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta-oe/recipes-security/nmap/nmap_7.95.bb +1
-2@@ -17,7 +17,7 @@ inherit autotools-brokensep pkgconfig python3native PACKAGECONFIG ?= "pcre ncat nping pcap" PACKAGECONFIG[pcap] = "--with-pcap=linux, --without-pcap, libpcap, libpcap" -PACKAGECONFIG[pcre] = "--with-libpcre=${STAGING_LIBDIR}/.., --with-libpcre=included, libpcre" +PACKAGECONFIG[pcre] = "--with-libpcre=${STAGING_LIBDIR}/.., --with-libpcre=included, libpcre2" PACKAGECONFIG[ssl] = "--with-openssl=${STAGING_LIBDIR}/.., --without-openssl, openssl, openssl" PACKAGECONFIG[ssh2] = "--with-openssh2=${STAGING_LIBDIR}/.., --without-openssh2, libssh2, libssh2" PACKAGECONFIG[libz] = "--with-libz=${STAGING_LIBDIR}/.., --without-libz, zlib, zlib" --2.46.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#112233): https://lists.openembedded.org/g/openembedded-devel/message/112233
Mute This Topic: https://lists.openembedded.org/mt/108376191/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Interesting, I was building it fine with lld, will check what libpcre2 it has in RSS and on cmdline.
Quoted 45 lines · Khem Raj
this exposes an issue, when linking with lld linker ends up with
riscv64-yoe-linux-ld.lld: error: unable to find library -lpcre2-8
Quoted 37 lines · Martin Jansa via lists.openembedded.org
* switched to libpcre2 in:
https://github.com/nmap/nmap/commit/828ab48764b82d0226e860c73c5dac5b11f77385* in builds hwere libpcre2 isn't pulled by some other dependency it was failing with:
| service_scan.h:74:10: fatal error:pcre2.h: No such file or directory | 74 | #include <pcre2.h> | | ^~~~~~~~~|Signed-off-by Martin Jansa <[email protected]>--- meta-oe/recipes-security/nmap/nmap_7.95.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta-oe/recipes-security/nmap/nmap_7.95.bb +1
-2@@ -17,7 +17,7 @@ inherit autotools-brokensep pkgconfig python3native PACKAGECONFIG ?= "pcre ncat nping pcap" PACKAGECONFIG[pcap] = "--with-pcap=linux, --without-pcap, libpcap, libpcap" -PACKAGECONFIG[pcre] = "--with-libpcre=${STAGING_LIBDIR}/.., --with-libpcre=included, libpcre" +PACKAGECONFIG[pcre] = "--with-libpcre=${STAGING_LIBDIR}/.., --with-libpcre=included, libpcre2" PACKAGECONFIG[ssl] = "--with-openssl=${STAGING_LIBDIR}/.., --without-openssl, openssl, openssl" PACKAGECONFIG[ssh2] = "--with-openssh2=${STAGING_LIBDIR}/.., --without-openssh2, libssh2, libssh2" PACKAGECONFIG[libz] = "--with-libz=${STAGING_LIBDIR}/.., --without-libz, zlib, zlib" --2.46.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#112233): https://lists.openembedded.org/g/openembedded-devel/message/112233
Mute This Topic: https://lists.openembedded.org/mt/108376191/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
its on riscv64/clang19, this combo could be interesting
Quoted 50 lines · Martin Jansa
Interesting, I was building it fine with lld, will check what libpcre2 it has in RSS and on cmdline.
Quoted 45 lines · Khem Raj
this exposes an issue, when linking with lld linker ends up with
riscv64-yoe-linux-ld.lld: error: unable to find library -lpcre2-8
Quoted 37 lines · Martin Jansa via lists.openembedded.org
* switched to libpcre2 in:
https://github.com/nmap/nmap/commit/828ab48764b82d0226e860c73c5dac5b11f77385* in builds hwere libpcre2 isn't pulled by some other dependency it was failing with:
| service_scan.h:74:10: fatal error:pcre2.h: No such file or directory | 74 | #include <pcre2.h> | | ^~~~~~~~~|Signed-off-by Martin Jansa <[email protected]>--- meta-oe/recipes-security/nmap/nmap_7.95.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta-oe/recipes-security/nmap/nmap_7.95.bb +1
-2@@ -17,7 +17,7 @@ inherit autotools-brokensep pkgconfig python3native PACKAGECONFIG ?= "pcre ncat nping pcap" PACKAGECONFIG[pcap] = "--with-pcap=linux, --without-pcap, libpcap, libpcap" -PACKAGECONFIG[pcre] = "--with-libpcre=${STAGING_LIBDIR}/.., --with-libpcre=included, libpcre" +PACKAGECONFIG[pcre] = "--with-libpcre=${STAGING_LIBDIR}/.., --with-libpcre=included, libpcre2" PACKAGECONFIG[ssl] = "--with-openssl=${STAGING_LIBDIR}/.., --without-openssl, openssl, openssl" PACKAGECONFIG[ssh2] = "--with-openssh2=${STAGING_LIBDIR}/.., --without-openssh2, libssh2, libssh2" PACKAGECONFIG[libz] = "--with-libz=${STAGING_LIBDIR}/.., --without-libz, zlib, zlib" --2.46.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#112233): https://lists.openembedded.org/g/openembedded-devel/message/112233
Mute This Topic: https://lists.openembedded.org/mt/108376191/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-