[Bug 1172331] New: cmake macro sets CMAKE_SKIP_RPATH to ON breaking vtk and possibly other builds
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.
http://bugzilla.opensuse.org/show_bug.cgi?id=1172331 http://bugzilla.opensuse.org/show_bug.cgi?id=1172331#c1 Atri Bhattacharya <badshah400@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |simonf.lees@suse.com --- Comment #1 from Atri Bhattacharya <badshah400@gmail.com> --- Simon, cc'ing you seeing that you authored <https://build.opensuse.org/request/show/791240>. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1172331 Simon Lees <simonf.lees@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|screening-team-bugs@suse.de |simonf.lees@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com