Summary: | =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 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Bernd <waebbl-gentoo> |
Component: | Current packages | Assignee: | Matthias Maier <tamiko> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
paraview-5.6.0-use-emake.patch
emerge-info_paraview-5.6.0-r1.txt |
Created attachment 579476 [details]
emerge-info_paraview-5.6.0-r1.txt
output of emerge --info =sci-visualization/paraview-5.6.0-r1::gentoo
I've had this issue as well and the patch fixed it for me. 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(+) |
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.