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
Conan install fails creating Makefile on Fedora 35 #141
Comments
I saw '\r' bring referenced in a few of the error lines, and I know there were some errors in the hobbits CPython conanfile recently that required dos2unix, so it could be something along the same lines. |
I tried to add those Modules files to the dos2unix part of the conan file, so it might work (or might just differently fail) if you try again after the repackaging pushes: https://github.com/hello-adam/cpython/runs/5877652246 |
Conan still failing on latest commit on Fedora 35, same error. I was able to build it with pure cmake, however. |
Same problem here on Manjaro Linux (with zsh shell) I had to run this: |
Ok, thanks for the confirmation. I will try to patch that hobbits CPython stuff soon. I'm really sorry for how bad these Python bindings are - I should have just used pybind11 😑 |
I just got it to build on fresh Fedora 36. I added some stuff to the README based on problems I encountered. If someone can confirm that it works for them I'll close this ticket. |
Still getting a make error on Here's the entire build log: EDIT: i see you have |
yeah, that's weird. I'm not sure if I've ever had an issue with libpcap before. Does changing it to version 1.10.1 instead of 1.10.0 change/fix anything? |
Nope, still getting the same error with 1.10.1.
|
I was able to get it to build by changing |
I wonder if there is just some problem with the libpcap conan package on your system and/or Fedora 35. I'm not sure if there's much else I can do here, especially because I can't reproduce the problem on Fedora 36. I think the originally reported issue caused by DOS line endings has been resolved. |
I have confirmed that the original build issue has been resolved as I was able to build it successfully without libpcap. I'm fine with closing this issue because it seems to be a weird isolated case to my system. I'm not sure why it's even trying to build libpcap since I have the exact version it's targeting already installed.. If anyone else is having the same issue, just install the dependencies manually and build without conan:
|
hobbits commit id: Seeing a similar issue on Fedora 35. I am not building with conan. But instead of libpcap, this time it's related to libpffft. I'm using the bundled pffft:
The odd part is the Finally, I managed to build by first configuring with |
@matzipan's instruction helps me to build hobbits on Fedora39. Thank you. |
System information:
g++ version: g++ (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9)
Python version: Python 3.10.4
conan version: Conan version 1.47.0
OpenSSL version: OpenSSL 1.1.1n FIPS 15 Mar 2022
cmake version: cmake version 3.22.2
Build log attached below.
hobbits-fedora-conan-build.log
My guess is that it's failing to build the Makefile properly, perhaps some values are not included. I know one of the errors is that python cannot locate g++ in ./configure even though it's installed so CXX=/usr/bin/g++ took care of that, but didn't change the error much.
The text was updated successfully, but these errors were encountered: