[MacPorts] #54232: port command "freezing" after xcodebuild

MacPorts noreply at macports.org
Thu May 25 19:15:05 UTC 2017

#54232: port command "freezing" after xcodebuild
 Reporter:  lbschenkel  |      Owner:
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  base        |    Version:  2.4.1
 Keywords:              |       Port:
 Steps to reproduce:
 1. Clone the branch referenced by https://github.com/macports/macports-
 2. `cd emulators/free42`
 2. `port -d destroot`

 Observed behaviour:
 1. `xcodebuild` will be invoked, will print `** BUILD SUCCEEDED **` and
 2. The process `tclsh8.5 /opt/local/bin/port` will be in a "frozen" state
 and unresponsive to Ctrl+C
 3. After approximate 3 minutes, the process will "unfreeze" by itself
 4. `xcodebuild` will be invoked again, behaviours 1-3 will repeat

 This is 100% reproducible in my machine. Every time `port` freezes,
 `xcodebuild` already exited. This can be confirmed by manually invoking it
 in the `work/free42-macports-2.0.2/mac` directory:
 /usr/bin/xcodebuild  -alltargets -configuration 'Release Decimal' build
 INSTALL_PATH=/Applications/MacPorts OBJROOT=build/ SYMROOT=build/
 GCC_VERSION=com.apple.compilers.llvm.clang.1_0 CLANG_CXX_LIBRARY="libc++"
 The command above always immediately returns to the prompt when finished.

 I have been unable to figure out why this is happening. I'm attaching a
 debug log from my machine.

Ticket URL: <https://trac.macports.org/ticket/54232>
MacPorts <https://www.macports.org/>
Ports system for macOS

More information about the macports-tickets mailing list