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#74865 - [freecad] Enable BUILD_PLOT=ON when building to include the plot module

Attached to Project: Community Packages
Opened by Jose Luis Cercos-Pita (sanguinariojoe) - Friday, 27 May 2022, 07:54 GMT
Last edited by Alexander F. Rødseth (xyproto) - Saturday, 30 July 2022, 17:26 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Alexander F. Rødseth (xyproto)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

BUILD_PLOT option shall be set to ON in PKGBUILD. That is indeed the default value now (see https://github.com/FreeCAD/FreeCAD/blob/master/cMake/FreeCAD_Helpers/InitializeFreeCADBuildOptions.cmake#L130), but I suppose @arojas has the former BUILD_PLOT=OFF value cached.

Additional info:
* version 0.19.4-2

Steps to reproduce:

Just take a look to the list of installed files: https://archlinux.org/packages/community/x86_64/freecad/files/

There is no usr/lib/freecad/Mod/Plot/
This task depends upon

Closed by  Alexander F. Rødseth (xyproto)
Saturday, 30 July 2022, 17:26 GMT
Reason for closing:  Implemented
Comment by Antonio Rojas (arojas) - Friday, 27 May 2022, 10:30 GMT
Packages are always built in a clean chroot, there is nothing cached
Comment by Jose Luis Cercos-Pita (sanguinariojoe) - Saturday, 28 May 2022, 08:26 GMT
Uhm... iteresting... Sorry, I am not so familiarized with the packaging process in Arch

I already checked that doing git clone -> cmake -> make -> make install is effectively installing the Plot module. Is there a way I can check the building/packaging log?
Comment by Antonio Rojas (arojas) - Saturday, 28 May 2022, 11:53 GMT
You are cloning git master, Arch is packaging 0.19.4
Comment by Jose Luis Cercos-Pita (sanguinariojoe) - Saturday, 28 May 2022, 15:06 GMT
Very true! However, Plot module was enabled by default in Aug 23, 2021 (see https://github.com/FreeCAD/FreeCAD/pull/4971), and 0.19.4 was released in Mar 01, 2022 (the source code tar.gz is from Feb 28, 2022 and the commit from Dec 22, 2021 though). Anyway, I checked the 0.19.4 and for some reason the Plot module is indeed disabled (see https://github.com/FreeCAD/FreeCAD/blob/0.19.4/cMake/FreeCAD_Helpers/InitializeFreeCADBuildOptions.cmake#L143).

Summarizing, Plot module should work just fine if you set the BUILD_PLOT=ON cmake option. On the other hand, 0.20 will be released soon, so we can maybe let this go. Whatever you decide, feel free to close this task.
Comment by Alexander F. Rødseth (xyproto) - Sunday, 05 June 2022, 19:08 GMT
Thanks for reporting! I'll look into this, and most likely add this option, once I get my new packaging key signed.
Comment by Adrian Insaurralde (adrianinsaval) - Wednesday, 15 June 2022, 19:08 GMT
0.20 has been released and there it builds plot by default, I've submitted a PKGBUILD for 0.20 to a few maintainers (xyproto svenstaro and dvzrv) through email but I don't know if it reached them or if it's ok to send there. Once the package is updated to 0.20 this can be closed.
Comment by Alexander F. Rødseth (xyproto) - Thursday, 28 July 2022, 17:33 GMT
I can now sign packages again.
Comment by Alexander F. Rødseth (xyproto) - Friday, 29 July 2022, 23:36 GMT
This should be fixed in 0.20 that will appear in [community] shortly.

Please re-open this issue if this should be a problem with 0.20 as well.

Loading...