Bug 866302

Summary: ilmbase-devel missing dependency on libGLU-devel
Product: [Fedora] Fedora Reporter: Benjamin Gilbert <bgilbert>
Component: ilmbaseAssignee: Rex Dieter <rdieter>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: kwizart, rdieter
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-07 22:55:52 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:

Description Benjamin Gilbert 2012-10-15 04:41:54 UTC
Description of problem:
When using mock to build a package against OpenEXR, configure fails to detect it due to a missing glu.pc.

Version-Release number of selected component (if applicable):
1.0.3-3.fc19

How reproducible:
Always

Steps to Reproduce:
fedpkg clone vips
cd vips
fedpkg switch-branch f18
fedpkg srpm
mock --root fedora-18-x86_64 *.src.rpm
grep -A 20 "checking for OPENEXR" /var/lib/mock/fedora-18-x86_64/root/builddir/build/BUILD/vips-*/config.log

Actual results:
configure properly detects OpenEXR.

Expected results:
configure:21339: checking for OPENEXR
configure:21346: $PKG_CONFIG --exists --print-errors "OpenEXR >= 1.2.2"
Package glu was not found in the pkg-config search path.
Perhaps you should add the directory containing `glu.pc'
to the PKG_CONFIG_PATH environment variable
Package 'glu', required by 'IlmBase', not found
configure:21349: $? = 1
configure:21363: $PKG_CONFIG --exists --print-errors "OpenEXR >= 1.2.2"
Package glu was not found in the pkg-config search path.
Perhaps you should add the directory containing `glu.pc'
to the PKG_CONFIG_PATH environment variable
Package 'glu', required by 'IlmBase', not found
configure:21366: $? = 1
configure:21380: result: no
Package glu was not found in the pkg-config search path.
Perhaps you should add the directory containing `glu.pc'
to the PKG_CONFIG_PATH environment variable
Package 'glu', required by 'IlmBase', not found
configure:21396: WARNING: OpenEXR not found; disabling OpenEXR support

Comment 1 Rex Dieter 2012-10-15 12:30:20 UTC
$ cat /usr/lib64/pkgconfig/IlmBase.pc 
prefix=/usr
exec_prefix=/usr
libdir=/usr/lib64
includedir=/usr/include
OpenEXR_includedir=/usr/include/OpenEXR

Name: IlmBase
Description: Base math and exception libraries
Version: 1.0.3
Libs: -L${libdir} -lImath -lHalf -lIex -lIexMath -lIlmThread -pthread
Cflags: -pthread -I${OpenEXR_includedir}
Requires.private: gl glu

Hmm...

rpm isn't picking up the pkgconfig-dependencies for some reason.

Comment 2 Rex Dieter 2012-10-15 12:30:50 UTC
oh, and for comparison:

rpm -qR ilmbase-devel 
/usr/bin/pkg-config
ilmbase(x86-64) = 1.0.3-3.fc18
libHalf.so.6()(64bit)
libIex.so.6()(64bit)
libIexMath.so.6()(64bit)
libIlmThread.so.6()(64bit)
libImath.so.6()(64bit)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1

Comment 3 Nicolas Chauvet (kwizart) 2012-10-15 12:32:23 UTC
Yep, I've fixed the OpenEXR side, but it sound like it should have been fixed in the ilmbase package instead.
I will revert and bump my modification on OpenEXR and let you fix ilmbase instead.

Comment 4 Fedora Update System 2012-10-15 12:54:43 UTC
ilmbase-1.0.3-4.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/ilmbase-1.0.3-4.fc18

Comment 5 Rex Dieter 2012-10-15 12:58:08 UTC
ilmbase-1.0.3-4.fc18 should fix it, tagged for buildroot too.

Comment 6 Fedora Update System 2012-10-15 17:38:56 UTC
Package ilmbase-1.0.3-4.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ilmbase-1.0.3-4.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-16136/ilmbase-1.0.3-4.fc18
then log in and leave karma (feedback).