[MacPorts] #20957: Overzealous warnings about
MacPorts
noreply at macports.org
Mon Aug 31 05:30:19 PDT 2009
#20957: Overzealous warnings about
-------------------------------------+--------------------------------------
Reporter: ryandesign@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 1.8.0
Keywords: | Port:
-------------------------------------+--------------------------------------
MacPorts 1.8.0 prints too many warnings when running without root
privileges:
{{{
$ port install zlib
MacPorts running without privileges. You may be unable to complete certain
actions (eg install).
---> Computing dependencies for zlib
MacPorts running without privileges. You may be unable to complete certain
actions (eg install).
---> Fetching zlib
MacPorts running without privileges. You may be unable to complete certain
actions (eg install).
---> Verifying checksum(s) for zlib
MacPorts running without privileges. You may be unable to complete certain
actions (eg install).
---> Extracting zlib
MacPorts running without privileges. You may be unable to complete certain
actions (eg install).
---> Applying patches to zlib
MacPorts running without privileges. You may be unable to complete certain
actions (eg install).
---> Configuring zlib
MacPorts running without privileges. You may be unable to complete certain
actions (eg install).
---> Building zlib
MacPorts running without privileges. You may be unable to complete certain
actions (eg install).
---> Staging zlib into destroot
MacPorts running without privileges. You may be unable to complete certain
actions (eg install).
---> Installing zlib @1.2.3_2
Error: Target org.macports.install returned: could not set attributes of
"/mp/var/macports/software/zlib/1.2.3_2/mp/share/man/man3/zlib.3.gz":
permission denied
Error: Status 1 encountered during processing.
$
}}}
Ignoring for a moment the permission error in the install phase, which is
filed as #20887, MacPorts has warned about running "without privileges"
before every phase. I would like to see a maximum of one such warning per
port, or perhaps just one warning per invocation of the port command, or
perhaps even no warning at all. I run my MacPorts prefix under my own
username and do not use root privileges unless installing something that
needs them, for example when installing a port that has a launchd plist.
--
Ticket URL: <http://trac.macports.org/ticket/20957>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list