From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id X92EEkfjiGCfgQEAgWs5BA (envelope-from ) for ; Wed, 28 Apr 2021 06:23:35 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id II5ODUfjiGAjUAAAB5/wlQ (envelope-from ) for ; Wed, 28 Apr 2021 04:23:35 +0000 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 F0AF81ADE9 for ; Wed, 28 Apr 2021 06:23:34 +0200 (CEST) Received: from localhost ([::1]:42746 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lbbja-0007L8-1X for larch@yhetil.org; Wed, 28 Apr 2021 00:23:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33416) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lbbj4-0006Rv-Ik for guix-patches@gnu.org; Wed, 28 Apr 2021 00:23:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39932) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lbbj4-00006q-Af for guix-patches@gnu.org; Wed, 28 Apr 2021 00:23:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lbbj4-0001sQ-5v for guix-patches@gnu.org; Wed, 28 Apr 2021 00:23:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48033] [PATCH] gnu: public-inbox: Update to 1.6.1. Resent-From: Kyle Meyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 28 Apr 2021 04:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48033 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Xinglu Chen Cc: 48033@debbugs.gnu.org Received: via spool by 48033-submit@debbugs.gnu.org id=B48033.16195837557176 (code B ref 48033); Wed, 28 Apr 2021 04:23:02 +0000 Received: (at 48033) by debbugs.gnu.org; 28 Apr 2021 04:22:35 +0000 Received: from localhost ([127.0.0.1]:51478 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbbic-0001rg-W1 for submit@debbugs.gnu.org; Wed, 28 Apr 2021 00:22:35 -0400 Received: from out2.migadu.com ([188.165.223.204]:19128) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbbiZ-0001rW-PZ for 48033@debbugs.gnu.org; Wed, 28 Apr 2021 00:22:33 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kyleam.com; s=key1; t=1619583750; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hNT4KbuxA66roikf0evBUSrh07act3e+IIIjN5ZW0wg=; b=PT2ihBsoOe4SrWmYZhJkrjvbjVTvA3woGJbtwF0BYuPmsVpTIAEQHSB6l6rJ5eAKM6YUlS 17QULPOa3BD33AwglV4JO0IeAvga638lt3+5Itb5dV33uOqGSduc7BHrBdatO+2k926ffw PODQ4HlU/GdFp5cYyFxaO0L9oHMglvnMxt2L9YDwLNAJR0nPMkLx/P9iGceC6bmkM3/w59 PzeMqCQQlwNrAdpC6n9yMRbnlOPShZQf5GrX7lKidmp44994vxCSZj1CXz8PbbZeOweFAm ul3A2Cgn/S7o60bduLP25YgU2GpOZmhRWUWzkLVkCX9GHIpiCRzvUf7HfGneOg== From: Kyle Meyer In-Reply-To: <87v987v3sg.fsf@yoctocell.xyz> References: <8d66684c511e3a36830465481851f9d86d4d6231.1619439907.git.public@yoctocell.xyz> <87wnso8re5.fsf@kyleam.com> <87zgxjv5q5.fsf@yoctocell.xyz> <87v987v3sg.fsf@yoctocell.xyz> Date: Wed, 28 Apr 2021 00:22:27 -0400 Message-ID: <87a6pjujgc.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Migadu-Auth-User: kyle@kyleam.com 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619583815; 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: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=hNT4KbuxA66roikf0evBUSrh07act3e+IIIjN5ZW0wg=; b=R49ZZMQlRVL7qD3hnqyn6D3Kby6OpyP2djNUBn9lUVtEyQ1hZEhHH6CMQCZr+q6542Zn5r je7JpuyzcAQ+ao27xP8OnLfnCakYlhEvD+DvzVms3krEJS4w5CdSYLwntMZh9vEk+Sr1IO OT7Gmvrvwzx4noHS6YeKBPANejluw7FK0WpWEXCSi2ZCs5oKpwDeENLzAYtPQeOW1nJx9p BIQIAlqtwoSLZxplk9NiPCJDs9cGmaHrteHhCUhosSqZzkMO9UWMNJYRVN+y9Ag/Wx47Pn 4MFdEOdDHU5Z/H6uUFjbJRHGw1jFV+btb2hSjhahIyMzpPaL5Zr177u3nNGLqw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619583815; a=rsa-sha256; cv=none; b=tefsquMJbGN7bCDb1UG6ymWCoLwstHRM4sIxIV3FOc9YxJiQt7MGiJUrAq/yOqz+9ttBpf V8oRXnlHy8yiEJZkFMdiY2G2dm9OJ6SfBpZCowJ/WmLP7vXrrQTkk1orKuDK6/rdwwDCiR eSzwtMHriRAhR2Z6hEv+eiqcUyyY9IVMxzEHARuTc9NktFYup9+FT5KT8FIqCFa5qqevAa 2aHnXA/8nEwPsprxs5yJfvSgDFkM7R3sEshuB1uvByLM3P83mo+T1tTb7J9T9ZwUO1YM/w 3a6tO/Ek3DvFDLews06MOzIVjhpc/x7XOzvEdK3T3on7kUaS/EEFCF89md1XHA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=kyleam.com header.s=key1 header.b=PT2ihBso; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.45 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=kyleam.com header.s=key1 header.b=PT2ihBso; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: F0AF81ADE9 X-Spam-Score: -1.45 X-Migadu-Scanner: scn0.migadu.com X-TUID: fG90CtqMli6R Xinglu Chen writes: > When adding =E2=80=98highlight=E2=80=99 to the inputs, one of the tests f= ail. > [...] > failed to open(filetypes.conf): No such file or directory at /tmp/guix-bu= ild-public-inbox-1.6.1.drv-0/source/blib/lib/PublicInbox/HlMod.pm line 25. > # Tests were run but no plan was declared and done_testing() was not seen. > # Looks like your test exited with 2 just after 1. Hmm, HlMod.pm is calling highlight's getFiletypesConfPath(), and it looks like that returns a bare "filetypes.conf" (which doesn't exist) rather than "/gnu/store/...-highlight-3.62/share/highlight/config/filetypes.conf". Here's what public-inbox's call boils down to: --8<---------------cut here---------------start------------->8--- use highlight; my $dir =3D highlight::DataDir->new; $dir->initSearchDirectories(''); print $dir->getFiletypesConfPath('filetypes')."\n"; --8<---------------cut here---------------end--------------->8--- On my Debian Buster system that prints $ perl scratch.pl /etc/highlight/filetypes.conf And when I go through Guix: $ guix environment -C --ad-hoc perl highlight -- perl scratch.pl filetypes.conf I'm not sure why that would be. Guix's highlight definition sets HL_CONFIG_DIR, and that seems to get wired up correctly: $ guix environment -C --ad-hoc highlight -- highlight --print-config Config file search directories: /gnu/store/6a3jjm38qs80miyqpcb6j9madzy26plg-highlight-3.62/share/highligh= t/ /gnu/store/6a3jjm38qs80miyqpcb6j9madzy26plg-highlight-3.62/share/highligh= t/config/ Filetype config file: /gnu/store/6a3jjm38qs80miyqpcb6j9madzy26plg-highlight-3.62/share/highligh= t/config/filetypes.conf Compiler directive HL_DATA_DIR =3D /gnu/store/6a3jjm38qs80miyqpcb6j9madzy= 26plg-highlight-3.62/share/highlight/ Compiler directive HL_CONFIG_DIR =3D /gnu/store/6a3jjm38qs80miyqpcb6j9mad= zy26plg-highlight-3.62/share/highlight/config/