From owner-freebsd-ports@FreeBSD.ORG Fri Oct 4 11:17:37 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 3FDAF2EE for ; Fri, 4 Oct 2013 11:17:37 +0000 (UTC) (envelope-from kpaasial@gmail.com) Received: from mail-qa0-x234.google.com (mail-qa0-x234.google.com [IPv6:2607:f8b0:400d:c00::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 054E42673 for ; Fri, 4 Oct 2013 11:17:36 +0000 (UTC) Received: by mail-qa0-f52.google.com with SMTP id k4so868738qaq.18 for ; Fri, 04 Oct 2013 04:17:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=e2OpWrCID3pNWa0QUFgCMj2e2d2+jDK6uPVuiuBpCKg=; b=TbPfWLgexg1SB0IvbfrP1osT/6hSpI3pdkP5L9P6C7kC4qyYxpESl0TmWD5craTFKn eMErAXJZdLsvGbEcw46VD7XP1YO+4iE5kTBiQAXqBYTsIspPb0ig9pHNzWtPqdQmKLxl HXyRvrxvd26h/BKV5XvUGCK4t4jHQd/S1vn6+f6nD8QU1i+BYu/Osfb/IVIxMRBvmrIG PxhHk0zuWjYhcyd4kAi7zxoSVwSclgEsQY6YN2mOyPE2fq3f5TLI2rTkAtIVVaWLHQ9p gSYi5F42pl+jvCK6ZRCPmzq3vTtfE+BwAYdaE38yRBXW7eG7HNT+xFzykrnyWI2qr6O/ PSHw== MIME-Version: 1.0 X-Received: by 10.49.76.6 with SMTP id g6mr16316847qew.41.1380885456181; Fri, 04 Oct 2013 04:17:36 -0700 (PDT) Received: by 10.224.88.197 with HTTP; Fri, 4 Oct 2013 04:17:36 -0700 (PDT) In-Reply-To: <1380881731991-5848725.post@n5.nabble.com> References: <1380881731991-5848725.post@n5.nabble.com> Date: Fri, 4 Oct 2013 14:17:36 +0300 Message-ID: Subject: Re: poudriere feature suggestion: retry with gcc From: Kimmo Paasiala To: Beeblebrox Content-Type: text/plain; charset=UTF-8 Cc: freebsd-ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Oct 2013 11:17:37 -0000 On Fri, Oct 4, 2013 at 1:15 PM, Beeblebrox wrote: > I have a pure clang world and no GCC from base (WITHOUT_GCC= yes). The same > goes for the poudriere build environment. > > When doing massive updates (like the recent pixman-dependent ports), I get a > number of ports that fail to build. The number of failed + skipped was about > 150 for this run for example. I also have gnome3 merged ports tree. When I > tried to build the failed ports on host, the compile broke just as it had in > the poudriere run, but when I re-tried with USE_GCC=4.6, most failed ports > got built. So it looks like many of the compile breakage is related to not > having base GCC42 on the system. > > While the gcc -> clang shift is on-going, it would be very helpful if > poudriere.conf had an option to retry only once to compile a failed port > with the USE_GCC (or several user-defined) flags. So something like: > RETRY_ONFAIL=yes > RETRY_FLAGS="USE_GCC NOCCACHE" > > Regards. > > > Why have this only on poudriere? This kind of features belong in the ports(7) infrastructure if anywhere. -Kimmo