From unknown Sun Jun 15 10:24:56 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#68948 <68948@debbugs.gnu.org> To: bug#68948 <68948@debbugs.gnu.org> Subject: Status: highlight error, cannot open filetypes.conf: No such file or directory Reply-To: bug#68948 <68948@debbugs.gnu.org> Date: Sun, 15 Jun 2025 17:24:56 +0000 retitle 68948 highlight error, cannot open filetypes.conf: No such file or = directory reassign 68948 guix submitter 68948 chris severity 68948 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 06 06:03:27 2024 Received: (at submit) by debbugs.gnu.org; 6 Feb 2024 11:03:27 +0000 Received: from localhost ([127.0.0.1]:53285 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rXJEc-0000oK-NW for submit@debbugs.gnu.org; Tue, 06 Feb 2024 06:03:27 -0500 Received: from lists.gnu.org ([2001:470:142::17]:38526) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rXJEZ-0000o6-S6 for submit@debbugs.gnu.org; Tue, 06 Feb 2024 06:03:25 -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 1rXJEH-0008Q1-9W for bug-guix@gnu.org; Tue, 06 Feb 2024 06:03:05 -0500 Received: from mx.kolabnow.com ([212.103.80.155]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rXJEE-0000Ok-PO for bug-guix@gnu.org; Tue, 06 Feb 2024 06:03:04 -0500 Received: from localhost (unknown [127.0.0.1]) by mx.kolabnow.com (Postfix) with ESMTP id 4EE4A20C81F0 for ; Tue, 6 Feb 2024 12:02:51 +0100 (CET) Authentication-Results: ext-mx-out011.mykolab.com (amavis); dkim=pass (4096-bit key) reason="pass (just generated, assumed good)" header.d=kolabnow.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-disposition:content-type:content-type:mime-version :message-id:subject:subject:from:from:date:date:received :received:received; s=dkim20160331; t=1707217367; x=1709031768; bh=t+19ogCIrlgRX3TT+kzbc8yJA5ioQmCcXtsHVt08hq8=; b=p3yLVDTzGTm3 evVhb4T5gmMV0GHbHkG6UmSY3riXj0Lky2wFcx9VQtejCLQeLBI+6T0KFNZc+StY fregpjPoDB9UvV6u/TsWY2K1mvvOYgE0Jgzrs3RrVxJIGsCBlT5xstVacQzgYlsz ozNtOr4r/1BU9j1f9vVSQ1m7d45jGMRsgwhVYnO+EDQ8atHCgUOBpdGVtqyAxqh0 enfaJSZNas1g/i8TSUjH16qEA1KO5G0nRIkNufYGgha+PblTysm+6qqqStPxOJCi 2XyRPEb7RO7UA5ll6+7FhgmT5Kklivnq0Z3/jgaUxKw/4Hdg3UpiLu94lBYlN31L LroWg870gs4WiUuQjeuP0aGwJkOMS1rhw9rHw3lC61x5YEzkSHyc4FLNwxH+slUF ao+BIN/e0C8xXbHhomz8H+9gbJ4WqmxeYs3009SuS2HGuCytAem2TW1/NFEyDUA0 VYoaqKXTpcPNlIP7ELXjR4cMTuQDGXn2Tpkjx/2WMLY1h04Adge6d7LFPMFeHd6l 0a1/ehpzDhKRikJYYfCvGJ3zrlv3PFcy1YM1eh+ID0kYX4mYu6NLXo6DjqmeAdGM wQcDNNZdz73pNSdcYsesfqgCtpt6s0Mj7CWwYsbEPN6p+Mja+C9KkWYCFV5gkTPC GiJmpRm7mmSvPUdXOIqIpUWKFXp+8ts= X-Virus-Scanned: amavis at mykolab.com X-Spam-Flag: NO X-Spam-Score: -1 X-Spam-Level: X-Spam-Status: No, score=-1 tagged_above=-10 required=5 tests=[ALL_TRUSTED=-1] autolearn=ham autolearn_force=no Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out011.mykolab.com [127.0.0.1]) (amavis, port 10024) with ESMTP id Hydp8amjOoU3 for ; Tue, 6 Feb 2024 12:02:47 +0100 (CET) Received: from int-mx011.mykolab.com (unknown [10.9.13.11]) by mx.kolabnow.com (Postfix) with ESMTPS id 9FAF320C81E3 for ; Tue, 6 Feb 2024 12:02:46 +0100 (CET) Received: from ext-subm010.mykolab.com (unknown [10.9.6.10]) by int-mx011.mykolab.com (Postfix) with ESMTPS id C685730AF5E5 for ; Tue, 6 Feb 2024 12:02:46 +0100 (CET) Date: Tue, 6 Feb 2024 03:01:30 -0800 From: chris To: bug-guix@gnu.org Subject: highlight error, cannot open filetypes.conf: No such file or directory Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Received-SPF: pass client-ip=212.103.80.155; envelope-from=chris@bumblehead.com; helo=mx.kolabnow.com 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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, 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-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit Cc: chris@bumblehead.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) There is an issue using "highlight" https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/pretty-print.scm#n353 http://www.andre-simon.de/doku/highlight/en/highlight.php#ch3_8 This unexpected error is reproduced easily with the command below: "cannot open filetypes.conf" ``` $ echo "(highlight (package bug))" | highlight -O xterm256 --syntax lisp cannot open filetypes.conf: No such file or directory (highlight (package bug)) ``` Creating `~/.highlight/filetypes.conf` did not resolve the error. Setting "HIGHLIGHT_DATADIR=$HOME/.config/highlight/" did not resolve the error. Any advice is welcome. Thank you :) Chris From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 07 21:04:08 2024 Received: (at 68948) by debbugs.gnu.org; 8 Feb 2024 02:04:08 +0000 Received: from localhost ([127.0.0.1]:58713 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rXtlo-0001Yh-Eu for submit@debbugs.gnu.org; Wed, 07 Feb 2024 21:04:08 -0500 Received: from mx.kolabnow.com ([212.103.80.154]:56410) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rXtlk-0001Y1-Ty for 68948@debbugs.gnu.org; Wed, 07 Feb 2024 21:04:06 -0500 Received: from localhost (unknown [127.0.0.1]) by mx.kolabnow.com (Postfix) with ESMTP id EC889304FB64; Thu, 8 Feb 2024 03:03:42 +0100 (CET) Authentication-Results: ext-mx-out013.mykolab.com (amavis); dkim=pass (4096-bit key) reason="pass (just generated, assumed good)" header.d=kolabnow.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= in-reply-to:content-disposition:content-type:content-type :mime-version:references:message-id:subject:subject:from:from :date:date:received:received:received; s=dkim20160331; t= 1707357821; x=1709172222; bh=dKNCZMxzuF2TR9NfTC9/X6CkWmZKh4jw1Q4 2jqhOJfg=; b=0A2s8kuoka9XsHx00ILa4IJ0XLLtIWS5zwpZy00b5LW9NqPmPSU PjiCBfeZkCBhZtoaGFt5YQPOsETyyXseNliOkMTszJ+NnhtGLwzjwq2gZM7HTbhY hGsenDGyTcisa3nhGSPilKgX1qb0dVouXVoKJPVzCdHOla1HWiCIKv79V10/Fw9e +wb85nTJlYriHF9XxXY2qaDd1Fn3mxgIE+eZhaQfJ6YRrguYCPa6IQrgHKcwRRgW Z24nsKM52VSbzzMgzzPi2XNW9IvhfLFiKZrunmieX2P2+oa+iP4qTjxI/Jw3KIzA Uv+tdrBVPP/MM85oJTzqGoXKc9iw+aGsCIEBHk54wp2emuVUWGhONXOW8DJOZV3f s6w9ElX8D/AwlLKB2FYYfKUKef3//FhDRwilfhtf+yn2AexT5W6YLzR3EKtc9yjy //y/nLrCn1DN2+cWQZwiTs0RHavViakhsyzUdfzGokiNjtT2hgwmFlUC1NTTAwqo iDxlYBO6aRwYQEAvIN4oQ5dIRxrpqLm9yCHctRlvQyzWVI0PEszTJfWfufYG2wnd uy2Plze4CGdsFbi75xlHP8Fd46XR7rCB79yHaiMu2fb3nQBAUqxdsPzeRL+ojvn+ WFWkAAYyi6TL/WKJBhwEtBKWIb0y7IjZ0jtXPFXm6vlX51PUKEVLbRqw= X-Virus-Scanned: amavis at mykolab.com X-Spam-Flag: NO X-Spam-Score: -1 X-Spam-Level: X-Spam-Status: No, score=-1 tagged_above=-10 required=5 tests=[ALL_TRUSTED=-1] autolearn=ham autolearn_force=no Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out013.mykolab.com [127.0.0.1]) (amavis, port 10024) with ESMTP id QTg8KlDIcGz7; Thu, 8 Feb 2024 03:03:41 +0100 (CET) Received: from int-mx009.mykolab.com (unknown [10.9.13.9]) by mx.kolabnow.com (Postfix) with ESMTPS id C545D304D512; Thu, 8 Feb 2024 03:03:40 +0100 (CET) Received: from ext-subm010.mykolab.com (unknown [10.9.6.10]) by int-mx009.mykolab.com (Postfix) with ESMTPS id 5364820C2DF7; Thu, 8 Feb 2024 03:03:40 +0100 (CET) Date: Wed, 7 Feb 2024 18:02:26 -0800 From: chris To: Sergey Trofimov Subject: Re: bug#68948: highlight error, cannot open filetypes.conf: No such file or directory Message-ID: References: <87ttmk2dqd.fsf@sarg.org.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87ttmk2dqd.fsf@sarg.org.ru> X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 68948 Cc: chris , 68948@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Sergey, I believe you intended a related message for the debbugs service, but only sent the message to my mail address. I am unsure and want to avoid showing impoliteness, I rephrased your message a bit below. Thank you, Chris ------------------- the highlight error goes away after copying the conf file this way ``` cp $(guix build highlight)/etc/highlight/filetypes.conf ~/.highlight/ ``` strace shows that the conf is searched in wrong place: --8<---------------cut here---------------start------------->8--- newfstatat(AT_FDCWD, "/home/user/.highlight/filetypes.conf", 0x7ffcd0778130, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/gnu/store/9mdd4ba8ri4j07acmbc2vhkiipbz9l63-highlight-4.8/share/highlight/filetypes.conf", 0x7ffcd0778130, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/gnu/store/9mdd4ba8ri4j07acmbc2vhkiipbz9l63-highlight-4.8/share/highlight/config/highlight/filetypes.conf", 0x7ffcd0778130, 0) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "filetypes.conf", O_RDONLY) = -1 ENOENT (No such file or directory) futex(0x7f2c4827e1f0, FUTEX_WAKE_PRIVATE, 2147483647) = 0 write(2, "cannot open filetypes.conf: No s"..., 53cannot open filetypes.conf: No such file or directory) = 53 --8<---------------cut here---------------end--------------->8--- but it is installed to /gnu/store/...-highlight-.../etc/highlight/highlight.conf the package recipe has to be fixed From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 27 16:59:35 2024 Received: (at 68948) by debbugs.gnu.org; 27 Mar 2024 20:59:35 +0000 Received: from localhost ([127.0.0.1]:38437 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rpaMw-0003mJ-OA for submit@debbugs.gnu.org; Wed, 27 Mar 2024 16:59:35 -0400 Received: from mx.kolabnow.com ([212.103.80.154]:56564) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rpaMu-0003kw-AB for 68948@debbugs.gnu.org; Wed, 27 Mar 2024 16:59:33 -0400 Received: from localhost (unknown [127.0.0.1]) by mx.kolabnow.com (Postfix) with ESMTP id C7C8E2095C38 for <68948@debbugs.gnu.org>; Wed, 27 Mar 2024 21:59:25 +0100 (CET) Authentication-Results: ext-mx-out011.mykolab.com (amavis); dkim=pass (4096-bit key) reason="pass (just generated, assumed good)" header.d=kolabnow.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-disposition:content-type:content-type:mime-version :message-id:subject:subject:from:from:date:date:received :received:received; s=dkim20160331; t=1711573164; x=1713387565; bh=OZZUwaYOlGBY2WHVTedqsGRZC4dyAPLG+ODsULy4Oyw=; b=RrZZ6aoiC5AK LKYfwKNYjOtWEWovK2289uq6kpWTz+mtL/RclbKwZQvOwLJPRwTApX/gdr7SZV5A deGuei1B9KUFwewK4gTtAUQLD359uEh06tGS+ILkksj0ICjgZ9Dtcru7L+7AmcfK 57gkEtbpBUPGd1sK1ZyPlNffZAaCFMqu6JpVMpMU3wqVpsCgDp1axHzOJ/Wfth4J aSbw394m/hs6qqbtSE5DPRqPOaaJvA91D7Y5NCi9m5rT4HJ77w90DlRvoGPIAT4u FEMQzJYsvQCWXmbunIqOf0YaNb5oOWnMam68e7bHH1jHipZRshXK5vHKgzTE9SHe HzAF6+30DzayW57bESNZZ0J102OUX8NetNGECt1useepNt9bCZMNzFT2XpxPJ64i ISGGqrfE8IuV7+3oBg4yuvwK+9BHXFsU0EubMiyIdKZIhe5K4LvMC9oCDpYvF7bN 4l3LdxquUz2+lvsrEdr59hJHxd+h0TggsER31vS75fVwoPNI+6lholCEjKk7sncf JLGMVts6wXPpMq1hgTLVTfIa5LAeUvO0NWPOzHZRn5YpPebg98eCXUbaOeR1RQCr jEIRrNkTz8xsS/+zmpEfzby/f7ouqeCRhBE+X2i/V0wctAPMYz4H2rTQa80YTlcF ifycmr+t2s2pEeckodu9xNhlrEYRn1s= X-Virus-Scanned: amavis at mykolab.com X-Spam-Flag: NO X-Spam-Score: -1 X-Spam-Level: X-Spam-Status: No, score=-1 tagged_above=-10 required=5 tests=[ALL_TRUSTED=-1] autolearn=ham autolearn_force=no Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out011.mykolab.com [127.0.0.1]) (amavis, port 10024) with ESMTP id hJ0Ivm1biwcA for <68948@debbugs.gnu.org>; Wed, 27 Mar 2024 21:59:24 +0100 (CET) Received: from int-mx009.mykolab.com (unknown [10.9.13.9]) by mx.kolabnow.com (Postfix) with ESMTPS id C18B12095C35 for <68948@debbugs.gnu.org>; Wed, 27 Mar 2024 21:59:24 +0100 (CET) Received: from ext-subm010.mykolab.com (unknown [10.9.6.10]) by int-mx009.mykolab.com (Postfix) with ESMTPS id 40F6F20D6AFA for <68948@debbugs.gnu.org>; Wed, 27 Mar 2024 21:59:24 +0100 (CET) Date: Wed, 27 Mar 2024 13:58:03 -0700 From: chris To: 68948@debbugs.gnu.org Subject: temp fix Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 68948 Cc: chris@bumblehead.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) The following workaround can be used, ``` HLDIRS=$(guix build highlight); # returns two directories HLDIR="${HLDIRS##*[[:space:]]}"; # returns the second dir, after whitespace DATADIR="$HLDIR/etc/highlight/"; echo "(highlight (package bug))" | highlight --data-dir=$DATADIR -O xterm256 --syntax lisp ``` Based on my understanding, the current package definition is correct. Possibly a patch like this could resolve the issue the current package definition seems correct. ``` diff --git a/gnu/packages/pretty-print.scm b/gnu/packages/pretty-print.scm index b95f56729a..2a7cf74009 100644 --- a/gnu/packages/pretty-print.scm +++ b/gnu/packages/pretty-print.scm @@ -389,7 +389,7 @@ (define-public highlight (lambda* (#:key inputs outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) (data (string-append out - "/share/highlight/")) + "/etc/highlight/")) (conf (string-append out "/etc/highlight/")) (doc (string-append out "/share/doc/highlight/")) ``` From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 28 07:53:33 2024 Received: (at submit) by debbugs.gnu.org; 28 Mar 2024 11:53:33 +0000 Received: from localhost ([127.0.0.1]:39248 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rpoK5-0000lD-Bd for submit@debbugs.gnu.org; Thu, 28 Mar 2024 07:53:33 -0400 Received: from lists.gnu.org ([2001:470:142::17]:48156) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rpoK4-0000kp-15 for submit@debbugs.gnu.org; Thu, 28 Mar 2024 07:53:32 -0400 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 1rpoJw-0003mk-AH for bug-guix@gnu.org; Thu, 28 Mar 2024 07:53:24 -0400 Received: from mx.kolabnow.com ([212.103.80.155]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rpoJt-0004rd-Ka for bug-guix@gnu.org; Thu, 28 Mar 2024 07:53:24 -0400 Received: from localhost (unknown [127.0.0.1]) by mx.kolabnow.com (Postfix) with ESMTP id 7A2753085BE4 for ; Thu, 28 Mar 2024 12:53:19 +0100 (CET) Authentication-Results: ext-mx-out013.mykolab.com (amavis); dkim=pass (4096-bit key) reason="pass (just generated, assumed good)" header.d=kolabnow.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= in-reply-to:content-disposition:content-type:content-type :mime-version:references:message-id:subject:subject:from:from :date:date:received:received:received; s=dkim20160331; t= 1711626796; x=1713441197; bh=WTcrdNqV0O5vdjh5XkXEKryDlvVivlFjSgn IzvbjVzg=; b=LderjDKcj8XMmSoXRu8MvKtcwAh/UK1Th0VnFR4LRbHnmDPcDT9 Zk3/55pAgwv4Kv6EbVF9m9p5EYuvIky4ZqrAni1pJENV9pPQkWCvCvNdJBxYiebD Oq1x8gL3H/kTS4Grj/FPJIdJ8pIcja/EOvLTjsWZdIwLy3uXCKuExXnZdhkOcMKs f82aS+4jNJupP1uhAAC4RELbV1G8TVEcamCVWMTNknEajhN3TtdLi0j3Lc9sSHWj v+JusFQ2yCikmB0gh+iR3tik4AdeSignAy9DgXX7ELPRaR7fHTrEMETvBoZ8hCK3 3zekKtpmwlM7nfuTwgSJS+4ADlBsdXpzXrQhf5j6X0pioKQuzlrAjX4xDQuUsrj2 OttVyxIXm8Tsj/UNEEf8CKuxchRd1SCnmarjYgC9RVbpERAZC50WHLEKRVi6C+NW NFjAP8IVQsHgAz5iAFJbVQrzx62FSHUxwuPtM0uLtcgy4YoWUxnnfWYBPoxz8xtF e1PCKH9+Cu3MpXGxSj1HTTLicxlFOhaFj+8QeQmwzOp/TOyAE/+Zg1y/85CY0XBn io/HTgOyQq9issooQtGuf4vAkR11UlrD1rvKRKM49vJyfC/iVW6OWyXxcJ9AlWwL mRC5hFx1u78wY/NqPH/8K/iKl6M6iOZPBUf+nQvYg9a43I8th0UW9oKs= X-Virus-Scanned: amavis at mykolab.com X-Spam-Flag: NO X-Spam-Score: -0.999 X-Spam-Level: X-Spam-Status: No, score=-0.999 tagged_above=-10 required=5 tests=[ALL_TRUSTED=-1, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out013.mykolab.com [127.0.0.1]) (amavis, port 10024) with ESMTP id 3kI-5E668joK for ; Thu, 28 Mar 2024 12:53:16 +0100 (CET) Received: from int-mx011.mykolab.com (unknown [10.9.13.11]) by mx.kolabnow.com (Postfix) with ESMTPS id 646413085BD7 for ; Thu, 28 Mar 2024 12:53:16 +0100 (CET) Received: from ext-subm010.mykolab.com (unknown [10.9.6.10]) by int-mx011.mykolab.com (Postfix) with ESMTPS id 22F0F30EA4E6 for ; Thu, 28 Mar 2024 12:53:16 +0100 (CET) Date: Thu, 28 Mar 2024 04:51:54 -0700 From: chris To: bug-guix@gnu.org Subject: Re: highlight error, cannot open filetypes.conf: No such file or directory Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=212.103.80.155; envelope-from=chris@bumblehead.com; helo=mx.kolabnow.com 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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit Cc: chris@bumblehead.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) Below changes at the highlight package resolve the issue here but may adversely affect "highlight-gui" functionality. Will wait for https://issues.guix.gnu.org/70047 before trying to proceed, ```diff - #:make-flags #~(let ((confdir (string-append %output - "/share/highlight/config/"))) - (list (string-append "PREFIX=" %output) - (string-append "HL_CONFIG_DIR=" confdir) - (string-append "conf_dir=" confdir))) + #:make-flags #~(list (string-append "PREFIX=" %output) + (string-append "HL_CONFIG_DIR=" %output "/etc/") + (string-append "conf_dir=" %output "/etc/")) ```