Package Details: python-jaxlib 0.9.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.000294
First Submitted: 2021-01-12 12:50 (UTC)
Last Updated: 2026-02-17 14:51 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 9 Next › Last »

daskol commented on 2026-02-09 15:18 (UTC) (edited on 2026-02-09 15:20 (UTC) by daskol)

@taotieren It seems that you have broken permission in package directory tree. What permissions/owners on $srcdir? `$srcdir/{base,...}?

UPD Ah, I see. I occasiaonlly commited hardcoded directories. It is fixed now.

daskol commented on 2026-02-09 15:17 (UTC)

@carlosal1015 Indeed, openxla/xla requires xxd to embed binary blobs into C/C++ source files. oO I prefer to add tinyxxd instead of vim.

taotieren commented on 2026-01-22 03:00 (UTC)

Hello. I compiled this package in the extra environment under devtools. The following errors were reported. Among them, I modified the mkdir part. Can you help fix the compilation problem? Thank you.

==> Starting prepare()...
mkdir: created directory '/build/python-jaxlib/src/base'
mkdir: created directory '/build/python-jaxlib/src/cache'
mkdir: created directory '/build/python-jaxlib/src/dist'
mkdir: created directory '/build/python-jaxlib/src/repo'
mkdir: created directory '/build/python-jaxlib/src/sandbox'
==> 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...
mkdir -pv ${srcdir}/{base,cache,dist,repo,sandbox}

lahwaacz commented on 2026-01-15 08:23 (UTC)

Just remove the 4 lines at the top of the bazelrc file and it will work.

hamster commented on 2026-01-15 07:47 (UTC)

I am observing the same thing.

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.