Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 687790 - =sci-visualization/paraview-5.6.0-r1 USE=coprocessing: CMake Error at CMakeLists.txt:484 (enable_language): The Ninja generator does not support Fortran using Ninja version 1.8.2
Summary: =sci-visualization/paraview-5.6.0-r1 USE=coprocessing: CMake Error at CMakeLi...
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:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-10 10:45 UTC by Bernd
Modified: 2019-06-30 18:19 UTC (History)
0 users

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


Attachments
paraview-5.6.0-use-emake.patch (paraview-5.6.0-use-emake.patch,525 bytes, patch)
2019-06-10 10:45 UTC, Bernd
Details | Diff
emerge-info_paraview-5.6.0-r1.txt (emerge-info_paraview-5.6.0-r1.txt,13.53 KB, text/plain)
2019-06-10 10:46 UTC, Bernd
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernd 2019-06-10 10:45:27 UTC
Created attachment 579474 [details, diff]
paraview-5.6.0-use-emake.patch

When updating for removal of python-2.7 support, I came upon this issue. It happens, when the coprocessing USE flag is used (not tested whether other USE flag combinations might trigger fortran support as well), i.e. PARAVIEW_ENABLE_CATALYST is true.

According to the comment at lines 480/481 of CMakeLists.txt they try to avoid this by including their CheckFortran.cmake file before enabling fortran support. So maybe this files should be fixed in the first place.

It's possible, this issue doesn't pop up, if gcc is compiled without fortran support, I haven't tested this case.

Applying the workaround in the attached patch, solves the issue for me.
Comment 1 Bernd 2019-06-10 10:46:18 UTC
Created attachment 579476 [details]
emerge-info_paraview-5.6.0-r1.txt

output of emerge --info =sci-visualization/paraview-5.6.0-r1::gentoo
Comment 2 Fred 2019-06-30 09:53:42 UTC
I've had this issue as well and the patch fixed it for me.
Comment 3 Larry the Git Cow gentoo-dev 2019-06-30 18:19:57 UTC
The bug has been closed via the following commit(s):

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

commit dc620c1481998584ba8269585d82f04fe980fffa
Author:     Matthias Maier <tamiko@gentoo.org>
AuthorDate: 2019-06-30 14:48:09 +0000
Commit:     Matthias Maier <tamiko@gentoo.org>
CommitDate: 2019-06-30 18:19:07 +0000

    sci-visualization/paraview: version bump to 5.6.1
    
     - Version bump to 5.6.1
     - OpenMP 4.0 compatibility
     - Fix various dependencies
    
    Closes: https://bugs.gentoo.org/661860
    Closes: https://bugs.gentoo.org/686362
    Closes: https://bugs.gentoo.org/686990
    Closes: https://bugs.gentoo.org/687534
    Closes: https://bugs.gentoo.org/687790
    Package-Manager: Portage-2.3.67, Repoman-2.3.16
    Signed-off-by: Matthias Maier <tamiko@gentoo.org>

 sci-visualization/paraview/Manifest                |   1 +
 .../files/paraview-5.6.1-fix_openmp_4.0.patch      |  32 +++
 sci-visualization/paraview/paraview-5.6.1.ebuild   | 312 +++++++++++++++++++++
 3 files changed, 345 insertions(+)