From nobody Mon Sep 25 16:37:36 2023
X-Original-To: bugs@mlmmj.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
	by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RvT7N6WNcz4tmKV
	for <bugs@mlmmj.nyi.freebsd.org>; Mon, 25 Sep 2023 16:37:36 +0000 (UTC)
	(envelope-from bugzilla-noreply@freebsd.org)
Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256
	 client-signature RSA-PSS (4096 bits) client-digest SHA256)
	(Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK))
	by mx1.freebsd.org (Postfix) with ESMTPS id 4RvT7N3H6Tz4lhR
	for <bugs@FreeBSD.org>; Mon, 25 Sep 2023 16:37:36 +0000 (UTC)
	(envelope-from bugzilla-noreply@freebsd.org)
ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695659856; a=rsa-sha256; cv=none;
	b=e6yckFWVDzJ4ygBn1XEd9REJQx33HGxMyWVKKIG4PoQoWzTTGU/Bz19XNXzuq9ba7+HPez
	aa+pVPsxSiw/32bIf2DsFLrj5hKcGNYoobFtoKUO7tcEOec56J8ZtBZXncciqYib68BAUA
	tAcVcEeA/YDhIuHGrIrnhMZCDw2eOlSH1UnGEj194Fb0eDNKoqCul/ClRxjNfkxXlq44St
	Grphg+pozQ0feVhO5hbjnk8zNNkDxzPJ+q7LixdRJ53P8JXvHhQmzMXWHcJU0UXPzZ4xzT
	Vi3U7qb/m77EiTQOz2JDJ1BzvKDqsas2VdXcUPf3fpRsus8UBBD+2TLYdn0pww==
ARC-Authentication-Results: i=1;
	mx1.freebsd.org;
	none
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org;
	s=dkim; t=1695659856;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:mime-version:mime-version:content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding;
	bh=5SGnrQRAfGhoIAxvjGc3CuBSj4BKv77tBdBXouL7q0M=;
	b=MPNIR2eZvZd8jy6giZPGIovGu8sK8YQ9VQlTiThjCohOfUR4VBKW8M4nzPTi7lQsmtfb3H
	mdwcnBiYn0ZLMSYh/bCycqeI1fO/+cTIP0BvrD1WpKtWL+WXrlIPYvgjCQ4w4ahp1kn23+
	PRUXk+kzY+NH0OUpFA6eJ4dBln6IolzA+/ueSNqK41auUkjn1I/G6WOk0YY1qb2R66NWcL
	UNP+1z5o/mirkGcia/NNjrtpQ22NfsLn4R620wQJ7YJOgU2/lYaHpZY9E3TzRjGhlMcDqx
	aGYuVIPjqAFjL3L/nk6qjlofxdU+uLvstc7cN/+i4kfh8y0XKOqN1pff10DXhw==
Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(Client did not present a certificate)
	by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RvT7N2Mvrz6Nk
	for <bugs@FreeBSD.org>; Mon, 25 Sep 2023 16:37:36 +0000 (UTC)
	(envelope-from bugzilla-noreply@freebsd.org)
Received: from kenobi.freebsd.org ([127.0.1.5])
	by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 38PGbaCK087363
	for <bugs@FreeBSD.org>; Mon, 25 Sep 2023 16:37:36 GMT
	(envelope-from bugzilla-noreply@freebsd.org)
Received: (from www@localhost)
	by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38PGbatZ087362
	for bugs@FreeBSD.org; Mon, 25 Sep 2023 16:37:36 GMT
	(envelope-from bugzilla-noreply@freebsd.org)
X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f
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
Date: Mon, 25 Sep 2023 16:37:36 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: bin
X-Bugzilla-Version: 14.0-STABLE
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: locnar@locnar.net
X-Bugzilla-Status: New
X-Bugzilla-Resolution: 
X-Bugzilla-Priority: ---
X-Bugzilla-Assigned-To: bugs@FreeBSD.org
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform
 op_sys bug_status bug_severity priority component assigned_to reporter
Message-ID: <bug-274081-227@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
List-Id: Bug reports <freebsd-bugs.freebsd.org>
List-Archive: https://lists.freebsd.org/archives/freebsd-bugs
List-Help: <mailto:freebsd-bugs+help@freebsd.org>
List-Post: <mailto:freebsd-bugs@freebsd.org>
List-Subscribe: <mailto:freebsd-bugs+subscribe@freebsd.org>
List-Unsubscribe: <mailto:freebsd-bugs+unsubscribe@freebsd.org>
Sender: owner-freebsd-bugs@freebsd.org
MIME-Version: 1.0

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.=