[MacPorts] #60064: Non-root install fails on Catalina
MacPorts
noreply at macports.org
Sun Feb 9 19:14:15 UTC 2020
#60064: Non-root install fails on Catalina
---------------------------+--------------------
Reporter: jay-ouellette | Owner: (none)
Type: defect | Status: new
Priority: High | Milestone:
Component: base | Version: 2.6.2
Keywords: security | Port:
---------------------------+--------------------
I've run MacPorts for years without root, but after upgrading to Catalina,
it no longer works.
Please provide, and document, a secure install option. It is highly
inappropriate, and unethical for MacPorts to have unnecessary access to my
SSH keys, photos, email, and other personal data.
Please provide, and document, the ability to control the owner, group and
permissions of all files installed by MacPorts.
These are the commands that fail:
{{{
PATH=/usr/bin:/usr/sbin:/bin:/sbin ./configure --enable-readline
--prefix=/opt/local --with-no-root-privilege
make
make install
}}}
The full output is attached.
Also, this no long appears to work either:
{{{
# install with .pkg then:
sudo chown -R "$USER" /opt && sudo chgrp -R staff /opt
port install parallel
---> Computing dependencies for parallel
The following dependencies will be installed:
db48
gdbm
gettext
libiconv
ncurses
perl5
perl5.28
readline
Continue? [Y/n]: y
---> Fetching archive for db48
Warning: Your DNS servers incorrectly claim to know the address of
nonexistent hosts. This may cause checksum mismatches for some ports. See
this page for more information:
<https://trac.macports.org/wiki/MisbehavingServers>
---> Attempting to fetch db48-4.8.30_4.darwin_19.x86_64.tbz2 from
https://packages.macports.org/db48
---> Attempting to fetch db48-4.8.30_4.darwin_19.x86_64.tbz2.rmd160 from
https://packages.macports.org/db48
---> Installing db48 @4.8.30_4
---> Activating db48 @4.8.30_4
Error: Failed to activate db48: command execution failed
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_db48/db48/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port parallel failed
}}}
--
Ticket URL: <https://trac.macports.org/ticket/60064>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list