Package Details: python-jaxlib 0.8.2-1

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.003893
First Submitted: 2021-01-12 12:50 (UTC)
Last Updated: 2026-01-12 19:57 (UTC)

Latest Comments

1 2 3 4 5 6 7 Next › Last »

emceebois commented on 2026-01-13 20:10 (UTC)

Seconding 4rozenwolves and mEDI_S, /home/bershatsky/proj was hardcoded in the bazelrc file, preventing successful build and installation.

mEDI_S commented on 2026-01-13 11:45 (UTC) (edited on 2026-01-13 11:47 (UTC) by mEDI_S)

hi, i got a error with a wrong home dir at yay python-jaxlib --rebuild after python 3.14.2 upgrade

FATAL: mkdir('/home/bershatsky/proj/src/aur.archlinux.org/python-jaxlib/src/base'): (error: 13): Permission denied
==> ERROR: A failure occurred in build().

/home/bershatsky/ is hardcodet or no idea. it is not my home ;)

grep in yay cache folder

grep -r "/home/bershatsky/" ./
./bazelrc:startup --output_user_root=/home/bershatsky/proj/src/aur.archlinux.org/python-jaxlib/src/base
./bazelrc:build --repository_cache=/home/bershatsky/proj/src/aur.archlinux.org/python-jaxlib/src/repo
./bazelrc:build --disk_cache=/home/bershatsky/proj/src/aur.archlinux.org/python-jaxlib/src/cache
./bazelrc:build --sandbox_base=/home/bershatsky/proj/src/aur.archlinux.org/python-jaxlib/src/sandbox

Best

4rozenwolves commented on 2026-01-13 03:25 (UTC)

I got this error:

Building python-jaxlib...
==> Making package: python-jaxlib 0.8.2-1 (Tue 13 Jan 2026 11:15:38 AM +08)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading jax-0.8.2.tar.gz...
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                             Dload  Upload  Total   Spent   Left   Speed

  0      0   0      0   0      0      0      0                              0
  0      0   0      0   0      0      0      0                              0
  0      0   0      0   0      0      0      0                              0

  0      0   0      0   0      0      0      0                              0
100  5.28M   0  5.28M   0      0  4.01M      0           00:01          5.27M
100 16.25M   0 16.25M   0      0  6.96M      0           00:02          8.04M
100 16.81M   0 16.81M   0      0  7.02M      0           00:02          8.04M
100 16.81M   0 16.81M   0      0  7.02M      0           00:02          8.04M
100 16.81M   0 16.81M   0      0  7.02M      0           00:02          8.04M
  -> Found bazel-7.4.1-linux-x86_64
  -> Found bazelrc
==> Validating source files with sha256sums...
    jax-0.8.2.tar.gz ... Passed
    bazel-7.4.1-linux-x86_64 ... Passed
    bazelrc ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting jax-0.8.2.tar.gz with bsdtar
==> Starting prepare()...
==> Starting build()...
FATAL: mkdir('/home/bershatsky/proj/src/aur.archlinux.org/python-jaxlib/src/base'): (error: 13): Permission denied
==> ERROR: A failure occurred in build().
    Aborting...

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