GNU bug report logs - #67660
[PATCH] gnu: texlive-xiften: Readd need input propagation

Previous Next

Package: guix-patches;

Reported by: Isaac van Bakel <isaac.vanbakel <at> inf.ethz.ch>

Date: Wed, 6 Dec 2023 14:57:01 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 67660 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to andreas <at> enge.fr, rekado <at> elephly.net, guix-patches <at> gnu.org:
bug#67660; Package guix-patches. (Wed, 06 Dec 2023 14:57:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Isaac van Bakel <isaac.vanbakel <at> inf.ethz.ch>:
New bug report received and forwarded. Copy sent to andreas <at> enge.fr, rekado <at> elephly.net, guix-patches <at> gnu.org. (Wed, 06 Dec 2023 14:57:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Isaac van Bakel <isaac.vanbakel <at> inf.ethz.ch>
To: <guix-patches <at> gnu.org>
Cc: Isaac van Bakel <isaac.vanbakel <at> inf.ethz.ch>
Subject: [PATCH] gnu: texlive-xiften: Readd need input propagation
Date: Wed, 6 Dec 2023 15:01:01 +0100
 * gnu/packages/tex.scm (texlive-xfithen)[propagated-inputs]:
   Readd propagation of `texlive-ifmtarg` to fix usage of package.

Change-Id: I9e5e3cfa0fad3dc9fd3b4950eedf7443b254d2f1
---
This was removed as a "spurious" propagated input by the
texlive-team-next changes, but in my usage it was not spurious and the
package propagation is needed to use `xifthen` correctly.

 gnu/packages/tex.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 0d76710daa..934cdb2a80 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -70883,6 +70883,7 @@ (define-public texlive-xifthen
               "0b33mlmnxsj5mi06v2w2zgamk51mgv1lxdr1cax8nkpn9g7n9axw")))
     (outputs '("out" "doc"))
     (build-system texlive-build-system)
+    (propagated-inputs (list texlive-ifmtarg))
     (home-page "https://ctan.org/pkg/xifthen")
     (synopsis "Extended conditional commands")
     (description

base-commit: 8c294e43eb0b0ea61da7c0570872e0908f64c8ed
-- 
2.41.0





Information forwarded to guix-patches <at> gnu.org:
bug#67660; Package guix-patches. (Wed, 06 Dec 2023 21:40:01 GMT) Full text and rfc822 format available.

Message #8 received at 67660 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Isaac van Bakel <isaac.vanbakel <at> inf.ethz.ch>
Cc: 67660 <at> debbugs.gnu.org, Ricardo Wurmus <rekado <at> elephly.net>,
 Andreas Enge <andreas <at> enge.fr>
Subject: Re: [bug#67660] [PATCH] gnu: texlive-xiften: Readd need input
 propagation
Date: Wed, 06 Dec 2023 22:39:02 +0100
Hello,

Isaac van Bakel <isaac.vanbakel <at> inf.ethz.ch> writes:

>  * gnu/packages/tex.scm (texlive-xfithen)[propagated-inputs]:
>    Readd propagation of `texlive-ifmtarg` to fix usage of package.
>
> Change-Id: I9e5e3cfa0fad3dc9fd3b4950eedf7443b254d2f1
> ---
> This was removed as a "spurious" propagated input by the
> texlive-team-next changes, but in my usage it was not spurious and the
> package propagation is needed to use `xifthen` correctly.
>
>  gnu/packages/tex.scm | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
> index 0d76710daa..934cdb2a80 100644
> --- a/gnu/packages/tex.scm
> +++ b/gnu/packages/tex.scm
> @@ -70883,6 +70883,7 @@ (define-public texlive-xifthen
>                "0b33mlmnxsj5mi06v2w2zgamk51mgv1lxdr1cax8nkpn9g7n9axw")))
>      (outputs '("out" "doc"))
>      (build-system texlive-build-system)
> +    (propagated-inputs (list texlive-ifmtarg))

This is a limitation in TeX Live, not Guix's, package definitions. The
dependency is not reported in their "texlive.tlpdb" file.

Note there are hundreds of such issues. We cannot realistically fix them
manually ; for example this change would need to be tested every time
Guix TeX packages are updated.

I suggest to use collections of packages to avoid messing too much with
individual dependencies, and possibly report those missing dependencies
to the TeX Live project.

Regards,
-- 
Nicolas Goaziou






Information forwarded to guix-patches <at> gnu.org:
bug#67660; Package guix-patches. (Thu, 07 Dec 2023 11:54:01 GMT) Full text and rfc822 format available.

Message #11 received at 67660 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Isaac van Bakel <isaac.vanbakel <at> inf.ethz.ch>
Cc: 67660 <at> debbugs.gnu.org, Ricardo Wurmus <rekado <at> elephly.net>,
 Andreas Enge <andreas <at> enge.fr>
Subject: Re: [bug#67660] [PATCH] gnu: texlive-xiften: Readd need input
 propagation
Date: Thu, 07 Dec 2023 12:52:53 +0100
Hello,

Isaac van Bakel <isaac.vanbakel <at> inf.ethz.ch> writes:

> On 2023/12/06 22:39, Nicolas Goaziou wrote:
>> This is a limitation in TeX Live, not Guix's, package definitions. The
>> dependency is not reported in their "texlive.tlpdb" file.
>>
>> Note there are hundreds of such issues. We cannot realistically fix them
>> manually ; for example this change would need to be tested every time
>> Guix TeX packages are updated.
>
> Is there no way to declare that a package auto-generated from TeX Live
> should be "patched" in some way (in this case, to include the
> dependency)? I'm aware that Nix does something like this for their
> various package sets. Perhaps this would be more sustainable than
> a fully-manual process.

I don't know what Nix does. However, considering the sheer number of
packages involved, I don't believe in the sustainability of anything
even remotely manual.

Now let's suppose we solve this. E.g., the importer greps through ".ins"
or ".dtx" files to identify and declare a list of dependencies. Then
we'll face another, greater, issue: it will be no longer possible to
build TeX Live packages because of the dependencies loops we will have
just introduced. Let me insist of the fact that I'm not talking about an
hypothetical problem: I encountered it when I started to package the
missing TeX Live bits a few months ago.

If there's no solution, then there's no problem. ;)

>> I suggest to use collections of packages to avoid messing too much with
>> individual dependencies, and possibly report those missing dependencies
>> to the TeX Live project.
>
> Unfortunately this particular package only appears in an unopinionated
> collection in latexextra, which is very heavy for something that
> I have to put in my manifest just to fix a dependency issue.
>
> I'll look into getting the dependency registered on TL, but it's worth
> noting that they also don't want the responsibility of dependency
> tracking. They also don't recommend that package authors bother to put
> dependency information in their packages.[0] I'm conscious that this
> is a complex burden, but ideally *someone* would take it on so that
> the software works.

The software works; the burden in on the user who wants to optimize
their TeX Live installation. I think this is a reasonable, and common,
expectation. I don't think the TeX Live installer takes a different
approach. On a different context, compare a user installing a full blown
DE, such as Gnome, to another one who picks a window manager, a file
manager, etc., and needs to glue these parts together to make them
behave as a coherent environment.

As a data point, I have a 20-ish TeX Live packages from latexetra
collection explicitly installed from my manifest as required
dependencies. This list hardly ever increases or changes, so this is
acceptable, at least for me.

Sorry for being pessimistic. Maybe Someone™ will find an unexpected
solution. Meanwhile, adding manually dependencies is, IMO, a no go.

Regards,
-- 
Nicolas Goaziou






Information forwarded to guix-patches <at> gnu.org:
bug#67660; Package guix-patches. (Thu, 07 Dec 2023 14:11:01 GMT) Full text and rfc822 format available.

Message #14 received at 67660 <at> debbugs.gnu.org (full text, mbox):

From: Isaac van Bakel <isaac.vanbakel <at> inf.ethz.ch>
To: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Cc: 67660 <at> debbugs.gnu.org, Ricardo Wurmus <rekado <at> elephly.net>,
 Andreas Enge <andreas <at> enge.fr>
Subject: Re: [bug#67660] [PATCH] gnu: texlive-xiften: Readd need input
 propagation
Date: Thu, 7 Dec 2023 12:06:09 +0100
Hello,

On 2023/12/06 22:39, Nicolas Goaziou wrote:
> This is a limitation in TeX Live, not Guix's, package definitions. The
> dependency is not reported in their "texlive.tlpdb" file.
>
> Note there are hundreds of such issues. We cannot realistically fix them
> manually ; for example this change would need to be tested every time
> Guix TeX packages are updated.

Is there no way to declare that a package auto-generated from TeX Live 
should be "patched" in some way (in this case, to include the 
dependency)? I'm aware that Nix does something like this for their 
various package sets. Perhaps this would be more sustainable than a 
fully-manual process.

> I suggest to use collections of packages to avoid messing too much with
> individual dependencies, and possibly report those missing dependencies
> to the TeX Live project.

Unfortunately this particular package only appears in an unopinionated 
collection in latexextra, which is very heavy for something that I have 
to put in my manifest just to fix a dependency issue.

I'll look into getting the dependency registered on TL, but it's worth 
noting that they also don't want the responsibility of dependency 
tracking. They also don't recommend that package authors bother to put 
dependency information in their packages.[0] I'm conscious that this is 
a complex burden, but ideally *someone* would take it on so that the 
software works.

Best,

Isaac

 [0]: https://tug.org/texlive/pkgcontrib.html#deps






This bug report was last modified 148 days ago.

Previous Next


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