Opened 7 years ago
Closed 7 years ago
#54232 closed defect (worksforme)
port command "freezing" after xcodebuild
Reported by: | lbschenkel (Leonardo Brondani Schenkel) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | 2.4.1 |
Keywords: | Cc: | ||
Port: |
Description
Steps to reproduce:
- Clone the branch referenced by https://github.com/macports/macports-ports/pull/486
cd emulators/free42
port -d destroot
Observed behaviour:
xcodebuild
will be invoked, will print** BUILD SUCCEEDED **
and exit- The process
tclsh8.5 /opt/local/bin/port
will be in a "frozen" state and unresponsive to Ctrl+C - After approximate 3 minutes, the process will "unfreeze" by itself
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/ MACOSX_DEPLOYMENT_TARGET=10.12 ARCHS=i386 SDKROOT="" 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.
Attachments (1)
Change History (4)
Changed 7 years ago by lbschenkel (Leonardo Brondani Schenkel)
comment:1 Changed 7 years ago by raimue (Rainer Müller)
comment:2 Changed 7 years ago by lbschenkel (Leonardo Brondani Schenkel)
I'm the author of the linked post. :-)
comment:3 Changed 7 years ago by raimue (Rainer Müller)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
See also: https://lists.macports.org/pipermail/macports-dev/2017-May/035812.html
This has been reported multiple times before (#49647, #45609, macports-users), but we were unable to detect the cause and it seems like it also happens outside of MacPorts, so it might be a general problem with xcodebuild.
The recommend solution is to reboot your Mac.