Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 386907 - media-libs/tiff-3.9.5-r1 unusable as library
Summary: media-libs/tiff-3.9.5-r1 unusable as library
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-12 14:34 UTC by Oldrich Jedlicka
Modified: 2011-10-12 14:42 UTC (History)
0 users

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 Oldrich Jedlicka 2011-10-12 14:34:37 UTC
The version tiff-3.9.5-r1 doesn't install any includes or static libraries that other tools could link with. opencv-2.3.0-r1 isn't able to compile because of this.

The current ebuild does the following in the install script instead of `make install` from tiff-3.9.5:

src_install() {
        exeinto /usr/$(get_libdir)
        doexe libtiff/.libs/libtiff$(get_libname 3)
        use cxx && doexe libtiff/.libs/libtiffxx$(get_libname 3)
}

This looks like an intention, but if it is like that, the dependencies on tiff should be removed from other ebuilds.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2011-10-12 14:42:08 UTC
No, it means you added improper entry to your /etc/portage:

tiff-3.9.5.ebuild:KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"

^ This version is stable and pulled for stable users.

tiff-3.9.5-r1.ebuild:KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"

^ This one is not being pulled by anything, except sci-chemisty/icm for ~arch users.

tiff-4.0.0_beta7.ebuild:KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~x64-solaris ~x86-solaris"

^ This one is pulled by default for ~arch users.

So fix your /etc/portage, likely package.keywords or package.mask and everything will be OK again.

The ebuilds all install correct files.

This is exactly how we handle jpeg and png in portage as well