#40769: port install dropPrivileges problem causes all builds to fail - Snow Leopard -----------------------+-------------------------------- Reporter: martini@… | Owner: macports-tickets@… Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 2.2.0 Keywords: | Port: -----------------------+-------------------------------- New install of MacPorts 2.2.0 (via src tar.gz or .pkg) fail to allow building of any packages. The writing of any files or directories fails during port install. It doesn't matter if the install is done as root or an admin user with sudo, installs fail. I've confirmed this on two different Macs (both running Snow Leopard (10.6.8)) and many clean rebuilds. Pre-built packages install normally, but any builds fail. Reproduce: 1) extract and install MacPorts-2.2.0.tar.gz (using ./configure ; make ; make install) as root or sudo 2) sudo port -d selfupdate 3) port -v install -s kermit (a small package with no dependancies) 4) build fails! See attached files for session and logs. I tried ./configure --with-macports-user=root --with-install-group=admin --with-install-user=root and again with my userid. All to no avail. I even tried to remove dropPrivileges in all of the tcl code; and I tried to disable the seteuid calls in the tcl and c. -- Ticket URL: <https://trac.macports.org/ticket/40769> MacPorts <http://www.macports.org/> Ports system for OS X