Red Hat Bugzilla – Bug 192107
guile-devel needs to require gmp-devel
Last modified: 2007-11-30 17:11:33 EST
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):
Steps to Reproduce:
1. checkout gnotime from Fedora Extras CVS.
2. cd gnotime/devel
3. make mockbuild
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,
/usr/include/libguile.h:48:17: error: gmp.h: No such file or directory
In file included from /usr/include/libguile.h:91,
/usr/include/libguile/numbers.h:337: error: expected declaration specifiers or
'...' before 'mpz_t'
/usr/include/libguile/numbers.h:338: error: expected ')' before 'rop'
Build would succeed
Full logs of a failed gnotime build are here:
root.log has yum's dependency resolving that pulls in guile-devel but not gmp-devel.
build.log has the compilation and failure.
Fixed in guile-1.8.0-4.