From unknown Sun Jun 22 20:58:48 2025 X-Loop: help-debbugs@gnu.org Subject: bug#60364: Bad definition of $TEXMF in guix shell containing texlive Resent-From: Elias Kueny Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 27 Dec 2022 20:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 60364 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 60364@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167217312025051 (code B ref -1); Tue, 27 Dec 2022 20:32:01 +0000 Received: (at submit) by debbugs.gnu.org; 27 Dec 2022 20:32:00 +0000 Received: from localhost ([127.0.0.1]:56554 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pAGcB-0006Vz-LP for submit@debbugs.gnu.org; Tue, 27 Dec 2022 15:31:59 -0500 Received: from lists.gnu.org ([209.51.188.17]:33240) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pAGc9-0006Vq-1S for submit@debbugs.gnu.org; Tue, 27 Dec 2022 15:31:57 -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 1pAGc5-0006rs-BH for bug-guix@gnu.org; Tue, 27 Dec 2022 15:31:55 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pAGbv-0002eJ-OK for bug-guix@gnu.org; Tue, 27 Dec 2022 15:31:49 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id BEFFC2402E1 for ; Tue, 27 Dec 2022 21:31:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1672173100; bh=cjW6VhGmx9YZEfKYfPsIyuiIRU88VQb8B/euf/LNRVA=; h=From:To:Subject:Date:From; b=emKYbzZ3qFjX8Tcw9P5LaZk3QIeNXyuWWqmjNcwxte28QayLmQG3aXCUfF7Mtvi+O jNvAyauQf/c6TBzLlth057GsQeudcZW8/JRj3pohYBBxqSzWA9AVZeVNMUgmDOYVV+ j4MSLYmy4g9neKBwiQNaLQu1Ft37Xh2D2WICH7AirY2la49KGh2rG+MXmLMMo/SDLd HFdWfKXOku/+cMiM/3NNZGPT7W9ctGTDX/C0r/k9WJDL/TNEGlL/X/vUs8tRW33fKv QnQbVTQQ9MDusMjH79eNPsTkD2hRTQE7Zgi8KIBsYi/V8KBuxPJ/AiNeeFeI+5DsWs MudfcaJltLvCA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NhRC02LqCz6tmH for ; Tue, 27 Dec 2022 21:31:40 +0100 (CET) From: Elias Kueny Date: Tue, 27 Dec 2022 19:56:40 +0000 Message-ID: <87edskziz8.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; format=flowed Received-SPF: pass client-ip=185.67.36.66; envelope-from=elias.kueny@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) 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: -2.3 (--) Hello, In a shell environment that contains texlive instead of texlive-base, $TEXMF contains the path to texlive packages directly, indead of the path to all packages in the profile. It is a problem for packages obtained from another channel / custom package definitions, which are then not found. > guix shell texlive -- kpsewhich -all -var-value TEXMF > {{}/home/elias/.texlive2021/texmf-config,/home/elias/.texlive2021/texmf-var,/home/elias/texmf,/gnu/store/j63hhbhiycaab3rx4fr0g96vybdfxmax-texlive-20210325/share/texmf-local,!!/gnu/store/7binnxi4w7sxlnpns2qa4yc94bfbfkqf-texlive-texmf-20210325/share/texmf-config,!!/gnu/store/7binnxi4w7sxlnpns2qa4yc94bfbfkqf-texlive-texmf-20210325/share/texmf-var,!!/gnu/store/7binnxi4w7sxlnpns2qa4yc94bfbfkqf-texlive-texmf-20210325/share/texmf-dist} > guix shell texlive-base -- kpsewhich -all -var-value TEXMF > {/gnu/store/jdfsq5k23cz70p68jmiyjca2asg7r1ll-profile/share/texmf-dist} My workaround was to set TEXMFHOME to $GUIX_ENVIRONMENT/share/texmf-dist in my (fish) shell configuration so it is expanded when entering the guix environment, but it doesn't work when running the command directly (as in guix shell texlive -- lualatex file). From unknown Sun Jun 22 20:58:48 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Elias Kueny Subject: bug#60364: closed (Closing) Message-ID: References: <87edskziz8.fsf@posteo.net> X-Gnu-PR-Message: they-closed 60364 X-Gnu-PR-Package: guix Reply-To: 60364@debbugs.gnu.org Date: Sun, 27 Aug 2023 08:51:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1693126262-16429-1" This is a multi-part message in MIME format... ------------=_1693126262-16429-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #60364: Bad definition of $TEXMF in guix shell containing texlive which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 60364@debbugs.gnu.org. --=20 60364: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D60364 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1693126262-16429-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 60364-done) by debbugs.gnu.org; 27 Aug 2023 08:50:43 +0000 Received: from localhost ([127.0.0.1]:44124 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qaBTn-0004GM-0j for submit@debbugs.gnu.org; Sun, 27 Aug 2023 04:50:43 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:60666) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qaBTl-0004G4-0v for 60364-done@debbugs.gnu.org; Sun, 27 Aug 2023 04:50:41 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 8B19E19D; Sun, 27 Aug 2023 10:50:29 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sagxG-R7SHz5; Sun, 27 Aug 2023 10:50:29 +0200 (CEST) Received: from jurong (unknown [IPv6:2001:861:c4:f2f0::c64]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 1CBE614F; Sun, 27 Aug 2023 10:50:29 +0200 (CEST) Date: Sun, 27 Aug 2023 10:50:27 +0200 From: Andreas Enge To: 60364-done@debbugs.gnu.org Subject: Closing 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: 60364-done 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 (-) Hello, the monolithic texlive package should not be mixed with additional texlive packages. With the recent remodelling of the texlive packages, it would be better to install something like texlive-scheme-medium instead. Eventually we aim for reaching a metapackage for a full texlive installation this way. So I am closing this bug report now, please reopen it if you still experience problems with the modular texlive system, or if I misunderstood the problem. Thanks for your report, Andreas ------------=_1693126262-16429-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 27 Dec 2022 20:32:00 +0000 Received: from localhost ([127.0.0.1]:56554 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pAGcB-0006Vz-LP for submit@debbugs.gnu.org; Tue, 27 Dec 2022 15:31:59 -0500 Received: from lists.gnu.org ([209.51.188.17]:33240) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pAGc9-0006Vq-1S for submit@debbugs.gnu.org; Tue, 27 Dec 2022 15:31:57 -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 1pAGc5-0006rs-BH for bug-guix@gnu.org; Tue, 27 Dec 2022 15:31:55 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pAGbv-0002eJ-OK for bug-guix@gnu.org; Tue, 27 Dec 2022 15:31:49 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id BEFFC2402E1 for ; Tue, 27 Dec 2022 21:31:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1672173100; bh=cjW6VhGmx9YZEfKYfPsIyuiIRU88VQb8B/euf/LNRVA=; h=From:To:Subject:Date:From; b=emKYbzZ3qFjX8Tcw9P5LaZk3QIeNXyuWWqmjNcwxte28QayLmQG3aXCUfF7Mtvi+O jNvAyauQf/c6TBzLlth057GsQeudcZW8/JRj3pohYBBxqSzWA9AVZeVNMUgmDOYVV+ j4MSLYmy4g9neKBwiQNaLQu1Ft37Xh2D2WICH7AirY2la49KGh2rG+MXmLMMo/SDLd HFdWfKXOku/+cMiM/3NNZGPT7W9ctGTDX/C0r/k9WJDL/TNEGlL/X/vUs8tRW33fKv QnQbVTQQ9MDusMjH79eNPsTkD2hRTQE7Zgi8KIBsYi/V8KBuxPJ/AiNeeFeI+5DsWs MudfcaJltLvCA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NhRC02LqCz6tmH for ; Tue, 27 Dec 2022 21:31:40 +0100 (CET) From: Elias Kueny To: bug-guix@gnu.org Subject: Bad definition of $TEXMF in guix shell containing texlive Date: Tue, 27 Dec 2022 19:56:40 +0000 Message-ID: <87edskziz8.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; format=flowed Received-SPF: pass client-ip=185.67.36.66; envelope-from=elias.kueny@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit 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: -2.3 (--) Hello, In a shell environment that contains texlive instead of texlive-base, $TEXMF contains the path to texlive packages directly, indead of the path to all packages in the profile. It is a problem for packages obtained from another channel / custom package definitions, which are then not found. > guix shell texlive -- kpsewhich -all -var-value TEXMF > {{}/home/elias/.texlive2021/texmf-config,/home/elias/.texlive2021/texmf-var,/home/elias/texmf,/gnu/store/j63hhbhiycaab3rx4fr0g96vybdfxmax-texlive-20210325/share/texmf-local,!!/gnu/store/7binnxi4w7sxlnpns2qa4yc94bfbfkqf-texlive-texmf-20210325/share/texmf-config,!!/gnu/store/7binnxi4w7sxlnpns2qa4yc94bfbfkqf-texlive-texmf-20210325/share/texmf-var,!!/gnu/store/7binnxi4w7sxlnpns2qa4yc94bfbfkqf-texlive-texmf-20210325/share/texmf-dist} > guix shell texlive-base -- kpsewhich -all -var-value TEXMF > {/gnu/store/jdfsq5k23cz70p68jmiyjca2asg7r1ll-profile/share/texmf-dist} My workaround was to set TEXMFHOME to $GUIX_ENVIRONMENT/share/texmf-dist in my (fish) shell configuration so it is expanded when entering the guix environment, but it doesn't work when running the command directly (as in guix shell texlive -- lualatex file). ------------=_1693126262-16429-1--