From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 0H69NL1vOGN7UAAAbAwnHQ (envelope-from ) for ; Sat, 01 Oct 2022 18:50:05 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id OJHFNL1vOGNX9wAA9RJhRA (envelope-from ) for ; Sat, 01 Oct 2022 18:50:05 +0200 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 B7F8F17091 for ; Sat, 1 Oct 2022 18:50:05 +0200 (CEST) Received: from localhost ([::1]:35442 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oefgi-0002gX-IW for larch@yhetil.org; Sat, 01 Oct 2022 12:50:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41116) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oefSY-0007ek-Sk for guix-devel@gnu.org; Sat, 01 Oct 2022 12:35:26 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:45458) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oefSY-0008Au-JO; Sat, 01 Oct 2022 12:35:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=nSosbrGGUEWrh8/nQ6ASUTPT7eLUSfluCYwE/X9GuT4=; b=QTNrhvUlLTmbSVOiG4tb ncjBcdwB0MI8pWPkg0OlohR1IAqU7iGJmqz0mzlDDbTL7lJa2p8pOwf1LFc8vqr9K2u26R8Hh5NdR fDmP67OB/YspM26nVJtJkIGaI0gWxQ+Qpnl/1eDIOyftvNbJcar93ia0HpVYmHwZHX6ZRs24ohckc Po4+LU8cGLU0dMUl4jAj2PdrqFyZTNUMx/9hXCFlmVDAT35c5wKixSzJlSTcWWeFrSPX7tPwKapZ7 uBemoulYO7c0rop7YF8TNUn7vEIy1jWN/+tYURkQQWod2/VMXxooF7O/ZKjDczvWbqTFVtYx7FPFa omeWDrDYceKdFA==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:55498 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oefSY-0004vB-6F; Sat, 01 Oct 2022 12:35:26 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: zimoun Cc: Guix Devel Subject: Re: Sanitizer of record fields? References: <868rmuxpnw.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: =?utf-8?Q?D=C3=A9cadi?= 10 =?utf-8?Q?Vend=C3=A9miair?= =?utf-8?Q?e?= an 231 de la =?utf-8?Q?R=C3=A9volution=2C?= jour de la Cuve 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: Sat, 01 Oct 2022 18:35:24 +0200 In-Reply-To: <868rmuxpnw.fsf@gmail.com> (zimoun's message of "Thu, 08 Sep 2022 09:59:15 +0200") Message-ID: <874jwnec37.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1664643005; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=nSosbrGGUEWrh8/nQ6ASUTPT7eLUSfluCYwE/X9GuT4=; b=Cn+XIbcqAKqcLiz1pkENFzHeiy1amQIi8wBYAyGaIM7YD8jp1qtI6UigSEFD4D/yI9Jaco /aA/mRFoUW477QwI3+IOVfa5hBB4CukaI91GP6JDRHGfQDxRMmRcqL8lyQ3BunJ2gT5XAU TiQRaKXnCnno5Z3nQn3JsASFQVTu3H0SHmMyPQ4n7jwIOU7p2GFhm2rkIRa4UqxkWCT1uK MH8DJTszhJSKfMvsBT3xywtYLj8orNWJccwJ/VojABbWjMELYliR8evyNtURM0J1FpdkLQ 9eb0STiXg/jOEgJgNz+8hMmCu/O+GcfZ/anbtLNp666QitsrgHdOKLuUp3gZ7g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664643005; a=rsa-sha256; cv=none; b=nl6ImowYTSzOIEATBxQZA/wIj9pv0JtZEwhm4zlppGmzzXrUu23vxZw2h8FcfXXpj7ejbS Xkd74eWqUPN3OZiTFykfC7StFCB1e49U+OpsPPR8EAZ3KXOQjSOB14cxudQKhHYNoe16zs RfYq9Bnj16lemVQqm0pTvkNxdNL+iqCy7WrZ+VJ/dtHJgjtdOYBwOTOq0F8/jnkZEhI3t3 Y7zca5Kck1oYoEZYkfYgeqnyBu/aBbN+GFPtcI52gcqd1hZY5wKJklrsoToiGnl1uKiPHh Vb138Q/NoufgkFLEENUd0FvPJCdAEuB3hOteutHo8DcLslXcD3mBFU1+61O/sw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=QTNrhvUl; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.34 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=QTNrhvUl; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: B7F8F17091 X-Spam-Score: -4.34 X-Migadu-Scanner: scn0.migadu.com X-TUID: HHuhETrHX5mc Hi, zimoun skribis: > The website is currently failing [1] to build because a typo in some > package declaration. The error message is not very helpful, > > srfi/srfi-1.scm:241:2: In procedure map: > In procedure map: Wrong type argument: "https://www.qt.io/" > building pages in '/tmp/gnu.org/software/guix'... > > and it was not straightforward to find the issue. Using some =E2=80=99pk= =E2=80=99 in > the website builder restricted the origin of the failure; but still. > Thanks to Florian, they found this commit [2] introducing the package > qtshadertools where a field is unexpected, > > + (license (package-home-page qtbase)))) > > and boum! > > It seems impossible to detect that typo at compile-time because fields > do not have a specific type (except by convention). Therefore, how can > we detect such typo? I=E2=80=99m late to the party, but I have a proposal: https://issues.guix.gnu.org/58231 Hope you like it! Ludo=E2=80=99.