From nobody Sat Jun 24 11:32:10 2023 X-Original-To: dev-commits-src-main@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 4QpBmN2lfpz4gXb1; Sat, 24 Jun 2023 11:32:36 +0000 (UTC) (envelope-from herbert@gojira.at) Received: from mail.bsd4all.net (mail.bsd4all.net [94.130.200.20]) (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 ECDSA (P-384) client-digest SHA384) (Client CN "mail.bsd4all.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QpBmL4zpWz44Rr; Sat, 24 Jun 2023 11:32:34 +0000 (UTC) (envelope-from herbert@gojira.at) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gojira.at header.s=mail202005 header.b=m6CVajUg; spf=pass (mx1.freebsd.org: domain of herbert@gojira.at designates 94.130.200.20 as permitted sender) smtp.mailfrom=herbert@gojira.at; dmarc=none Date: Sat, 24 Jun 2023 13:32:10 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=gojira.at; s=mail202005; t=1687606347; bh=LkB2VoPV+QmCEnqH4c+7wvzCs4mj7+i3/bGmTcfFAKw=; h=Date:Message-ID:From:To:Subject:MIME-Version:Content-Type; b=m6CVajUgwum5ZGv2qSy6tpG7T3TH4CpspINbYLnpdliS4IQykcRXRq37SXtYIuYjL Bfd6cgTwfpOByAZ4zklwuOHftTxL2YkRVxARp/5t8+lOHJdH/irWTS1vaDtZdQhiuL BVVWf4onYvZ8VkOx/DtYjvNNC0qubJpUPPWLPmLFJi7lGYbQUhVJ+/R/6HApyKIHl9 Zd7QF8CrO30/BDa+VCq+CU2XyGa462w/9XQENiBCtyOWTepnQj1zUebyHmr2O8Ta+M 5YYmhiHnYuwBEXL/MWQeBvEml/nZEAmC49dX2YNW8g2b78MJZ1dkS3oZ06Y1woLU7p xpgwQENlhngdQ== Message-ID: <87o7l514g5.wl-herbert@gojira.at> From: "Herbert J. Skuhra" To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: Re: git: b077aed33b7b - main - Merge OpenSSL 3.0.9 In-Reply-To: <20230624125803.05861d58@hermann> References: <202306232319.35NNJsPv044302@gitrepo.freebsd.org> <20230624125803.05861d58@hermann> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/30.0 Mule/6.0 List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Spamd-Result: default: False [-2.45 / 15.00]; MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-0.99)[-0.990]; NEURAL_HAM_SHORT(-0.96)[-0.963]; R_SPF_ALLOW(-0.20)[+ip4:94.130.200.20]; R_DKIM_ALLOW(-0.20)[gojira.at:s=mail202005]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; MLMMJ_DEST(0.00)[dev-commits-src-all@FreeBSD.org,dev-commits-src-main@FreeBSD.org]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; BLOCKLISTDE_FAIL(0.00)[94.130.200.20:server fail]; DMARC_NA(0.00)[gojira.at]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[gojira.at:+]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ASN(0.00)[asn:24940, ipnet:94.130.0.0/16, country:DE] X-Rspamd-Queue-Id: 4QpBmL4zpWz44Rr X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N On Sat, 24 Jun 2023 12:58:03 +0200, FreeBSD User wrote: > > On Fri, 23 Jun 2023 23:19:54 GMT Ed Maste wrote: > > > The branch main has been updated by emaste: > > > > URL: https://cgit.FreeBSD.org/src/commit/?id=b077aed33b7b6aefca7b17ddb250cf521f938613 > > > > commit b077aed33b7b6aefca7b17ddb250cf521f938613 > > Merge: b08ee10c0646 b84c4564effd > > Author: Pierre Pronchery > > AuthorDate: 2023-06-23 22:53:35 +0000 > > Commit: Ed Maste > > CommitDate: 2023-06-23 22:53:36 +0000 > > > > The commit has spooky side effects. > > After the merge of llvm16 and after this merge, openssl 3, I did a full > > make cleanworld > make buildworld buildkernel > > And after finishing, installkernel/installworld. After two reboots I did als the VERY > DANGEROUS THING > > make delete-old/-libs > > This harms a working CURRENT seriously in a way I can not grasp the reason why. > > The CURRENT host is running OpenLDAP net/openldap26-server and -client. Also port > nss-pam-ldap. Rebuilding those ports > > net/openldap26-client > net/openldap26-server > > (without libssl.so.111) is all right, running slapd fails. > > net/nss-pam-ldapd-sasl > > will fail to build with an obscure error described below with ftp/curl. > > > went smooth in the first attempt, but havoc followed > immediately. > > slapd rejected to startup. No error, no reason given, rc.conf switch to debug/verbosity > doesn't reveal anything. No console message. But this is a side effect of something I > guess. With a backup of /lib/libssl.so.111 replaced, everything went to normal for slapd. > > ftp/curl fails due to missing libssl.so.111 and so git will fail (/etc/libmap.conf is no > solution). > > The spooky observation occurs when trying to compile ftp/curl (with no libssl.so.111 > replacemnet installed): > > portmaster ftp/curl > > will fail complaining that openldap26-client is requested, but openldap-client is > installed. In make.conf I've defined DEFAULT_VERSIONS+=openldap=26/WANT_OPENLDAP_VER=26 ^^^^^^^^^^^^^^^^^^^^^^^ What's this? Typo or copy&paste error? 1. You don't need DEFAULT_VERSIONS+=openldap=26. In Mk/bsd.default-versions.mk we have: # Possible value: 24, 25, 26 OPENLDAP_DEFAULT?= 26 Openldap26 (2.6.x) is already default version 2. Don't set WANT_OPENLDAP_VER=26 in /etc/make.conf. See the following comment in Mk/bsd.port.mk: 327 # Note: the distinction between the USE_* and WANT_* variables, and the 328 # WITH_* and WITHOUT_* variables, are that the former are restricted to 329 # usage inside the ports framework, and the latter are reserved for user- 330 # settable options. (Setting USE_* in /etc/make.conf is always wrong). 3. Use pkg_libchk from ports-mgmt/bsdadminscripts2 after running 'make delete-old-libs'. You have to rebuild some ports (using openssl from base). There is a warning: "Please be sure no application still uses those libraries, else you can not start such an application". Why do you actually run CURRENT? -- Herbert