From nobody Tue Nov 30 14:55:59 2021 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 0CBF918AD7A0 for ; Tue, 30 Nov 2021 14:56:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J3QJb4Y1wz4vdv for ; Tue, 30 Nov 2021 14:55:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 74783184D6 for ; Tue, 30 Nov 2021 14:55:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1AUEtxAm064031 for ; Tue, 30 Nov 2021 14:55:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1AUEtxg9064030 for bugs@FreeBSD.org; Tue, 30 Nov 2021 14:55:59 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 260128] "make tags" fails with "gtags not found", src/Makefile undesirably rewrites PATH Date: Tue, 30 Nov 2021 14:55:59 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jrtc27@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638284159; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=17FugsHNI+bo8EKFLb80I7o9wY4Kmq9Lg0cw4iytQRM=; b=njMbId7A99L9wo2RgjH4bLgVNcJKlaWXBgAyz6vDHLThVpOvsmpNb4M2D6qTBy/H6TipdJ LzLwU0pS+7/8AfLj15GYWY/alXoqxUOozCRl2xtFTB3qsD8TUuMr4660qvZIyls+Jxe5Q7 ewIlvxR3kQTYyTZzRoaP61xEG0s4QjJpQ7M2++fgKtSxDAMSJ9adqcSJhoiIhtyzT0Ls0V 7hEuf6LiuYzRI3pGrf88Ks/x9g7xNWrFvY60q7JUL7rv3/6iZZhkKPduM98zqWEan6Qtyc 1Vy6Qd6C2Hss9vg1aZoBREkPB3Ebej3XlgMte/u3DNM/P9D6gShQan7Bj56kTw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638284159; a=rsa-sha256; cv=none; b=RWHtFmzCYP/P4LB5VW+O8FaCPqwWKo08GAIinPUUnft3NHdSBf0MNTWCu7M/WkO17H3HWB XdpL9Zp8X2Y4RvIv9VyuWJrZZqSodqPrR6MZlYMFRBhhw3xqEEwwatkzWI5aRVc6tjjpiT kzz0W9JcSwfq2KQhXTlalop6f1NFplSWmZ208ovQlz/MlCSjrG3+wvwajWHTmGB/Y72SCp I1lMJD7J2zIVhbIjJNF7Pb0WFj2SNwKobtSUyKQYz+mzFJu9DwKmT4Wm/ZzVS9a6h+TcU4 6xEic8+Xqa3QM80XAfRdcsLaHdISCNe3PdAvNpOReuPUsW++9SIRkaAhId91Sg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260128 Jessica Clarke changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jrtc27@freebsd.org --- Comment #3 from Jessica Clarke --- 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 tar= get 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). --=20 You are receiving this mail because: You are the assignee for the bug.=