http://bugzilla.opensuse.org/show_bug.cgi?id=1172331 Bug ID: 1172331 Summary: cmake macro sets CMAKE_SKIP_RPATH to ON breaking vtk and possibly other builds Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.2 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Development Assignee: screening-team-bugs@suse.de Reporter: badshah400@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Since https://build.opensuse.org/request/show/791240 the %cmake macro sets `CMAKE_SKIP_RPATH=ON` which causes rpaths to be disabled entirely from being used, even in the build tree. This is wrong. Several applications (vtk, paraview, others) rightly use rpaths in their build tree only to later strip the installed binaries of any rpaths. What the macro should really set is `CMAKE_SKIP_INSTALL_RPATHS=ON` instead to ensure that installed binaries are stripped of rpaths, but leave CMAKE_SKIP_RPATH untouched. See <https://discourse.vtk.org/t/building-fails-generating-wrap-hierarchy-for-vtk-commoncore-unable-to-open-libvtkwrappingtools-so-1> -- You are receiving this mail because: You are on the CC list for the bug.