Opened 9 years ago

Closed 8 years ago

#48913 closed defect (worksforme)

make hangs during configure of gettext

Reported by: nneonneo (Robert Xiao) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: gettext

Description

While trying to upgrade gettext +universal, I ran into a hang.

Command-line: sudo port -v -d install gettext +universal Log attached. I modified the ./configure script (/opt/local/var/macports/build/_opt_local_var_macports_sources_sea.us.rsync.macports.org_release_tarballs_ports_devel_gettext/gettext/work/gettext-0.19.6-x86_64/configure) to change the #! line to "#!/bin/sh -x" so it prints out everything it does. (The hang happens in the same place without -x).

According to args.d, the command "/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk -find make" is hanging. Indeed, if I query Activity Monitor, "xcodebuild" is just sitting there not doing anything (no CPU usage, minimal RAM usage). If I kill it, the configure proceeds.

This is with Command Line Tools (OS X 10.10) version 7.0 released two days ago, and the latest MacPorts version and port files (as of today).

Attachments (1)

gettext-log.txt (70.6 KB) - added by nneonneo (Robert Xiao) 9 years ago.
Log of installing gettext with "sh -x" in ./configure

Download all attachments as: .zip

Change History (4)

Changed 9 years ago by nneonneo (Robert Xiao)

Attachment: gettext-log.txt added

Log of installing gettext with "sh -x" in ./configure

comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Sounds like a bug in xcodebuild. Nothing we can do about that in MacPorts.

I don't see this problem myself. Does it always happen? With every port or only with gettext?

comment:2 Changed 9 years ago by nneonneo (Robert Xiao)

It looks like it might have been the new install of Command Line Tools. Apparently, I did not start Xcode to approve the EULA, so the new tools weren't installed. I guess there's some weird corner case where certain invocations of make in this period fail to launch correctly (maybe waiting for an EULA acceptance that never appears?), even though make was working fine in the majority of cases.

Case closed, I guess.

comment:3 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.