Package Details: python-julius-git r69.486c032-1

Git Clone URL: https://aur.archlinux.org/python-julius-git.git (read-only, click to copy)
Package Base: python-julius-git
Description: Fast PyTorch based DSP for audio and 1D signals
Upstream URL: https://github.com/adefossez/julius
Licenses: MIT
Conflicts: python-julius
Provides: python-julius
Submitter: Auerhuhn
Maintainer: Auerhuhn
Last Packager: Auerhuhn
Votes: 0
Popularity: 0.000000
First Submitted: 2024-07-04 11:16 (UTC)
Last Updated: 2024-07-04 11:16 (UTC)

Latest Comments

Auerhuhn commented on 2025-07-18 20:31 (UTC) (edited on 2025-07-18 20:36 (UTC) by Auerhuhn)

Hi @shuggy999,

The package builds just fine in a clean chroot, but I can reproduce the error if both python-onnx and python-onnxruntime are installed while check runs. Will look into it.

As a workaround, can you try a) building in a clean chroot or b) temporarily uninstalling python-onnxruntime while you build this package?

shuggy999 commented on 2025-07-18 20:03 (UTC)

Error in building package:


======================================================================
ERROR: test_onnx_compatibility (tests.test_resample.TestResampleFrac.test_onnx_compatibility)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.13/site-packages/torch/onnx/_internal/onnx_proto_utils.py", line 182, in _add_onnxscript_fn
    import onnx
  File "/usr/lib/python3.13/site-packages/onnx/__init__.py", line 84, in <module>
    from onnx.onnx_cpp2py_export import ONNX_ML
ImportError: /usr/lib/python3.13/site-packages/onnx/onnx_cpp2py_export.cpython-313-x86_64-linux-gnu.so: undefined symbol: _ZN4onnx7checker10check_nodeERKNS_9NodeProtoERKNS0_14CheckerContextERKNS0_19LexicalScopeContextE

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/USER/.cache/yay/python-julius-git/src/julius/tests/test_resample.py", line 200, in test_onnx_compatibility
    th.onnx.export(
    ~~~~~~~~~~~~~~^
        resampler,
        ^^^^^^^^^^
    ...<10 lines>...
        },
        ^^
    )
    ^
  File "/usr/lib/python3.13/site-packages/torch/onnx/__init__.py", line 396, in export
    export(
    ~~~~~~^
        model,
        ^^^^^^
    ...<15 lines>...
        autograd_inlining=autograd_inlining,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3.13/site-packages/torch/onnx/utils.py", line 529, in export
    _export(
    ~~~~~~~^
        model,
        ^^^^^^
    ...<14 lines>...
        autograd_inlining=autograd_inlining,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3.13/site-packages/torch/onnx/utils.py", line 1540, in _export
    proto = onnx_proto_utils._add_onnxscript_fn(
        proto,
        custom_opsets,
    )
  File "/usr/lib/python3.13/site-packages/torch/onnx/_internal/onnx_proto_utils.py", line 184, in _add_onnxscript_fn
    raise errors.OnnxExporterError("Module onnx is not installed!") from e
torch.onnx.OnnxExporterError: Module onnx is not installed!

----------------------------------------------------------------------
Ran 45 tests in 3.553s

FAILED (errors=1)
==> ERROR: A failure occurred in check().
    Aborting...
 -> error making: python-julius-git-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
python-julius-git - exit status 4