Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 848789 - sci-mathematics/petsc-3.16.0: Incorrect argument type specified: -with-mumps=/usr/include
Summary: sci-mathematics/petsc-3.16.0: Incorrect argument type specified: -with-mumps=...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthias Maier
URL: https://github.com/gentoo/gentoo/pull...
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-05-31 13:11 UTC by Fabio Rossi
Modified: 2022-06-03 03:57 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 Fabio Rossi 2022-05-31 13:11:02 UTC
The generated configure option for mumps support is wrong and leads to the following error:

Warning! Incorrect argument type specified: -with-mumps=/usr/include - expecting type Bool.

and finally mumps support is disabled.

The patch is simple, provided a PR!
Comment 1 Larry the Git Cow gentoo-dev 2022-06-03 03:15:34 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27ba48650af3037fa8adf06220d4e5f1373f5885

commit 27ba48650af3037fa8adf06220d4e5f1373f5885
Author:     Fabio Rossi <rossi.f@inwind.it>
AuthorDate: 2022-05-31 13:12:48 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-03 03:15:25 +0000

    sci-mathematics/petsc: fix configuration with USE=mumps
    
    Bug: https://bugs.gentoo.org/848789
    Signed-off-by: Fabio Rossi <rossi.f@inwind.it>
    Closes: https://github.com/gentoo/gentoo/pull/25701
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-mathematics/petsc/petsc-3.16.0.ebuild | 4 ++--
 sci-mathematics/petsc/petsc-3.17.1.ebuild | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-03 03:15:46 UTC
Thanks!
Comment 3 Larry the Git Cow gentoo-dev 2022-06-03 03:57:02 UTC
The bug has been referenced in the following commit(s):

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

commit b338bf48c70d6e8ef9afb4cd39ca673dde80e3b9
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-06-03 03:56:33 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-03 03:56:33 +0000

    sci-mathematics/petsc: revbump for configure fix
    
    So that binaries are built with the expected flags (it just gave
    a warning, not an error like I'd thought.)
    
    Bug: https://bugs.gentoo.org/848789
    See: 27ba48650af3037fa8adf06220d4e5f1373f5885
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-mathematics/petsc/{petsc-3.16.0.ebuild => petsc-3.16.0-r1.ebuild} | 0
 sci-mathematics/petsc/{petsc-3.17.1.ebuild => petsc-3.17.1-r1.ebuild} | 0
 2 files changed, 0 insertions(+), 0 deletions(-)