Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 596858 - Can not upgrade to media-libs/openexr-2.2.0 from 2.1.0 | SOLVED
Summary: Can not upgrade to media-libs/openexr-2.2.0 from 2.1.0 | SOLVED
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal trivial (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-11 13:24 UTC by Oleg Akimov
Modified: 2016-10-15 13:09 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 Oleg Akimov 2016-10-11 13:24:25 UTC
I have installed media-libs/openexr-2.1.0
Compilation of media-libs/openexr-2.2.0 is failed with message:

/var/portage-tmp/portage/media-libs/openexr-2.2.0/work/openexr-2.2.0/IlmImfUtil/ImfImageIO.cpp: In function ‘Imf_2_1::Image* Imf_2_1::loadImage(const string&, Imf_2_1::Header&)’:
/var/portage-tmp/portage/media-libs/openexr-2.2.0/work/openexr-2.2.0/IlmImfUtil/ImfImageIO.cpp:96:65: error: no matching function for call to ‘isOpenExrFile(const char*, bool&, bool&, bool&)’
     if (!isOpenExrFile (fileName.c_str(), tiled, deep, multiPart))


Solution: one must uninstall previous version first:

1. emerge -C openexr
2. emerge -va1 openexr
Comment 1 Jonathan Scruggs (RETIRED) gentoo-dev 2016-10-12 10:11:03 UTC
(In reply to Oleg Akimov from comment #0)
> I have installed media-libs/openexr-2.1.0
> Compilation of media-libs/openexr-2.2.0 is failed with message:
> 
> /var/portage-tmp/portage/media-libs/openexr-2.2.0/work/openexr-2.2.0/
> IlmImfUtil/ImfImageIO.cpp: In function ‘Imf_2_1::Image*
> Imf_2_1::loadImage(const string&, Imf_2_1::Header&)’:
> /var/portage-tmp/portage/media-libs/openexr-2.2.0/work/openexr-2.2.0/
> IlmImfUtil/ImfImageIO.cpp:96:65: error: no matching function for call to
> ‘isOpenExrFile(const char*, bool&, bool&, bool&)’
>      if (!isOpenExrFile (fileName.c_str(), tiled, deep, multiPart))
> 
> 
> Solution: one must uninstall previous version first:
> 
> 1. emerge -C openexr
> 2. emerge -va1 openexr

That was a know issue, which is why 2.2.0-r1 was released. :) It was released a day before this bug: https://github.com/gentoo/gentoo/blob/master/media-libs/openexr/openexr-2.2.0-r1.ebuild

Try that instead.
Comment 2 Oleg Akimov 2016-10-15 13:09:44 UTC
Thanks, worked like a charm!