/var/tmp/portage/sci-visualization/paraview-5.6.0-r1/work/ParaView-v5.6.0/VTK/ThirdParty/vtkm/vtk-m/vtkm/cont/openmp/internal/FunctorsOpenMP.h: In static member function ‘static ReturnType vtkm::cont::openmp::ReduceHelper::Execute(PortalT, ReturnType, Functor, std::false_type) [with PortalT = vtkm::cont::internal::ArrayPortalFromIterators<const char*, void>; ReturnType = vtkm::Vec<char, 2>; Functor = vtkm::MinAndMax<char>]’: /var/tmp/portage/sci-visualization/paraview-5.6.0-r1/work/ParaView-v5.6.0/VTK/ThirdParty/vtkm/vtk-m/vtkm/cont/openmp/internal/FunctorsOpenMP.h:301:13: error: ‘numVals’ not specified in enclosing ‘parallel’ 301 | if (numVals >= numThreads * 2) | ^~~~~~~ /var/tmp/portage/sci-visualization/paraview-5.6.0-r1/work/ParaView-v5.6.0/VTK/ThirdParty/vtkm/vtk-m/vtkm/cont/openmp/internal/FunctorsOpenMP.h:293:1: error: enclosing ‘parallel’ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1-desktop_libressl_20190526-141358 ------------------------------------------------------------------- Please see the tracker bug for details. gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.1 [2] x86_64-pc-linux-gnu-9.1.0 * Available Python interpreters, in order of preference: [1] python3.6 [2] python2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) * Available Rust versions: [1] rust-1.35.0 * java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.12.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm emerge -qpvO sci-visualization/paraview [ebuild N ] sci-visualization/paraview-5.6.0-r1 USE="openmp qt5 -boost -cg -coprocessing -development -doc -examples -ffmpeg -mpi -mysql -nvcontrol -offscreen -plugins -python -sqlite -tcl -test -tk" PYTHON_SINGLE_TARGET="python3_6 -python2_7 -python3_5" PYTHON_TARGETS="python2_7 python3_6 -python3_5"
Created attachment 578038 [details] emerge-info.txt
Created attachment 578040 [details] emerge-history.txt
Created attachment 578042 [details] environment
Created attachment 578044 [details] etc.portage.tbz2
Created attachment 578046 [details] logs.tbz2
Created attachment 578048 [details] sci-visualization:paraview-5.6.0-r1:20190529-051130.log.bz2
Created attachment 578050 [details] temp.tbz2
I know. The same compilation error will happen for about 99% of all packages using OpenMP.
Created attachment 581208 [details, diff] Fix openmp compilation https://www.gnu.org/software/gcc/gcc-9/porting_to.html In previous versions of gcc there was a rule that const qualified variables without mutable member are predetermined shared. New OpenMP standart (4.0 and later) drop this rule and now with default(none) we must explictly specify such variables as shared. Patch attached.
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(+)