Image Builder 24.10.4 Error (python3-pynacl)

When I try to build 24.10.4 OpenWRT X86-64 image, I get the following error. Could anyone help to resolve it. Thanks

  • pkg_hash_check_unresolved: cannot find dependency python3-pynacl for python3-paramiko
  • pkg_hash_fetch_best_installation_candidate: Packages for python3-paramiko found, but incompatible with the architectures configured
  • opkg_install_cmd: Cannot install package python3-paramiko.
  • satisfy_dependencies_for: Cannot satisfy the following dependencies for python3-docker:
  • python3-pynacl
  • opkg_install_cmd: Cannot install package python3-docker.

Pynacl currently fails to compile in the 24.10 buildbot...

adding 'pynacl-1.5.0.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built pynacl-1.5.0-cp311-cp311-linux_x86_64.whl
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/builder/shared-workdir/build/sdk/staging_dir/hostpkg/lib/python3.11/site-packages/installer/__main__.py", line 98, in <module>
    _main(sys.argv[1:], "python -m installer")
  File "/builder/shared-workdir/build/sdk/staging_dir/hostpkg/lib/python3.11/site-packages/installer/__main__.py", line 86, in _main
    with WheelFile.open(args.wheel) as source:
  File "/builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/lib/python3.11/contextlib.py", line 137, in __enter__
    return next(self.gen)
           ^^^^^^^^^^^^^^
  File "/builder/shared-workdir/build/sdk/staging_dir/hostpkg/lib/python3.11/site-packages/installer/sources.py", line 162, in open
    with zipfile.ZipFile(path) as f:
         ^^^^^^^^^^^^^^^^^^^^^
  File "/builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/lib/python3.11/zipfile.py", line 1311, in __init__
    self.fp = io.open(file, filemode)
              ^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/pypi/PyNaCl-1.5.0//openwrt-build/PyNaCl-1.5.0-*.whl'
make[3]: *** [Makefile:42: /builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/pypi/PyNaCl-1.5.0/.built] Error 1

Somebody interested in it needs to fix it.

cc @commodo

1 Like

Thanks for reporting, I will look into it. :slight_smile:

Thanks. I too am in need of this package but am not knowledgeable enough to resolve this build error.

Same error even on 25.10.5 build. Anyway to resolve it?

Fixed by this https://github.com/openwrt/packages/commit/739d60f497529789e3a5604b0ed0bd79ad795b17

Million thanks, successfully build the 24.10.4 & 25.12.0-RC2 images