Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937837 - net-analyzer/nmap needs --with-libpcre=...
Summary: net-analyzer/nmap needs --with-libpcre=...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sam James
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-12 20:51 UTC by jospezial
Modified: 2024-09-01 22:23 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jospezial 2024-08-12 20:51:43 UTC
Commit
https://github.com/nmap/nmap/commit/c6ffdbf7ae35e397b663f787fc4934f01458f945
revealed a bug in our nmap ebuilds.

https://github.com/nmap/nmap/issues/2851#issuecomment-2282910081
"First, your logs indicate that you might be running configure with --with-pcre=/usr, while the correct option is --with-libpcre=/usr. So, to configure, it looks like you did not specify any location explicitly."


-               --with-pcre="${ESYSROOT}"/usr
+               --with-libpcre="${ESYSROOT}"/usr

I can confirm build works.
Comment 1 Larry the Git Cow gentoo-dev 2024-09-01 09:04:44 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16c922b4fd1d889ded3196b5aa37d6c9e511c8aa

commit 16c922b4fd1d889ded3196b5aa37d6c9e511c8aa
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-09-01 07:41:19 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-09-01 09:04:22 +0000

    net-analyzer/nmap: fix libpcre configure arg
    
    Not going to touch the older ebuilds as they work fine for now.
    
    Closes: https://bugs.gentoo.org/937837
    Signed-off-by: Sam James <sam@gentoo.org>

 net-analyzer/nmap/nmap-9999.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 2 jospezial 2024-09-01 22:23:49 UTC
Upstream also fixed their code.
https://github.com/nmap/nmap/commit/bef25962e7931b903d56b277f61ab3a0de9c00f5
"Improve tests for finding libpcre2. Close #2907, see #2851, see #2913

- Include definition of PCRE2_CODE_UNIT_WIDTH to allow the header test
  to compile correctly
- Add description to the definition of HAVE_PCRE2_PCRE2_H
  to prevent an autoheader missing template error"