maintainer-feedback requested: [Bug 262052] print/texlive-texmf UPDATING instruction incorrect, circular dependency texlive-base texlive-texmf

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 19 Feb 2022 17:03:30 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked Tex Mailing List (Nobody)
<tex@FreeBSD.org> for maintainer-feedback:
Bug 262052: print/texlive-texmf UPDATING instruction incorrect, circular
dependency texlive-base texlive-texmf
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262052



--- Description ---
===>>> Starting check of installed ports for available updates
===>>> Launching child to update tex-basic-engines-20150521 to
tex-basic-engines-20210325

===>>> All >> tex-basic-engines-20150521 (1/1)

===>>> Currently installed version: tex-basic-engines-20150521
===>>> Port directory: /usr/ports/print/tex-basic-engines

===>>> Launching 'make checksum' for print/tex-basic-engines in background
===>>> Gathering dependency list for print/tex-basic-engines from ports
===>>> Launching child to update tex-kpathsea-6.2.1_2 to tex-kpathsea-6.3.3

===>>> All >> tex-basic-engines-20150521 >> tex-kpathsea-6.2.1_2 (2/2)

===>>> Currently installed version: tex-kpathsea-6.2.1_2
===>>> Port directory: /usr/ports/devel/tex-kpathsea

===>>> Gathering dependency list for devel/tex-kpathsea from ports
===>>> Initial dependency check complete for devel/tex-kpathsea

===>>> Continuing initial dependency check for print/tex-basic-engines
===>>> Launching child to update tex-web2c-20150521_3 to tex-web2c-20210325

===>>> All >> tex-basic-engines-20150521 >> tex-web2c-20150521_3 (3/3)

===>>> Currently installed version: tex-web2c-20150521_3
===>>> Port directory: /usr/ports/devel/tex-web2c

===>>> Gathering dependency list for devel/tex-web2c from ports
===>>> Launching child to update tex-ptexenc-1.3.3_2 to tex-ptexenc-1.3.9

===>>> All >> tex-basic-engines-20150521 >> tex-web2c-20150521_3 >>
tex-ptexenc-1.3.3_2 (4/4)

===>>> Currently installed version: tex-ptexenc-1.3.3_2
===>>> Port directory: /usr/ports/print/tex-ptexenc

===>>> Gathering dependency list for print/tex-ptexenc from ports
===>>> Initial dependency check complete for print/tex-ptexenc

===>>> Continuing initial dependency check for devel/tex-web2c
===>>> Initial dependency check complete for devel/tex-web2c

===>>> Continuing initial dependency check for print/tex-basic-engines
===>>> Initial dependency check complete for print/tex-basic-engines

===>>> Returning to update check of installed ports

===>>> Launching child to update tex-dvipsk-5.995_2 to tex-dvipsk-2021.1

===>>> All >> tex-dvipsk-5.995_2 (5/5)

===>>> Currently installed version: tex-dvipsk-5.995_2
===>>> Port directory: /usr/ports/print/tex-dvipsk

===>>> Gathering dependency list for print/tex-dvipsk from ports
===>>> Launching child to update texlive-texmf-20150523_4 to
texlive-texmf-20210325

===>>> All >> tex-dvipsk-5.995_2 >> texlive-texmf-20150523_4 (6/6)

===>>> Currently installed version: texlive-texmf-20150523_4
===>>> Port directory: /usr/ports/print/texlive-texmf

===>>> Launching 'make checksum' for print/texlive-texmf in background
===>>> Gathering dependency list for print/texlive-texmf from ports

===>>> print/texlive-base seems to depend on print/texlive-texmf
       which looks like a dependency loop

===>>> Try pkg updating print/texlive-texmf
===>>> Aborting update

===>>> Update for texlive-texmf-20150523_4 failed
===>>> Aborting update

===>>> Update for tex-dvipsk-5.995_2 failed
===>>> Aborting update


also in Makefile it seems to be calling for extracting the old source not the
new one, not sure if this is the issue or not

diff --git a/print/texlive-texmf/Makefile b/print/texlive-texmf/Makefile
index fd25755e67ee..4e4afb536016 100644
--- a/print/texlive-texmf/Makefile
+++ b/print/texlive-texmf/Makefile
@@ -1,286 +1,332 @@
 PORTNAME=	texlive
-PORTVERSION=	20150523
-PORTREVISION=	4
+PORTVERSION=	${TEXLIVE_VERSION}
 CATEGORIES=	print
-MASTER_SITES=	ftp://ftp.tug.org/historic/systems/texlive/2015/:texmf \
-		LOCAL/hrs:latex
+MASTER_SITES=	TEX_CTAN/systems/texlive/${TEXLIVE_YEAR}/
 PKGNAMESUFFIX= -texmf
-DISTFILES=	${PORTNAME}-${PORTVERSION}${PKGNAMESUFFIX}${EXTRACT_SUFX}:texmf
\
-		latex-base-20150101.2${EXTRACT_SUFX}:latex
+DISTFILES=	${PORTNAME}-${PORTVERSION}${PKGNAMESUFFIX}${EXTRACT_SUFX}
 DIST_SUBDIR=	TeX
 EXTRACT_ONLY=	latex-base-20150101.2${EXTRACT_SUFX}