Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 751034 - sci-libs/pastix-6.0.3: version bump
Summary: sci-libs/pastix-6.0.3: version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-24 14:09 UTC by Sam James
Modified: 2021-08-10 12:43 UTC (History)
1 user (show)

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


Attachments
pastix-6.2.0.ebuild (pastix-6.2.0.ebuild,1013 bytes, text/plain)
2021-06-10 13:51 UTC, Andrew Ammerlaan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-10-24 14:09:43 UTC
Now using CMake upstream.
Comment 1 Andrew Ammerlaan gentoo-dev 2021-06-10 13:51:34 UTC
Created attachment 715071 [details]
pastix-6.2.0.ebuild

Initial attempt at an ebuild for 6.2.0.

For some super-confusing reason it fails to find the gcc/fortran compilers:

CMake Error at spm/CMakeLists.txt:14 (project):
The CMAKE_C_COMPILER:

x86_64-pc-linux-gnu-gcc

is not a full path and was not found in the PATH.

Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.


CMake Error at spm/CMakeLists.txt:14 (project):
The CMAKE_Fortran_COMPILER:

x86_64-pc-linux-gnu-gfortran

is not a full path and was not found in the PATH.

Tell CMake where to find the compiler by setting either the environment
variable "FC" or the CMake cache entry CMAKE_Fortran_COMPILER to the full
path to the compiler, or to the compiler name if it is in the PATH.

Even though those things are definitely available in PATH.

Leaving this here for future references.
Comment 2 Marek Szuba archtester gentoo-dev 2021-07-14 09:51:48 UTC
(In reply to Andrew Ammerlaan from comment #1)

> For some super-confusing reason it fails to find the gcc/fortran compilers:

This is because "spm" is a bundled self-contained CMake project, complete with its own "project" declaration - which results in Gentoo customisations applied top-level not being propagated to it. Just get rid of the 'project' line from spm/CMakeLists.txt.
Comment 3 Larry the Git Cow gentoo-dev 2021-07-14 16:14:58 UTC
The bug has been referenced in the following commit(s):

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

commit 472f36bcd300da19c6f6953ece0811b63a3134e0
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2021-07-14 16:03:10 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2021-07-14 16:14:45 +0000

    sci-libs/pastix: add 6.0.3, masked
    
    The ebuild in principle works but there are several features which for
    various reasons remain problematic (see the package.use.mask entry), and
    with this being a new major version chances are not all revdeps will be
    happy with it (hence the overall mask). Testing very much encouraged!
    
    Bug: https://bugs.gentoo.org/751034
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 profiles/base/package.use.mask                     |  20 +
 profiles/package.mask                              |   5 +
 sci-libs/pastix/Manifest                           |   1 +
 .../pastix-6.0.3-cmake-examples-optional.patch     | 170 +++++++++
 .../files/pastix-6.0.3-cmake-installdirs.patch     | 424 +++++++++++++++++++++
 .../files/pastix-6.0.3-cmake-python-optional.patch |  64 ++++
 .../files/pastix-6.0.3-cmake-spm-project.patch     |  12 +
 .../pastix-6.0.3-multiple-coeftabMemory.patch      |  11 +
 sci-libs/pastix/metadata.xml                       |   8 +-
 sci-libs/pastix/pastix-6.0.3.ebuild                |  84 ++++
 10 files changed, 797 insertions(+), 2 deletions(-)
Comment 4 Larry the Git Cow gentoo-dev 2021-08-10 12:43:35 UTC
The bug has been closed via the following commit(s):

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

commit 6ff4c8fab70508bb9fb59c730aca88820805c06a
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2021-08-10 11:19:49 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2021-08-10 12:43:00 +0000

    profiles: unmask >=sci-libs/pastix-6
    
    Closes: https://bugs.gentoo.org/751034
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 profiles/package.mask | 5 -----
 1 file changed, 5 deletions(-)