Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 650788 - sci-mathematics/fricas-1.3.3 USE="clisp -gmp" - configure: error: GMP is valid only when using sbcl or Clozure CL
Summary: sci-mathematics/fricas-1.3.3 USE="clisp -gmp" - configure: error: GMP is vali...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Andrey Grozin
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2018-03-18 08:47 UTC by Martin Väth
Modified: 2018-03-26 06:28 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Väth 2018-03-18 08:47:39 UTC
Emerging sci-mathematics/fricas-1.3.3 w/ USE=clisp fails in the ./configure phase:

> configure: error: GMP is valid only when using sbcl or Clozure CL

The error is rather clear: GMP + clisp must not be configured together.
(So USE=clisp should imply USE=-gmp either implicitly or explicilty by REQUIRED_USE.)

However, even with USE="clisp -gmp", there occurs the same error.

Inspection of configure.ac shows that --without-gmp is not handled properly:
To disable gmp, one has to pass two other options:

--with-gmp=""
--disable-gmp

When adding this options with EXTRA_ECONF, emerging sci-mathematics/fricase-1.3.3[clisp,-gmp] runs through.
Comment 1 Larry the Git Cow gentoo-dev 2018-03-26 06:28:48 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62e21bf1fb7b68552dbfa277d32e124bb4f7a23e

commit 62e21bf1fb7b68552dbfa277d32e124bb4f7a23e
Author:     Andrey Grozin <grozin@gentoo.org>
AuthorDate: 2018-03-26 06:28:21 +0000
Commit:     Andrey Grozin <grozin@gentoo.org>
CommitDate: 2018-03-26 06:28:21 +0000

    sci-mathematics/fricas: fix configure for lisps other than sbcl and ccl
    
    Closes: https://bugs.gentoo.org/650788
    Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sci-mathematics/fricas/fricas-1.3.3.ebuild | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)