Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 618696 - sys-apps/portage: add /usr/sbin to sys-apps/portage extrapath local var
Summary: sys-apps/portage: add /usr/sbin to sys-apps/portage extrapath local var
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-16 22:10 UTC by Yana Luna-Terra
Modified: 2017-06-21 11:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
git format-patch (0001-sys-apps-portage-extend-EXTRAPATH-to-cover-sbin.patch,1.52 KB, application/mbox)
2017-05-16 22:10 UTC, Yana Luna-Terra
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yana Luna-Terra 2017-05-16 22:10:28 UTC
Created attachment 472870 [details]
git format-patch

Some packages on macOS will require dtrace to compile, example from Clozure Common Lisp (https://ccl.clozure.com) Makefile:

probes.h: probes.d
	dtrace -h -s $<

Currently the value of extrapath variable is "/usr/bin:/bin".

dtrace is in /usr/sbin, and thus, emake fails to find it. I propose to extend extrapath to "/usr/sbin:/usr/bin:/sbin:/bin". I've attached a git patch to this message that resolves this problem.
Comment 1 Fabian Groffen gentoo-dev 2017-06-21 11:59:08 UTC
I see no problems with this, pushed to 2.3.6, thanks!