The goal has been to create a build of Salt that is a portable single binary. While the scripts in here build the binary, and while it is portable, it is only somewhat portable. We still need to try a few more options. Here is what has been learned:
Building on Arch produces a nice binary that runs on:
Cent7
Debian9
OpenSUSE 15
Fedora 30
Segfaults on:
Cent6
Debian 10
Some of the things I would like to try are:
Build on Cent6:
I have done this with python 3.6 from IUS, but staticx fails. I still need to platform test these binaries
I would rather build with python 3.7 on cent6, but I need to get openssl 1.1 working as the target openssl lib
Build with static musl libc and static python:
I think this has some real promise, but I suspect that the failures around linking to kernel headers might still exist.
The goal has been to create a build of Salt that is a portable single binary. While the scripts in here build the binary, and while it is portable, it is only somewhat portable. We still need to try a few more options. Here is what has been learned:
Building on Arch produces a nice binary that runs on: Cent7 Debian9 OpenSUSE 15 Fedora 30
Segfaults on: Cent6 Debian 10
Some of the things I would like to try are: Build on Cent6: I have done this with python 3.6 from IUS, but staticx fails. I still need to platform test these binaries I would rather build with python 3.7 on cent6, but I need to get openssl 1.1 working as the target openssl lib
Build with static musl libc and static python: I think this has some real promise, but I suspect that the failures around linking to kernel headers might still exist.