Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 763012 - sci-visualization/paraview-5.8.1: build fails
Summary: sci-visualization/paraview-5.8.1: build fails
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-02 01:29 UTC by ihor
Modified: 2021-01-02 02:10 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 ihor 2021-01-02 01:29:03 UTC
[4293/12331] /usr/bin/x86_64-pc-linux-gnu-g++ -DAcceleratorsVTKm_EXPORTS -IVTK/Accelerators/Vtkm -I/var/tmp/portage/sci-visualization/paraview-5.8.1/work/ParaView-v5.8.1/VTK/Accelerators/Vtkm -IVTK/Common/Core -I/var/tmp/portage/sci-visualization/paraview-5.8.1/work/ParaView-v5.8.1/VTK/Common/Core -IVTK/Common/DataModel -I/var/tmp/portage/sci-visualization/paraview-5.8.1/work/ParaView-v5.8.1/VTK/Common/DataModel -IVTK/Common/Math -I/var/tmp/portage/sci-visualization/paraview-5.8.1/work/ParaView-v5.8.1/VTK/Common/Math -IVTK/Common/Transforms -I/var/tmp/portage/sci-visualization/paraview-5.8.1/work/ParaView-v5.8.1/VTK/Common/Transforms -IVTK/Common/ExecutionModel -I/var/tmp/portage/sci-visualization/paraview-5.8.1/work/ParaView-v5.8.1/VTK/Common/ExecutionModel -IVTK/Filters/General -I/var/tmp/portage/sci-visualization/paraview-5.8.1/work/ParaView-v5.8.1/VTK/Filters/General -IVTK/Common/Misc -I/var/tmp/portage/sci-visualization/paraview-5.8.1/work/ParaView-v5.8.1/VTK/Common/Misc -IVTK/Filters/Core -I/var/tmp/portage/sci-visualization/paraview-5.8.1/work/ParaView-v5.8.1/VTK/Filters/Core -IVTK/Filters/Geometry -I/var/tmp/portage/sci-visualization/paraview-5.8.1/work/ParaView-v5.8.1/VTK/Filters/Geometry -IVTK/Imaging/Core -I/var/tmp/portage/sci-visualization/paraview-5.8.1/work/ParaView-v5.8.1/VTK/Imaging/Core -IVTK/ThirdParty/vtkm/vtkvtkm -I/var/tmp/portage/sci-visualization/paraview-5.8.1/work/ParaView-v5.8.1/VTK/ThirdParty/vtkm/vtkvtkm -I/var/tmp/portage/sci-visualization/paraview-5.8.1/work/ParaView-v5.8.1/VTK/ThirdParty/vtkm/vtkvtkm/vtk-m -IVTK/ThirdParty/vtkm/vtkvtkm/vtk-m/include -I/var/tmp/portage/sci-visualization/paraview-5.8.1/work/ParaView-v5.8.1/VTK/ThirdParty/vtkm/vtkvtkm/vtk-m/vtkm/thirdparty/taotuple -I/var/tmp/portage/sci-visualization/paraview-5.8.1/work/ParaView-v5.8.1/VTK/ThirdParty/vtkm/vtkvtkm/vtk-m/vtkm/thirdparty/optionparser -I/var/tmp/portage/sci-visualization/paraview-5.8.1/work/ParaView-v5.8.1/VTK/ThirdParty/vtkm/vtkvtkm/vtk-m/vtkm/thirdparty/diy -I/var/tmp/portage/sci-visualization/paraview-5.8.1/work/ParaView-v5.8.1/VTK/ThirdParty/vtkm/vtkvtkm/vtk-m/vtkm/thirdparty/lcl/vtkmlcl -isystem VTK/Utilities/KWIML -isystem /var/tmp/portage/sci-visualization/paraview-5.8.1/work/ParaView-v5.8.1/VTK/Utilities/KWIML -isystem VTK/Utilities/KWSys -isystem /var/tmp/portage/sci-visualization/paraview-5.8.1/work/ParaView-v5.8.1/VTK/Utilities/KWSys -isystem VTK/ThirdParty/vtkm -isystem /var/tmp/portage/sci-visualization/paraview-5.8.1/work/ParaView-v5.8.1/VTK/ThirdParty/vtkm  -O2 -pipe -march=skylake  -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -ffunction-sections -std=c++11 -MD -MT VTK/Accelerators/Vtkm/CMakeFiles/AcceleratorsVTKm.dir/vtkmClip.cxx.o -MF VTK/Accelerators/Vtkm/CMakeFiles/AcceleratorsVTKm.dir/vtkmClip.cxx.o.d -o VTK/Accelerators/Vtkm/CMakeFiles/AcceleratorsVTKm.dir/vtkmClip.cxx.o -c /var/tmp/portage/sci-visualization/paraview-5.8.1/work/ParaView-v5.8.1/VTK/Accelerators/Vtkm/vtkmClip.cxx

FAILED: VTK/Accelerators/Vtkm/CMakeFiles/AcceleratorsVTKm.dir/vtkmClip.cxx.o
/usr/bin/x86_64-pc-linux-gnu-g++ -DAcceleratorsVTKm_EXPORTS -IVTK/Accelerators/Vtkm -I/var/tmp/portage/sci-visualization/paraview-5.8.1/work/ParaView-v5.8.1/VTK/Accelerators/Vtkm -IVTK/Common/Core -I/var/tmp/portage/sci-visualization/paraview-5.8.1/work/ParaView-v5.8.1/VTK/Common/Core -IVTK/Common/DataModel -I/var/tmp/portage/sci-visualization/paraview-5.8.1/work/ParaView-v5.8.1/VTK/Common/DataModel -IVTK/Common/Math -I/var/tmp/portage/sci-visualization/paraview-5.8.1/work/ParaView-v5.8.1/VTK/Common/Math -IVTK/Common/Transforms -I/var/tmp/portage/sci-visualization/paraview-5.8.1/work/ParaView-v5.8.1/VTK/Common/Transforms -IVTK/Common/ExecutionModel -I/var/tmp/portage/sci-visualization/paraview-5.8.1/work/ParaView-v5.8.1/VTK/Common/ExecutionModel -IVTK/Filters/General -I/var/tmp/portage/sci-visualization/paraview-5.8.1/work/ParaView-v5.8.1/VTK/Filters/General -IVTK/Common/Misc -I/var/tmp/portage/sci-visualization/paraview-5.8.1/work/ParaView-v5.8.1/VTK/Common/Misc -IVTK/Filters/Core -I/var/tmp/portage/sci-visualization/paraview-5.8.1/work/ParaView-v5.8.1/VTK/Filters/Core -IVTK/Filters/Geometry -I/var/tmp/portage/sci-visualization/paraview-5.8.1/work/ParaView-v5.8.1/VTK/Filters/Geometry -IVTK/Imaging/Core -I/var/tmp/portage/sci-visualization/paraview-5.8.1/work/ParaView-v5.8.1/VTK/Imaging/Core -IVTK/ThirdParty/vtkm/vtkvtkm -I/var/tmp/portage/sci-visualization/paraview-5.8.1/work/ParaView-v5.8.1/VTK/ThirdParty/vtkm/vtkvtkm -I/var/tmp/portage/sci-visualization/paraview-5.8.1/work/ParaView-v5.8.1/VTK/ThirdParty/vtkm/vtkvtkm/vtk-m -IVTK/ThirdParty/vtkm/vtkvtkm/vtk-m/include -I/var/tmp/portage/sci-visualization/paraview-5.8.1/work/ParaView-v5.8.1/VTK/ThirdParty/vtkm/vtkvtkm/vtk-m/vtkm/thirdparty/taotuple -I/var/tmp/portage/sci-visualization/paraview-5.8.1/work/ParaView-v5.8.1/VTK/ThirdParty/vtkm/vtkvtkm/vtk-m/vtkm/thirdparty/optionparser -I/var/tmp/portage/sci-visualization/paraview-5.8.1/work/ParaView-v5.8.1/VTK/ThirdParty/vtkm/vtkvtkm/vtk-m/vtkm/thirdparty/diy -I/var/tmp/portage/sci-visualization/paraview-5.8.1/work/ParaView-v5.8.1/VTK/ThirdParty/vtkm/vtkvtkm/vtk-m/vtkm/thirdparty/lcl/vtkmlcl -isystem VTK/Utilities/KWIML -isystem /var/tmp/portage/sci-visualization/paraview-5.8.1/work/ParaView-v5.8.1/VTK/Utilities/KWIML -isystem VTK/Utilities/KWSys -isystem /var/tmp/portage/sci-visualization/paraview-5.8.1/work/ParaView-v5.8.1/VTK/Utilities/KWSys -isystem VTK/ThirdParty/vtkm -isystem /var/tmp/portage/sci-visualization/paraview-5.8.1/work/ParaView-v5.8.1/VTK/ThirdParty/vtkm  -O2 -pipe -march=skylake  -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -ffunction-sections -std=c++11 -MD -MT VTK/Accelerators/Vtkm/CMakeFiles/AcceleratorsVTKm.dir/vtkmClip.cxx.o -MF VTK/Accelerators/Vtkm/CMakeFiles/AcceleratorsVTKm.dir/vtkmClip.cxx.o.d -o VTK/Accelerators/Vtkm/CMakeFiles/AcceleratorsVTKm.dir/vtkmClip.cxx.o -c /var/tmp/portage/sci-visualization/paraview-5.8.1/work/ParaView-v5.8.1/VTK/Accelerators/Vtkm/vtkmClip.cxx
{standard input}: Assembler messages:
{standard input}:1292342: Warning: end of file not at end of a line; newline inserted
{standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive
x86_64-pc-linux-gnu-g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
Comment 1 Andreas Sturmlechner gentoo-dev 2021-01-02 01:32:45 UTC
Most likely lack of resources on your machine.
Comment 2 Ionen Wolkens gentoo-dev 2021-01-02 01:40:11 UTC
fatal error: Killed signal terminated program cc1plus

Yes, the compiler was most likely killed by the Out-of-Memory (OOM) killer, there's likely a mention of it near the end of `dmesg` output.

I don't see your `emerge --info` to know what kind of setup you have, but try a lower MAKEOPTS=-jN value (cc1plus can sometime use up to 2GB ram per process), adding swap space could help too, and don't use tmpfs for PORTAGE_TMPDIR (just in case you were).
Comment 3 ihor 2021-01-02 02:10:13 UTC
Yes, swapon seems to have fixed this. I only have 16Gb RAM on this machine, and beasts like Firefox, Webkit or Chromium compile just fine...