RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2001430 - net-snmp: FTBFS due to use of ERR_GET_FUNC (which was removed from OpenSSL)
Summary: net-snmp: FTBFS due to use of ERR_GET_FUNC (which was removed from OpenSSL)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: net-snmp
Version: CentOS Stream
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Josef Ridky
QA Contact: Evgeny Fedin
URL:
Whiteboard:
Depends On:
Blocks: 2004351
TreeView+ depends on / blocked
 
Reported: 2021-09-06 06:11 UTC by Florian Weimer
Modified: 2022-05-17 13:16 UTC (History)
2 users (show)

Fixed In Version: net-snmp-5.9.1-7.el9
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 2004351 (view as bug list)
Environment:
Last Closed: 2022-05-17 12:55:46 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
build.log (271.05 KB, text/plain)
2021-09-06 06:11 UTC, Florian Weimer
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-96270 0 None None None 2021-09-06 06:12:56 UTC
Red Hat Product Errata RHBA-2022:2421 0 None None None 2022-05-17 12:55:50 UTC

Description Florian Weimer 2021-09-06 06:11:36 UTC
Created attachment 1820753 [details]
build.log

During the a rebuild of net-snmp-5.9.1-6.el9, the sources try to use the non-existing ERR_GET_FUNC function:

snmp_openssl.c: In function 'netsnmp_openssl_err_log':
snmp_openssl.c:949:36: warning: implicit declaration of function 'ERR_GET_FUNC'; did you mean 'ERR_GET_LIB'? [-Wimplicit-function-declaration]
  949 |                  ERR_GET_LIB(err), ERR_GET_FUNC(err), ERR_GET_REASON(err));
      |                                    ^~~~~~~~~~~~
      |                                    ERR_GET_LIB

This leads to a link failure later:

/usr/bin/ld: /tmp/ccKI9GVH.ltrans6.ltrans.o: in function `netsnmp_openssl_err_log':
/builddir/build/BUILD/net-snmp-5.9.1/snmplib/snmp_openssl.c:948: undefined reference to `ERR_GET_FUNC'
/usr/bin/ld: /builddir/build/BUILD/net-snmp-5.9.1/snmplib/snmp_openssl.c:948: undefined reference to `ERR_GET_FUNC'

The function has been removed without a replacement because function numbers have been removed from OpenSSL. It should be sufficient to adjust the error reporting so that the function number is no longer included.

Comment 1 Josef Ridky 2021-09-10 07:23:27 UTC
Fixed in upstream https://github.com/net-snmp/net-snmp/issues/343

Comment 7 errata-xmlrpc 2022-05-17 12:55:46 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (new packages: net-snmp), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:2421


Note You need to log in before you can comment on or make changes to this bug.