#52245: cups-pdf mainly broken on El Capitan OS X 10.11 ---------------------------+-------------------------------- Reporter: leonfauster@… | Owner: macports-tickets@… Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 2.3.4 Keywords: broken | Port: cups-pdf ---------------------------+-------------------------------- Context: {{{ $ sw_vers ProductName: Mac OS X ProductVersion: 10.11.6 BuildVersion: 15G1004 }}} SIP (its active by default) (SIP: https://en.wikipedia.org/wiki/System_Integrity_Protection): {{{ $ csrutil status System Integrity Protection status: enabled. }}} {{{ $ port version Version: 2.3.4 }}} {{{ port info cups-pdf cups-pdf @2.6.1 }}} First issue: /opt/local/libexec/cups-pdf_links.sh is not allowed to create a link (SIP enforcement) Disabling the SIP and executing the script creates link. But this is far away from usability of this port (disabling the SIP includes booting in recovery mode). ---- Main issue: Anyway, the rootless/sandbox feature of El Capitan denies Cups seeing this "printer". Measures done without success (single action and/or in different combination): 1. Correction of permissions {{{ # chown -R root:wheel /opt/local/libexec/cups/ # chown -R root:wheel /opt/local/share/cups/model }}} 2. Circumvent linkage {{{ # cp /opt/local/libexec/cups/backend/cups-pdf /usr/libexec/cups/backend/ # cp /opt/local/share/cups/model/CUPS-PDF.ppd /usr/share/cups/model/ }}} 3. Relaxing Cups {{{ $ grep Sandbox /etc/cups/cups-files.conf Sandboxing relaxed }}} 4. Disabling SIP {{{ # csrutil disable }}} ---- Solution: UNKNOWN -- Ticket URL: <https://trac.macports.org/ticket/52245> MacPorts <https://www.macports.org/> Ports system for macOS