Summary: | print/texlive-base UPDATING Instructions, texlive-base conflicts with texlive-texmf, and everything else possibly | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | alt2600 | ||||
Component: | Individual Port(s) | Assignee: | Muhammad Moinur Rahman <bofh> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Many People | CC: | alt2600, bofh, ohartmann, tex | ||||
Priority: | --- | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
alt2600
2022-02-20 00:20:07 UTC
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 |