From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_2 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DEA6AC4338F for ; Tue, 3 Aug 2021 10:12:06 +0000 (UTC) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 474C360EEA for ; Tue, 3 Aug 2021 10:12:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 474C360EEA Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bootlin.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=busybox.net Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id E8FCB402AF; Tue, 3 Aug 2021 10:12:05 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8xOt8dGFgnPl; Tue, 3 Aug 2021 10:12:05 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id 2134D40219; Tue, 3 Aug 2021 10:12:04 +0000 (UTC) Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 9A8461BF310 for ; Tue, 3 Aug 2021 10:12:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 95DE1605DC for ; Tue, 3 Aug 2021 10:12:02 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id O7OYhK0Y3WSU for ; Tue, 3 Aug 2021 10:12:01 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) by smtp3.osuosl.org (Postfix) with ESMTPS id 8E8FF605C9 for ; Tue, 3 Aug 2021 10:12:01 +0000 (UTC) Received: (Authenticated sender: thomas.petazzoni@bootlin.com) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 146BD20005; Tue, 3 Aug 2021 10:11:58 +0000 (UTC) Date: Tue, 3 Aug 2021 12:11:57 +0200 From: Thomas Petazzoni To: Arnout Vandecappelle Message-ID: <20210803121157.54af210b@windsurf> In-Reply-To: <3430ac54-09ee-c25f-1dd3-82035c3d87a0@mind.be> References: <20210802060946.C27006062D@smtp3.osuosl.org> <20210802234647.6f3df99d@windsurf> <0c80668e-d1c0-3516-4a9e-54e6eb32cfd8@benettiengineering.com> <20210803092835.0e4d2663@windsurf> <3430ac54-09ee-c25f-1dd3-82035c3d87a0@mind.be> Organization: Bootlin X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Subject: Re: [Buildroot] Some analysis of the major build failure reasons X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bernd Kuhls , James Hilliard , buildroot@buildroot.org, Giulio Benetti , Giulio Benetti , Adam Duskett Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Hello, On Tue, 3 Aug 2021 12:04:13 +0200 Arnout Vandecappelle wrote: > A simpler solution is to use 'make -Orecurse' or 'make -Otarget'. That keeps > the recursive output together. True, but as you say below, it doesn't guarantee that the actual issue appears in the last part of the build log. > It may not fully help due to the "Waiting for unfinished jobs" bit - the line > with the failed package may appear just before that. But that can be solved by > first searching the "Waiting for unfinished jobs" line and cutting off > everything after it. True. Needs some logic in extract_end_log() in autobuild-run. So what should we do ? Build with -Otarget, and keep the last ~500 lines before the "Waiting for unfinished jobs" ? > Additional autobuilders do help because they offer a different build > environment. If there's some autobuild failure that *doesn't* happen on James's > machines, you can be sure that it's due to the build environment. Absolutely true, that's a very good point that you have here. Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ buildroot mailing list buildroot@busybox.net http://lists.busybox.net/mailman/listinfo/buildroot