[MacPorts] #34386: Postflight script doesn't seem to be executed on Lion
#34386: Postflight script doesn't seem to be executed on Lion -------------------------------+-------------------------------------------- Reporter: stephen@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts 2.1.0 Component: base | Version: 2.0.99 Keywords: | Port: -------------------------------+-------------------------------------------- Tried installing 2.1.0 rc1 package on a brand new MacBook Pro with 10.7.4 update plus Xcode 4.3.2. After installer reported successful, the PATH environment is not prepended with MacPorts paths. Manually adding them then run port command got me this message: Error: /opt/local/bin/port: Failed to initialize MacPorts, sources_conf must be set in /opt/local/etc/macports/macports.conf or in your /Users/stephenchu/.macports/macports.conf file -- Ticket URL: <https://trac.macports.org/ticket/34386> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34386: Postflight script doesn't seem to be executed on Lion -------------------------------+-------------------------------------------- Reporter: stephen@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts 2.1.0 Component: base | Version: 2.0.99 Keywords: | Port: -------------------------------+-------------------------------------------- Comment(by stephen@…): The complete message is: {{{ sources_conf must be set in /opt/local/etc/macports/macports.conf or in your /Users/stephenchu/.macports/macports.conf file while executing "mportinit ui_options global_options global_variations" Error: /opt/local/bin/port: Failed to initialize MacPorts, sources_conf must be set in /opt/local/etc/macports/macports.conf or in your /Users/stephenchu/.macports/macports.conf file }}} -- Ticket URL: <https://trac.macports.org/ticket/34386#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34386: Postflight script doesn't seem to be executed on Lion -------------------------------+-------------------------------------------- Reporter: stephen@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts 2.1.0 Component: base | Version: 2.0.99 Keywords: | Port: -------------------------------+-------------------------------------------- Comment(by ryandesign@…): And is sources_conf set in your macports.conf? If not, you must be upgrading from a very old version of MacPorts... -- Ticket URL: <https://trac.macports.org/ticket/34386#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34386: Postflight script doesn't seem to be executed with flat packages --------------------------------+------------------------------------------- Reporter: stephen@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: MacPorts 2.1.0 Component: base | Version: 2.0.99 Resolution: fixed | Keywords: Port: | --------------------------------+------------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => fixed Comment: r92903, r92904 -- Ticket URL: <https://trac.macports.org/ticket/34386#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts