Red Hat Bugzilla – Bug 411101
Building x86_64 packages with 'BuildRequires: glew-devel' fails
Last modified: 2013-01-09 20:44:24 EST
Description of problem:
fedora-8-x86_64.cfg contains a pattern glob to exclude i386 packages except
those beginning in 'gl', so any package that has 'BuildRequires: glew-devel'
pulls in glew.i386 which then fails to pull in mesa-libGL.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
2. mock --arch=x86_64 -rfedora-8-x86_64 --rebuild enblend-3.0-6.fc8.src.rpm
Error: Missing Dependency: libGLU.so.1 is needed by package glew
Error: Missing Dependency: libGL.so.1 is needed by package glew
Error: Missing Dependency: libX11.so.6 is needed by package glew
Nice shiny x86_64 rpm
This can be fixed by changing the 'exclude' line in the config to this:
exclude=[A-Za-fh-z]*.i*86 g[a-km-z]*.i?86 glib2.i?86 glib.i?86 glib-devel.i?86
glib2-devel.i?86 glew.i?86 glew-devel.i?86
Though looking around there are some other packages on my system that begin with
'gl', so maybe some other solution is optimal.
thanks for the report. Will test and get a fix for this in.
Fixed in upstream git. (will be released as 0.8.15 or higher.)
Changed exclude= to:
exclude=[!g]*.i*86 g[!l]*.i?86 gl[!i]*.i?86 gli[!b]*.i?86 glib[!c]*.i?86
which should be bulletproof.