Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Sep 2023 16:37:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 274081] When compiling sendmail.full from git source Beta 3 releng/14.0 I get ld: error: undefined symbol: SSL_get1_peer_certificate
Message-ID:  <bug-274081-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274081

            Bug ID: 274081
           Summary: When compiling sendmail.full from git source Beta 3
                    releng/14.0 I get ld: error: undefined symbol:
                    SSL_get1_peer_certificate
           Product: Base System
           Version: 14.0-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: locnar@locnar.net

--- sendmail.full ---
cc -target x86_64-unknown-freebsd14.0
--sysroot=3D/usr/obj/usr/git-src/src/amd64.amd64/tmp
-B/usr/obj/usr/git-src/src/amd64.amd64/tmp/usr/bin -O2 -pipe -fno-common
-I/usr/git-src/src/contrib/sendmail/src
-I/usr/git-src/src/contrib/sendmail/include -I. -DNEWDB -DNIS -DMAP_REGEX
-DDNSMAP -DNETINET6 -DSTARTTLS -DTLS_EC -DTCPWRAPPERS
-Wno-deprecated-non-prototype -I/usr/local/include/sasl -DSASL -fPIE -g
-gz=3Dzlib -std=3Dgnu99 -Wno-format-zero-length -fstack-protector-strong
-Wno-pointer-sign -Wdate-time -Wno-empty-body -Wno-string-plus-int
-Wno-unused-const-variable -Wno-error=3Dunused-but-set-parameter
-Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality
-Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef
-Wno-address-of-packed-member -Wno-switch -Wno-switch-enum
-Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments
-L/usr/local/lib -Wl,-zrelro -pie   -o sendmail.full alias.o arpadate.o bf.o
collect.o conf.o control.o convtime.o daemon.o deliver.o domain.o envelope.o
err.o headers.o macro.o main.o map.o mci.o milter.o mime.o parseaddr.o
queue.o ratectrl.o readcf.o recipient.o savemail.o sasl.o sfsasl.o
shmticklib.o sm_resolve.o srvrsmtp.o stab.o stats.o sysexits.o timers.o
tlsh.o tls.o trace.o udb.o usersmtp.o util.o version.o  -lsasl2 -lutil
-L/usr/obj/usr/git-src/src/amd64.amd64/lib/libsm
-L/usr/obj/usr/git-src/src/amd64.amd64/lib/libsm -lsm_pie
-L/usr/obj/usr/git-src/src/amd64.amd64/lib/libsmutil -lsmutil_pie  -lssl
-lcrypto  -lwrap
ld: error: undefined symbol: SSL_get1_peer_certificate
> > > referenced by tls.c:1812=20
(/usr/git-src/src/contrib/sendmail/src/tls.c:1812)
> > >               tls.o:(tls_get_info)
> > > did you mean: SSL_get_peer_certificate
> > > defined in: /usr/local/lib/libssl.so
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
*** [sendmail.full] Error code 1

make[4]: stopped in /usr/git-src/src/usr.sbin/sendmail
--- all_subdir_usr.bin ---

make[2]: stopped in /usr/git-src/src
--- all_subdir_usr.sbin ---

make[2]: stopped in /usr/git-src/src
      945.93 real      1303.06 user       123.81 sys

make[1]: stopped in /usr/git-src/src

make: stopped in /usr/git-src/src

Details:  I have my /usr/src/ soft linked to /usr/git-src/src and it has
never been a problem before.  This is an artifact of the move from
subversion to git.  The machine running the compile is a VM running the
latest 13.2-p3

locnar@agamemnon$ uname -a
FreeBSD agamemnon.locnar.net 13.2-RELEASE-p3 FreeBSD 13.2-RELEASE-p3
releng/13.2-n254633-a1c915cc75c1 GENERIC amd64

root@agamemnon# git status
On branch releng/14.0
Your branch is up to date with 'freebsd/releng/14.0'.

I ran, as root in /usr/src with a clean /usr/obj, "make -j2 buildworld &&
make buildkernel"

--=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-274081-227>