[MacPorts] #16359: MacPorts_Framework upgrade failes
#16359: MacPorts_Framework upgrade failes --------------------------------+------------------------------------------- Reporter: dersh@alum.mit.edu | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: | --------------------------------+------------------------------------------- I have MacPorts_Framework 0.0.1_0 installed, as a dependent to Pallet. I just tried to upgrade outdated (to 0.1.0_0) and I get the following error: {{{ ---> Fetching MacPorts_Framework ---> Verifying checksum(s) for MacPorts_Framework ---> Extracting MacPorts_Framework ---> Configuring MacPorts_Framework ---> Building MacPorts_Framework ---> Staging MacPorts_Framework into destroot Error: Target org.macports.destroot returned: can't read "frameworks_dir": no such variable Error: Unable to upgrade port: 1 }}} Any idea about the problem? --Adam -- Ticket URL: <http://trac.macports.org/ticket/16359> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16359: MacPorts_Framework upgrade failes ---------------------------------+------------------------------------------ Reporter: dersh@alum.mit.edu | Owner: armahg@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Changes (by blb@macports.org): * cc: blb@macports.org (added) * owner: macports-tickets@lists.macosforge.org => armahg@macports.org Comment: Hmm, looks like frameworks_dir is like applications_dir and isn't available in 1.6. The normal fix for applications_dir is probably the way to go here as well (eg, [http://svn.macports.org/repository/macports/trunk/dports/emulators/minivmac/... minivmac port]): {{{ # Can be removed once MacPorts 1.7.0 is released if {![info exists frameworks_dir]} { set frameworks_dir /Library/Frameworks } }}} Though I don't know if it should be there or ${prefix}/Library/Frameworks. -- Ticket URL: <http://trac.macports.org/ticket/16359#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16359: MacPorts_Framework upgrade failes ---------------------------------+------------------------------------------ Reporter: dersh@alum.mit.edu | Owner: armahg@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Comment (by armahg@macports.org): Replying to [ticket:16359 dersh@alum.mit.edu]:
I have MacPorts_Framework 0.0.1_0 installed, as a dependent to Pallet. I just tried to upgrade outdated (to 0.1.0_0) and I get the following error:
{{{ ---> Fetching MacPorts_Framework ---> Verifying checksum(s) for MacPorts_Framework ---> Extracting MacPorts_Framework ---> Configuring MacPorts_Framework ---> Building MacPorts_Framework ---> Staging MacPorts_Framework into destroot Error: Target org.macports.destroot returned: can't read "frameworks_dir": no such variable Error: Unable to upgrade port: 1
}}}
Any idea about the problem?
--Adam
I'll correct that shortly. I think its better placed in /Library/Frameworks since thats the place a regular user will search for non-Apple frameworks. Also, its where the current Framework gets installed. On another note both Pallet and MacPorts.Framework are under development and are not ready for mainstream use yet. -- Ticket URL: <http://trac.macports.org/ticket/16359#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16359: MacPorts_Framework upgrade failes ---------------------------------+------------------------------------------ Reporter: dersh@alum.mit.edu | Owner: armahg@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Comment (by blb@macports.org): Replying to [comment:2 armahg@macports.org]:
I'll correct that shortly. I think its better placed in /Library/Frameworks since thats the place a regular user will search for non-Apple frameworks. Also, its where the current Framework gets installed.
True, but do note that in 1.7 the applications and framework directories are configurable via macports.conf, and that some things (eg, python) install framework stuff in ${prefix}/Library/Frameworks for better $[prefix} encapsulation. -- Ticket URL: <http://trac.macports.org/ticket/16359#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16359: MacPorts_Framework upgrade failes ---------------------------------+------------------------------------------ Reporter: dersh@alum.mit.edu | Owner: armahg@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: Port: | ---------------------------------+------------------------------------------ Changes (by blb@macports.org): * status: new => closed * resolution: => fixed Comment: armahg@ fixed this in r39472 -- Ticket URL: <http://trac.macports.org/ticket/16359#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts