[MacPorts] #34221: sw_vers hangs during a build

MacPorts noreply at macports.org
Sun Oct 21 20:51:44 PDT 2012


#34221: sw_vers hangs during a build
--------------------------------+--------------------------
  Reporter:  richard.t.lloyd@…  |      Owner:  jeremyhu@…
      Type:  defect             |     Status:  assigned
  Priority:  Normal             |  Milestone:
 Component:  ports              |    Version:  2.0.4
Resolution:                     |   Keywords:  mountainlion
      Port:  gettext            |
--------------------------------+--------------------------

Comment (by jeremyhu@…):

 I highly doubt that JAVA_HOME has anything to do with this issue.

 ---

 Thanks for the sysdiagnose psynowiec.  I've filed
 <rdar://problem/12544215> to track this internally in case anyone else
 @apple.com stumbles upon this.

 psynowiec, can you please try reproducing this with just su and sudo.  Ie,
 try something like this:
 {{{
 $ sudo -u macports sw_vers -productVersion
 }}}

 or:
 {{{
 $ sudo -s
 $ su macports -c "sw_vers -productVersion"
 }}}

 or:
 {{{
 $ sudo -s
 $ su macports
 $ sw_vers -productVersion
 }}}

 Basically, try to reduce the issue without needing to go through port.

 What is the output of:
 {{{
 $ id macports
 $ id <numerical uid for the macports user>
 $ dscl localhost -read /Search/Users/macports
 }}}

 When you see this, are you connected to any Open Directory server, Active
 Directory server, LDAP, NIS, or anything else which might be providing
 users to your system?  If so, can you try this with those authentication
 servers disabled?

 When you see this, what's the output of:
 {{{
 $ sudo -s
 $ su macports -c "launchctl list"
 }}}

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


More information about the macports-tickets mailing list