Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 887081 - net-analyzer/nmap: migrate to dev-libs/libpcre2
Summary: net-analyzer/nmap: migrate to dev-libs/libpcre2
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: 837980
  Show dependency tree
 
Reported: 2022-12-19 02:18 UTC by Greg Kubaryk
Modified: 2023-07-06 05:59 UTC (History)
0 users

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 Greg Kubaryk 2022-12-19 02:18:59 UTC
There does seem to be some upstream work on this.
Comment 1 jospezial 2023-07-06 05:42:29 UTC
https://github.com/nmap/nmap/commit/828ab48764b82d0226e860c73c5dac5b11f77385
"Upgrade libpcre to PCRE2 10.42. Windows/macOS builds not completed."

nmap-7.94-patches/0005-Drop-AC_CONFIG_SUBDIRS-usage.patch has to be rebased for 
net-analyzer/nmap-9999 .

 * Applying patches from /var/tmp/portage/net-analyzer/nmap-9999/work/nmap-7.94-patches ...
 *   0001-Don-t-recompile-Python-bytecode-unnecessarily.patch ...
 [ ok ]
 *   0002-Drop-uninstaller-from-zenmap.patch ...
 [ ok ]
 *   0003-Fix-AR-usage.patch ...
 [ ok ]
 *   0004-Respect-CXXFLAGS-in-all-Makefile-rules.patch ...
 [ ok ]
 *   0005-Drop-AC_CONFIG_SUBDIRS-usage.patch ...
patching file configure.ac
Hunk #2 FAILED at 537.
Hunk #3 succeeded at 615 (offset 1 line).
Hunk #4 succeeded at 700 (offset 1 line).
1 out of 4 hunks FAILED -- saving rejects to file configure.ac.rej
 [ !! ]
 * ERROR: net-analyzer/nmap-9999::gentoo failed (prepare phase):
 *   patch -p1  failed with /var/tmp/portage/net-analyzer/nmap-9999/work/nmap-7.94-patches/0005-Drop-AC_CONFIG_SUBDIRS-usage.patch
 * 
 * Call stack:
 *               ebuild.sh, line  136:  Called src_prepare
 *             environment, line 3581:  Called default
 *      phase-functions.sh, line  872:  Called default_src_prepare
 *      phase-functions.sh, line  948:  Called __eapi8_src_prepare
 *             environment, line  374:  Called eapply '--' '/var/tmp/portage/net-analyzer/nmap-9999/work/nmap-7.94-patches'
 *             environment, line 1607:  Called _eapply_patch '/var/tmp/portage/net-analyzer/nmap-9999/work/nmap-7.94-patches/0005-Drop-AC_CONFIG_SUBDIRS-usage.patch' '  '
 *             environment, line 1549:  Called __helpers_die 'patch -p1  failed with /var/tmp/portage/net-analyzer/nmap-9999/work/nmap-7.94-patches/0005-Drop-AC_CONFIG_SUBDIRS-usage.patch'
 *   isolated-functions.sh, line  112:  Called die
 * The specific snippet of code:
 *              die "$@"
Comment 2 Larry the Git Cow gentoo-dev 2023-07-06 05:59:34 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8aa9f0c823c3a569a512327be65cc9d039c89f32

commit 8aa9f0c823c3a569a512327be65cc9d039c89f32
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-07-06 05:58:16 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-07-06 05:58:54 +0000

    net-analyzer/nmap: port 9999 to libpcre2
    
    Closes: https://bugs.gentoo.org/887081
    Signed-off-by: Sam James <sam@gentoo.org>

 net-analyzer/nmap/Manifest         | 1 +
 net-analyzer/nmap/nmap-9999.ebuild | 6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)