New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #34386 (closed defect: fixed)

Opened 13 months ago

Last modified 13 months ago

Postflight script doesn't seem to be executed with flat packages

Reported by: stephen@… Owned by: macports-tickets@…
Priority: Normal Milestone: MacPorts 2.1.0
Component: base Version: 2.0.99
Keywords: Cc:
Port:

Description

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

Change History

comment:1 Changed 13 months ago 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

comment:2 Changed 13 months ago by ryandesign@…

And is sources_conf set in your macports.conf? If not, you must be upgrading from a very old version of MacPorts...

comment:3 Changed 13 months ago by jmr@…

  • Status changed from new to closed
  • Resolution set to fixed
  • Summary changed from Postflight script doesn't seem to be executed on Lion to Postflight script doesn't seem to be executed with flat packages
Note: See TracTickets for help on using tickets.