#16282: emacs 22.2: bad use of chown in destroot stage ----------------------------------+----------------------------------------- Reporter: vinc17@macports.org | Owner: darren.bane@gmail.com Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ----------------------------------+----------------------------------------- Comment (by vinc17@macports.org): Replying to [ticket:16282 vinc17@macports.org]:
I suppose that the problem is that MacPorts undefines both LOGNAME and USERNAME.
Indeed, if I insert {{{ echo "chown '$${LOGNAME:-$$USERNAME}' ..." ; \ }}} before the "find $${dest} -exec chown", I get: {{{ chown '' ... }}} I think that a fix would be to remove all these unnecessary chown's. Or MacPorts base should be fixed to keep LOGNAME set to a valid value (I wonder if unsetting it is allowed by POSIX). -- Ticket URL: <http://trac.macports.org/ticket/16282#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS