X-Loop: help-debbugs@HIDDEN Subject: bug#33737: do not attempt to build a package known to be broken Resent-From: Ricardo Wurmus <rekado@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Fri, 14 Dec 2018 04:43:02 +0000 Resent-Message-ID: <handler.33737.B.154476252529149 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 33737 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 33737 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-guix@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.154476252529149 (code B ref -1); Fri, 14 Dec 2018 04:43:02 +0000 Received: (at submit) by debbugs.gnu.org; 14 Dec 2018 04:42:05 +0000 Received: from localhost ([127.0.0.1]:47188 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1gXfIb-0007a5-Cn for submit <at> debbugs.gnu.org; Thu, 13 Dec 2018 23:42:05 -0500 Received: from eggs.gnu.org ([208.118.235.92]:40109) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rekado@HIDDEN>) id 1gXfIZ-0007ZY-4d for submit <at> debbugs.gnu.org; Thu, 13 Dec 2018 23:42:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <rekado@HIDDEN>) id 1gXfIT-000816-2r for submit <at> debbugs.gnu.org; Thu, 13 Dec 2018 23:41:57 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:59521) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <rekado@HIDDEN>) id 1gXfIS-00080A-V1 for submit <at> debbugs.gnu.org; Thu, 13 Dec 2018 23:41:56 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49719) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <rekado@HIDDEN>) id 1gXfIS-0003bI-2g for bug-guix@HIDDEN; Thu, 13 Dec 2018 23:41:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <rekado@HIDDEN>) id 1gXfIO-0007iO-42 for bug-guix@HIDDEN; Thu, 13 Dec 2018 23:41:56 -0500 Received: from sender-of-o53.zoho.com ([135.84.80.218]:21719) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <rekado@HIDDEN>) id 1gXfIN-0007cw-Nu for bug-guix@HIDDEN; Thu, 13 Dec 2018 23:41:52 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1544762502; cv=none; d=zoho.com; s=zohoarc; b=g4vTNIZJ1xiq9RSL134l+QnUdZ3jNtJdl23pHKjO626jpEZD5q+peEisGjQWYe48gPjGIV9olqM46hOqlCiAtCJEuOQQpoX3WR983daDXxfYhDF7y360i6aPGKMt2mT1nUCuFWpggBoqjhjXfKUnesOiPLKHpDoCgpX4otAhfgU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1544762502; h=Content-Type:Content-Transfer-Encoding:Date:From:MIME-Version:Message-ID:Subject:To:ARC-Authentication-Results; bh=kSppSpgtgh7KhfABOZ4CjAVsYVdUybees4ZMqM1HUzI=; b=TLISoO4wdTwBNw2FvwdxAzBekb4zq7JvxDoxmw9BKYZml5kahhirrqH07PZZGmP+8EljWLk3dNRs/sUe30sS+xJRcSseJ/fJ3lF4VHVpjjy9tEatmY5SHl8gNeY6MvdVyE2hPbiSAV2mAqZr2OqmWE5gV9GAYIUz6yhCZPNjzYs= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@HIDDEN; dmarc=pass header.from=<rekado@HIDDEN> header.from=<rekado@HIDDEN> DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1544762502; s=zoho; d=elephly.net; i=rekado@HIDDEN; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; l=808; bh=kSppSpgtgh7KhfABOZ4CjAVsYVdUybees4ZMqM1HUzI=; b=VjEYUM/dP68/Q/ab8r2Uvz2Gwt1Y1dIYNV/s6AqAucJfZCRPpFIPTSBAi26q2o4q 1Wm7jprlZwivzfRF1OZ9UXtihOB7HmOT0A6XOPN6ddsTQCytIJ33w2crKu1Z9UPRHFE Yc1kSGq3wDZyJm6QdLcfYJHt4kBUbMEpA0n0Khfo= Received: from localhost (176.12.107.132 [176.12.107.132]) by mx.zohomail.com with SMTPS id 1544762501018878.421778297155; Thu, 13 Dec 2018 20:41:41 -0800 (PST) User-agent: mu4e 1.0; emacs 26.1 From: Ricardo Wurmus <rekado@HIDDEN> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Fri, 14 Dec 2018 05:41:37 +0100 Message-ID: <87efakyb26.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -5.0 (-----) The default use case is for users to have substitutes enabled and to fetch binaries from a build farm. The build farm tries to build all packages, but not all builds succeed. The daemon caches build failures. This information, however, is not available for users. The default behaviour of Guix is to attempt building the package locally. This is fine for packages that the build farm hasn=E2=80=99t attempted yet, but it = is a waste of time when the build has already been attempted without success. I propose that =E2=80=9Cguix publish=E2=80=9D should also convey informatio= n about failed builds. The Guix client can then abort right away without wasting time and power to attempt a doomed build. Users may override this with =E2=80=9C--fallback=E2=80=9D or a new option. -- Ricardo
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Ricardo Wurmus <rekado@HIDDEN> Subject: bug#33737: Acknowledgement (do not attempt to build a package known to be broken) Message-ID: <handler.33737.B.154476252529149.ack <at> debbugs.gnu.org> References: <87efakyb26.fsf@HIDDEN> X-Gnu-PR-Message: ack 33737 X-Gnu-PR-Package: guix Reply-To: 33737 <at> debbugs.gnu.org Date: Fri, 14 Dec 2018 04:43:03 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-guix@HIDDEN If you wish to submit further information on this problem, please send it to 33737 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 33737: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D33737 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#33737: do not attempt to build a package known to be broken Resent-From: =?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?= <bjoern.hoefling@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Sat, 15 Dec 2018 18:55:01 +0000 Resent-Message-ID: <handler.33737.B33737.154490008827877 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 33737 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ricardo Wurmus <rekado@HIDDEN> Cc: 33737 <at> debbugs.gnu.org Received: via spool by 33737-submit <at> debbugs.gnu.org id=B33737.154490008827877 (code B ref 33737); Sat, 15 Dec 2018 18:55:01 +0000 Received: (at 33737) by debbugs.gnu.org; 15 Dec 2018 18:54:48 +0000 Received: from localhost ([127.0.0.1]:49630 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1gYF5M-0007FZ-9d for submit <at> debbugs.gnu.org; Sat, 15 Dec 2018 13:54:48 -0500 Received: from m4s11.vlinux.de ([83.151.27.109]:36630 helo=bjoernhoefling.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <bjoern.hoefling@HIDDEN>) id 1gYF5J-0007FQ-Or for 33737 <at> debbugs.gnu.org; Sat, 15 Dec 2018 13:54:46 -0500 Received: from alma-ubu (p508AC390.dip0.t-ipconnect.de [80.138.195.144]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by bjoernhoefling.de (Postfix) with ESMTPSA id 2A0E64027F; Sat, 15 Dec 2018 19:54:44 +0100 (CET) Date: Sat, 15 Dec 2018 19:54:37 +0100 From: =?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?= <bjoern.hoefling@HIDDEN> Message-ID: <20181215195437.32313415@alma-ubu> In-Reply-To: <87efakyb26.fsf@HIDDEN> References: <87efakyb26.fsf@HIDDEN> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/lGAIJe2/=NzAEl/PC4Xq+mY"; protocol="application/pgp-signature" X-Spam-Score: 0.1 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.9 (/) --Sig_/lGAIJe2/=NzAEl/PC4Xq+mY Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Fri, 14 Dec 2018 05:41:37 +0100 Ricardo Wurmus <rekado@HIDDEN> wrote: > The default use case is for users to have substitutes enabled and to > fetch binaries from a build farm. The build farm tries to build all > packages, but not all builds succeed. The daemon caches build > failures. >=20 > This information, however, is not available for users. The default > behaviour of Guix is to attempt building the package locally. This is > fine for packages that the build farm hasn=E2=80=99t attempted yet, but i= t is > a waste of time when the build has already been attempted without > success. +1 Very good idea. Bj=C3=B6rn --Sig_/lGAIJe2/=NzAEl/PC4Xq+mY Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlwVTe4ACgkQvyhstlk+X/0awQCcCWfhH+4An4y2ajHvKn1yGD46 kwMAnjwZwWwFEDdWtClwBVYrYlapHk5d =7tPv -----END PGP SIGNATURE----- --Sig_/lGAIJe2/=NzAEl/PC4Xq+mY--
X-Loop: help-debbugs@HIDDEN Subject: bug#33737: do not attempt to build a package known to be broken Resent-From: <znavko@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Sat, 15 Dec 2018 19:40:02 +0000 Resent-Message-ID: <handler.33737.B33737.154490277032264 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 33737 X-GNU-PR-Package: guix X-GNU-PR-Keywords: Cc: Ricardo Wurmus <rekado@HIDDEN>, 33737 <at> debbugs.gnu.org Received: via spool by 33737-submit <at> debbugs.gnu.org id=B33737.154490277032264 (code B ref 33737); Sat, 15 Dec 2018 19:40:02 +0000 Received: (at 33737) by debbugs.gnu.org; 15 Dec 2018 19:39:30 +0000 Received: from localhost ([127.0.0.1]:49678 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1gYFmc-0008OJ-GQ for submit <at> debbugs.gnu.org; Sat, 15 Dec 2018 14:39:30 -0500 Received: from w1.tutanota.de ([81.3.6.162]:39242) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <znavko@HIDDEN>) id 1gYFmZ-0008O5-NY for 33737 <at> debbugs.gnu.org; Sat, 15 Dec 2018 14:39:28 -0500 Received: from w2.tutanota.de (unknown [192.168.1.163]) by w1.tutanota.de (Postfix) with ESMTP id B0E98FBF176; Sat, 15 Dec 2018 19:39:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tutanota.com; s=20161216; t=1544902761; bh=fK7fMZMF9UqfelmIk2zZ7j2WO3wjaPXC6zwdLJtxgbg=; h=Date:From:Cc:In-Reply-To:References:Subject:From; b=tmTYWFR/OpyJHJj1IDZu8pTc0HF7ieuyEy7zxCQZNBFBf9PmPQwgXWlXE8P304LLu 96uvye2AO29AsXV8BsOWrjjgCRamnPHX0MxGvKaojwoCtBW0A68gyHHPc7gdB8sAT+ rjxfAKxrSovMbET6D3g1AxdGU1KjfhBp+ZBZeHfSBKmDD3ADBi+mWg3NlPcwUknOaM 0ztBgSrXapXvodjBU7cKUTMB/Yw1B8mnSAoO7gSZMEKoDQdKBg3xHOqf3Pt/PkrBlZ tVCzWaPEGp9oqRLjk0uq6OPVDsOg2CiL2QRl2yzcBSarPiKbuJ2tZAf8EevvczCxoV mPRuXmXxMxYZw== Date: Sat, 15 Dec 2018 20:39:21 +0100 (CET) From: <znavko@HIDDEN> Message-ID: <LTnNKXp--3-1@HIDDEN> In-Reply-To: <20181215195437.32313415@alma-ubu> References: <87efakyb26.fsf@HIDDEN> <<87efakyb26.fsf@HIDDEN>> <20181215195437.32313415@alma-ubu> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_21926_193029968.1544902761717" X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.5 (/) ------=_Part_21926_193029968.1544902761717 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Package can have additional fields in guix repository, like architecture, version, buid_status, source_type build_status may contain such info.=20 source_type could show if the package source url is one of those public git= services (thus, user could enable proxy first). Dec 15, 2018, 6:54 PM by bjoern.hoefling@HIDDEN: > On Fri, 14 Dec 2018 05:41:37 +0100 > Ricardo Wurmus <> rekado@HIDDEN <mailto:rekado@HIDDEN>> > wrote= : > >> The default use case is for users to have substitutes enabled and to >> fetch binaries from a build farm. The build farm tries to build all >> packages, but not all builds succeed. The daemon caches build >> failures. >> >> This information, however, is not available for users. The default >> behaviour of Guix is to attempt building the package locally. This is >> fine for packages that the build farm hasn=E2=80=99t attempted yet, but = it is >> a waste of time when the build has already been attempted without >> success. >> > > +1 > > Very good idea. > > Bj=C3=B6rn > ------=_Part_21926_193029968.1544902761717 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <html> <head> <meta http-equiv=3D"content-type" content=3D"text/html; charset=3DUTF-8= "> </head> <body> <div style=3D"16px" text-align=3D"left">Package can have additional fields = in guix repository, like<br /></div><div style=3D"16px" text-align=3D"left"= >architecture, version, buid_status, source_type<br /></div><div style=3D"1= 6px" text-align=3D"left">build_status may contain such info. <br /></div><d= iv style=3D"16px" text-align=3D"left">source_type could show if the package= source url is one of those public git services (thus, user could enable pr= oxy first).<br /></div><div style=3D"16px" text-align=3D"left"><br /></div>= <div style=3D"16px" text-align=3D"left"><br /></div><div style=3D"16px" tex= t-align=3D"left">Dec 15, 2018, 6:54 PM by bjoern.hoefling@HIDDEN= :<br /></div><blockquote class=3D"tutanota_quote" style=3D"border-left: 1px= solid #93A3B8; padding-left: 10px; margin-left: 5px;"><div style=3D"16px" = text-align=3D"left">On Fri, 14 Dec 2018 05:41:37 +0100<br /></div><div styl= e=3D"16px" text-align=3D"left">Ricardo Wurmus <<a rel=3D"noopener norefe= rrer" target=3D"_blank" href=3D"mailto:rekado@HIDDEN">rekado@HIDDEN= et</a>> wrote:<br /></div><blockquote><div style=3D"16px" text-align=3D"= left">The default use case is for users to have substitutes enabled and to<= br /></div><div style=3D"16px" text-align=3D"left">fetch binaries from a bu= ild farm. The build farm tries to build all<br /></div><div style=3D"16px"= text-align=3D"left">packages, but not all builds succeed. The daemon cach= es build<br /></div><div style=3D"16px" text-align=3D"left">failures.<br />= </div><div style=3D"16px" text-align=3D"left"><br /></div><div style=3D"16p= x" text-align=3D"left">This information, however, is not available for user= s. The default<br /></div><div style=3D"16px" text-align=3D"left">behaviou= r of Guix is to attempt building the package locally. This is<br /></div><= div style=3D"16px" text-align=3D"left">fine for packages that the build far= m hasn=E2=80=99t attempted yet, but it is<br /></div><div style=3D"16px" te= xt-align=3D"left">a waste of time when the build has already been attempted= without<br /></div><div style=3D"16px" text-align=3D"left">success.<br /><= /div></blockquote><div style=3D"16px" text-align=3D"left"><br /></div><div = style=3D"16px" text-align=3D"left">+1<br /></div><div style=3D"16px" text-a= lign=3D"left"><br /></div><div style=3D"16px" text-align=3D"left">Very good= idea.<br /></div><div style=3D"16px" text-align=3D"left"><br /></div><div = style=3D"16px" text-align=3D"left">Björn<br /></div></blockquote><div = style=3D"16px" text-align=3D"left"><br /></div> </body> </html> ------=_Part_21926_193029968.1544902761717--
X-Loop: help-debbugs@HIDDEN Subject: bug#33737: do not attempt to build a package known to be broken Resent-From: Danny Milosavljevic <dannym@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Sun, 16 Dec 2018 20:15:02 +0000 Resent-Message-ID: <handler.33737.B33737.154499129819034 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 33737 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ricardo Wurmus <rekado@HIDDEN> Cc: 33737 <at> debbugs.gnu.org Received: via spool by 33737-submit <at> debbugs.gnu.org id=B33737.154499129819034 (code B ref 33737); Sun, 16 Dec 2018 20:15:02 +0000 Received: (at 33737) by debbugs.gnu.org; 16 Dec 2018 20:14:58 +0000 Received: from localhost ([127.0.0.1]:50612 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1gYcoT-0004wv-Oq for submit <at> debbugs.gnu.org; Sun, 16 Dec 2018 15:14:57 -0500 Received: from dd26836.kasserver.com ([85.13.145.193]:33944) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <dannym@HIDDEN>) id 1gYcoS-0004wn-Il for 33737 <at> debbugs.gnu.org; Sun, 16 Dec 2018 15:14:57 -0500 Received: from localhost (178.112.139.158.wireless.dyn.drei.com [178.112.139.158]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 7DEB63360320; Sun, 16 Dec 2018 21:14:55 +0100 (CET) Date: Sun, 16 Dec 2018 21:14:51 +0100 From: Danny Milosavljevic <dannym@HIDDEN> Message-ID: <20181216211451.7e15fdc7@HIDDEN> In-Reply-To: <87efakyb26.fsf@HIDDEN> References: <87efakyb26.fsf@HIDDEN> X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/EjmY+w/0.LLpjqLFe8B4kOV"; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) --Sig_/EjmY+w/0.LLpjqLFe8B4kOV Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Fri, 14 Dec 2018 05:41:37 +0100 Ricardo Wurmus <rekado@HIDDEN> wrote: > The default use case is for users to have substitutes enabled and to > fetch binaries from a build farm. The build farm tries to build all > packages, but not all builds succeed. The daemon caches build failures. >=20 > This information, however, is not available for users. The default > behaviour of Guix is to attempt building the package locally. This is > fine for packages that the build farm hasn=E2=80=99t attempted yet, but i= t is a > waste of time when the build has already been attempted without success. >=20 > I propose that =E2=80=9Cguix publish=E2=80=9D should also convey informat= ion about > failed builds. The Guix client can then abort right away without > wasting time and power to attempt a doomed build. Users may override > this with =E2=80=9C--fallback=E2=80=9D or a new option. As long as we distinguish transient build machine errors (disk full, can't resolve hostname, too many names in directory, no inodes left etc) from act= ual errors in the source code, +1. --Sig_/EjmY+w/0.LLpjqLFe8B4kOV Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlwWsjsACgkQ5xo1VCww uqUFYAf/S5B2aa9pyMonY36WhPle4KORF+QS8z4HVlypP3CTusWpDMehomUQIhDA O/Ph6RJysg/FID1NTbHnMwWKfUg8g8OmxCtG/iyAm+5hwtRWsmaurS6Wg8oGq5rw rzL2fcbSfnQhT0KYKdHwdzrZowhC8QGQyBy6QqZMzvpGRRf+T5Rxpb29/PEJ59pC 2iHz/pLEh288K2Q6L0olUlIMncAssgORM/fcgSGx2vkTOKD2NmE15SCKfbxy0cNt kAh4++QajEWhrC0HNI9roJfh7+aDClDDG9UEAv00yI7lyGn1pO5TMBmGXGWFAX6F Llj9JxhVbcw/YwAfOEJDZKjpYMmH3g== =cIY8 -----END PGP SIGNATURE----- --Sig_/EjmY+w/0.LLpjqLFe8B4kOV--
X-Loop: help-debbugs@HIDDEN Subject: bug#33737: do not attempt to build a package known to be broken Resent-From: Ricardo Wurmus <rekado@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Mon, 17 Dec 2018 01:42:02 +0000 Resent-Message-ID: <handler.33737.B33737.15450109091448 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 33737 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Danny Milosavljevic <dannym@HIDDEN> Cc: 33737 <at> debbugs.gnu.org Received: via spool by 33737-submit <at> debbugs.gnu.org id=B33737.15450109091448 (code B ref 33737); Mon, 17 Dec 2018 01:42:02 +0000 Received: (at 33737) by debbugs.gnu.org; 17 Dec 2018 01:41:49 +0000 Received: from localhost ([127.0.0.1]:50726 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1gYhum-0000NH-Sx for submit <at> debbugs.gnu.org; Sun, 16 Dec 2018 20:41:49 -0500 Received: from sender-of-o53.zoho.com ([135.84.80.218]:21780) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rekado@HIDDEN>) id 1gYhuk-0000N7-B5 for 33737 <at> debbugs.gnu.org; Sun, 16 Dec 2018 20:41:47 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1544997335; cv=none; d=zoho.com; s=zohoarc; b=SOqm2sfXNOfEu5v2g5t7CfETDC+fkhR5/POpOquwM0N6khmRJiFWG3bZq38eXbDlLg4eJSbu9pfGHfzUTcDr4e8UfKhwjuefT1M8NXVsX7EGhKghUgJ0cFvu/4eLNHVa9aK8gS4fGgmdEARcnquXcI/QqiZiWuBpAiHCjwKOzVU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1544997335; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=hyK4oilmWzwEHcovlDBSkO2QcKaOI31I4IBc4Kluipg=; b=IG7hvdopNnSlwOM40gVn3ZPayzdOsCEnL8+1TGwAJ7tcl3mqrPcHijplw8y6Kc+WWwJVFYQDslC635A0GHA/umfsbjO6SEH/H4WZxWCYScJBs38ix7eCNawnU2uKT5jFlzoBvG/JlD/OA3XIJk51BPZkldRDJj4SeoJx+lkdzk0= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@HIDDEN; dmarc=pass header.from=<rekado@HIDDEN> header.from=<rekado@HIDDEN> DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1544997335; s=zoho; d=elephly.net; i=rekado@HIDDEN; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; l=850; bh=hyK4oilmWzwEHcovlDBSkO2QcKaOI31I4IBc4Kluipg=; b=OhAL+BtMx2FEdmcHB22sb8I9tND74s8LG8pzyKNy1U67gLzOL+bpeHMoXzcDEu9L HRE4kqJCN310REs1hYiPgciLEUbu/FaIudUU83atUhpPpRzZDInKD19OohFrdTRztdr TYT/Pcr0HaX1/TJnQpDwwGleYiL4ewqh7lmhqe1g= Received: from localhost (p578E7301.dip0.t-ipconnect.de [87.142.115.1]) by mx.zohomail.com with SMTPS id 1544997334381569.5091754267968; Sun, 16 Dec 2018 13:55:34 -0800 (PST) References: <87efakyb26.fsf@HIDDEN> <20181216211451.7e15fdc7@HIDDEN> User-agent: mu4e 1.0; emacs 26.1 From: Ricardo Wurmus <rekado@HIDDEN> In-reply-to: <20181216211451.7e15fdc7@HIDDEN> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Sun, 16 Dec 2018 22:55:30 +0100 Message-ID: <87imztw2zx.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Danny Milosavljevic <dannym@HIDDEN> writes: >> I propose that =E2=80=9Cguix publish=E2=80=9D should also convey informa= tion about >> failed builds. The Guix client can then abort right away without >> wasting time and power to attempt a doomed build. Users may override >> this with =E2=80=9C--fallback=E2=80=9D or a new option. > > As long as we distinguish transient build machine errors (disk full, can't > resolve hostname, too many names in directory, no inodes left etc) from a= ctual > errors in the source code, +1. I was thinking of something very simple. The daemon is already capable of caching build failures; I think it may be good to simply pass that information on to clients. I don=E2=80=99t know how we could distinguish different kinds of build fail= ures with the current daemon. -- Ricardo
X-Loop: help-debbugs@HIDDEN Subject: bug#33737: do not attempt to build a package known to be broken Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Tue, 18 Dec 2018 10:51:02 +0000 Resent-Message-ID: <handler.33737.B33737.154513021912435 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 33737 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ricardo Wurmus <rekado@HIDDEN> Cc: 33737 <at> debbugs.gnu.org, Danny Milosavljevic <dannym@HIDDEN> Received: via spool by 33737-submit <at> debbugs.gnu.org id=B33737.154513021912435 (code B ref 33737); Tue, 18 Dec 2018 10:51:02 +0000 Received: (at 33737) by debbugs.gnu.org; 18 Dec 2018 10:50:19 +0000 Received: from localhost ([127.0.0.1]:52643 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1gZCx8-0003EV-LG for submit <at> debbugs.gnu.org; Tue, 18 Dec 2018 05:50:18 -0500 Received: from eggs.gnu.org ([208.118.235.92]:56373) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1gZCx6-0003EJ-Tz for 33737 <at> debbugs.gnu.org; Tue, 18 Dec 2018 05:50:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <ludo@HIDDEN>) id 1gZCwu-0002FP-3Y for 33737 <at> debbugs.gnu.org; Tue, 18 Dec 2018 05:50:04 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60738) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>) id 1gZCwt-0002Dl-Kh; Tue, 18 Dec 2018 05:50:03 -0500 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=56196 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <ludo@HIDDEN>) id 1gZCwt-0006Zo-9C; Tue, 18 Dec 2018 05:50:03 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> References: <87efakyb26.fsf@HIDDEN> <20181216211451.7e15fdc7@HIDDEN> <87imztw2zx.fsf@HIDDEN> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 28 Frimaire an 227 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 18 Dec 2018 11:50:01 +0100 In-Reply-To: <87imztw2zx.fsf@HIDDEN> (Ricardo Wurmus's message of "Sun, 16 Dec 2018 22:55:30 +0100") Message-ID: <87mup3hzxi.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -6.0 (------) Hello! Ricardo Wurmus <rekado@HIDDEN> skribis: > Danny Milosavljevic <dannym@HIDDEN> writes: > >>> I propose that =E2=80=9Cguix publish=E2=80=9D should also convey inform= ation about >>> failed builds. The Guix client can then abort right away without >>> wasting time and power to attempt a doomed build. Users may override >>> this with =E2=80=9C--fallback=E2=80=9D or a new option. Good idea! The difficulty is that the protocol between =E2=80=98guix substitute --quer= y=E2=80=99 and the daemon is currently very much Boolean: either =E2=80=98guix substit= ute=E2=80=99 provides the binary or it doesn=E2=80=99t. We=E2=80=99d have to adjust it. >> As long as we distinguish transient build machine errors (disk full, can= 't >> resolve hostname, too many names in directory, no inodes left etc) from = actual >> errors in the source code, +1. > > I was thinking of something very simple. The daemon is already capable > of caching build failures; I think it may be good to simply pass that > information on to clients. The daemon tries to cache only =E2=80=9Cpersistent=E2=80=9D failures. In p= articular, local failures likely due to lack of space are not cached. However, the daemon currently doesn=E2=80=99t distinguish between ENOSPC and actual failures for offloaded builds. We may be able to fix this by having =E2=80=98guix offload=E2=80=99 check the available disk space upon f= ailure. Then there=E2=80=99s the problem of non-deterministic failures. For these = it would be nicer to let the user build stuff anyway. There=E2=80=99s no good solution here. Ludo=E2=80=99.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.