Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Nov 2016 15:31:01 -0800
From:      David Wolfskill <david@catwhisker.org>
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>
In-Reply-To: <20161118213247.GG1080@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>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20161120233101.GE1125>