Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 391015 - media-libs/tiff-4.0.0_beta7: automagically links to liblzma from xz-utils
Summary: media-libs/tiff-4.0.0_beta7: automagically links to liblzma from xz-utils
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Steve Arnold
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-19 14:46 UTC by Hans
Modified: 2011-12-30 15:31 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 Hans 2011-11-19 14:46:10 UTC
media-libs/tiff-4.0.0_beta7 links libtiff to liblzma, if the latter is installed during the configure phase:


readelf -d /usr/lib/libtiff.so.5

Dynamic section at offset 0x756d0 contains 27 entries:
  Tag        Type                         Name/Value
 0x0000000000000001 (NEEDED)             Shared library: [liblzma.so.5]
 0x0000000000000001 (NEEDED)             Shared library: [libjpeg.so.8]
 0x0000000000000001 (NEEDED)             Shared library: [libz.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libm.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
 0x000000000000000e (SONAME)             Library soname: [libtiff.so.5]
[...]

This can be controlled via the configure script:
[...]
--disable-lzma          disable liblzma usage (required for LZMA2
                          compression, enabled by default)
[...]

So I suggest adding 
a) a USE flag for this (lzma would appropriate, I think)
b) $(use_enable lzma) in the src_configure step in the ebuild.

Thanks for your attention!
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2011-12-30 15:31:41 UTC
this is fixed in ebuild for 4.0.0 final