Opened 6 years ago

Last modified 5 years 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)

main.log (1.5 MB) - added by ierofant (Андрей Корнилов) 6 years ago.
main-dedug.log (3.1 MB) - added by ierofant (Андрей Корнилов) 6 years ago.

Change History (8)

Changed 6 years ago by ierofant (Андрей Корнилов)

Attachment: main.log added

comment:1 Changed 6 years ago by mf2k (Frank Schima)

Owner: set to blair
Status: newassigned

In the future, please Cc the port maintainers (port info --maintainers cg-toolkit).

comment:2 Changed 6 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 6 years ago by ierofant (Андрей Корнилов)

Attachment: main-dedug.log added

comment:3 Changed 6 years ago by ierofant (Андрей Корнилов)

main-debug.log in attachment.
I haven't /usr/bin/cgc on my system.

comment:4 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: Processing of port cg-toolkit failedcg-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 5 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
Note: See TracTickets for help on using tickets.