From owner-freebsd-ports@freebsd.org Wed Apr 10 15:57:37 2019 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 48C3115864B4 for ; Wed, 10 Apr 2019 15:57:37 +0000 (UTC) (envelope-from fullermd@over-yonder.net) Received: from mail.infocus-llc.com (mail.infocus-llc.com [199.15.120.13]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A02B077986 for ; Wed, 10 Apr 2019 15:57:29 +0000 (UTC) (envelope-from fullermd@over-yonder.net) Received: from draco.over-yonder.net (tunnel180062-pt.tunnel.tserv8.dal1.ipv6.he.net [IPv6:2001:470:1f0e:11ae::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mail.tarragon.infocus-llc.com (Postfix) with ESMTPSA id 44fTLp6dnWzTlN; Wed, 10 Apr 2019 10:57:22 -0500 (CDT) Received: by draco.over-yonder.net (Postfix, from userid 100) id 44fTLp1Z7CzmDV; Wed, 10 Apr 2019 10:57:22 -0500 (CDT) Date: Wed, 10 Apr 2019 10:57:22 -0500 From: "Matthew D. Fuller" To: Torfinn Ingolfsen Cc: FreeBSD Ports ML Subject: Re: upgrade of port fails because of existing link Message-ID: <20190410155722.GJ6019@over-yonder.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Editor: vi X-OS: FreeBSD User-Agent: Mutt/1.11.4 (2019-03-13) X-Rspamd-Queue-Id: A02B077986 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of fullermd@over-yonder.net designates 199.15.120.13 as permitted sender) smtp.mailfrom=fullermd@over-yonder.net X-Spamd-Result: default: False [-2.89 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.97)[-0.966,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[over-yonder.net]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mail.infocus-llc.com]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.60)[-0.605,0]; IP_SCORE(-0.01)[country: US(-0.06)]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:33069, ipnet:199.15.120.0/22, country:US]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Apr 2019 15:57:37 -0000 On Wed, Apr 10, 2019 at 04:13:33PM +0200 I heard the voice of Torfinn Ingolfsen, and lo! it spake thus: > > Often, a port fails to upgrade because of an existing link. Example: > > ---> Preserving /usr/local/lib/qt5/libQt5DBus.so.5 as > /usr/local/lib/compat/pkg/libQt5DBus.so.5 > cp: symlink: libQt5DBus.so.5.12.1: File exists > Copy failed! That's not the port, that's portupgrade and its handling of stashed up compat libs. It has a bug and does something poorly with symlinks. It bites me on mesa-libs regularly too, and occasionally elsewhere. I grumble, manually delete the compat symlink, then go `portupgrade -w` the thing again to get it to retry the install. And hope it annoys someone else enough that they go fix it... -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream.