NetBSD Problem Report #58341
From www@netbsd.org Thu Jun 13 11:25:36 2024
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
client-signature RSA-PSS (2048 bits) client-digest SHA256)
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id C57B61A9238
for <gnats-bugs@gnats.NetBSD.org>; Thu, 13 Jun 2024 11:25:36 +0000 (UTC)
Message-Id: <20240613112535.3DCD21A923A@mollari.NetBSD.org>
Date: Thu, 13 Jun 2024 11:25:35 +0000 (UTC)
From: sotiris@lamprinidis.com
Reply-To: sotiris@lamprinidis.com
To: gnats-bugs@NetBSD.org
Subject: Avoid building package that is broken in meta-pkgs/texlive-collection-latexrecommended
X-Send-Pr-Version: www-1.0
>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: bsiegert
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Thu Jun 13 11:30:00 +0000 2024
>Last-Modified: Mon Aug 19 15:26:36 +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
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->markd
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Sun, 16 Jun 2024 08:17:15 +0000
Responsible-Changed-Why:
Over to lwarp maintainer.
My vote goes to removing tex-lwarp from the meta package,
or at least not depending on tex-xindy unconditionally.
Responsible-Changed-From-To: markd->bsiegert
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Mon, 19 Aug 2024 15:26:36 +0000
Responsible-Changed-Why:
take
>Unformatted:
(Contact us)
$NetBSD: gnats-precook-prs,v 1.4 2018/12/21 14:20:20 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.