Seems like it's a problem with the package. If you remove freecad-git and then reinstall it works.
Indeed it works after uninstalling the current freecad-git package. Thanks for the tip! :-)
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: | 107 |
Popularity: | 0.96 |
First Submitted: | 2012-03-03 13:46 (UTC) |
Last Updated: | 2025-04-22 00:51 (UTC) |
« First ‹ Previous 1 .. 13 14 15 16 17 18 19 20 21 22 23 .. 59 Next › Last »
Seems like it's a problem with the package. If you remove freecad-git and then reinstall it works.
Indeed it works after uninstalling the current freecad-git package. Thanks for the tip! :-)
Seems like it's a problem with the package. If you remove freecad-git and then reinstall it works.
Yes, I've tried, but didn't find anything. But they don't use Github as Bugtracker and I may be to stupid to use Mantis the right way. To be honest, it kept me from reporting from bugs in the past, since you need to report to the forums first (register there and in the bugtracker etc.) and stuff like that and it's really an endeavor to report a simple bug, it's getting frustrating fast.
Yeah, check() fails for me too. I assume this test failure is upstream's bug. Have you tried looking for or reporting an issue there?
It's me again. :-) Last time it was my own fault for not completely deleting the src and pkg directories. After that everything worked fine... for a while.
But since a few days I only get this:
Ran 246 tests in 31.672s
FAILED (failures=1, errors=49)
==> ERROR: A failure occurred in check().
Aborting...
The build itself seems to work fine, but the tests always fail (which they didn't before).
Should I just ignore/comment them in the PKGBUILD or do I need to actually care about the result of the unit tests?
I've tried to delete everything and start fresh, I also waited a few days and tried again a few times. But it's always the same...
Example output:
======================================================================
ERROR: test_draft_to_sketch (drafttests.test_modification.DraftModification)
Convert a Draft object to a Sketch and back.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/cf/abs/aur/freecad-git/src/FreeCAD/build_dir/check/Mod/Draft/drafttests/test_modification.py", line 375, in test_draft_to_sketch
obj = Draft.make_sketch(wire, autoconstraints=True)
File "/home/cf/abs/aur/freecad-git/src/FreeCAD/build_dir/check/Mod/Draft/draftmake/make_sketch.py", line 79, in make_sketch
from Sketcher import Constraint
File "/usr/lib/python3.9/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py", line 142, in _import
return original_import(name, *args, **kwargs)
ImportError: /home/cf/abs/aur/freecad-git/src/FreeCAD/build_dir/check/lib/Sketcher.so: undefined symbol: _ZN3App4Part15getPartOfObjectEPKNS_14DocumentObjectEb
======================================================================
FAIL: testExtensions (Document.DocumentBasicCases)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/cf/abs/aur/freecad-git/src/FreeCAD/build_dir/check/Mod/Test/Document.py", line 248, in testExtensions
grp.addExtension("App::GroupExtensionPython")
TypeError: function takes exactly 2 arguments (1 given)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/cf/abs/aur/freecad-git/src/FreeCAD/build_dir/check/Mod/Test/Document.py", line 255, in testExtensions
self.failUnless(False)
AssertionError: False is not true
News: upstream has announced feature freeze with release for v0.19 pending next month.
packages fine for me. tested with both makepkg and yay
Anyone getting this error after the build and test have finished?:
mv: cannot stat '/home/xxx/abs/aur/freecad-git/pkg/freecad-git/usr/local/freecad/share/doc': No such file or directory
==> ERROR: A failure occurred in package().
Aborting...
I just made an update that I hope will address any outstanding issues.
@greyltc I suggest to remove the execution of the test suite. As it is now the PKGBUILD should be considered broken.
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.