Bug 1827577

Summary: OpenImageIO-devel should depend on OpenEXR-devel (uses its headers)
Product: [Fedora] Fedora Reporter: Nick Black <dank>
Component: OpenImageIOAssignee: Richard Shaw <hobbes1069>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: rawhideCC: hobbes1069
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-24 11:46:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Screenshot of failed build none

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!