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
$ 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.
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
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.
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
ilmbase-1.0.3-4.fc18 should fix it, tagged for buildroot too.
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).