Summary: | net-mgmt/net-snmp: Failed: build | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Danny McGrath <danmcgrath.ca> |
Component: | Individual Port(s) | Assignee: | Ryan Steinmetz <zi> |
Status: | Closed Overcome By Events | ||
Severity: | Affects Only Me | Flags: | bugzilla:
maintainer-feedback?
(zi) |
Priority: | --- | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Danny McGrath
2020-02-03 21:17:32 UTC
What's in your make.conf? What OPTIONS do you have set for the port? About the only things that I would think are relevant would be: OPTIONS_SET+= ZTS GSSAPI_NONE OPTIONS_UNSET+= CUPS DBUS X11 DOCBOOK EXAMPLES KERBEROS PERFSCHEMA PERFSCHM GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT WAYLAND OPENGL XCB DEFAULT_VERSIONS+= ssl=openssl net-mgmt_zabbix4-proxy_UNSET+= PGSQL MYSQL net-mgmt_zabbix4-proxy_SET+= SQLITE I can only assume something with OpenSSL, and there were some peculiar OpenSSL 1.1.1d issues recently. Ideas? I had a chance do some some tests in a VM on fresh 11.3, and it appears that ssl=base and ssl=libressl build fine, as does an empty make.conf. It is specifically only ssl=openssl (and otherwise empty make.conf) that is failing. Hopefully this helps. (In reply to Danny McGrath from comment #3) This test was against 2020Q1, btw. Also interesting was that I was able to just compile fine against the same version in head. A quick look at the diff between 2020Q1 and head shows: svn diff https://svn.freebsd.org/ports/branches/2020Q1/net-mgmt/net-snmp https://svn.freebsd.org/ports/head/net-mgmt/net-snmp Index: Makefile =================================================================== --- Makefile (.../branches/2020Q1/net-mgmt/net-snmp) (revision 526437) +++ Makefile (.../head/net-mgmt/net-snmp) (revision 526437) @@ -74,7 +74,7 @@ .include <bsd.port.options.mk> -.if (${OSVERSION} >= 1200085 || ${SSL_DEFAULT:Mopenssl111*}) +.if (${OPSYS} == FreeBSD && ${OSVERSION} >= 1200085) || ${SSL_DEFAULT:Mopenssl} EXTRA_PATCHES= ${PATCHDIR}/extra-patch-openssl11 .endif @@ -249,7 +249,7 @@ ${WRKSRC}/agent/mibgroup/host/hr_system.c @${REINPLACE_CMD} -E -e 's|return pci_lookup_name|disabled broken|g' \ ${WRKSRC}/configure -.if (${OSVERSION} >= 1200085 || ${SSL_DEFAULT:Mopenssl111*}) +.if (${OPSYS} == FreeBSD && ${OSVERSION} >= 1200085) || ${SSL_DEFAULT:Mopenssl} @${REINPLACE_CMD} -E -e 's|SSL_library_init|OPENSSL_init_ssl|g' \ ${WRKSRC}/configure .endif I do recall that there was a change over for the package that renamed the openssl111 package back to openssl, if that helps. A quick recompile with the head changes applied to 2020Q1 seems to work here. Any chance this can be merged to 2020Q1? It is currently holding up some zabbix-proxy ports for me, and I prefer not to edit upstream, if I can help it. |