From 2ee58e24bc3a144fa78553009870114ef915f71e Mon Sep 17 00:00:00 2001 From: "j.spijker@ultimaker.com" Date: Wed, 6 Jul 2022 07:37:46 +0200 Subject: [PATCH] Don't strip binaries On some Linux systems it fails due to an invalid Elf handle. Stripping the binaries on Linux/MacOS is a likely culprit. Disabling this option seems a save choice at least for now. Contributes to CURA-9365 --- conanfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conanfile.py b/conanfile.py index 06c36d97ef..a4f389fa89 100644 --- a/conanfile.py +++ b/conanfile.py @@ -197,7 +197,7 @@ class CuraConan(ConanFile): entitlements_file = entitlements_file, osx_bundle_identifier = "'nl.ultimaker.cura'" if self.settings.os == "Macos" else "None", upx = str(self.settings.os == "Windows"), - strip = str(self.settings.os != "Windows"), + strip = False, # This should be possible on Linux and MacOS but, it can also cause issues on some distributions. Safest is to disable it for now target_arch = "'x86_64'" if self.settings.os == "Macos" else "None", # FIXME: Make this dependent on the settings.arch_target macos = self.settings.os == "Macos" ))