Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#75760 - [freecad] Update the array of dependencies

Attached to Project: Community Packages
Opened by Adrian Insaurralde (adrianinsaval) - Wednesday, 31 August 2022, 15:12 GMT
Last edited by Alexander F. Rødseth (xyproto) - Tuesday, 13 September 2022, 12:20 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Alexander F. Rødseth (xyproto)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

A few observations about the package dependencies:

• After https://bugs.archlinux.org/task/75730 python-pyqt5-webengine was added as a dependency, this is incorrect, as I mentioned in that bug report freecad does not use pyqt5, it uses pyside. The correct dependency is qt5-webengine.

• related to the above, I'm not sure about this one but I think qt5-webkit is no longer required

• vtk is missing as a dependency, this is used by FEM module, perhaps this is being installed anyways as dependency of another package?

• gcc-fortran is not needed for compilation, freecad has no fortran code

• same with jdk-openjdk, AFAIK freecad does not use java

• I have no clue what cli11 is used for? aur package builds fine without it and I found no reference to it in freecad's code

• shouldn't coin be a runtime dependency?

• python-markdown is optional since the addon manager just displays the webpage when this isn't available, but this isn't a big deal

• It would be nice to add python-pip as optional dependency, addon manager now uses it to optionally install additional python packages for addons that need it (see Assembly3 for example)
This task depends upon

Closed by  Alexander F. Rødseth (xyproto)
Tuesday, 13 September 2022, 12:20 GMT
Reason for closing:  Fixed
Comment by Alexander F. Rødseth (xyproto) - Wednesday, 31 August 2022, 19:29 GMT
Thanks for reporting, and for the overview of dependencies. I would like to have as few optional dependencies as possible for the "freecad" package, because I think it's one type of application where the user would prefer to install everything in one go and not get error messages in the console. My assumption is that few people will use freecad on a minimal server or in a minimal docker container, and most people will want to install it in one go, for desktop usage.

I'll go through your list of questions and suggestions.

(Keep in mind that freecad was dropped to AUR because it was such a hassle to get working, and the current state is a "rescue operation" just to get it going and to be included among the official packages again).
Comment by Bas Timmer (bepaald) - Friday, 02 September 2022, 20:22 GMT
Just wanted to add to the first point made, apart from the incorrect package being added as a dependency, the original bug #75730 requested qt5-webengine be added as an _optional_ dep. Freecad builds, installs and runs fine without qt5-webengine, and the presence (or absence) of the package is correctly determined at runtime. I realize the warning message might not be pretty, but qt5-webengine is a very large package and I certainly do not need it installed for my freecad use. Thanks.
Comment by Alexander F. Rødseth (xyproto) - Tuesday, 13 September 2022, 10:01 GMT
I'm looking into the dependencies. namcap complains if qt5-webengine is an optional dependency, since it appears to be in use by either the FreeCAD executable or one of the shared libraries.
Comment by Alexander F. Rødseth (xyproto) - Tuesday, 13 September 2022, 12:20 GMT
The updated package will appear in [community] shortly.

Loading...