From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: bug#33737: do not attempt to build a package known to be broken Date: Fri, 14 Dec 2018 05:41:37 +0100 Message-ID: <87efakyb26.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49913) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gXfJc-0003iU-1f for bug-guix@gnu.org; Thu, 13 Dec 2018 23:43:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gXfJY-0003re-2n for bug-guix@gnu.org; Thu, 13 Dec 2018 23:43:08 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:42930) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gXfJX-0003qO-U2 for bug-guix@gnu.org; Thu, 13 Dec 2018 23:43:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gXfJX-0007bd-Nl for bug-guix@gnu.org; Thu, 13 Dec 2018 23:43:03 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49719) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gXfIS-0003bI-2g for bug-guix@gnu.org; Thu, 13 Dec 2018 23:41:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gXfIO-0007iO-42 for bug-guix@gnu.org; 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 ) id 1gXfIN-0007cw-Nu for bug-guix@gnu.org; Thu, 13 Dec 2018 23:41:52 -0500 List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 33737@debbugs.gnu.org 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