Open CamJN opened 5 years ago
Well, the good news is that these errors are not with Luna, but with libgnutls and libgpg-error. The bad news is that that doesn't make anything easier for us ;)
Here are the relevant repos (just for reference). Let me meditate on the right way forward. https://github.com/DEGoodmanWilson/conan-gnutls https://github.com/DEGoodmanWilson/conan-libgpg-error
For reference, BTW, all Linux builds are built on Ubuntu Trusty: https://github.com/lasote/conan-docker-tools/blob/master/gcc_4.9/Dockerfile
For now, I think the proper fix would be to build everything from source. Which will take a disgustingly long time, but it should help.
conan install . --build=all
--build=all
seems to be ignored:
base64/1.0.2@DEGoodmanWilson/stable: WARN: Can't find a 'base64/1.0.2@DEGoodmanWilson/stable' package for the specified settings, options and dependencies:
- Settings: arch=x86_64, build_type=Release, compiler=gcc, compiler.libcxx=libstdc++, compiler.version=8, os=Linux
- Options: shared=False
- Dependencies:
- Package ID: 2d5685a99e2ff5a0d2b054bb1fbfa46781f8a46a
ERROR: Missing prebuilt package for 'base64/1.0.2@DEGoodmanWilson/stable'
Try to build it from sources with "--build base64"
Or read "http://docs.conan.io/en/latest/faq/troubleshooting.html#error-missing-prebuilt-package"
The command '/bin/sh -c conan install . --build=all' returned a non-zero code: 1
Just looking at the Debian 9 issue to start:
@CamJN The problem is that, for whatever reason, GnuTLS is not linking up right. GnuTLS calls getrandom
, a syscall that is apparently not available in the kernel, but should be available with glibc. In a fit of yak shaving, I am going back to attempting to recompile GnuTLS. I have found that the org is now making the sources available on GitLab (I've had to host my own sources on Dropbox, ask me why later). These sources differ from what I had been using, and getting them to compile across all the various environments I try to support is not going so smoothly. I am hoping the difference in sources is going to have an impact on the ability to detect getrandom
availability—but that's just wishful thinking. Indeed, my hope is to a) get 3.6.2 to compile, then move on to a newer version (since it turns out that 3.6.2 wasn't exactly stable anyway).
That's super long-winded and maybe not the most clear explanation ever, but the Tl;dr is that I have been yak-shaving all day, and I still haven't found a yak under all that hair. It's moments like that that lead me to despair that Conan can really support the needs of developers across all these different Linux ecosystems 😭 (Also that the GnuTLS build documentation sucks)
I'm working on instructions for installing the deps on various linuxes, and am running into compilation issues at the
conan install . --build=missing
step. My test env is docker based, running various distro images, dockerfiles included.Debian 9:
error:
Ubuntu Cosmic:
error:
Arch (latest):
error: