Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Nov 2021 14:55:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 260128] "make tags" fails with "gtags not found", src/Makefile undesirably rewrites PATH
Message-ID:  <bug-260128-227-qvYlGKqoWL@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-260128-227@https.bugs.freebsd.org/bugzilla/>

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

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260128

Jessica Clarke <jrtc27@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jrtc27@freebsd.org

--- Comment #3 from Jessica Clarke <jrtc27@freebsd.org> ---
That's not the right fix. The build is deliberately done with a hard-coded path
to ensure nothing outside of the base system is used accidentally. If a target
needs something from /usr/local/bin then it should either default to using an
absolute path or add to PATH temporarily and locally when needed. That is,
CTAGS in bsd.dep.mk should likely be defaulting to /usr/local/bin/gtags (or,
really, ${LOCALBASE}/bin/gtags), though maybe base's ctags works well enough
(the default was flipped in 2002 from ctags to gtags, and I don't know what the
status of either of them is these days).

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

home | help

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