Bug 1827577 - OpenImageIO-devel should depend on OpenEXR-devel (uses its headers)
Summary: OpenImageIO-devel should depend on OpenEXR-devel (uses its headers)
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: OpenImageIO
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Richard Shaw
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-24 09:01 UTC by Nick Black
Modified: 2020-04-24 12:14 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-04-24 11:46:11 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Screenshot of failed build (59.96 KB, image/png)
2020-04-24 09:01 UTC, Nick Black
no flags Details

Description Nick Black 2020-04-24 09:01:00 UTC
Created attachment 1681407 [details]
Screenshot of failed build

Description of problem:

I am attempting to support OpenImageIO in notcurses, a library which will hopefully soon be included in Fedora Core. The upstream bug on this is https://github.com/dankamongmen/notcurses/issues/453.

I installed OpenImageIO-devel 2.1.11 from Fedora Core 32. When I #include <OpenImageIO/imageio.h>, my build fails, complaining about a missing OpenEXR/ImathVec.h. This header is provided by OpenEXR-devel. I installed OpenEXR-devel, and my build succeeded.

Version-Release number of selected component (if applicable): 2.1.11.1-1.fc32

How reproducible: 100%, if imageio.h is #included

Steps to Reproduce:
1. Ensure OpenEXR-devel is not installed
2. Install OpenImageIO
3. #include <OpenImageIO/imageio.h>

Actual results: C preprocessor fails

Expected results: C preprocessor succeeds, as all required headers are present

Additional info:

Comment 1 Richard Shaw 2020-04-24 11:46:11 UTC
Thanks! It's always complicated to figure out what the devel to devel dependencies are, so I usually just update them when something breaks.

I'll go ahead and commit it but not really worth a rebuild as OIIO does bugfix releases at the beginning of every month anyway.

Comment 2 Nick Black 2020-04-24 12:14:11 UTC
Agreed with your triage. Thanks for the quick fix!


Note You need to log in before you can comment on or make changes to this bug.