pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/58341: Avoid building package that is broken in meta-pkgs/texlive-collection-latexrecommended



>Number:         58341
>Category:       pkg
>Synopsis:       Avoid building package that is broken in meta-pkgs/texlive-collection-latexrecommended
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 13 11:30:00 +0000 2024
>Originator:     Sotiris Lamprinidis
>Release:        pkgsrc-current
>Organization:
N/A
>Environment:
NetBSD arm64 10.0_STABLE NetBSD 10.0_STABLE (GENERIC64)
>Description:
See also PR pkg/55741

> meta-pkgs/texlive-collection-latexrecommended includes the package textproc/tex-lwarp. This
> depends on textproc/xindy and thus on lang/clisp.
> [...]
> Conditionalising the dependency on certain platforms where clisp doesn't
> work (like SPARC? Which others?) is very reasonable. 

There are more platforms that lang/clisp is broken on (lang/clisp/Makefile):
> 14| # XXX: is this still current?
> 15| BROKEN_ON_PLATFORM+=  *-*-arm
> 16| BROKEN_ON_PLATFORM+=  *-*-aarch64*
> 17| # makes the bulk build hang under MirBSD
> 18| BROKEN_ON_PLATFORM+=  MirBSD-*-*
(Interestingly, SunOS-*-sparc* (the OP's platform) is not listed as broken in the Makefile)

I can confirm that it is still broken on aarch64. Wouldn't it make sense to skip textproc/tex-lwap on these platforms too?
>How-To-Repeat:

>Fix:
diff --git a/meta-pkgs/texlive-collection-latexrecommended/Makefile b/meta-pkgs/texlive-collection-latexrecommended/Makefile

index 5392087a4a5b..9d3e7cdaeea3 100644
--- a/meta-pkgs/texlive-collection-latexrecommended/Makefile
+++ b/meta-pkgs/texlive-collection-latexrecommended/Makefile
@@ -51,7 +51,10 @@ DEPENDS+=    tex-l3experimental-[0-9]*:../../devel/tex-l3experimental
 DEPENDS+=      tex-latexbug-[0-9]*:../../devel/tex-latexbug
 DEPENDS+=      tex-lineno-[0-9]*:../../print/tex-lineno
 DEPENDS+=      tex-listings-[0-9]*:../../print/tex-listings
-.if empty(MACHINE_PLATFORM:MSunOS-*-sparc*) # PR pkg/55741
+.if empty(MACHINE_PLATFORM:MSunOS-*-sparc*) && \
+       empty(MACHINE_PLATFORM:M*-*-arm) && \
+       empty(MACHINE_PLATFORM:M*-*-aarch64*) && \
+       empty(MACHINE_PLATFORM:MMirBSD-*-*) # PR pkg/XXXXX clisp is broken on these platforms
 DEPENDS+=      tex-lwarp-[0-9]*:../../textproc/tex-lwarp
 .endif
 DEPENDS+=      tex-mathspec-[0-9]*:../../math/tex-mathspec


Home | Main Index | Thread Index | Old Index