Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Sep 2011 12:42:56 +0800
From:      Adrian Chadd <adrian@freebsd.org>
To:        Greg Miller <greglmiller@gmail.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: make buildworld error on 9.0B2
Message-ID:  <CAJ-Vmomy3WCQ_CinY3mnm1AUWu=Q28R1UiGzh9Z8B_1y3WXdAw@mail.gmail.com>
In-Reply-To: <CAHLcusRRzXkMDBma8oyx-vcrvyKB33nBV5tE12bTL-p8dKhbmw@mail.gmail.com>
References:  <CAHLcusRRzXkMDBma8oyx-vcrvyKB33nBV5tE12bTL-p8dKhbmw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 29 September 2011 08:57, Greg Miller <greglmiller@gmail.com> wrote:
> On a fresh install of 9.0B2, I've updated my source to RELENG_9 with
> csup, and I get the following when I try to make buildworld:

Good, is this reproducable? There's a patch to csup that may help you
out with this.

Index: src/usr.bin/csup/fixups.c
===================================================================
--- src/usr.bin/csup/fixups.c   (revision 225772)
+++ src/usr.bin/csup/fixups.c   (working copy)
@@ -141,7 +141,7 @@
        fixups_lock(f);
        while (f->size == 0 && !f->closed)
                pthread_cond_wait(&f->cond, &f->lock);
-       if (f->closed) {
+       if (f->size == 0) {
                fixups_unlock(f);
                return (NULL);
        }

I know this is a bit of effort, but can you please reproduce the
issue, then see if this patch fixes it for you?
I'd like to try and get this into 9.0-RELEASE but there's no csup
maintainer so I'm just relying on "works for me" and code reviews from
others.

Thanks,

Adrian



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmomy3WCQ_CinY3mnm1AUWu=Q28R1UiGzh9Z8B_1y3WXdAw>