From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id UKmpKkzpUGVQKgAAauVa8A:P1 (envelope-from ) for ; Sun, 12 Nov 2023 16:03:40 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id UKmpKkzpUGVQKgAAauVa8A (envelope-from ) for ; Sun, 12 Nov 2023 16:03:40 +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 5B6B96496D for ; Sun, 12 Nov 2023 16:03:40 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=pBd1qifv; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1699801420; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=fhCQ8V6t0I6LNRBDnRD5dTI5KtjyEN8mGT4QXoXp9lo=; b=Vm85xs18cvnZIiucoXGdH7gMUDh9YFt+WhIefSHjrfwBIeOun5VcFnjgnOiKhCtAN6NP3B H3h5mrb4fwKjSMS5ohI05FD6YOA67od0/LMZmkPip+1z7Ar4qEZopYWvsryfU5KnZEkQxZ 5GIr0vZYzTzvlRxqtRKaQB6vMeEnWPNdRfG7cYHeaJt81/xy8K5HhqF5YEIIHXS95klU/s Xtp2RiI0hd9V8WVHYxRHysiTeFXawqzO13slBuNLNIpqJGMbEOgpaZYMVTFh9WjFEQGP53 JhEfke31Ons5DD8FB4quhq6hu3SKsgTcKR0RM5ZQV5Vj1PiKzpiVgQ/ri+Kh+Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=pBd1qifv; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1699801420; a=rsa-sha256; cv=none; b=p9nIjmmg0762oQVPgzXuRy8al4aoPTu34b3GEcxpBeKL5Ul+NVcMf4yOov2WRubd6xgMrS ioL0v9ImE3nKWRZEsKMei2cJEzVDo/LHJ3XJVV0TxSzyIh5s0/2EB2wtNgY2C5xQ0TwsNo iPAladj8yHeJe6m72bWOe50eNfp8UkJti8KRXgxCA/WmoNALw+fy055DYPc63/cn3a7mWe NE9dQ/QA35U5DJ645/saXanpJNJxRACBXYrdeCkusCbKD2tuF4FIrNHNbX3HcTogdluJfv a6DWiJoBrYMVFfppqTTSYzsNeoAdtPAOUlvlYtGT+/OsZttUjtIHszSFGZy8FQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r2Bzk-00014m-JM; Sun, 12 Nov 2023 10:03:28 -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 1r2Bzd-00011c-O0 for guix-patches@gnu.org; Sun, 12 Nov 2023 10:03:22 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r2Bzd-00005I-G9 for guix-patches@gnu.org; Sun, 12 Nov 2023 10:03:21 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r2C0H-0008LI-V5; Sun, 12 Nov 2023 10:04:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66836] [PATCH v2] gnu: Add tree-sitter-yaml. Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: andrew@trop.in, cox.katherine.e+guix@gmail.com, liliana.prikler@gmail.com, guix-patches@gnu.org Resent-Date: Sun, 12 Nov 2023 15:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66836 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Emma Turner Cc: 66836@debbugs.gnu.org, Andrew Tropin , Katherine Cox-Buday , Liliana Marie Prikler X-Debbugs-Original-Xcc: Andrew Tropin , Katherine Cox-Buday , Liliana Marie Prikler Received: via spool by 66836-submit@debbugs.gnu.org id=B66836.169980140332019 (code B ref 66836); Sun, 12 Nov 2023 15:04:01 +0000 Received: (at 66836) by debbugs.gnu.org; 12 Nov 2023 15:03:23 +0000 Received: from localhost ([127.0.0.1]:56760 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r2Bzf-0008KN-4u for submit@debbugs.gnu.org; Sun, 12 Nov 2023 10:03:23 -0500 Received: from mail.boiledscript.com ([144.168.59.46]:46622) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r2Bzc-0008KE-DO for 66836@debbugs.gnu.org; Sun, 12 Nov 2023 10:03:21 -0500 Date: Sun, 12 Nov 2023 23:02:00 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1699801163; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=fhCQ8V6t0I6LNRBDnRD5dTI5KtjyEN8mGT4QXoXp9lo=; b=pBd1qifvVdpN0KW/2yllBh+Tc3ruNl8PYxM39oAyHeykX0PtqdVO+DthfZkMbTm2UXXXX8 LkacHqi5sTEnlEJBdWLzUYqahJt8g542Vtv2mrQ3K3xJbTt2GauCWfTeiL1tNTOQa8eaQ/ t5IYHARMzmoeoo6RB2enKT2JFaTMpfKiwzrKKMYIlKE+kvc32jjoHwqp0kQmZNPN4PwN7J 1hvEUZB5+ZnlB4k/oEHbvVt5WZR8v+bRixDMHj7fK2+Gzij7Gq2bGhBWhxE5/RpWELHfd9 48GmfScaQErWYHBndJCuJ6xr62BCX95G/GCi5YR87Cg5T8E0ecYE896Xn9ybPg== Message-ID: <87wmun817b.wl-hako@ultrarare.space> In-Reply-To: <75280a68b4a63e51c429b5747a5bb27760f5dccb.1699099224.git.hako@ultrarare.space> References: <5Vd2H2MDjpVPQxgawXDNnlt9fABkK8GbS0UOOARnZcHtkl9IJ0iUJjC8YXeO5g4MJ8zAs5c03prTh2cH2bgifUrvfgyuHHrZEzSmHfumWHo=@emturner.co.uk> <75280a68b4a63e51c429b5747a5bb27760f5dccb.1699099224.git.hako@ultrarare.space> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spamd-Bar: / X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Hilton Chain X-ACL-Warn: , Hilton Chain via Guix-patches From: Hilton Chain via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.10 X-Spam-Score: -5.10 X-Migadu-Queue-Id: 5B6B96496D X-Migadu-Scanner: mx13.migadu.com X-TUID: 2Axr3WcGpPkI Hi Emma, Tests currently fail on aarch64-linux[1], which can be reproduced with `./pre-inst-env guix build tree-sitter-yaml --system=aarch64-linux`. Any ideas? On Sat, 04 Nov 2023 20:22:10 +0800, Hilton Chain wrote: > > From: Emma Turner > > * gnu/packages/patches/tree-sitter-yaml-fix-tests.patch: New file. > * gnu/local.mk (dist_patch_DATA): Register it. > * gnu/packages/tree-sitter.scm (tree-sitter-yaml): New variable. > > Modified-by: Hilton Chain > Change-Id: I45a4a843ecee9dfa580eeaa352f1354915f83881 > --- > gnu/local.mk | 1 + > .../patches/tree-sitter-yaml-fix-tests.patch | 690 ++++++++++++++++++ > gnu/packages/tree-sitter.scm | 15 + > 3 files changed, 706 insertions(+) > create mode 100644 gnu/packages/patches/tree-sitter-yaml-fix-tests.patch Thanks --- [1]: https://bordeaux.guix.gnu.org/build/206a6c33-c95a-4f7f-8e15-30e7b5662634/log --8<---------------cut here---------------start------------->8--- --- expected / +++ actual 1. Spec Example 9.3. Bare Documents: (stream (document (flow_node (plain_scalar (string_scalar)))) (comment) (document) (document (block_node +++ (block_scalar))) +++ (MISSING _eof)) --- (block_scalar)))) 2. Spec Example 9.5. Directives Documents: (stream (document (yaml_directive (yaml_version)) (block_node (block_scalar))) +++ (MISSING _eof)) --- (document --- (yaml_directive --- (yaml_version)) --- (comment))) 3. Zero indented block scalar: (stream (document (block_node +++ (block_scalar))) +++ (MISSING _eof)) --- (block_scalar)))) 4. Zero indented block scalar with line that looks like a comment: (stream (document (block_node +++ (block_scalar))) +++ (MISSING _eof)) --- (block_scalar)))) --8<---------------cut here---------------end--------------->8---