Bug 866302 - ilmbase-devel missing dependency on libGLU-devel
ilmbase-devel missing dependency on libGLU-devel
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: ilmbase (Show other bugs)
18
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Rex Dieter
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-10-15 00:41 EDT by Benjamin Gilbert
Modified: 2012-11-07 17:55 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-11-07 17:55:52 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Benjamin Gilbert 2012-10-15 00:41:54 EDT
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 08:30:20 EDT
$ 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 08:30:50 EDT
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 08:32:23 EDT
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 08:54:43 EDT
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 08:58:08 EDT
ilmbase-1.0.3-4.fc18 should fix it, tagged for buildroot too.
Comment 6 Fedora Update System 2012-10-15 13:38:56 EDT
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).

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