From owner-freebsd-current@freebsd.org Thu Feb 27 20:20:13 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id ACED824D18F for ; Thu, 27 Feb 2020 20:20:13 +0000 (UTC) (envelope-from andreas@naund.org) Received: from naund.org (172-11-194-172.lightspeed.sntcca.sbcglobal.net [172.11.194.172]) by mx1.freebsd.org (Postfix) with ESMTP id 48T3v01B07z4b1Y for ; Thu, 27 Feb 2020 20:20:11 +0000 (UTC) (envelope-from andreas@naund.org) Received: (from andreas@localhost) by naund.org (8.11.6/8.11.6-20030329ao) id 01RKK4c20897 for freebsd-current@freebsd.org; Thu, 27 Feb 2020 12:20:04 -0800 Date: Thu, 27 Feb 2020 12:20:04 -0800 From: Andreas Ott To: freebsd-current@freebsd.org Subject: Re: r358062(ncurses) breaks installed ports, howto check? Message-ID: <20200227122004.A20776@naund.org> References: <33314BE6-48FD-4406-B5DA-5DC283B40373.ref@yahoo.com> <33314BE6-48FD-4406-B5DA-5DC283B40373@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <33314BE6-48FD-4406-B5DA-5DC283B40373@yahoo.com>; from marklmi@yahoo.com on Mon, Feb 24, 2020 at 11:43:15AM -0800 X-Rspamd-Queue-Id: 48T3v01B07z4b1Y X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of andreas@naund.org designates 172.11.194.172 as permitted sender) smtp.mailfrom=andreas@naund.org X-Spamd-Result: default: False [1.02 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.54)[-0.535,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:172.11.194.172]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[naund.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.96)[-0.961,0]; MIME_TRACE(0.00)[0:+]; MV_CASE(0.50)[]; HFILTER_HELO_IP_A(1.00)[naund.org]; IP_SCORE(0.32)[asn: 7018(1.65), country: US(-0.05)]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:7018, ipnet:172.0.0.0/12, country:US]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Feb 2020 20:20:13 -0000 Hi, coming late to this game. On Mon, Feb 24, 2020 at 11:43:15AM -0800, Mark Millard wrote: > > After r358062, many installed ports do not work anymore on several running systems (CURRENT). > > /usr/src/UPDATING states one should reinstall all ncurses depending ports, but no hint is > > given! Can someone mitigate this lack of information? Is there a simple way to check what > > ports installed on a system rely on ncurses provided by the system? > > Turns out there was an exchange on the ports list, with > various folks giving improvements on an initial example. > My last contribution for a /bin/sh context was (showing > an example use): If you asked, how to check, I got that hint for free: my shell for the username I log in with is /usr/local/bin/bash, and I get this... $ ssh f-current.example.net Password for user@f-current.example.net: Verification code: Last login: Thu Feb 27 16:29:47 2020 from FreeBSD 13.0-CURRENT (GENERIC) #0 r358294: Mon Feb 24 19:37:09 UTC 2020 Welcome to FreeBSD! ld-elf.so.1: Shared object "libncurses.so.8" not found, required by "bash" Connection to f-current.example.net closed. Obviously my automated compiler&reboot circus does not run pkg or ports updating, and has no sane way of checking if that's required for even the shell that logs you in. Now where is that console access documented? Not all of the playground systems are VMs just yet. > # find /usr/local/*bin* /usr/local/lib* -type f \ > | xargs ldd -f '%p %A\n' 2>&1 | grep "^/lib/libncurses[^ ]*\.so\.8" | cut -w -f2 \ > | xargs pkg which -q | sort -u | more after pkp update && pkg upgrade, this came back empty. -andreas