#18681: mesa: non-root install fails trying to chown glxgears -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: mesa -------------------------------------+-------------------------------------- mesa install fails on a non-root installation of MacPorts: {{{ $ port install mesa ---> Fetching mesa ---> Verifying checksum(s) for mesa ---> Extracting mesa ---> Applying patches to mesa ---> Configuring mesa ---> Building mesa ---> Staging mesa into destroot Error: Target org.macports.destroot returned: xinstall: chown/chgrp /mp/var/macports/build/_Users_rschmidt_macports_dports_x11_mesa/work/destroot//mp/bin/glxgears, Operation not permitted Error: Status 1 encountered during processing. }}} The problem lines in the portfile are these: {{{ post-destroot { xinstall -o root -m 755 -d "${destroot}${prefix}/bin" xinstall -o root -m 755 "${worksrcpath}/progs/xdemos/glxgears" "${destroot}/${prefix}/bin" xinstall -o root -m 755 "${worksrcpath}/progs/xdemos/glxinfo" "${destroot}/${prefix}/bin" } }}} They were added in r47380. A proposed fix is attached. -- Ticket URL: <http://trac.macports.org/ticket/18681> MacPorts <http://www.macports.org/> Ports system for Mac OS