Bug 411101 - Building x86_64 packages with 'BuildRequires: glew-devel' fails
Summary: Building x86_64 packages with 'BuildRequires: glew-devel' fails
Alias: None
Product: Fedora
Classification: Fedora
Component: mock   
(Show other bugs)
Version: 8
Hardware: x86_64
OS: Linux
Target Milestone: ---
Assignee: David Cantrell
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2007-12-04 21:33 UTC by Bruno Postle
Modified: 2013-01-10 01:44 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-12-05 04:52:17 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Bruno Postle 2007-12-04 21:33:34 UTC
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):


How reproducible:


Steps to Reproduce:
1. wget
2. mock --arch=x86_64 -rfedora-8-x86_64 --rebuild enblend-3.0-6.fc8.src.rpm
Actual results:

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

Expected results:

Nice shiny x86_64 rpm

Additional info:

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.

Comment 1 Michael E Brown 2007-12-05 04:15:53 UTC

thanks for the report. Will test and get a fix for this in.

Comment 2 Michael E Brown 2007-12-05 04:51:26 UTC
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.

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