libopenjp2-7-dev has missing dependencies

Bug #2060106 reported by Momtchil Momtchev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openjpeg2 (Ubuntu)
New
Undecided
Unassigned

Bug Description

libopenjp2-7-dev installs a CMake module that references missing files making it impossible to use the package from CMake projects:

ERROR MESSAGE:

-- The imported target "openjpip" references the file
   "/usr/lib/x86_64-linux-gnu/libopenjpip.so.2.4.0"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/x86_64-linux-gnu/openjpeg-2.4/OpenJPEGTargets.cmake"
but not all the files it references.

The missing packages are:

libopenjp2-tools
libopenjpip-server
libopenjpip-viewer

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: libopenjp2-7-dev 2.4.0-6
ProcVersionSignature: Ubuntu 6.5.0-26.26~22.04.1-generic 6.5.13
Uname: Linux 6.5.0-26-generic x86_64
NonfreeKernelModules: zfs
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Wed Apr 3 11:33:59 2024
InstallationDate: Installed on 2021-03-11 (1118 days ago)
InstallationMedia: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
SourcePackage: openjpeg2
UpgradeStatus: Upgraded to jammy on 2023-01-26 (432 days ago)
modified.conffile..etc.default.apport:
 # set this to 0 to disable apport, or to 1 to enable it
 # you can temporarily override this with
 # sudo service apport start force_start=1
 enabled=0
mtime.conffile..etc.default.apport: 2022-01-27T17:39:47.701263

Revision history for this message
Momtchil Momtchev (mmomtchev) wrote :
Revision history for this message
Momtchil Momtchev (mmomtchev) wrote :

Additionally, the included UseOPENJPEG.cmake is not meant to be used standalone, but it is meant to be included from a missing UseOPENJPEG.cmake file.

Revision history for this message
Momtchil Momtchev (mmomtchev) wrote :

The first part is definitely an Ubuntu problem, but the second part might be the library authors problem:

https://github.com/uclouvain/openjpeg/issues/1477

Revision history for this message
Momtchil Momtchev (mmomtchev) wrote :

Starting with openjpeg 2.5.2 the CMake files are actually usable:
https://github.com/uclouvain/openjpeg/commit/5c2053950eb4c2c76f17deefd35f5c49abf0232e

(tho, not without any problems...)

Only the dependencies should be fixed in Ubuntu - the -dev package should install all the binary packages

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.