Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 832453 - sci-libs/dcmtk-3.6.5: installs /usr/lib64/libcharls.so
Summary: sci-libs/dcmtk-3.6.5: installs /usr/lib64/libcharls.so
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Biology related packages
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: bundled-libs
  Show dependency tree
 
Reported: 2022-01-31 23:36 UTC by François-Xavier Carton
Modified: 2022-06-21 09:57 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description François-Xavier Carton 2022-01-31 23:36:08 UTC
dcmtk installs libcharls (bundled dependency), which may conflict with a system version (I want to package this for ::science).

At least, it shouldn't install the unversioned symlink. This would solve the conflict since it uses a different so version. Ideal would be to prefix the library name or install it in a subdirectory.

Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2022-06-21 09:57:27 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=979b3a03db71a3053de19fdcceb68665c3ccccf1

commit 979b3a03db71a3053de19fdcceb68665c3ccccf1
Author:     François-Xavier Carton <fx.carton91@gmail.com>
AuthorDate: 2022-05-17 07:49:38 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2022-06-21 09:57:17 +0000

    sci-libs/dcmtk: bump to 3.6.7
    
    Closes: https://bugs.gentoo.org/832453
    Signed-off-by: François-Xavier Carton <fx.carton91@gmail.com>
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 sci-libs/dcmtk/Manifest           |  1 +
 sci-libs/dcmtk/dcmtk-3.6.7.ebuild | 86 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 87 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d7c53ec31479a88eeee0249a831ec0f82d269bd

commit 7d7c53ec31479a88eeee0249a831ec0f82d269bd
Author:     François-Xavier Carton <fx.carton91@gmail.com>
AuthorDate: 2022-05-16 15:41:43 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2022-06-21 09:57:16 +0000

    sci-libs/dcmtk: rename bundled charls to avoid conflicts
    
    Using upstream patch [1].
    
    Note: both Debian [2] and Fedora [3] have given up unbundling charls as
    the newer charls 2.0 is incompatible with charls 1.0 used by dcmtk and
    causes regressions.
    
    [1] https://git.dcmtk.org/?p=dcmtk.git;a=commitdiff;h=09afb527bb889932f919c28f47b08c84fe19ab32
    [2] https://salsa.debian.org/med-team/dcmtk/-/commit/12aad369f3e5a6a4eac78b206a940cad80608bc7
    [3] https://src.fedoraproject.org/rpms/dcmtk/c/d9cff801c2e4e2928e247a8c973b7118ec589ed5?branch=rawhide
    
    Closes: https://bugs.gentoo.org/832453
    Signed-off-by: François-Xavier Carton <fx.carton91@gmail.com>
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 sci-libs/dcmtk/dcmtk-3.6.5-r1.ebuild               | 90 ++++++++++++++++++++++
 .../files/dcmtk-3.6.5-rename-bundled-charls.patch  | 70 +++++++++++++++++
 2 files changed, 160 insertions(+)