Bug 192107

Summary: guile-devel needs to require gmp-devel
Product: [Fedora] Fedora Reporter: Toshio Kuratomi <toshio>
Component: guileAssignee: Miroslav Lichvar <mlichvar>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-05-18 12:24:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Toshio Kuratomi 2006-05-17 17:05:25 UTC
Description of problem:
The new guile has a dependency on libgmp.  This is picked up automatically for
the main guile package but guie-devel neds to explicitly Require: gmp-devel
otherwise other programs can't compile against libguile.

Version-Release number of selected component (if applicable):
guile-devel-1.8.0-3

How reproducible:
Everytime

Steps to Reproduce:
1. checkout gnotime from Fedora Extras CVS.
2. cd gnotime/devel
3. make mockbuild
  
Actual results:
Building will fail when we try to include libguile.h because gmp.h is missing:

In file included from /usr/include/guile/gh.h:24,
                 from ghtml.c:23:
/usr/include/libguile.h:48:17: error: gmp.h: No such file or directory
In file included from /usr/include/libguile.h:91,
                 from /usr/include/guile/gh.h:24,
                 from ghtml.c:23:
/usr/include/libguile/numbers.h:337: error: expected declaration specifiers or
'...' before 'mpz_t'
/usr/include/libguile/numbers.h:338: error: expected ')' before 'rop'

Expected results:
Build would succeed

Additional info:
Full logs of a failed gnotime build are here:

http://buildsys.fedoraproject.org/logs/fedora-development-extras/9521-gnotime-2.2.2-5.fc6/i386/

root.log has yum's dependency resolving that pulls in guile-devel but not gmp-devel.

build.log has the compilation and failure.

Comment 1 Miroslav Lichvar 2006-05-18 12:24:20 UTC
Fixed in guile-1.8.0-4.