Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 750338 - media-libs/openimageio-2.2.7.0 builds only when media-libs/ilmbase-2.3.0 is installed
Summary: media-libs/openimageio-2.2.7.0 builds only when media-libs/ilmbase-2.3.0 is i...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal minor
Assignee: Aisha Tammy
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-20 06:22 UTC by jiwopene
Modified: 2020-11-16 16:03 UTC (History)
2 users (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 jiwopene 2020-10-20 06:22:52 UTC
media-libs/openimageio-2.2.7.0 uses libraries from media-libs/ilmbase-2.3.0 during compilation (libIlmImf.so and others). These C++ libraries contain namespaces that contain version of ilmbase in their names. That causes linker fail when using media-libs/ilmbase-2.5.0.

Reproducible: Always

Steps to Reproduce:
1. install media-libs/ilmbase-2.5.0
2. emerge media-libs/openimageio-2.2.7.0
Actual Results:  
The linker fails:

[...]
warning: libHalf.so.24, needed by /usr/lib64/libIlmImf.so, not found (try using -rpath or -rpath-link)
warning: libIex-2_3.so.24, needed by /usr/lib64/libIlmImf.so, not found (try using -rpath or -rpath-link)
warning: libIlmThread-2_3.so.24, needed by /usr/lib64/libIlmImf.so, not found (try using -rpath or -rpath-link)
lib/libOpenImageIO.so.2.2.7: undefined reference to `Imf_2_3::TypedAttribute<Imath_2_5::Matrix33<float> >::staticTypeName()'
/usr/lib64/libIlmImf.so: undefined reference to `IlmThread_2_3::Task::Task(IlmThread_2_3::TaskGroup*)'
/usr/lib64/libIlmImf.so: undefined reference to `typeinfo for Iex_2_3::BaseExc'
[...]

Expected Results:  
Successfully emerge media-libs/openimageio-2.2.7.0 with media-libs/ilmbase-2.5.0.

Possible solutions:

1) patch openimageio
2) slot ilmbase
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-10-20 11:05:44 UTC
Please provide emerge --info and the full build.log.
Comment 2 Aisha Tammy 2020-10-27 03:14:22 UTC
couldn't reproduce
please provide the information mentioned by sam
emerge --info and build.log