GNU bug report logs - #47830
texlive-bin: perl utilities runtime failure

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Domagoj Stolfa <domagoj.stolfa@HIDDEN>; Done: Maxim Cournoyer <maxim.cournoyer@HIDDEN>; Maintainer for guix is bug-guix@HIDDEN.
bug closed, send any further explanations to 47830 <at> debbugs.gnu.org and Domagoj Stolfa <domagoj.stolfa@HIDDEN> Request was from Maxim Cournoyer <maxim.cournoyer@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 47830 <at> debbugs.gnu.org:


Received: (at 47830) by debbugs.gnu.org; 19 Apr 2021 02:29:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 18 22:29:41 2021
Received: from localhost ([127.0.0.1]:48093 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lYJfQ-0002zj-N1
	for submit <at> debbugs.gnu.org; Sun, 18 Apr 2021 22:29:41 -0400
Received: from mail-qk1-f170.google.com ([209.85.222.170]:37862)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@HIDDEN>) id 1lYJfP-0002zU-6o
 for 47830 <at> debbugs.gnu.org; Sun, 18 Apr 2021 22:29:39 -0400
Received: by mail-qk1-f170.google.com with SMTP id t17so6041663qkg.4
 for <47830 <at> debbugs.gnu.org>; Sun, 18 Apr 2021 19:29:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version;
 bh=iYGUtNKmXotQoiRDlUEugKLgB14mfYd2UIjJmWkdPsA=;
 b=E1U3lsGOc2hz0uh0+5WkfBwhTjdavUfSTpvKVrJHy7l1dJyytqjWKrRT2UAn/SGgbI
 16HP70E5bw+snkeNJd3yqaX/QSwRljk6q/50qiRvkBrCQxyrSrDaVylSuDi/fXATe0Yb
 D8KvcFT7pY5nIwsI34ssLCkQ4b3FWppmFlnVXwhMt1yEwy5vxnIRTRnv0lkFmCHFsJcJ
 XNzLpGCfPvF0/MVe4FDWzz6HdpQ0dLFggcpmL2Oqw7z6p4h2yBwWAOj82dBnrK4oqQ2b
 z4yvhXUCGFixT98Cm43j2lNStCU3zvGNn0tKfmhMS3xFey3iyV1e3cIIdJmIhMjQs9Bf
 19nw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version;
 bh=iYGUtNKmXotQoiRDlUEugKLgB14mfYd2UIjJmWkdPsA=;
 b=X2NX34uhUhm/qr5FuoAYw6HzTLnM6Rj7H7g60mjaA2N/dXYU0njPP5oWQ7QL9PdXAH
 1u1uXklA+jVLiduxMoWNjTMr06Ew+Og+aN91D5kIgDkFsXuqX8TrebmuSaGabV1Jb+Gs
 28HCmdBcQE12W7bCTK24cOkTmGKlPPSe4QBynotpCvjcOAVCf3p1tbIIAc21rxkCAzBK
 DqrRAkUSJaVnRVM3RvTZNGA9zm7mBfXkNoKpyao2Mk70sunkEGBAsnTvLjsgIi2Fbhl3
 UAHxgdbswpmSBVlVwL8fXj4tO1txtpF5Tfh6V30d0dHtX/IJxN4kehJnfWRgGE5q1Zzv
 r+Zg==
X-Gm-Message-State: AOAM530El/mzvr4xX8YMNMcz/KIBJwN9aBf9m1knzDuSeaaygD31k8j6
 vmYh7CITT21i4KkPfO5toAEUAozioFs=
X-Google-Smtp-Source: ABdhPJzsPoUKDokX84S3z9MlDmFS8Aqyw7OBtHMdEuCkMMMYYu2yE6IV1xxSSWTw6vXPr+U6uDXUEg==
X-Received: by 2002:a37:5b43:: with SMTP id p64mr9863150qkb.131.1618799373491; 
 Sun, 18 Apr 2021 19:29:33 -0700 (PDT)
Received: from hurd (dsl-152-210.b2b2c.ca. [66.158.152.210])
 by smtp.gmail.com with ESMTPSA id t3sm376720qke.72.2021.04.18.19.29.32
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 18 Apr 2021 19:29:33 -0700 (PDT)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
To: Domagoj Stolfa <domagoj.stolfa@HIDDEN>
Subject: Re: bug#47830: texlive-bin: perl utilities runtime failure
References: <30b03ebc-3fd2-a99b-9ccd-f7c7b2d97d44@HIDDEN>
Date: Sun, 18 Apr 2021 22:29:32 -0400
In-Reply-To: <30b03ebc-3fd2-a99b-9ccd-f7c7b2d97d44@HIDDEN> (Domagoj
 Stolfa's message of "Fri, 16 Apr 2021 21:49:42 +0100")
Message-ID: <87tuo3hur7.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 47830
Cc: 47830 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi!

Domagoj Stolfa <domagoj.stolfa@HIDDEN> writes:

> Hello:
>
>
> I've been trying to use the texlive distribution from guix, but
> noticed a particular issue with a few of the texlive-bin utilities,
> namely latexindent and latex-git-log. There may be more that suffer
> this issue.
>
>
>
> Following the discussion on IRC -- when texlive-bin gets installed, it
> is split up from texlive-texmf. This results in the perl utilities 
> having the wrong @INC path, namely they end up with (using latexindent
> as an example):
>
>
> /gnu/store/jr9czrjx7slnda355xfmbv6hkkdpl5qi-texlive-bin-20190410/share/texmf-dist/scripts/latexindent 
>
>
> rather than the expected path containing their includes:
>
>
> /gnu/store/cqfhb3hfvyxacn200n0jxkf3wq8328yq-texlive-texmf-20190410/share/texmf-dist/scripts/latexindent 
>
>
> This results in a runtime error which looks a bit like "Can't locate
> LatexIndent/Document.pm in @INC (you may need to install the 
> LatexIndent::Document module)". A simple fix for this would be to
> migrate texlive-scripts from texlive-bin to texlive-texmf (in tex.scm) 
> or to perhaps merge texlive-bin and texlive-texmf. However, since I
> haven't done much with guix outside of just using it, I don't really 
> know what the best approach would be. Perhaps it would make sense to
> discuss what the best approach would be here?

Would you mind trying what you are doing on the core-updates branch?
There have been many texlive things fixed there, such as the tlmgr
utility in commit 9e78ea79f81d9eec0fab9cbe204899e384973649.  Also,
04a0b1e09abce99857e7930336421ca6d15ae630 introduced support for using
multiple TeX Live trees at once, which may or may not fix the issue at
hand.

Let me know if you need help with something.

Thank you!

Maxim




Information forwarded to bug-guix@HIDDEN:
bug#47830; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 16 Apr 2021 21:26:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 16 17:26:59 2021
Received: from localhost ([127.0.0.1]:41844 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lXVzL-00058B-AI
	for submit <at> debbugs.gnu.org; Fri, 16 Apr 2021 17:26:59 -0400
Received: from lists.gnu.org ([209.51.188.17]:38174)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <domagoj.stolfa@HIDDEN>) id 1lXVPN-0004EJ-Up
 for submit <at> debbugs.gnu.org; Fri, 16 Apr 2021 16:49:46 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:40794)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <domagoj.stolfa@HIDDEN>)
 id 1lXVPN-00010G-MO
 for bug-guix@HIDDEN; Fri, 16 Apr 2021 16:49:45 -0400
Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]:36624)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <domagoj.stolfa@HIDDEN>)
 id 1lXVPM-0001Fa-4D
 for bug-guix@HIDDEN; Fri, 16 Apr 2021 16:49:45 -0400
Received: by mail-wr1-x42f.google.com with SMTP id m9so15126746wrx.3
 for <bug-guix@HIDDEN>; Fri, 16 Apr 2021 13:49:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=to:from:subject:message-id:date:user-agent:mime-version
 :content-transfer-encoding:content-language;
 bh=GBUd8x5PtNkM9P0OFUcrBDwyIn/XEC0l0T0Wq0H7VE0=;
 b=kPSsh7Y83LHeDt1iXs4/vReA6LA6hjHDYuODKgjY63fStLFPhkii3GrM+c4+rXVOr7
 xHPpbefjNPC+crN6TkaSH2U4f6991BckOEh5cg2uvdldyKA7A9NogB0cAP7s3sfQL7p/
 eiLeSMHaDxvmph7vZpajovmCuEM/xt1DEcAxgUSVxiZhekhArQI3CO1NxGIX2MS2FlqV
 Ec0Um3SuWhcSef1veWSB1PGlvIJeNFBhBwTAfOJ3oh3smNqOVtwayxqbFr8whTENB2lO
 BufODZzgPItEI4C7uTSa71VDhu5IO8feI9jGarPjqB4IBkUieTaOl6avt5qpCNrhy9xp
 2Raw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:to:from:subject:message-id:date:user-agent
 :mime-version:content-transfer-encoding:content-language;
 bh=GBUd8x5PtNkM9P0OFUcrBDwyIn/XEC0l0T0Wq0H7VE0=;
 b=SonXnXVDp8LYSvFALIK9LYKbs1pj3ca/Z5dHiwAqyDN5MPfS4LtZipQq5Ixyban/VE
 pqcXOhQBiR+UTKMjgZN8zgB854uu2VBzc5RJWlJEYGn+UWHCkebO68K0V6kKTRTJflOq
 VhXZyy12J44cMbiTIkziSJF8L6rjCu06d9qzWKbu22h4V22ud5OkRdCNyYP1AiL319zZ
 QJ35UJk+9e0ZHbOEQ8VKcMFprcbQgiWQ+xoBzKxy2gmt+mErYX+iajyG1U7Vgjw7duZw
 UHd9FDXfM+7nz9Qy4VhwMM/Cry2HUIdBAPfJcopj1lYqTUkZ58jNr242hWIJzmpQvdGq
 dLCw==
X-Gm-Message-State: AOAM531NJoh3FaCJfi8n74OywIKSQLO+9NmOrT1/XPW8yB69Bqqq60WM
 kIOvXtCqsIDBDfrkj9x44jX+2VeB6FjoMg==
X-Google-Smtp-Source: ABdhPJzEV2UC3i7Ii/6S5c1PH5KIfbsTFHVqC/Iz+w691ZVGfUj76LgnZjJa3z1f98/8oxGj3bWt8g==
X-Received: by 2002:a5d:524e:: with SMTP id k14mr986779wrc.282.1618606182795; 
 Fri, 16 Apr 2021 13:49:42 -0700 (PDT)
Received: from [128.232.109.16] (user-109-16.vpn.cl.cam.ac.uk.
 [128.232.109.16])
 by smtp.gmail.com with ESMTPSA id g5sm11899846wrq.30.2021.04.16.13.49.42
 for <bug-guix@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Fri, 16 Apr 2021 13:49:42 -0700 (PDT)
To: bug-guix@HIDDEN
From: Domagoj Stolfa <domagoj.stolfa@HIDDEN>
Subject: texlive-bin: perl utilities runtime failure
Message-ID: <30b03ebc-3fd2-a99b-9ccd-f7c7b2d97d44@HIDDEN>
Date: Fri, 16 Apr 2021 21:49:42 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
 Icedove/68.10.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Language: en-US
Received-SPF: pass client-ip=2a00:1450:4864:20::42f;
 envelope-from=domagoj.stolfa@HIDDEN; helo=mail-wr1-x42f.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 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Fri, 16 Apr 2021 17:26:54 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

Hello:


I've been trying to use the texlive distribution from guix, but noticed 
a particular issue with a few of the texlive-bin utilities, namely 
latexindent and latex-git-log. There may be more that suffer this issue.


Following the discussion on IRC -- when texlive-bin gets installed, it 
is split up from texlive-texmf. This results in the perl utilities 
having the wrong @INC path, namely they end up with (using latexindent 
as an example):


/gnu/store/jr9czrjx7slnda355xfmbv6hkkdpl5qi-texlive-bin-20190410/share/texmf-dist/scripts/latexindent 



rather than the expected path containing their includes:


/gnu/store/cqfhb3hfvyxacn200n0jxkf3wq8328yq-texlive-texmf-20190410/share/texmf-dist/scripts/latexindent 



This results in a runtime error which looks a bit like "Can't locate 
LatexIndent/Document.pm in @INC (you may need to install the 
LatexIndent::Document module)". A simple fix for this would be to 
migrate texlive-scripts from texlive-bin to texlive-texmf (in tex.scm) 
or to perhaps merge texlive-bin and texlive-texmf. However, since I 
haven't done much with guix outside of just using it, I don't really 
know what the best approach would be. Perhaps it would make sense to 
discuss what the best approach would be here?


Thanks!


-- 

Domagoj





Acknowledgement sent to Domagoj Stolfa <domagoj.stolfa@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#47830; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 23 Apr 2025 13:30:04 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.