From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id ENlpL6mgCGQKTwAASxT56A (envelope-from ) for ; Wed, 08 Mar 2023 15:50:17 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id QLpeLqmgCGQSUgAAG6o9tA (envelope-from ) for ; Wed, 08 Mar 2023 15:50:17 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 434EF43B7A for ; Wed, 8 Mar 2023 15:50:17 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pZv7G-0004DF-Vc; Wed, 08 Mar 2023 09:50:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pZv7C-00049e-QM for bug-guix@gnu.org; Wed, 08 Mar 2023 09:50:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pZv7C-0005G3-CA for bug-guix@gnu.org; Wed, 08 Mar 2023 09:50:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pZv7B-00063G-Ud for bug-guix@gnu.org; Wed, 08 Mar 2023 09:50:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#62051: Early detection of derivations with unreadable builder scripts Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 08 Mar 2023 14:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62051 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 62051@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167828700123250 (code B ref -1); Wed, 08 Mar 2023 14:50:01 +0000 Received: (at submit) by debbugs.gnu.org; 8 Mar 2023 14:50:01 +0000 Received: from localhost ([127.0.0.1]:48153 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZv7A-00062v-PD for submit@debbugs.gnu.org; Wed, 08 Mar 2023 09:50:01 -0500 Received: from lists.gnu.org ([209.51.188.17]:57738) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZv79-00062n-Jr for submit@debbugs.gnu.org; Wed, 08 Mar 2023 09:49:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pZv78-00048c-UL for bug-guix@gnu.org; Wed, 08 Mar 2023 09:49:59 -0500 Received: from mira.cbaines.net ([212.71.252.8]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pZv75-0005E3-Tz for bug-guix@gnu.org; Wed, 08 Mar 2023 09:49:58 -0500 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:54d1:d5d4:280e:f699]) by mira.cbaines.net (Postfix) with ESMTPSA id 52F7E16DDD for ; Wed, 8 Mar 2023 14:49:52 +0000 (GMT) Received: from felis (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 8b9c37cd for ; Wed, 8 Mar 2023 14:49:51 +0000 (UTC) User-agent: mu4e 1.8.13; emacs 28.2 From: Christopher Baines Date: Wed, 08 Mar 2023 14:41:55 +0000 Message-ID: <87bkl3qovn.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=212.71.252.8; envelope-from=mail@cbaines.net; helo=mira.cbaines.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1678287017; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post; bh=TNAXMcH0M6hCkFZIMKxsQQu2R1wXmQYkL1R7w1pfgyI=; b=frA1lXotffX/rABW9yzpqu7Idwu41KX/JZQ4DHtNnfvmXecNHlspIlszYe+VIm/ieWA3DG elF3I6io+Mpo4D7J61omGK2x7lTaIg9UXnpBvMF6CjAEvjMRk64+QzN7IguX9wkXG7nV6K dZEDFqYJw0QoRicytQuucEIKj7/v4CYlXhIRx2C725jtGNlg87Zc/CiunL69huzHb5m/3w X4Nx+7THBEjhi+hE+BZsMsxm/2G+gn1xoNpGU2bJYnTRfR5oWebVut5t+Gd8G41L37xBbt bb4yMVu034j9sSBlmDwlUDWMH04euKoXDTbkQ2MKQfdZYKhi16ji0IBBQCuWIQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1678287017; a=rsa-sha256; cv=none; b=Ol9oqCCAXQAPlBpaOhJ7kFEy9ORnPX56XZmyFbiVIoh/ebikKqootX9LeWUzNFJfiDmG5Q JU8TMMN+CMIlIUzmJ3pT5WGT8c+5FKYrgkoSVQDAWwVuVQpESYtipPhIGY8tZI0jTr0Nkl X4nu/Uh7lCZOaO12oQs/L5PL9/CG1UGTQYsBCVNMX6D/0ld/lVQJ8dnoFfIerbP+rdhd8m EKyIVAg9GoMkAdwsD1JesqO5NWXniyOlePzNQlb3URrPoKeYFBpyt9yuz9sixc4nPrrVTa Ydi4e+6E96Izz/vQKx18Q8HP5HmQ+EBbh0iPECoZaimwaEQ9RHz9Mn0QPNkqdw== Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none X-Migadu-Spam-Score: -5.50 X-Spam-Score: -5.50 X-Migadu-Queue-Id: 434EF43B7A X-Migadu-Scanner: scn1.migadu.com X-TUID: 0mMwBHdI9GW3 --=-=-= Content-Type: text/plain Currently it's quite easy to end up with packages that have builder scripts that can't be read by Guile. This is part of the following builder script: (cons "--enable-mpi-java" #) from: /gnu/store/yngxnpcs4s6y8acxf4nwx5pcpj0j6q6i-java-openmpi-4.1.4-builder And when attempting to build that derivation, you get the following error. ice-9/read.scm:126:4: In procedure read-expr*: /gnu/store/yngxnpcs4s6y8acxf4nwx5pcpj0j6q6i-java-openmpi-4.1.4-builder:1:3820: Unknown # object: "#<" It would be nice if Guix could detect this category of problems and raise an error at the time the derivation is created, rather than the error occuring only when you build the derivation. This would be helpful particularly for the Guix Data Service since currently it ends up storing these useless derivations, often many times since the builder includes some often changing string (7f366e0cd930 in the example above), so this is a common cause of spurious changes between revisions (as often noted on qa.guix.gnu.org). --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmQIoIxfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XdG9hAAnMc4vEW/M14zVU7wYxZjY5TBwPQrMQrK kNv6pWdeXMcF7HZBntO+mdO6KEpS7XpplP4GrT/dwFgVdYSNr3c0G0SQLB1CTRUa ya+6Bwo29wC3+eRIEJ5mURNp1htplThcUBPRmBkTP/A+Nv3pbds01dtH+UenkaAW k7/AEPEwDGYihl6WeE00A0Kk7dHvMbb6yIx68aeXzW5sS/Kx3LTzqJRGX+2soPlk Gxdp6KJOYvsxgbcMQTAxSIqZVfg4mXlOkKAVKZJprPHgBFfb7oRtZzcfKSQpelFg ZZoacdaZcX5wMrAaWLeysXkGjIKbOvOwGfkj/BdMIbSj2xd0/O6aNNYu+tUwLxi0 zk2fMMBgsJzGFHeklEIWlGFvLa/0gd7mXIVr6xRnA6l28k+VKmWCb9XYZvEkh3HD rS72TiRTwQPr3qc5Mg1pQz8tQiKENvkKYBWcsj/9DdsQMem9Sg/zZnlLRtupnqn0 j/vwfdwd0fG7cj9IFsrIZjuJw2E4c9jWvY8AI4ENOVko06JHwhJ4n/gHLsqcyyKW hmwGdJg83zujDtERePP6o80M5EFdReBZRp2Wm+zcgFpXSeP1nbl+JwGgx7j6k4st NuZw1Qhh5fkKhH9Mx5GMn6QVsDUozL2oNW8ko2azajEHMYKNDb6hah3obQ6sBDAI LZjSO5E6tx8= =TEma -----END PGP SIGNATURE----- --=-=-=--