Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 868483 - =net-analyzer/nmap-7.93: fails to build with USE="ncat": undefined reference to `EVP_MD_CTX_create'
Summary: =net-analyzer/nmap-7.93: fails to build with USE="ncat": undefined reference ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sam James
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-04 18:12 UTC by Petr Šabata
Modified: 2022-09-09 01:41 UTC (History)
4 users (show)

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


Attachments
build.log (build.log,90.55 KB, text/plain)
2022-09-04 18:13 UTC, Petr Šabata
Details
emerge --info (emerge.info.txt,18.02 KB, text/plain)
2022-09-04 18:14 UTC, Petr Šabata
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Šabata 2022-09-04 18:12:18 UTC
Building 7.93 with USE="ncat" fails to build with the following errors:

/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: http_digest.o: in function `make_nonce':
http_digest.c:(.text+0x124): undefined reference to `EVP_MD_CTX_create'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: http_digest.o: in function `make_response':
http_digest.c:(.text+0x249): undefined reference to `EVP_MD_CTX_create'
collect2: error: ld returned 1 exit status

Reproducible: Always

Steps to Reproduce:
1. Build nmap-7.93 with USE="ncat"
Actual Results:  
The build fails.

Expected Results:  
The build completes, just like earlier versions.
Comment 1 Petr Šabata 2022-09-04 18:13:20 UTC
Created attachment 803218 [details]
build.log
Comment 2 Petr Šabata 2022-09-04 18:14:54 UTC
Created attachment 803221 [details]
emerge --info
Comment 3 Larry the Git Cow gentoo-dev 2022-09-04 23:56:07 UTC
The bug has been closed via the following commit(s):

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

commit e86f2d6edad50bc23e970dd413171d28ff54ba65
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-09-04 23:55:46 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-09-04 23:55:46 +0000

    net-analyzer/nmap: fix build with < OpenSSL 3; don't automagically detect python2
    
    Closes: https://bugs.gentoo.org/868483
    Signed-off-by: Sam James <sam@gentoo.org>

 net-analyzer/nmap/nmap-7.93.ebuild | 17 +++++++++++++++--
 net-analyzer/nmap/nmap-9999.ebuild | 17 +++++++++++++++--
 2 files changed, 30 insertions(+), 4 deletions(-)
Comment 4 Larry the Git Cow gentoo-dev 2022-09-09 01:41:19 UTC
The bug has been referenced in the following commit(s):

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

commit c63cfea0ac092bf463d6a13ae976fa788f548378
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-09-09 01:26:36 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-09-09 01:41:12 +0000

    net-analyzer/nmap: use upstream patch for < OpenSSL 3
    
    Bug: https://bugs.gentoo.org/868483
    Signed-off-by: Sam James <sam@gentoo.org>

 .../nmap/files/nmap-7.93-openssl-1.1.patch         | 287 +++++++++++++++++++++
 net-analyzer/nmap/nmap-7.93.ebuild                 |   7 +-
 net-analyzer/nmap/nmap-9999.ebuild                 |   6 +-
 3 files changed, 290 insertions(+), 10 deletions(-)