From owner-freebsd-ports@freebsd.org Sun Nov 20 23:31:04 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 46DACC4CA21 for ; Sun, 20 Nov 2016 23:31:04 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (mx.catwhisker.org [198.144.209.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0114411A7 for ; Sun, 20 Nov 2016 23:31:03 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.15.2/8.15.2) with ESMTP id uAKNV1hR011507 for ; Sun, 20 Nov 2016 23:31:01 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.15.2/8.15.2/Submit) id uAKNV17e011506 for freebsd-ports@freebsd.org; Sun, 20 Nov 2016 15:31:01 -0800 (PST) (envelope-from david) Date: Sun, 20 Nov 2016 15:31:01 -0800 From: David Wolfskill To: freebsd-ports@freebsd.org Subject: "make install" appears to silently fail to install some files if $LOCALBASE is a symlink Message-ID: <20161120233101.GE1125@albert.catwhisker.org> References: <20161103125007.GP1203@albert.catwhisker.org> <20161105122633.GS1203@albert.catwhisker.org> <20161105135456.GV1203@albert.catwhisker.org> <168f3b93-1e48-2c4f-e0e9-2bfeabc12613@gwdg.de> <540ACAE8-E9FC-4B05-A109-469E3684234F@FreeBSD.org> <20161105165550.GW1203@albert.catwhisker.org> <20161118213247.GG1080@albert.catwhisker.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="jTMWTj4UTAEmbWeb" Content-Disposition: inline In-Reply-To: <20161118213247.GG1080@albert.catwhisker.org> User-Agent: Mutt/1.7.1 (2016-10-04) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Nov 2016 23:31:04 -0000 --jTMWTj4UTAEmbWeb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 18, 2016 at 01:32:47PM -0800, David Wolfskill wrote: > ... > A correspondent pointed out > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214381 to me -- looks > as if this mode of failure may be "expected" when /usr/local is a > symlink to a file system other than the one where /usr resides. > (Perhaps I'll try setting up a system where /usr/local/ is a mount point > for a separate file system, as well.) > ... I managed to "stub my toe" on additional ports that exhibited this behavior this morning -- among them, lang/gcc and devel/git. I have updated the above-cited bug report with a little shell script I cobbled up that (despite its unfortunate name) will check specified installed ports/packages and report if any are determined to lack one or more files that are supposed to have been installed. Folks who have a symlink for /usr/local (or whatever $LOCALBASE expands to) and who rely on "make install" to install ports might want to take a look: I was a bit surprised at the number of affected ports. (Note that portmaster uses "make install"; I would expect that portupgrade does, as well.) A circumvention (as mentioned in the bug report) is to: "make clean package deinstall && pkg add work/pkg/* && make clean" within the port directory. Checking through a typescript from work, I *think* this showed up between 25 September - 02 October. Peace, david --=20 David H. Wolfskill david@catwhisker.org Ref. 08 Nov 2016, let's see if the "winners" actually deliver on their slog= ans. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --jTMWTj4UTAEmbWeb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAEBCgBmBQJYMjI1XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRDQ0I3Q0VGOTE3QTgwMUY0MzA2NEQ3N0Ix NTM5Q0M0MEEwNDlFRTE3AAoJEBU5zECgSe4XOAkH/iw+6XydXkod6L5sbdrA2He8 cQEq7Sv0ikActNyx743Y11bryYL+6izd51t5UtCUzpvEtLngRlQ4AgsQT8N7dBxY vHWSGu/wQmgo2GAE9Uxkq3TcEw/DPwb5SUq+BKdfeItKF0pzCorZPHo4sK6pbYeG /7Y4djaGGGkndBluWLDRlnz+I09aa9UGEt7k857q7kGC52pFTa5ylegX23hKrB8L XCy28wS2LaGzqyWzZzKL39jbjvJu/v8Y4ojUBxnfUsCVWFs5gupIaapXyUfOPRNT OL4l6VprwPwFtNn6wzPUNHjWpRdWgrQS0cWfRfy4kHQMJeJfDK77O/1p8S3OhmM= =Ln0l -----END PGP SIGNATURE----- --jTMWTj4UTAEmbWeb--