[MacPorts] #36612: path:-style dep allows non-macports file inside macports prefix

MacPorts noreply at macports.org
Mon Oct 15 06:42:17 PDT 2012


#36612: path:-style dep allows non-macports file inside macports prefix
---------------------+--------------------------------
  Reporter:  snc@…   |      Owner:  macports-tickets@…
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  base    |    Version:  2.1.99
Resolution:          |   Keywords:
      Port:          |
---------------------+--------------------------------

Comment (by ryandesign@…):

 Replying to [ticket:36612 snc@…]:
 > When MacPorts encounters a path:-style dependency, it will allow a non-
 MacPorts file that is within the MacPorts prefix to satisfy the
 installation. This doesn't make sense, since MacPorts should be master of
 its own directories. Logs are attached showing that a package is not
 installed, yet its files are found and used inside the MacPorts prefix.
 >
 > This most prevalent cause of this problem is someone installing a
 dmg/pkg from MacPorts, which will install files right into the MacPorts
 prefix by default.

 #36482 was another recent case of this.

 > MacPorts might also consider cowardly failing if there's an attempt to
 generate a dmg/pkg using the default prefix.

 That would prevent us from creating MacPorts releases. :) A warning about
 this would be good though. Or an error, and a flag needed to override it.
 Or, special-case the "MacPorts" port. In any case this should be a
 separate ticket.

-- 
Ticket URL: <https://trac.macports.org/ticket/36612#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list