Date: Fri, 27 Oct 2023 10:57:22 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 274753] security/sudo fails to build on poudriere due to OpenSSL linker error Message-ID: <bug-274753-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274753 Bug ID: 274753 Summary: security/sudo fails to build on poudriere due to OpenSSL linker error Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: garga@FreeBSD.org Reporter: tburns@hrsd.com Assignee: garga@FreeBSD.org Flags: maintainer-feedback?(garga@FreeBSD.org) This is failing to build for me on amd64 FreeBSD 13.2 using Poudriere. It appears to be related to OpenSSL 3 being pulled in from a dependency. Most likely sssd or OpenLDAP. Relevant build log output: [00:04:07] /bin/sh ../libtool --tag=3Ddisable-static --mode=3Dlink cc -o sudo_sendlog logsrv_util.o sendlog.o tls_client.o tls_init.o -lgcc -fstack-protector-strong -Wl,--enable-new-dtags -Wl,--allow-multiple-definition -Wc,-fstack-protector-strong -Wc,-fstack-clash-protection -Wc,-fcf-protection -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack ../lib/iolog/libsudo_iolog.la=20 ../lib/eventlog/libsudo_eventlog.la ../lib/logsrv/liblogsrv.la=20 ../lib/protobuf-c/libprotobuf-c.la -lssl -lcrypto [00:04:09] libtool: link: cc -o .libs/sudo_sendlog logsrv_util.o sendlog.o tls_client.o tls_init.o -fstack-protector-strong -Wl,--enable-new-dtags -Wl,--allow-multiple-definition -fstack-protector-strong -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,-z -Wl,now -W= l,-z -Wl,noexecstack ../lib/iolog/.libs/libsudo_iolog.a -lz ../lib/eventlog/.libs/libsudo_eventlog.a /wrkdirs/usr/ports/security/sudo/work/sudo-1.9.14p3/lib/util/.libs/libsudo_= util.so ../lib/logsrv/.libs/liblogsrv.a ../lib/protobuf-c/.libs/libprotobuf-c.a -ls= sl -lgcc -lcrypto -Wl,-rpath -Wl,/usr/local/libexec/sudo [00:04:09] ld: error: /wrkdirs/usr/ports/security/sudo/work/sudo-1.9.14p3/lib/util/.libs/libsudo_= util.so: undefined reference to EVP_MD_get_size [--no-allow-shlib-undefined] [00:04:09] cc: error: linker command failed with exit code 1 (use -v to see invocation) Compile time option file: # This file is auto-generated by 'make config'. # Options for sudo-1.9.14p2 _OPTIONS_READ=3Dsudo-1.9.14p2 _FILE_COMPLETE_OPTIONS_LIST=3DAUDIT DISABLE_AUTH DISABLE_ROOT_SUDO DOCS EXA= MPLES INSULTS LDAP NLS NOARGS_SHELL OPIE PAM PYTHON GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT SSSD SSSD_DEVEL OPTIONS_FILE_SET+=3DAUDIT OPTIONS_FILE_UNSET+=3DDISABLE_AUTH OPTIONS_FILE_UNSET+=3DDISABLE_ROOT_SUDO OPTIONS_FILE_SET+=3DDOCS OPTIONS_FILE_SET+=3DEXAMPLES OPTIONS_FILE_UNSET+=3DINSULTS OPTIONS_FILE_SET+=3DLDAP OPTIONS_FILE_UNSET+=3DNLS OPTIONS_FILE_UNSET+=3DNOARGS_SHELL OPTIONS_FILE_UNSET+=3DOPIE OPTIONS_FILE_SET+=3DPAM OPTIONS_FILE_UNSET+=3DPYTHON OPTIONS_FILE_UNSET+=3DGSSAPI_BASE OPTIONS_FILE_UNSET+=3DGSSAPI_HEIMDAL OPTIONS_FILE_UNSET+=3DGSSAPI_MIT OPTIONS_FILE_SET+=3DSSSD OPTIONS_FILE_UNSET+=3DSSSD_DEVEL --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-274753-7788>