Bug 262021 - devel/tex-web2c: Does not use but depends on openjpeg. Cannot install tex-web2c and libreoffice together: openjpeg15 / openjpeg conflict
Summary: devel/tex-web2c: Does not use but depends on openjpeg. Cannot install tex-web...
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Tex Mailing List (Nobody)
URL:
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2022-02-17 19:03 UTC by russo
Modified: 2022-02-19 22:48 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (tex)
koobs: maintainer-feedback? (sunpoet)
koobs: merge-quarterly?


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description russo 2022-02-17 19:03:33 UTC
As noted in bug https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262008 for Libreoffice, the newest version of libreoffice requires OpenJPEG 2.4, and will fail to build if openjpeg 1.5 is installed.

Openjpeg 1.5 is NOT marked as a conflict for OpenJPEG 2.4, and is explicitly required by tex-web2c --- so at the moment is is impossible to install tex-web2c (or anything that requires it) *and* the current version of libreoffice at the same time.

But it does not look like tex-web2c even *uses* openjpeg:   
for i in `pkg info -l tex-web2c | grep bin` ; do   ldd $i; done | grep jpeg 
returns nothing at all, making it look like this is an unnecessary dependency.

If tex-web2c does not use openjpeg at all, then the dependency should be removed.  If it can use openjpeg 2.4 instead, it should so that the obsolete openjpeg15 can be removed.

If openjpeg15 really *does* have to be installed for tex-web2c to work, then something will have to be done to make it properly coexist with 2.4 so that libreoffice can build.
Comment 1 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2022-02-17 19:06:14 UTC
We are in the process of updating entire TEX system to the 2021 branch which will take 1 to 2 weeks more. Please hold onto this until then.
Comment 2 Kubilay Kocak freebsd_committer freebsd_triage 2022-02-17 21:38:50 UTC
^Triage: Request info from openjpg[15] maintainer
Comment 3 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2022-02-17 22:48:17 UTC
Just for information: The new(2021) tex-web2c requires openjpeg2.
Comment 4 Dima Panov freebsd_committer freebsd_triage 2022-02-18 10:04:47 UTC
openjpeg15 port is fixed in main -- now it install include into own subdir as intended by authors
Comment 5 russo 2022-02-18 15:08:51 UTC
With the openjpeg15 fix, I'm now OK if this issue is closed as irrelevant.