From nobody Mon Mar 10 07:49:55 2025 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 4ZB8F42x7mz5qVsx for ; Mon, 10 Mar 2025 07:50:00 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZB8F24Dbrz47Nt for ; Mon, 10 Mar 2025 07:49:58 +0000 (UTC) (envelope-from guru@unixarea.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=unixarea.de header.s=blu3434000 header.b=JezeIGor; dmarc=none; spf=pass (mx1.freebsd.org: domain of guru@unixarea.de designates 178.254.4.101 as permitted sender) smtp.mailfrom=guru@unixarea.de DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=unixarea.de ; s=blu3434000; h=In-Reply-To:Content-Transfer-Encoding:Content-Type: MIME-Version:References:Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender: Content-ID:Content-Description; bh=OgLwm3tQaUQIZQr2doMrCExmxsXisxFyUbLAthTSMog=; b=JezeIGor5tTNHmiGDgSGs3QJOb VDgi5b2iiafFJhzuMpzzsZJJlVsn9uITYwJv3Q6mkxcFIFqodEWhKS2tTEY1ddBMLgVyUInSXW3lI 1UerUIymBUiLjPhBR6dKSSXKkXMPUkQdvXiiPWiNftAaPQTq7pY4xp5P0hqy6MZoeYIP1qw4jc9hD 5OslF5wCz3NaEj20lvFCAmZPxzRUzJtXjnmPowKPe6cdOYLH9y6uFgYv32IYznxgtw40izU35VtW8 wU4rNCc3WmfySjByIpaKWoDPZk3CKbxkcO8ourso+IXLIgYay2a/BwiJFdb3CfrydwPKT6hhhaqdb OeHzEfsA==; Received: from [62.216.210.25] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1trXtb-009kCI-LR; Mon, 10 Mar 2025 08:49:55 +0100 Received: from localhost.my.domain (c720-1400094 [127.0.0.1]) by localhost.unixarea.de (8.17.1/8.14.9) with ESMTP id 52A7ntQf066176; Mon, 10 Mar 2025 08:49:55 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.17.1/8.14.9/Submit) id 52A7ntZu066175; Mon, 10 Mar 2025 08:49:55 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Mon, 10 Mar 2025 08:49:55 +0100 From: Matthias Apitz To: Robert Clausecker Cc: freebsd-current@freebsd.org Subject: Re: Creating poudriere jail fails with libmd.so.6 not found Message-ID: Reply-To: Matthias Apitz Mail-Followup-To: Robert Clausecker , freebsd-current@freebsd.org References: 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 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 14.0-CURRENT r1400094 (amd64) X-message-flag: Mails in HTML will not be read! Please, only plain text. X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 62.216.210.25 X-Spamd-Result: default: False [0.48 / 15.00]; RBL_SENDERSCORE_REPUT_6(1.00)[178.254.4.101:from]; NEURAL_HAM_MEDIUM(-0.76)[-0.757]; MID_RHS_NOT_FQDN(0.50)[]; NEURAL_HAM_SHORT(-0.49)[-0.488]; NEURAL_SPAM_LONG(0.32)[0.324]; RCVD_IN_DNSWL_LOW(-0.10)[178.254.4.101:from]; MIME_GOOD(-0.10)[text/plain]; BAD_REP_POLICIES(0.10)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; TO_DN_SOME(0.00)[]; R_DKIM_ALLOW(0.00)[unixarea.de:s=blu3434000]; RCVD_COUNT_THREE(0.00)[3]; RCPT_COUNT_TWO(0.00)[2]; ARC_NA(0.00)[]; DMARC_NA(0.00)[unixarea.de]; SUSPICIOUS_AUTH_ORIGIN(0.00)[]; HAS_XAW(0.00)[]; HAS_REPLYTO(0.00)[guru@unixarea.de]; TO_MATCH_ENVRCPT_SOME(0.00)[]; HAS_XOIP(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[unixarea.de:+]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(0.00)[+ip4:178.254.4.101]; MISSING_XM_UA(0.00)[]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE]; REPLYTO_EQ_FROM(0.00)[] X-Rspamd-Queue-Id: 4ZB8F24Dbrz47Nt X-Spamd-Bar: / El día lunes, marzo 03, 2025 a las 12:06:41p. m. +0100, Robert Clausecker escribió: > The simplest solution is to clear the object directory and do a fresh world build. > libmd.so.6 was turned into libmd.so.7 as part of a recent API change. It should > also work to link libmd.so.7 to libmd.so.6. > > Yours, > Robert Clausecker I did so and investigated the problem with an installation into DESTDIR. Here are my findings: # make installworld DESTDIR=/home/guru/150.root make[1]: "/usr/obj/usr/src/amd64.amd64/toolchain-metadata.mk" line 1: Using cached toolchain metadata from build at jet on Mon Mar 3 09:03:29 CET 2025 -------------------------------------------------------------- >>> Install check world started on Mon Mar 10 08:16:20 CET 2025 -------------------------------------------------------------- mkdir -p /tmp/install.H59PpUrQ1d ... Required library libmd.so.7 not found. *** Error code 1 Stop. I investigated the problem (that's why I used DESTDIR to not damage the system to be installed to). The problem is that two tools, 'sort' and 'mtree' require a shared lib libmd.so.7 which is not there in the moment of make installworld: /usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/sbin/sort libmd.so.7 => not found (0) libc.so.7 => /lib/libc.so.7 (0xe6e08064000) [vdso] (0xe6e06c75000) /usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/sbin/mtree libmd.so.7 => not found (0) libutil.so.9 => /lib/libutil.so.9 (0x10621f601000) libc.so.7 => /lib/libc.so.7 (0x106220ca7000) [vdso] (0x10621d82c000) # find /lib /usr/lib -name libmd.so.7 (nothing) This shared libmd.so.7 lib will perhaps be istalled later by the 'make installworld', at least it is in the tree /usr/obj/... # find /usr/obj -name libmd.so.7 /usr/obj/usr/src/amd64.amd64/tmp/usr/lib32/libmd.so.7 /usr/obj/usr/src/amd64.amd64/tmp/lib/libmd.so.7 /usr/obj/usr/src/amd64.amd64/lib/libmd/libmd.so.7 /usr/obj/usr/src/amd64.amd64/obj-lib32/lib/libmd/libmd.so.7 a workaround is before 'make installworld' to run:: # cp -p /usr/obj/usr/src/amd64.amd64/tmp/lib/libmd.so.7 /lib With this the # make installworld DESTDIR=/home/guru/150.root ... >>> Installing everything completed on Mon Mar 10 08:34:13 CET 2025 >>> Install world completed in 398 seconds, ncpu: 2 -------------------------------------------------------------- 397,72 real 219,14 user 162,06 sys runs fine. matthias -- Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub