From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id SLiQKEGjGWPZbQEAbAwnHQ (envelope-from ) for ; Thu, 08 Sep 2022 10:09:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 4CGeKEGjGWMSXwAA9RJhRA (envelope-from ) for ; Thu, 08 Sep 2022 10:09:37 +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 654603F643 for ; Thu, 8 Sep 2022 10:09:37 +0200 (CEST) Received: from localhost ([::1]:42312 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oWCbQ-0005xa-Er for larch@yhetil.org; Thu, 08 Sep 2022 04:09:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58940) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oWCac-0005wC-JF for guix-devel@gnu.org; Thu, 08 Sep 2022 04:08:46 -0400 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:46768) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oWCaX-0006Lt-Tk for guix-devel@gnu.org; Thu, 08 Sep 2022 04:08:46 -0400 Received: by mail-wr1-x431.google.com with SMTP id e20so24613598wri.13 for ; Thu, 08 Sep 2022 01:08:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date; bh=p1jywuax3SYVRjQQ4u5RI1l/ubBSiYxA+O+SmfUnYv8=; b=H+XnHONA5UgqAXowJB047xrsyT7k6kCGCAtGWFvk5djPnE5lbCMZ3S8XFZsz+8BlPo xHNT4A5bk0ELlEtgef2fNgq0cGR9MGGJNy6UiZzI19zyu8JZaZ2tAewGunJbNEqNxxHR 4qKb0lraBCLQXoVhaoK1kzbfH0M8LVvEXdmrvZFH8IfEc+9BsA2/wiw75DyQHB+35tie 6lyRZzYzdEZxM3WX6WmwjMwMr3vrv63ibp3V8Mg1QILf1JVQJwwu//C8aP67Z8WNefWM NiMsIPjulTL+pDnC2Ij+5mMMo5jMBgGI4VZMpN1XMi561BY+vYx1XfvCf2ruYZ54Xr8T WkZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date; bh=p1jywuax3SYVRjQQ4u5RI1l/ubBSiYxA+O+SmfUnYv8=; b=kZuTRoRcXSspFPaprDbpfd8s3kGOBxI8Ac79zpvbM4TzdRptg7LqB9Voe9xbHuHyVG kD2Nc2EobEDRuFr+LWuPGGkEeKfOeLae3G7H6NSZxYnBE8i9c5Cl4DNTvmxQ8JqRe6KP QBXs3WK6Wg1rpl1moj6B2JloLomCWQMfeCAVOmHkk8ugSbzyxDaoACgLr2TFw+28SNOf AIdNXqZ3ZUC85lRKTRrvuYD7lCrf1ZIRWbMkBeKvIrEyiJakM400KXomaeDqbSEFlkN4 c/X0Dlld6adJaL7kDif/HJklbS4RGQG32/drbMzZhMfodI0gP54D5zZ5ZtM1C4R1wgPh 4nvg== X-Gm-Message-State: ACgBeo3g2cf1t2Y+QCVEIPC97zEfs5kF6QOqGea0bM5U6TVYxzsMw9Mw HXTk47acHZirH41koJWlD/gNb/OW3Dc= X-Google-Smtp-Source: AA6agR5+HTVfJ6Mt9YEQ5B22iu8c4DW+gwAO/YsknjiMOm6rQStF390hWNv9d+l63o1Y/KQ4ewQiaA== X-Received: by 2002:adf:ffc3:0:b0:228:65be:6fff with SMTP id x3-20020adfffc3000000b0022865be6fffmr4200952wrs.387.1662624520214; Thu, 08 Sep 2022 01:08:40 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id z2-20020a05600c0a0200b003a5c244fc13sm2191114wmp.2.2022.09.08.01.08.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Sep 2022 01:08:39 -0700 (PDT) From: zimoun To: Guix Devel Subject: Sanitizer of record fields? Date: Thu, 08 Sep 2022 09:59:15 +0200 Message-ID: <868rmuxpnw.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::431; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x431.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1662624577; 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: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=p1jywuax3SYVRjQQ4u5RI1l/ubBSiYxA+O+SmfUnYv8=; b=bmbtp8XP80OdoExfJ/k5SEyWgemU1yVPioy7Jx32RZtqz0HZ7iD6ADbTlnQyyB2qVXz5cu Dsvc2ArUb+0bI7uiUwBSY6T5jLTsuBEZfbTUOL8bjblx+PW9TD5P7yqaERu2rvU/qNGx1C X4xY8xPmbU8q5rorYPrJDOvO8X4kuFOSdQtFJ8UyzKiupxv+3GPb36sX6Rd/uZFnYQKShA yVv6sDbZo71g3RTi7484uyTt1BSSimZ5/3wljDOkAumklF7X/e6QOERdxuzjGOCE8I+jEr hvLw5TlDD20F4JxEP+jxlfHMebsDSvQ+3rl/PI6V3m5eozHLv/giE5u8xJ72tQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662624577; a=rsa-sha256; cv=none; b=AXMtbLfKbEdkRA3WWDod5W5cKRo1Fu/FVUiilUkKk28o+vH63e4M13GJnAtKJgyJdYnjIT x4i9pjLl0qlgn9pOmYY5pxkzAhxlwKPSJYh+j8kG9o1dMBTkbpXTnavzRxdEMsNrgEWILC Q4o+ztjKE7e6E7nyzR8bvRibwLGYGxB+bvfvjaUdgCmgY/BEJdAwQ5iZOkimvnJyfFqz/h scfXBRgVlNpOYgeqZWbTeG3X9keKSAFCWogFxGP67wcWxl7Mr5NkKKS1QlItHDRfu8G/xx +nMMAuNI9O1O2WwbZjfJNS8sUzHVjcmZm7hnIZTbdRseRFCCgdc24C/TRm4Z+Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=H+XnHONA; dmarc=pass (policy=none) header.from=gmail.com; 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: -1.28 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=H+XnHONA; dmarc=pass (policy=none) header.from=gmail.com; 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: 654603F643 X-Spam-Score: -1.28 X-Migadu-Scanner: scn0.migadu.com X-TUID: dvrshwgIMFEQ Hi, 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? We could add a lint checker. Is it a =E2=80=9Cgood=E2=80=9D idea? Because lint is not always applied, a check should be done when running =E2=80=99make=E2=80=99 or a special target. Is it a =E2=80=9Cgood=E2=80=9D= idea? 1: 2: Cheers, simon