Opened 10 years ago

Closed 10 years ago

#45304 closed defect (worksforme)

apr-util @1.5.4 build never finishes

Reported by: felzmann (Ulrich Felzmann) Owned by: danielluke (Daniel J. Luke)
Priority: Normal Milestone:
Component: ports Version: 2.3.1
Keywords: Cc:
Port: apr-util

Description

There seems to be a race condition in the build of apr-build as the linking never finishes.

libtool: compile: Waiting for apr_brigade.o.lock to be removed
libtool: compile: Waiting for apr_buckets.o.lock to be removed
libtool: compile: Waiting for apr_buckets_eos.o.lock to be removed
libtool: compile: Waiting for apr_buckets_alloc.o.lock to be removed
libtool: compile: Waiting for apr_buckets_eos.o.lock to be removed
libtool: compile: Waiting for apr_buckets_alloc.o.lock to be removed
libtool: compile: Waiting for apr_buckets.o.lock to be removed
libtool: compile: Waiting for apr_buckets_file.o.lock to be removed
libtool: compile: Waiting for apr_brigade.o.lock to be removed

This output continues for hours...

Also, I can't find any of these lock files anywhere.

Output of port -v install apr-util is attached.

Attachments (3)

main.log (6.0 KB) - added by felzmann (Ulrich Felzmann) 10 years ago.
non_parallel.log (51.3 KB) - added by felzmann (Ulrich Felzmann) 10 years ago.
main.debug.log (83.7 KB) - added by felzmann (Ulrich Felzmann) 10 years ago.

Download all attachments as: .zip

Change History (18)

Changed 10 years ago by felzmann (Ulrich Felzmann)

Attachment: main.log added

comment:1 Changed 10 years ago by danielluke (Daniel J. Luke)

Can you attach a clean/complete build log that shows the problem (clean first, so we get the full output)? If you can replicate this easily, after you generate a complete build log, can you try to force a non-parallel build (port -v install apr-util build.jobs=1) and see if that fixes it?

I've not seen any problems with parallel build - but that doesn't mean there's not a problem.

Thanks.

comment:2 Changed 10 years ago by danielluke (Daniel J. Luke)

Owner: changed from macports-tickets@… to dluke@…
Status: newassigned

comment:3 Changed 10 years ago by danielluke (Daniel J. Luke)

Cc: dluke@… removed

comment:4 in reply to:  1 ; Changed 10 years ago by felzmann (Ulrich Felzmann)

Thanks for your response. I tried both the non-parallel and the parallel build after a complete clean. Same result, linking stage gets stuck. I've attached the full build log.

Changed 10 years ago by felzmann (Ulrich Felzmann)

Attachment: non_parallel.log added

comment:5 in reply to:  4 Changed 10 years ago by danielluke (Daniel J. Luke)

Replying to ulrich.felzmann@…:

Thanks for your response. I tried both the non-parallel and the parallel build after a complete clean. Same result, linking stage gets stuck. I've attached the full build log.

That's interesting since it doesn't happen on my machine(s) or on the build machines. I'll take a look at the log and see if I notice anything interesting...

comment:6 Changed 10 years ago by danielluke (Daniel J. Luke)

You wouldn't happen to have configured Macports to use distcc, would you?

comment:7 Changed 10 years ago by felzmann (Ulrich Felzmann)

No, I don't use distcc.

comment:8 Changed 10 years ago by danielluke (Daniel J. Luke)

OK, I didn't see anything obvious.

can you paste in the -dv output? sudo port clean apr-util && sudo port -dv install apr-util

comment:9 Changed 10 years ago by felzmann (Ulrich Felzmann)

Attached.

comment:10 Changed 10 years ago by danielluke (Daniel J. Luke)

That's not the verbose debug output ( -dv ), there would be a bunch of lines that start with 'DEBUG:'

Also, is there anything unusual about your $prefix ? (/opt/macports) ? Is it a symlink to somewhere? is it a local disk? is it a network share?

Changed 10 years ago by felzmann (Ulrich Felzmann)

Attachment: main.debug.log added

comment:11 Changed 10 years ago by felzmann (Ulrich Felzmann)

Apologies, just replaced main.debug.log.

There is nothing unusual about my $prefix (local disk, no symlink plenty of free disk space, ...)

comment:12 Changed 10 years ago by danielluke (Daniel J. Luke)

I'm stumped, did you perhaps modify /bin/sh on your machine (maybe because of shellshock?)

comment:13 Changed 10 years ago by felzmann (Ulrich Felzmann)

No, I didn't.

$ /bin/sh --version
GNU bash, version 3.2.51(1)-release (x86_64-apple-darwin13)
Copyright (C) 2007 Free Software Foundation, Inc.

comment:14 Changed 10 years ago by danielluke (Daniel J. Luke)

I don't know why it's not building for you, then. I would suggest (as a workaround) that you just use the archive from the buildbot. If you discover any additional details that may be helpful to others, please post.

comment:15 Changed 10 years ago by danielluke (Daniel J. Luke)

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