diff --git a/vtk.spec b/vtk.spec index 02150ae..506e76f 100644 --- a/vtk.spec +++ b/vtk.spec @@ -5,6 +5,17 @@ # '_ZZNSt8__detail18__to_chars_10_implIjEEvPcjT_E8__digits@@LLVM_11' %global _lto_cflags %{nil} +# https://fedoraproject.org/wiki/Changes/Broken_RPATH_will_fail_rpmbuild +# https://bugzilla.redhat.com/show_bug.cgi?id=1902729 +# ERROR 0008: file '/usr/lib64/mpich/lib/vtk/libvtkFiltersParallelGeometryJava.so' +# ERROR 0008: file '/usr/lib64/mpich/lib/vtk/libvtkFiltersParallelGeometryJava.so' +# ERROR 0008: file '/usr/lib64/mpich/lib/vtk/libvtkParallelMPIJava.so' +# ERROR 0008: file '/usr/lib64/mpich/lib/vtk/libvtkParallelMPIJava.so' +# contains the $ORIGIN runpath specifier at the wrong position in [/usr/lib64/mpich/lib:$ORIGIN:$ORIGIN/../] +# TODO fix or investigate +%global __brp_check_rpaths %{nil} + + # OSMesa and X support are mutually exclusive. # TODO - buid separate OSMesa version if desired %bcond_with OSMesa