From nobody Sun Jul 02 10:46:39 2023 X-Original-To: freebsd-current@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 4Qv5Mx1swVz4kqmm for ; Sun, 2 Jul 2023 10:46:53 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Qv5Mx1PYNz3vtP for ; Sun, 2 Jul 2023 10:46:53 +0000 (UTC) (envelope-from eduardo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688294813; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=y5KtxnA/JIiCV91a/G6aRGQiMGoZPbvHA/IghW6iI/M=; b=QbKWarU5uhQYwCxAA+grsI473m2okNjtmyJxqqTeGr5cbpyEarN1ewHKd/x5y2pPrNmvMs x0/rtRQsXsj5OE9Qw69X+YJOZ1ymzOEDMQsSqmhJV6ynELnpoteINMwV8Z78JSsJ4e6g3n w9o01GT2TbU9qmoRiPX0BrPJdjyAhsXoTjiwqGVVQhajXPxk+obQwXxs1eXqP/ncv5rS/h ZKV+dtE+sMXlcWyN6NTihgn/M5k6ZzdP7GBLQ+aQC8ce0FvFJLFkgjAeNmS4PR7HS+E/Ke YK4no3+HRsrYmhnOHf0xZbt1DOLTKGrO4zm13spftUZ92Oini8BsFCdc3C+S9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688294813; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=y5KtxnA/JIiCV91a/G6aRGQiMGoZPbvHA/IghW6iI/M=; b=tx3SMsGI6Csxuu/biJXYaQHk6obXvexWn4oKjIMbicSo0v4LygU/MANrRYbowR3AtFg4h6 BFkz14A9//8OB99THYe6KeyzxUrj3NVzvbeO4KTYJ50jJXv07uCtVWJVlH9MX7XgFaarts iShkp7no8OLhQL6Uc+g2VCx+DvZDUZjjF+hfdAOmzm+uB+lvQxeG4VY3hguHWW8Ih9zQOs 2QAmjbp+7E4+h7Te7tt2BCffTS0teASvwpx1hT78ElD9tcJbzynoXypSLSs7fNdnAIAbUA hcNh7VHU4wO/6cGEK6ecuqa93VfKwPl5j3vkdwdIeg8n4+IiSBmohTWZsjkpBQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688294813; a=rsa-sha256; cv=none; b=YzRwL5DL+YASXzqxNy/rN4yI6HCgKjVz1KcUNkdsKiyefa+dSKaNc5DyP4iH8a50nQleL9 VzlbGRbYdwISpAjYCZKyBkjk7pK8gZUd1BJdgnVWhoVA/dClVe1kdT9ctsMoQ34BiAPFNH UE70u9LG3YTxxYTj8m05Pv7PfSJtiJ0WChzH0PYqrqlnMoc4f3vYtVsVt2GIaAAppKQQ+e zKVFKsEEvm2KoF/8obuvWJD0ocY/7dRn8OCvgjvwc6JKm8fAXsqUTbKI7XYCtzwleKEg8D DVsxY+LQihaqrx+13SjnWe6tmIaSWc00jeYtDIDmS+yYmhaNRH995hyzEDfoUw== Received: from mail-qt1-f174.google.com (mail-qt1-f174.google.com [209.85.160.174]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) (Authenticated sender: eduardo) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Qv5Mx0LdFzTl6 for ; Sun, 2 Jul 2023 10:46:53 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-qt1-f174.google.com with SMTP id d75a77b69052e-4033b79287cso22679091cf.1 for ; Sun, 02 Jul 2023 03:46:53 -0700 (PDT) X-Gm-Message-State: AC+VfDyPeMzxkkYVhFQmWO8h0vNgkfVjm4izVzo023ipMiAsMSV8kGKI MM7/Dl3esP2PJ1ECQNl5LDR182guy+LBqGlE6B0= X-Google-Smtp-Source: ACHHUZ7UM2O+qgc9UXLcYSTfb7MSSca23bK9HPTWDFL/3l3x76x91gRpghgFIuH3Q+x/L0cu4Zk7oG2nibOs8WC5uf0= X-Received: by 2002:ac8:7d55:0:b0:403:3aec:8b41 with SMTP id h21-20020ac87d55000000b004033aec8b41mr8222764qtb.29.1688294812380; Sun, 02 Jul 2023 03:46:52 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 References: <1AB46452-89CC-4879-BBBB-EA2B9BD04DC8.ref@yahoo.com> <1AB46452-89CC-4879-BBBB-EA2B9BD04DC8@yahoo.com> In-Reply-To: <1AB46452-89CC-4879-BBBB-EA2B9BD04DC8@yahoo.com> From: Nuno Teixeira Date: Sun, 2 Jul 2023 11:46:39 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: ld-elf.so.1: Shared object "libssl.so.111" not found, required by "pkg" and others To: Mark Millard Cc: Current FreeBSD Content-Type: multipart/alternative; boundary="00000000000091756705ff7ec48b" X-ThisMailContainsUnwantedMimeParts: N --00000000000091756705ff7ec48b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello Mark, Yes, I will start building my own ports as well as I do it before. I'm using poudriere jail: --- 14amd64 14.0-CURRENT 1400092 amd64 src=3D/usr/src --- That I update each time I update main, but it could also be null mount too. Thanks, Mark Millard escreveu no dia domingo, 2/07/2023 =C3=A0(= s) 09:15: > Nuno Teixeira wrote on > Date: Sun, 02 Jul 2023 05:22:48 UTC : > > > I'm returning to current and installed from > > 20230622-b95d2237af40-263748-bootonly.iso > > < > https://download.freebsd.org/snapshots/amd64/amd64/ISO-IMAGES/14.0/FreeBS= D-14.0-CURRENT-amd64-20230622-b95d2237af40-263748-bootonly.iso > > > > and upgraded to cab2d43b83b (amd64). > > > > Did a magnific delete-old and delete-old-libs and now a lot of packages > > complain about "ld-elf.so.1: Shared object "libssl.so.111" not found, > > required by..." > > > > To fix it I rebooted with BE from first instalation since I used > > beinstall.sh for upgrade. > > > > I know that a lot of things happened in the last days with > llvm15->llvm16, > > openssl3, etc. > > > > My question is when can I do a delete-old{-libs}? > > I'm thinking building pkgs with a updated current on poudriere and then > > clean up libs? > > The world in use for building packages from ports (such as in the > poudriere jail if poudriere is used), should not have libssl.so.111 > or libcrypto.so.111 present. > > I've two files (using amd64 as an example): > > A) ~/origins/amd64-origins.txt > B) ~/origins/amd64-pkgs.txt > > (A) lists the ports I want to build (but not what those are dependent on)= . > (B) lists the packages I want to install (but not what those are dependen= t > on). > > The two have to list flavors in different notations, so having just one > file > ends up not being sufficient. Given that I use poudriere, neither file > lists > ports-mgmt/pkg explicitly. > > To build I use: > > # more ~/build-ports-main-amd64-all_ports.sh > #! /bin/sh > poudriere pkgclean -jmain-amd64 -A > poudriere bulk -jmain-amd64 -w -f ~/origins/amd64-origins.txt > > (You might not want the -w . Also, I have poudriere null mount my own wor= ld > build's installation for use by the jail. In the current context, no > libssl.so.111 or libcrypto.so.111 is present in the jail for the bulk run= .) > > To install I use: > > # more ~/pkg-update-amd64-sys.sh > #! /bin/sh > pkg update \ > && pkg install -f ports-mgmt/pkg \ > && pkg delete -a \ > && pkg install `cat ~/origins/amd64-pkgs.txt` > > (Note: ports that fail to build need to not be listed in > ~/origins/amd64-pkgs.txt .) > > I deal with delete-old-libs after the packages are installed. > I do not have any extra non-port software that would need > rebuilding. > > (In my context, I do all this activity as root.) > > =3D=3D=3D > Mark Millard > marklmi at yahoo.com > > --=20 Nuno Teixeira FreeBSD Committer (ports) --00000000000091756705ff7ec48b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello Mark,

Yes, I will star= t building my own ports as well as I do it before.

I'm using poudriere jail:
---
14amd64 =C2=A014= .0-CURRENT 1400092 amd64 src=3D/usr/src
---
That I upda= te each time I update main, but it could also be null mount too.
=
Thanks,

Mark Millard <marklmi@yahoo.com> escreveu no dia domingo, 2/07/2023 =C3= =A0(s) 09:15:
Nu= no Teixeira <eduardo_at_freebsd.org> wrote on
Date: Sun, 02 Jul 2023 05:22:48 UTC :

> I'm returning to current and installed from
> 20230622-b95d2237af40-263748-bootonly.iso
> <https://download.freebsd.org/sn= apshots/amd64/amd64/ISO-IMAGES/14.0/FreeBSD-14.0-CURRENT-amd64-20230622-b95= d2237af40-263748-bootonly.iso>
> and upgraded to cab2d43b83b (amd64).
>
> Did a magnific delete-old and delete-old-libs and now a lot of package= s
> complain about "ld-elf.so.1: Shared object "libssl.so.111&qu= ot; not found,
> required by..."
>
> To fix it I rebooted with BE from first instalation since I used
> beinstall.sh for upgrade.
>
> I know that a lot of things happened in the last days with llvm15->= llvm16,
> openssl3, etc.
>
> My question is when can I do a delete-old{-libs}?
> I'm thinking building pkgs with a updated current on poudriere and= then
> clean up libs?

The world in use for building packages from ports (such as in the
poudriere jail if poudriere is used), should not have libssl.so.111
or libcrypto.so.111 present.

I've two files (using amd64 as an example):

A) ~/origins/amd64-origins.txt
B) ~/origins/amd64-pkgs.txt

(A) lists the ports I want to build (but not what those are dependent on).<= br> (B) lists the packages I want to install (but not what those are dependent = on).

The two have to list flavors in different notations, so having just one fil= e
ends up not being sufficient. Given that I use poudriere, neither file list= s
ports-mgmt/pkg explicitly.

To build I use:

# more ~/build-ports-main-amd64-all_ports.sh
#! /bin/sh
poudriere pkgclean -jmain-amd64 -A
poudriere bulk -jmain-amd64 -w -f ~/origins/amd64-origins.txt

(You might not want the -w . Also, I have poudriere null mount my own world=
build's installation for use by the jail. In the current context, no libssl.so.111 or libcrypto.so.111 is present in the jail for the bulk run.)=

To install I use:

# more ~/pkg-update-amd64-sys.sh
#! /bin/sh
pkg update \
&& pkg install -f ports-mgmt/pkg \
&& pkg delete -a \
&& pkg install `cat ~/origins/amd64-pkgs.txt`

(Note: ports that fail to build need to not be listed in
~/origins/amd64-pkgs.txt .)

I deal with delete-old-libs after the packages are installed.
I do not have any extra non-port software that would need
rebuilding.

(In my context, I do all this activity as root.)

=3D=3D=3D
Mark Millard
marklmi at yahoo.com



--
Nuno Teixeira
FreeBSD Committ= er (ports)
--00000000000091756705ff7ec48b--