Date: Wed, 14 Mar 2001 15:59:48 -0800 (PST) From: alfred@FreeBSD.org To: freebsd-gnats-submit@FreeBSD.org Subject: ports/25815: [PATCH] Port build collision fix. Message-ID: <200103142359.f2ENxm293123@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 25815 >Category: ports >Synopsis: [PATCH] Port build collision fix. >Confidential: no >Severity: non-critical >Priority: high >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Mar 14 16:00:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Alfred Perlstein >Release: 4.2 >Organization: The FreeBSD Project >Environment: FreeBSD kyle.wintelcom.net 4.2-STABLE FreeBSD 4.2-STABLE #0: Mon Mar 5 13:43:27 PST 2001 bright@kyle.wintelcom.net:/usr/obj/usr/src/sys/kyle i386 >Description: When two ports happen to depend on the same dependancy there's a good chance that the build will recurse into the dependancy at the same time. This usually breaks the build of the ports and is somewhat annoying. :) >How-To-Repeat: Open two xterms, cd into the same ports dir, type "make" in both terms then hit enter in both terms. You most likely will see the one started later catch up to the other and then they'll fight it out trying to create object files, possibly causing corruption. I've actually had a port build where this happened and require rebuilding because the corrupt object was actually able to link. >Fix: I was complaining on IRC about how I was having difficulty figureing out how to get make(1) to run lockf(1) in some way to block recursing into the same directory at the same time. Eivind <eivind@freebsd.org> saw me whining and gave me this patch: http://people.freebsd.org/~alfred/zb-fix.patch He tested it lightly, I'd like a "Ports master" to check it out and hopefully commit it. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103142359.f2ENxm293123>