Bug 262052 - print/texlive-texmf UPDATING instruction, circular dependency texlive-base texlive-texmf
Summary: print/texlive-texmf UPDATING instruction, circular dependency texlive-base te...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Tex Mailing List (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-19 17:03 UTC by alt2600
Modified: 2022-02-19 22:44 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (tex)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description alt2600 2022-02-19 17:03:30 UTC
===>>> 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}
Comment 1 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2022-02-19 17:25:43 UTC
The issue you have mentioned is indeed a mistake which needs fixing but it's not related to your problem.

If you go down a little bit down on the same file you will see a section called CONFLICTS_INSTALL. Can you play around a bit with disabling and enabling the entire line and see if it works for you? Currently I don't have a workstation where I can test it with portmaster.
Comment 2 rkoberman 2022-02-19 19:39:46 UTC
Removal of the CONFLICTS_ALLOW line allows the install to complete without obvious issues. Of course, the old latex-base is still present and probably needs updating.
Comment 3 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2022-02-19 19:42:16 UTC
(In reply to rkoberman from comment #2)
Thanks for the update.

About the latex-base if you see it's even not downloaded. It's now an integral part of texlive system. But I will remove it for sure.
Comment 4 commit-hook freebsd_committer freebsd_triage 2022-02-19 22:43:15 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9eae55747b4f9db9ded77fca6a137babef234b82

commit 9eae55747b4f9db9ded77fca6a137babef234b82
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-02-19 22:15:02 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-02-19 22:42:35 +0000

    print/texlive-texmf: Remove CONFLICTS

    - Remove reference to old latex-base DIST

    PR:             262052
    Reported by:    alt2600@icloud.com

 print/texlive-texmf/Makefile | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)