From 9adc5a5676ea05aa6a6418f4aee8cc19faa100cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 7 Jun 2021 11:38:53 +0200 Subject: [PATCH] Temporarily disable the RPATH check to unblock the Python 3.10 rebuild --- vtk.spec | 11 +++++++++++ 1 file changed, 11 insertions(+) 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