Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Apr 2020 00:28:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 245807] [make] cc can not create a target when execd by BSD make but succeeds under gmake
Message-ID:  <bug-245807-227-8FurDFaPk8@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-245807-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-245807-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D245807

andrew@tao11.riddles.org.uk changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrew@tao11.riddles.org.uk

--- Comment #3 from andrew@tao11.riddles.org.uk ---
User error, caused by non-obvious magic behavior (aka "POLA violation") on =
the
part of bmake.

In short, since /usr/obj/home/elrond exists, bsd make is using that as .OBJ=
DIR
by default, and changing directory to it before running commands. So it's t=
he
permissions on _that_ directory that cause the issue.

It doesn't fail with gmake because that has no such magic behavior.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-245807-227-8FurDFaPk8>