Opened 7 years ago
Last modified 2 months ago
#55627 assigned defect
cg-toolkit @3.1.2012.04_1 tries to install files into /usr, which SIP prevents
Reported by: | ierofant (Андрей Корнилов) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.4.2 |
Keywords: | Cc: | ||
Port: | cg-toolkit |
Description
Failed to activate cg-toolkit
error renaming "/opt/local/var/macports/software/cg-toolkit/mpextractAnnIXjQd/usr/bin/cgc" to "/usr/bin/cgc": not owner
macOS Sierra Version 10.12.6
Xcode 9.2 Build version 9C40b
Attachments (2)
Change History (10)
Changed 7 years ago by ierofant (Андрей Корнилов)
comment:1 Changed 7 years ago by mf2k (Frank Schima)
Owner: | set to blair |
---|---|
Status: | new → assigned |
comment:2 Changed 7 years ago by blair (Blair Zajac)
Can you provide the entire log with '-d'. Also, do you already have a /usr/bin/cgc on your system?
Changed 7 years ago by ierofant (Андрей Корнилов)
Attachment: | main-dedug.log added |
---|
comment:3 Changed 7 years ago by ierofant (Андрей Корнилов)
main-debug.log in attachment.
I haven't /usr/bin/cgc on my system.
comment:4 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Summary: | Processing of port cg-toolkit failed → cg-toolkit @3.1.2012.04_1 tries to install files into /usr, which SIP prevents |
---|
It's not permitted for ports (or anyone other than Apple) to install into /usr. System Integrity Protection, a feature of El Capitan and later, prevents modification of such locations by third party software such as MacPorts. The port must be modified to install its files elsewhere, such as $prefix
.
comment:5 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)
This is still a problem. The port cannot be installed on OS X 10.11 El Capitan or later because of this.
I don't see a new version available from NVIDIA.
Has anyone reported the problem to NVIDIA yet?
comment:6 Changed 5 years ago by mf2k (Frank Schima)
Owner: | blair deleted |
---|
comment:7 Changed 2 months ago by TheLastLovemark
I was going to file a new ticket, but did a search first and came across this ticket.
searched google and came across this page from NVIDIA: https://developer.nvidia.com/cg-toolkit
The port is no longer in dev and they (NVIDIA) recommend using GLSL or HLSL on Windows moving forward.
I can't find a date of publication, but page content indicates it is from at least April 2012.
In the future, please Cc the port maintainers (
port info --maintainers cg-toolkit
).