From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: bug#33737: do not attempt to build a package known to be broken Date: Sun, 16 Dec 2018 21:14:51 +0100 Message-ID: <20181216211451.7e15fdc7@scratchpost.org> References: <87efakyb26.fsf@elephly.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/EjmY+w/0.LLpjqLFe8B4kOV"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46923) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gYcoc-0003kz-IL for bug-guix@gnu.org; Sun, 16 Dec 2018 15:15:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gYcoZ-0002oK-4J for bug-guix@gnu.org; Sun, 16 Dec 2018 15:15:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:46355) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gYcoZ-0002oG-07 for bug-guix@gnu.org; Sun, 16 Dec 2018 15:15:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gYcoY-0004xh-RW for bug-guix@gnu.org; Sun, 16 Dec 2018 15:15:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87efakyb26.fsf@elephly.net> 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: Ricardo Wurmus Cc: 33737@debbugs.gnu.org --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 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--