Closed issue by mkalte666 on void-packages repository https://github.com/void-linux/void-packages/issues/39099 Description: ### Is this a new report? Yes ### System Info Void 5.18.19_1 x86_64 AuthenticAMD notuptodate rrmFFFFFFF ### Package(s) Affected freecad-0.20.1_3 ### Does a report exist for this bug with the project's home (upstream) and/or another distro? no. ### Expected behaviour Open the Addon manager, manage addons ### Actual behaviour Open the Addon manager, i get ``` Traceback (most recent call last): File "/usr/lib/freecad/Mod/AddonManager/addonmanager_workers.py", line 175, in run fc_minor = int(FreeCAD.Version()[1]) ValueError: invalid literal for int() with base 10: '20.1' ``` ### Steps to reproduce As above, open the Addon manager on the most recent version. This likely happens because in the template, the version within CMakeLists.txt is modifed here https://github.com/void-linux/void-packages/blob/4c895c78a183b21b91015bcf0c1d6df5de5d74b2/srcpkgs/freecad/template#L47 so that the "minor" version includes the patch. However, this changes stuff down the line in the build. i.E., freecads python console reports ``` >>> FreeCAD.Version() ['0', '20.1', '1', '3_voidlinux', 'VoidLinux package freecad', '(from release)'] ``` , the "20.1" causing issues. The CMakeLists.txt of FreeCAD also contains the minor version however, so i wonder if one could just remove that line.