I pulled after the patch for texlive-texmf but still have issues updating TeX, still indicating a circular dependency but it seems that texlive-base conflicts with texlive-texmf since they are already installed and it will still not proceed. Not sure what the purpose of all these conflicts are, but they seemingly make it impossible to update because the old ports existing means they cannot update to new versions. ------------------------- Similar to texlive-texmf bug posted earlier ===>>> 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 $} make depends ===> texlive-texmf-20210325 depends on file: /usr/local/sbin/pkg - found ===> texlive-texmf-20210325 depends on executable: tex - found ===> texlive-texmf-20210325 depends on package: texlive-base>=20210325 - not found ===> texlive-base-20210325 conflicts with installed package(s): texlive-texmf-20150523_4 They install files into the same place. You may want to stop build with Ctrl + C. ----------------------- and after deleting texlive-texmf to try to pull it in naturally during upgrade now I get ===>>> Gathering dependency list for print/texlive-base from ports ===>>> print/texlive-tlmgr seems to depend on print/texlive-base which looks like a dependency loop UPDATING instruction is wrong, this thing will not upgrade with portmaster at all, everything is blocking each other possibly due to conflicting with the old versions.
Sorry to hear that. Unfortunately I don't have any old system where I have it to try with portmaster. I would just advice to comment out the the CONFLICTS and retry again.
Created attachment 231950 [details] Nuke-Conflicts-for-Runtime_Library-depends.diff so this is what I had to do to let it update, it is still not clear to me why a port lists a dependency to an library it also lists as a CONFLICT, this makes no sense. Folks with more complete TeX installs will likely still feel the pain of an upgrade here. I also added a note to UDPATING for TeX as you will need to delete texlive-texmf because base installs a texmf component that conflicts even though texmf says it has base as a dependency??? I didn't find out until halfway through the update. Not sure if I clobbered things, and not sure why out TeX install has TeX items that conflict with TeX items, that seems to make splitting the port up to a million packages a nightmare for folks. In theory none of these ports should have installed on my machine in the first place, or be able to upgrade through two FreeBSD source major updates (11,12,13) Perhaps some cleanup of plists or scrubbing of conflicts should be looked at, or just letting a full and complete TeX instead of breaking it into millions of conflicting ports should be looked at. It is nonsensical for dependencies to be conflicts. I was finally able to upgrade TeX using portmaster though, can't believe this would work with pkg though given everything is a conflict issue with dependencies. ----------------- Before deleting texlive-texmf but after patch allowed ----------------- portmaster to actually start building ===> Installing for texlive-base-20210325 ===> Checking if texlive-base is already installed ===> Registering installation for texlive-base-20210325 Installing texlive-base-20210325... pkg-static: texlive-base-20210325 conflicts with texlive-texmf-20150523_4 (installs files into the same place). Problematic file: /usr/local/share/texmf-dist/texconfig/tcfmgr *** Error code 1 Stop. make: stopped in /usr/ports/print/texlive-base
(In reply to Muhammad Moinur Rahman from comment #1) see attached patch, I don't know how any of this software even installed in the first place given everything conflicts. I'm sure more complete installs folks may have will feel additional pain, but this got a basic TeX install updated with portmaster. Maintainers might now how bad I clobbered my system by forcing all these to install and if this is a safe patch or not. Personally I'm going to go back to something easy like my first time blind Dark Souls 3 play though... :^)
Same situation here on 14-CURRENT and 13-STABLE with traditional make installed ports. Updating impossible.
(In reply to alt2600 from comment #3) There has been couple of changes in the CONFLICTS infrastructure I believe from the point you have installed 2015 and now. :D (In reply to alt2600 from comment #4) Sorry for that; I am committing the changes suggested by alt2600 with some minor changes in the UPDATING note. Hold on a minute please.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=db4e6eb33ece441b2f3d50984e4554ef201a6da4 commit db4e6eb33ece441b2f3d50984e4554ef201a6da4 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2022-02-20 12:09:57 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2022-02-20 12:09:57 +0000 print/*: Fix ports installation of TeX2021 There have some CONFLICTS which doesn't make sense and actually makes it impossible to install/upgrade the TeX through portmaster/ports so remove those CONFLICTS and update UPDATING accordingly. PR: 262058 Reported by: alt2600@icloud.com UPDATING | 6 ++++-- print/texlive-base/Makefile | 2 +- print/texlive-tlmgr/Makefile | 2 -- print/xpdfopen/Makefile | 2 -- 4 files changed, 5 insertions(+), 7 deletions(-)
^Triage: Assign to committer that resolved