-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Problems building in Fedora 40, due to missing depenencies. (Specifically docker container, but probably Fedora in general.) #13983
Comments
Pyside2 was dropped from Fedora a few releases ago, I think due to not keeping up with Python3 versions. I expect this build not to function right until FreeCAD moves to Pyside6 and Qt6, whenever that is. |
Correct, fedora 38 was the last version with all dependencies necessary to build freecad. I use a toolbox with fedora 38 as the base image to build and run freecad, works perfectly: https://github.com/howie-j/freecad-development-setup/tree/main |
In a debian container, I tried using the packages from the docker build script tools/build/Docker/debian.sh
However, that missed libyaml-cpp-dev and libqt5xmlpatterns5-dev and python3-pyside2.qtnetwork that are now required. |
I see that d51d2f6 removed libqt5xmlpattherns5-dev but the build failed with it removed, so I don't really know where that bug is exactly... |
The wiki instructions are up-to-date: https://wiki.freecad.org/Compile_on_Linux but indeed that build script needs to be updated. |
True but less helpful. ☺ Cutting and pasting from a long bullet list of package names, or worse, re-typing, is mind-numbing. If the wiki instructions linked to those scripts and they were kept up to date as the primary way of listing the packages, it would sure be easier to use... |
Is there an existing issue for this?
Problem description
I tried to build FreeCAD for Fedora using the container method and encountered two problems:
The instructions for building using docker are incorrect. The file is at
tools/build/Docker/Dockerfile.Fedora
and not attools/build/Dockerfile.Fedora
(this looks like a problem for all container build instructions). Basically, the path is not correct in the documentation.Dependencies are not met properly. This is likely a larger issue with building on Fedora 40 in general.
When trying to run in Podman, I immediately have unmet dependency issues:
It looks like Fedora does not ship
pyside2-tools
(andpython3-pyside2-devel
).Full version info
Subproject(s) affected?
None
Anything else?
This is the the result of a discussion on Mastodon, where building FreeCAD on Fedora no longer works:
https://mastodon.xyz/@mcdanlj@social.makerforums.info/112425605686318235
I personally don't use FreeCAD myself, but figured I'd spend a couple minutes seeing if building in a container would work before recommending it.
Code of Conduct
The text was updated successfully, but these errors were encountered: