[MacPorts] #13742: Installation with the package did not run the postflight script

MacPorts trac at macosforge.org
Wed Jan 9 12:58:55 PST 2008


#13742: Installation with the package did not run the postflight script
-------------------------------------+--------------------------------------
  Reporter:  mellonjasper at gmail.com  |       Owner:  jmpp at macports.org      
      Type:  defect                  |      Status:  new                    
  Priority:  Normal                  |   Milestone:  MacPorts base bugs     
 Component:  base                    |     Version:  1.6.0                  
Resolution:                          |    Keywords:  installation postflight
-------------------------------------+--------------------------------------
Comment (by mellonjasper at gmail.com):

 I created a new account with no administrator rights and checked the PATH,
 MANPATH, DISPLAY and env. No MacPorts paths where present. After running
 the postflight script ran (withoud sudo), a .profile was created. After
 opening a new shell the PATH, MANPATH, DISPLAY and env where correct
 (several /opt/ paths added). The output of postflight contained some
 error, but they where al related to not running as administrator.

 The install.log indicates a problem:
 {{{
 Dec 28 22:58:36 mac-name Installer[66086]: run postflight script for
 MacPorts-1.6.0
 Dec 28 22:58:36 mac-name Installer[66086]: Localized installer script
 postflight found in the MacPorts-1.6.0 package. Using compatibility mode.
 Dec 28 22:58:36 mac-name runner[66089]: postflight[66099]: Unknown shell!
 Please set your MacPorts compatible environment manually.
 Dec 28 22:58:36 mac-name runner[66089]: postflight[66099]:
 Dec 28 22:58:36: --- last message repeated 1 time ---
 Dec 28 22:58:36 mac-name runner[66089]: postflight[66099]: Checking the
 shell environment for user "USERNAM"...
 Dec 28 22:58:36 mac-name runner[66089]: postflight[66099]:
 Dec 28 22:58:36: --- last message repeated 2 times ---
 Dec 28 22:58:36 mac-name runner[66089]: postflight[66099]:
 /Users/jester/Downloads/MacPorts-1.6.0.pkg/Contents/Resources/English.lproj/postflight:
 line 71: /Users/jester/.: Is a directory
 Dec 28 22:58:36 mac-name runner[66089]: postflight[66099]:
 Dec 28 22:58:36 mac-name runner[66089]: postflight[66099]:
 /Users/jester/Downloads/MacPorts-1.6.0.pkg/Contents/Resources/English.lproj/postflight:
 line 96: /Users/jester/.: Is a directory
 Dec 28 22:58:36 mac-name runner[66089]: postflight[66099]:
 Dec 28 22:58:36 mac-name runner[66089]: postflight[66099]: Your shell
 already has the right MANPATH environment variable for use with MacPorts!
 Dec 28 22:58:36 mac-name runner[66089]: postflight[66099]:
 Dec 28 22:58:36 mac-name runner[66089]: postflight[66099]: Your shell
 already has the right DISPLAY environment variable for use with MacPorts!
 Dec 28 22:58:36 mac-name runner[66089]: postflight[66099]:
 Dec 28 22:58:36: --- last message repeated 1 time ---
 Dec 28 22:58:36 mac-name runner[66089]: postflight[66099]: Synchronizing
 the MacPorts installation with the project's rsync server...
 Dec 28 22:58:36 mac-name runner[66089]: postflight[66099]:
 Dec 28 22:58:37: --- last message repeated 1 time ---
 Dec 28 22:58:37 mac-name runner[66089]: postflight[66099]: Synchronizing
 local ports tree from rsync://rsync.macports.org/release/ports/
 }}}

 The /etc/paths.d and /etc/manpaths.d/only contain an X11 file.

 I hope this helps.

 Jasper.

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13742#comment:9>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list