#49552: problem for install libgcc on El capitan 10.11.1 --------------------------------+-------------------- Reporter: wanghaotian2280@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: duplicate | Keywords: Port: libgcc | --------------------------------+-------------------- Comment (by wanghaotian2280@…): Replying to [comment:4 ryandesign@…]:
Replying to [comment:3 ryandesign@…]:
The El Capitan installer should have removed foreign items from protected locations, but apparently it missed /usr/include/malloc.h. I'll file a bug report with Apple about this.
I didn't file a bug report because I was not able to reproduce this problem. On a Yosemite system, I placed a malloc.h symlink (and another symlink, and a file) in /usr/include, then upgraded to El Capitan. The file I placed in /usr/include was moved to the QuarantineRoot, as it should have been. The symlinks I created and everything else in /usr/include were silently deleted, as they should be. I used the El Capitan 10.11.1 installer; maybe an earlier version of the installer had this problem but it has since been fixed.
Thanks for the help. The problem found is due to the fact that El Capitan prevents users from modifying the contents under /usr. After disable SIP, it works fine. Thank you very much. -- Ticket URL: <https://trac.macports.org/ticket/49552#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X