-
Notifications
You must be signed in to change notification settings - Fork 960
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Discussion] How to model GLIBC for installer packages in Conan Center #3963
Comments
@SSE4 We have been discussing this issue and the glibc_version_header seems a bit limited and a dependency that we dont want to introduce in Conan Center. Modelling this in the Conan default settings is something we haven't done historically, is hard to track in the Linux versions (for the default profile) and creates friction in Linux users. As this is mostly affecting tools of the Bincrafters, What about building this kind of tools in a linux image version old enough to make the binaries compatible for Centos and RedHat 6? |
we used to build them previously on CentOS 7, and this worked fine |
We should be able to provide something for this in conan-docker-tools. Actually conanio/gcc46 uses ubuntu 12.04 from 2012 which I think should be good enough for this purpose. WDYT? Could we try this approach without the build requirement of |
I need to check glibc versions, I'll let you know |
few questions I have for you:
|
CentOS 6:
Ubuntu 12.04:
seems like it doesn't fit, we need either older Ubuntu, or CentOS 6, I suppose |
Basically we are worried about this limitations and that the way this headers works is almost a trick. Also there are pending issues from PRs and the package is actually relying in your fork.
All the libraries built currently in Conan Center use the same version of glibc. The case of the tools like ninja or nasm relying on a different glibc version is because you want the tools to run in older distros and would be the same problem you would find using "plain" libraries (not tools). We dont want to model the glibc version as this is something depending or your system and having different solution for the same problem is confuting for users and difficult to handle.
Ok, let's find an image to use it for this case cc/ @uilianries |
@danimtb I think this one now can be closed, as we have required images and installers (yasm, nasm, ninja) are in conan centre already |
Thanks for the reminder @SSE4. For the record: "Installer" packages (build tools) are built in CentOS 6 images to avoid inconsistencies with GLIBC when running in other distributions. Implementation can be found here conan-io/conan-docker-tools#82 |
There are some installer packages that need to use an older version of glibc to run in all linux distros.
The issue of the problematic is well described here: bincrafters/community#267
Bincrafters Community have created a package for "glibc_version_header" and it is used to create the binaries of tools such as: nasm_installer, yasm_installer and ninja_installer.
Also take into account that sources for the "glibc_version_header" are coming from a forked version of the original repo as there are some issues with cross-compiling for x86: wheybags/glibc_version_header#14
cc/ @SSE4
The text was updated successfully, but these errors were encountered: