Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#45160 closed defect (invalid)

cctools build stalls on dsymutil ./libtool.NEW

Reported by: Liontooth (David Liontooth) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.3.1
Keywords: Cc:
Port: cctools

Description

=========== /usr/bin/make all for misc =============
make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-855/misc'
/usr/bin/clang -Os -std=gnu99 -Os -DLTO_SUPPORT -DTRIE_SUPPORT -g -Wall -I. -I./../include -I. -I/opt/local/include -I/opt/local/include -arch x86_64 -I/opt/local/libexec/llvm-3.3/include  -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3  -g -fno-common  -c -o ./lipo.o lipo.c
/usr/bin/clang -Os -std=gnu99 -Os -DLTO_SUPPORT -DTRIE_SUPPORT -g -Wall -I. -I./../include -I. -I/opt/local/include -I/opt/local/include -arch x86_64 -I/opt/local/libexec/llvm-3.3/include  -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3  -g -fno-common  -c -o ./strings.o strings.c
/usr/bin/clang -Os -std=gnu99 -Os -DLTO_SUPPORT -DTRIE_SUPPORT -g -Wall -I. -I./../include -I. -I/opt/local/include -I/opt/local/include -arch x86_64 -I/opt/local/libexec/llvm-3.3/include  -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3  -g -fno-common  -c -o ./size.o size.c
/usr/bin/clang -Os -std=gnu99 -Os -DLTO_SUPPORT -DTRIE_SUPPORT -g -Wall -I. -I./../include -I. -I/opt/local/include -I/opt/local/include -arch x86_64 -I/opt/local/libexec/llvm-3.3/include  -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3  -g -fno-common  -c -o ./nm.o nm.c
/usr/bin/clang -Os -std=gnu99 -Os -DLTO_SUPPORT -DTRIE_SUPPORT -g -Wall -I. -I./../include -I. -I/opt/local/include -I/opt/local/include -arch x86_64 -I/opt/local/libexec/llvm-3.3/include  -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3  -g -fno-common  -c -o ./libtool.o libtool.c
/usr/bin/clang -Os -std=gnu99 -Os -DLTO_SUPPORT -DTRIE_SUPPORT -g -Wall -I. -I./../include -I. -I/opt/local/include -I/opt/local/include -arch x86_64 -I/opt/local/libexec/llvm-3.3/include  -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3  -g -fno-common  -c -o ./checksyms.o checksyms.c
/usr/bin/clang -Os -std=gnu99 -Os -DLTO_SUPPORT -DTRIE_SUPPORT -g -Wall -I. -I./../include -I. -I/opt/local/include -I/opt/local/include -arch x86_64 -I/opt/local/libexec/llvm-3.3/include  -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3  -g -fno-common  -c -o ./indr.o indr.c
/usr/bin/clang -Os -std=gnu99 -Os -DLTO_SUPPORT -DTRIE_SUPPORT -g -Wall -I. -I./../include -I. -I/opt/local/include -I/opt/local/include -arch x86_64 -I/opt/local/libexec/llvm-3.3/include  -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3  -g -fno-common  -c -o ./strip.o strip.c
/usr/bin/clang -Os -std=gnu99 -Os -DLTO_SUPPORT -DTRIE_SUPPORT -g -Wall -I. -I./../include -I. -I/opt/local/include -I/opt/local/include -arch x86_64 -I/opt/local/libexec/llvm-3.3/include  -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3  -g -fno-common  -c \
                -o ./nmedit.o ./strip.c -DNMEDIT
/usr/bin/clang -Os -std=gnu99 -Os -DLTO_SUPPORT -DTRIE_SUPPORT -g -Wall -I. -I./../include -I. -I/opt/local/include -I/opt/local/include -arch x86_64 -I/opt/local/libexec/llvm-3.3/include  -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3  -g -fno-common  -c -o ./segedit.o segedit.c
/usr/bin/clang -Os -std=gnu99 -Os -DLTO_SUPPORT -DTRIE_SUPPORT -g -Wall -I. -I./../include -I. -I/opt/local/include -I/opt/local/include -arch x86_64 -I/opt/local/libexec/llvm-3.3/include  -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3  -g -fno-common  -c -o ./cmpdylib.o cmpdylib.c
/usr/bin/clang -Os -std=gnu99 -Os -DLTO_SUPPORT -DTRIE_SUPPORT -g -Wall -I. -I./../include -I. -I/opt/local/include -I/opt/local/include -arch x86_64 -I/opt/local/libexec/llvm-3.3/include  -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3  -g -fno-common  -c -o ./pagestuff.o pagestuff.c
/usr/bin/clang -Os -std=gnu99 -Os -DLTO_SUPPORT -DTRIE_SUPPORT -g -Wall -I. -I./../include -I. -I/opt/local/include -I/opt/local/include -arch x86_64 -I/opt/local/libexec/llvm-3.3/include  -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3  -g -fno-common  -c -o ./redo_prebinding.o redo_prebinding.c
/usr/bin/clang -Os -std=gnu99 -Os -DLTO_SUPPORT -DTRIE_SUPPORT -g -Wall -I. -I./../include -I. -I/opt/local/include -I/opt/local/include -arch x86_64 -I/opt/local/libexec/llvm-3.3/include  -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3  -g -fno-common  -c -o ./seg_addr_table.o seg_addr_table.c
/usr/bin/clang -Os -std=gnu99 -Os -DLTO_SUPPORT -DTRIE_SUPPORT -g -Wall -I. -I./../include -I. -I/opt/local/include -I/opt/local/include -arch x86_64 -I/opt/local/libexec/llvm-3.3/include  -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3  -g -fno-common  -c -o ./check_dylib.o check_dylib.c
/usr/bin/clang -Os -std=gnu99 -Os -DLTO_SUPPORT -DTRIE_SUPPORT -g -Wall -I. -I./../include -I. -I/opt/local/include -I/opt/local/include -arch x86_64 -I/opt/local/libexec/llvm-3.3/include  -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3  -g -fno-common  -c -o ./seg_hack.o seg_hack.c
/usr/bin/clang -Os -std=gnu99 -Os -DLTO_SUPPORT -DTRIE_SUPPORT -g -Wall -I. -I./../include -I. -I/opt/local/include -I/opt/local/include -arch x86_64 -I/opt/local/libexec/llvm-3.3/include  -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3  -g -fno-common  -c -o ./install_name_tool.o install_name_tool.c
/usr/bin/clang -Os -std=gnu99 -Os -DLTO_SUPPORT -DTRIE_SUPPORT -g -Wall -I. -I./../include -I. -I/opt/local/include -I/opt/local/include -arch x86_64 -I/opt/local/libexec/llvm-3.3/include  -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3  -g -fno-common  -c -o ./codesign_allocate.o codesign_allocate.c
/usr/bin/clang -Os -std=gnu99 -Os -DLTO_SUPPORT -DTRIE_SUPPORT -g -Wall -I. -I./../include -I. -I/opt/local/include -I/opt/local/include -arch x86_64 -I/opt/local/libexec/llvm-3.3/include  -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3  -g -fno-common  -c -o ./ctf_insert.o ctf_insert.c
/usr/bin/clang -Os -std=gnu99 -Os -DLTO_SUPPORT -DTRIE_SUPPORT -g -Wall -I. -I./../include -I. -I/opt/local/include -I/opt/local/include -arch x86_64 -I/opt/local/libexec/llvm-3.3/include  -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3  -g -fno-common  -c \
                -o ./libredo_prebinding.o ./redo_prebinding.c -DLIBRARY_API
/usr/bin/clang -Os -std=gnu99 -arch x86_64 -I/opt/local/libexec/llvm-3.3/include  -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3  -g -fno-common  -nostdlib -r \
                -o ./lipo.private.o \
                ./lipo.o -L./../libstuff -lstuff
/usr/bin/clang -Os -std=gnu99 -arch x86_64 -I/opt/local/libexec/llvm-3.3/include  -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3  -g -fno-common  -I/opt/local/include -o ./lipo.NEW \
                ./lipo.private.o
dsymutil ./lipo.NEW
/usr/bin/clang -Os -std=gnu99 -arch x86_64 -I/opt/local/libexec/llvm-3.3/include  -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3  -g -fno-common  -nostdlib -r \
                -o ./strings.private.o \
                ./strings.o -L./../libstuff -lstuff
/usr/bin/clang -Os -std=gnu99 -arch x86_64 -I/opt/local/libexec/llvm-3.3/include  -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3  -g -fno-common  -I/opt/local/include -o ./strings.NEW \
                ./strings.private.o
dsymutil ./strings.NEW
/usr/bin/clang -Os -std=gnu99 -arch x86_64 -I/opt/local/libexec/llvm-3.3/include  -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3  -g -fno-common  -nostdlib -r \
                -o ./size.private.o \
                ./size.o -L./../libstuff -lstuff
/usr/bin/clang -Os -std=gnu99 -arch x86_64 -I/opt/local/libexec/llvm-3.3/include  -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3  -g -fno-common  -I/opt/local/include -o ./size.NEW \
                ./size.private.o
dsymutil ./size.NEW
/usr/bin/clang -Os -std=gnu99 -arch x86_64 -I/opt/local/libexec/llvm-3.3/include  -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3  -g -fno-common  -nostdlib -r \
                -o ./nm.private.o \
                ./nm.o -L./../libstuff -lstuff
/usr/bin/clang -Os -std=gnu99 -arch x86_64 -I/opt/local/libexec/llvm-3.3/include  -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3  -g -fno-common  -I/opt/local/include -o ./nm.NEW \
                ./nm.private.o
dsymutil ./nm.NEW
/usr/bin/clang -Os -std=gnu99 -arch x86_64 -I/opt/local/libexec/llvm-3.3/include  -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3  -g -fno-common  -nostdlib -r \
                -o ./libtool.private.o \
                ./libtool.o -L./../libstuff -lstuff
/usr/bin/clang -Os -std=gnu99 -arch x86_64 -I/opt/local/libexec/llvm-3.3/include  -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3  -g -fno-common  -I/opt/local/include -o ./libtool.NEW \
                ./libtool.private.o
dsymutil ./libtool.NEW

Hangs indefinitely. OSX Mountain Lion with all updates.

Attachments (1)

dsymutil_27615.spindump.txt (2.0 MB) - added by Liontooth (David Liontooth) 10 years ago.
sudo spindump dsymutil

Change History (6)

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

Owner: changed from macports-tickets@… to jeremyhu@…

comment:2 Changed 10 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Plaese attach a spindump.

$ sudo spindump dsymutil

Changed 10 years ago by Liontooth (David Liontooth)

Attachment: dsymutil_27615.spindump.txt added

sudo spindump dsymutil

comment:3 Changed 10 years ago by Liontooth (David Liontooth)

Thanks -- I didn't know about spindump. I issued in one terminal window:

spindump dsymutil -wait

and in another

port upgrade cctools

That seems to have worked.

comment:4 Changed 10 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: invalid
Status: newclosed

That shows the process blocked in kernel-land, doing some IO on your HFS filesystem. I remember seeing issues like this occasionally on Mountain Lion, but I don't remember seeing them for a while now, so maybe it's fixed in Mavericks or Yosemite.

In any event here, this is a kernel bug and not something we can fix.

comment:5 Changed 10 years ago by Liontooth (David Liontooth)

It turns out this resolved itself as follows:

# port uninstall llvm-gcc42 ---> Uninstalling llvm-gcc42 @2336.11_1 ---> Cleaning llvm-gcc42

# port uninstall cctools ---> Uninstalling cctools @845_1+llvm33 ---> Cleaning cctools

# port upgrade outdated Error: Requested variants "+llvm34" do not match original selection "+llvm33". Please use the same variants again, perform 'port clean cctools' or specify the force option (-f). Error: Problem while installing cctools To report a bug, follow the instructions in the guide:

http://guide.macports.org/#project.tickets

# port clean cctools ---> Cleaning cctools

# port upgrade outdated ---> Computing dependencies for cctools ---> Fetching archive for cctools ---> Attempting to fetch cctools-855_1+llvm34.darwin_12.x86_64.tbz2 from http://packages.macports.org/cctools ---> Attempting to fetch cctools-855_1+llvm34.darwin_12.x86_64.tbz2.rmd160 from http://packages.macports.org/cctools ---> Installing cctools @855_1+llvm34 ---> Activating cctools @855_1+llvm34 ---> Cleaning cctools

It looks like the problem was caused by a latent dependency conflict that has a trivial solution -- uninstall before reinstalling.

Note: See TracTickets for help on using tickets.