Just tried to compile and I get broken OpenSCAD but not: AssertionError: 25.499999999999996 != 17.0 in check()
mentioned by @greyltc in https://aur.archlinux.org/packages/freecad-git/#comment-807928
Search Criteria
Package Details: freecad-git 0.22.0.36999.ged77603af9-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/freecad-git.git (read-only, click to copy) |
---|---|
Package Base: | freecad-git |
Description: | A general purpose 3D CAD modeler - git checkout |
Upstream URL: | https://www.freecad.org/ |
Licenses: | LGPL |
Conflicts: | freecad, freecad-appimage, freecad-appimage-git |
Provides: | freecad |
Submitter: | gborzi |
Maintainer: | greyltc (adrianinsaval) |
Last Packager: | adrianinsaval |
Votes: | 106 |
Popularity: | 0.75 |
First Submitted: | 2012-03-03 13:46 (UTC) |
Last Updated: | 2024-04-30 00:29 (UTC) |
Dependencies (39)
- boost-libs
- coin (coin-gitAUR)
- fmt (fmt-gitAUR)
- glew (glew-libepoxyAUR, glew-wayland-gitAUR, glew-gitAUR)
- jsoncpp (jsoncpp-cmake-gitAUR, jsoncpp-cmakeAUR, jsoncpp-gitAUR)
- medAUR (med-openmpi)
- netcdf (netcdf-openmpi)
- opencascade (opencascade-gitAUR)
- openmpi (openmpi-gitAUR)
- pyside6
- pyside6-tools
- python-matplotlib (python-matplotlib-gitAUR)
- python-packaging
- python-pivy
- python-ply
- python-yaml (python-yaml-gitAUR)
- qt6-5compat
- qt6-base (qt6-base-gitAUR, qt6-base-headlessAUR)
- qt6-svg
- qt6-tools
- Show 19 more dependencies...
Required by (4)
- freecad-a2plus-git (requires freecad)
- freecad-cadquery-git (requires freecad)
- freecad-fcgear-git (requires freecad)
- openmc-git (requires freecad)
Sources (1)
Latest Comments
« First ‹ Previous 1 .. 10 11 12 13 14 15 16 17 18 19 20 .. 58 Next › Last »
Kunda commented on 2021-06-10 15:09 (UTC)
greyltc commented on 2021-05-16 09:46 (UTC) (edited on 2021-05-16 09:47 (UTC) by greyltc)
I think everything is sorted now. Please post here if you still have issues. If you're getting the AssertionError: 25.499999999999996 != 17.0
in check(), it's a known issue with OpenSCAD support and upstream is trying to fix it.
neo2001 commented on 2021-05-07 10:22 (UTC)
Just to confirm, getting similar issues:
Getting a mostly empty app window and the following messages in the log window:
12:20:04 Cannot find icon: /usr/lib/freecad/share/Mod/Arch/Resources/icons/ArchWorkbench.svg
12:20:04 Cannot find icon: /usr/lib/freecad/share/Mod/Draft/Resources/icons/DraftWorkbench.svg
12:20:04 Cannot find icon: /usr/lib/freecad/share/Mod/Drawing/Resources/icons/DrawingWorkbench.svg
12:20:04 Cannot find icon: /usr/lib/freecad/share/Mod/Fem/Resources/icons/FemWorkbench.svg
12:20:04 Cannot find icon: /usr/lib/freecad/share/Mod/Image/Resources/icons/ImageWorkbench.svg
12:20:04 Cannot find icon: /usr/lib/freecad/share/Mod/Inspection/Resources/icons/InspectionWorkbench.svg
12:20:04 Cannot find icon: /usr/lib/freecad/share/Mod/Mesh/Resources/icons/MeshWorkbench.svg
12:20:04 Cannot find icon: /usr/lib/freecad/share/Mod/OpenSCAD/Resources/icons/OpenSCADWorkbench.svg
12:20:04 Cannot find icon: /usr/lib/freecad/share/Mod/PartDesign/Resources/icons/PartDesignWorkbench.svg
12:20:04 Cannot find icon: /usr/lib/freecad/share/Mod/Part/Resources/icons/PartWorkbench.svg
12:20:04 Cannot find icon: /usr/lib/freecad/share/Mod/Path/Resources/icons/PathWorkbench.svg
12:20:04 Cannot find icon: /usr/lib/freecad/share/Mod/Plot/resources/icons/PlotWorkbench.svg
12:20:04 Cannot find icon: /usr/lib/freecad/share/Mod/Points/Resources/icons/PointsWorkbench.svg
12:20:04 Cannot find icon: /usr/lib/freecad/share/Mod/Raytracing/Resources/icons/RaytracingWorkbench.svg
12:20:04 Cannot find icon: /usr/lib/freecad/share/Mod/ReverseEngineering/Resources/icons/ReverseEngineeringWorkbench.svg
12:20:04 Cannot find icon: /usr/lib/freecad/share/Mod/Robot/Resources/icons/RobotWorkbench.svg
12:20:04 Cannot find icon: /usr/lib/freecad/share/Mod/Ship/resources/icons/ShipWorkbench.svg
12:20:04 Cannot find icon: /usr/lib/freecad/share/Mod/Sketcher/Resources/icons/SketcherWorkbench.svg
12:20:04 Cannot find icon: /usr/lib/freecad/share/Mod/Spreadsheet/Resources/icons/SpreadsheetWorkbench.svg
12:20:04 Cannot find icon: /usr/lib/freecad/share/Mod/Start/Resources/icons/StartWorkbench.svg
12:20:04 Cannot find icon: /usr/lib/freecad/share/Mod/Surface/Resources/icons/Surface_Workbench.svg
12:20:04 Cannot find icon: /usr/lib/freecad/share/Mod/TechDraw/Resources/icons/preferences-techdraw.svg
12:20:04 Cannot find icon: /usr/lib/freecad/share/Mod/Test/Resources/icons/TestWorkbench.svg
12:20:04 Cannot find icon: /usr/lib/freecad/share/Mod/Web/Resources/icons/WebWorkbench.svg
12:20:05 Wizard shaft module cannot be loaded
12:20:05 No module named 'PartDesignGui'
jffmichi commented on 2021-05-07 10:16 (UTC)
@greyltc Thanks a lot for the quick response. Unfortunately it's not yet working correctly. I now get the following error messages:
Cannot find icon: /usr/lib/freecad/share/Mod/Arch/Resources/icons/ArchWorkbench.svg
[... for all mods ...]
No module named 'StartGui'
FreeCAD seems to really rely on not having it's folder structure changed. Also having something like "StartGui.so" or "Mesh.so" in "/usr/lib" seems confusing to me because it suggests it's something "global" and not related to a specific program. What's your take on this?
greyltc commented on 2021-05-07 09:03 (UTC)
Ack! sorry about that, should hopefully be fixed now!
jffmichi commented on 2021-05-06 12:52 (UTC)
@greyltc: with the latest changes in the PKGBUILD my FreeCAD doesn't find any modules (message: "No modules found in /usr/Mod"). It seems "/usr/bin/FreeCAD" used to be a symlink to "/usr/local/freecad/bin/FreeCAD" and FreeCAD uses the executable path (stripped of the executable name and the bin folder) to determine it's "home path" (see https://github.com/FreeCAD/FreeCAD/blob/master/src/App/Application.cpp line 2972). However with the new folder structure the FreeCAD executable sits directly in "/usr/bin" and it will therefore search in "/usr/Mod" (instead of "/usr/lib/freecad/Mod") for it's modules.
greyltc commented on 2021-04-11 15:54 (UTC) (edited on 2021-04-11 15:55 (UTC) by greyltc)
@bartus Oh yeah. The file layout here is totally wrong now (thought I checked that). Thanks for pointing that out. I'll fix it when I have a free minute.
@Woodhousezb if your check function is failing with AssertionError: 25.499999999999996 != 17.0 within 1 places (8.499999999999996 difference)
then I guess that's upstream's bug. You can move to some commit that does not have this or try to help them understand/fix it, or build with --nocheck if you want to ignore the check function failure. I made a bug report on it here: https://tracker.freecadweb.org/view.php?id=4622
bartus commented on 2021-04-11 13:51 (UTC) (edited on 2021-04-11 13:58 (UTC) by bartus)
@greyltc: would be nice to move out of /usr/local/freecad
to e.g: /usr/lib/freecad/
( check out Debian package file-list ) ( debian package cmake flags )
Woodhousezb commented on 2021-04-11 07:32 (UTC)
Hi there,
Kind of got the impression the problem got tackled, but I still get the same errors when trying to compile. @greylts: Is tis supposed to woork after your last comment?
Pinned Comments
adrianinsaval commented on 2023-03-12 14:50 (UTC)
If the check fails there is little I can do about it as it most likely needs to be fixed upstream, in such cases report those upstream (maybe wait a day or two as sometimes it's quickly solved upstream) or skip the check with
makepkg --nocheck
if you don't care about the functionality that is being reported as failing in the check.