Package Details: python-jaxlib 0.7.0-3

Git Clone URL: https://aur.archlinux.org/python-jaxlib.git (read-only, click to copy)
Package Base: python-jaxlib
Description: XLA library for JAX
Upstream URL: https://github.com/jax-ml/jax/
Keywords: deep-learning google jax machine-learning xla
Licenses: Apache-2.0
Groups: jax
Submitter: daskol
Maintainer: daskol
Last Packager: daskol
Votes: 8
Popularity: 0.008797
First Submitted: 2021-01-12 12:50 (UTC)
Last Updated: 2025-07-23 22:29 (UTC)

Latest Comments

1 2 3 4 5 6 7 Next › Last »

daskol commented on 2025-07-23 22:33 (UTC)

@4rozenwolves @emceebois Now, it should build. This is an upstream issue.

daskol commented on 2025-07-23 22:31 (UTC)

@iyanmv Contributions are welcome!

emceebois commented on 2025-07-23 15:10 (UTC)

Seconding @4rozenwolves, I get the same error

4rozenwolves commented on 2025-07-23 05:33 (UTC)

I got this error:

In file included from external/eigen_archive/Eigen/Core:185,              from external/tsl/tsl/platform/bfloat16.h:20,              from external/xla/xla/tsl/platform/types.h:21,              from external/xla/xla/tsl/platform/default/logging.h:38,              from external/xla/xla/tsl/platform/logging.h:26,              from external/xla/xla/tsl/platform/errors.h:33: external/eigen_archive/Eigen/src/Core/MathFunctions.h:362:34: note:   'Eigen::internal::cast'   362 | EIGEN_DEVICE_FUNC inline NewType cast(const OldType& x) {       |                                  ^~~~ jaxlib/mosaic/dialect/gpu/mosaic_gpu.cc:536:52: error: expected primary-expression before '>' token   536 |   auto custom_primitive_op = cast<CustomPrimitiveOp>((*this)->getParentOp());       |                                                    ^ At global scope: cc1plus: note: unrecognized command-line option '-Wno-deprecated-register' may have been intended to silence earlier diagnostics cc1plus: note: unrecognized command-line option '-Wno-unknown-warning-option' may have been intended to silence earlier diagnostics Target //jaxlib/tools:build_wheel failed to build INFO: Elapsed time: 871.689s, Critical Path: 176.45s INFO: 11595 processes: 3007 internal, 8588 local. ERROR: Build did NOT complete successfully ERROR: Build failed. Not running target 2025-07-23 13:30:16,222 - DEBUG - Command finished with return code 1   Traceback (most recent call last):   File "/var/tmp/pamac-build-frostbite/python-jaxlib/src/jax-jax-v0.7.0/build/build.py", line 782, in <module>     asyncio.run(main())     ~~~~~~~~~~~^^^^^^^^   File "/usr/lib/python3.13/asyncio/runners.py", line 195, in run     return runner.run(main)        ~~~~~~~~~~^^^^^^   File "/usr/lib/python3.13/asyncio/runners.py", line 118, in run     return self._loop.run_until_complete(task)        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^   File "/usr/lib/python3.13/asyncio/base_events.py", line 725, in run_until_complete     return future.result()        ~~~~~~~~~~~~~^^   File "/var/tmp/pamac-build-frostbite/python-jaxlib/src/jax-jax-v0.7.0/build/build.py", line 727, in main     raise RuntimeError(f"Command failed with return code {result.return_code}") RuntimeError: Command failed with return code 1 ==> ERROR: A failure occurred in build().     Aborting... 

iyanmv commented on 2025-06-09 10:23 (UTC)

This has been failing to build for months... please fix it or let it go so other people with more time can help maintain the PKGBUILD.

4rozenwolves commented on 2025-06-06 05:54 (UTC)

I got this error:

In file included from external/gloo/gloo/math.cc:5: external/gloo/gloo/math.h:84:8: error: unknown type name 'uint32_t'    84 | inline uint32_t log2ceil(uint32_t value) {       |        ^ external/gloo/gloo/math.h:84:26: error: unknown type name 'uint32_t'    84 | inline uint32_t log2ceil(uint32_t value) {       |                          ^ external/gloo/gloo/math.h:85:3: error: unknown type name 'uint32_t'    85 |   uint32_t dim = 0;       |   ^ 19 errors generated. Target //jaxlib/tools:build_wheel failed to build INFO: Elapsed time: 53.515s, Critical Path: 1.38s INFO: 1692 processes: 1612 internal, 80 local. ERROR: Build did NOT complete successfully ERROR: Build failed. Not running target 2025-06-06 13:52:30,005 - DEBUG - Command finished with return code 1   Traceback (most recent call last):   File "/var/tmp/pamac-build-frostbite/python-jaxlib/src/jax-jax-v0.6.0/build/build.py", line 778, in <module>     asyncio.run(main())     ~~~~~~~~~~~^^^^^^^^   File "/usr/lib/python3.13/asyncio/runners.py", line 195, in run     return runner.run(main)        ~~~~~~~~~~^^^^^^   File "/usr/lib/python3.13/asyncio/runners.py", line 118, in run     return self._loop.run_until_complete(task)        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^   File "/usr/lib/python3.13/asyncio/base_events.py", line 719, in run_until_complete     return future.result()        ~~~~~~~~~~~~~^^   File "/var/tmp/pamac-build-frostbite/python-jaxlib/src/jax-jax-v0.6.0/build/build.py", line 723, in main     raise RuntimeError(f"Command failed with return code {result.return_code}") RuntimeError: Command failed with return code 1 ==> ERROR: A failure occurred in build().     Aborting... 

medaminezghal commented on 2025-04-11 05:30 (UTC)

@daskol This PR should resolve the build process using clang>=19

john_schaf commented on 2025-04-07 12:56 (UTC)

Build fails:

==> Starting build()... 2025-04-07 14:51:27,505 - INFO -       _   _  __  __     | | / \ \ \/ /  _  | |/ _ \ \  / | |_| / ___ \/  \  \___/_/   \/_/\_\   2025-04-07 14:51:27,505 - INFO - Verbose logging enabled Downloading bazel from: https://github.com/bazelbuild/bazel/releases/download/7.4.1/bazel-7.4.1-linux-x86_64 bazel-7.4.1-linux-x86_64 [########################################] 100% Cannot find or download a suitable version of bazel.Please install bazel >= 7.4.1. 

micwoj92 commented on 2025-03-18 18:16 (UTC)

@daskol please address this dependency issue. At least remove only absl and flatbuffers since they not specified by upstream setup.py https://github.com/jax-ml/jax/blob/main/jaxlib/setup.py

micwoj92 commented on 2025-02-17 00:00 (UTC)

python-absl, python-flatbuffers and python-scipy deps are not needed