Package Base Details: libjxl-git

Git Clone URL: https://aur.archlinux.org/libjxl-git.git (read-only, click to copy)
Keywords: jpeg-xl
Submitter: dbermond
Maintainer: dbermond
Last Packager: dbermond
Votes: 14
Popularity: 0.000060
First Submitted: 2021-06-02 18:30 (UTC)
Last Updated: 2024-03-01 15:40 (UTC)

Latest Comments

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

dbermond commented on 2022-10-27 18:04 (UTC)

@langfingaz Package updated.

langfingaz commented on 2022-10-23 17:38 (UTC)

Since the last 4 days builds of this package fail for me with the following error message.

==> Starting prepare()...
Submodule 'third_party/testdata' (https://github.com/libjxl/testdata) registered for path 'testdata'
Submodule 'third_party/brotli' (https://github.com/google/brotli) registered for path 'third_party/brotli'
Submodule 'third_party/googletest' (https://github.com/google/googletest) registered for path 'third_party/googletest'
Submodule 'third_party/highway' (https://github.com/google/highway) registered for path 'third_party/highway'
Submodule 'third_party/lcms' (https://github.com/mm2/Little-CMS) registered for path 'third_party/lcms'
Submodule 'third_party/libpng' (https://github.com/glennrp/libpng.git) registered for path 'third_party/libpng'
Submodule 'third_party/sjpeg' (https://github.com/webmproject/sjpeg.git) registered for path 'third_party/sjpeg'
Submodule 'third_party/skcms' (https://skia.googlesource.com/skcms) registered for path 'third_party/skcms'
Submodule 'third_party/zlib' (https://github.com/madler/zlib.git) registered for path 'third_party/zlib'
Cloning into '/tmp/pkg/src/libjxl/testdata'...
fatal: transport 'file' not allowed
fatal: clone of '/tmp/pkg/src/libjxl-testdata' into submodule path '/tmp/pkg/src/libjxl/testdata' failed
Failed to clone 'testdata'. Retry scheduled
Cloning into '/tmp/pkg/src/libjxl/third_party/brotli'...
fatal: transport 'file' not allowed
fatal: clone of '/tmp/pkg/src/brotli' into submodule path '/tmp/pkg/src/libjxl/third_party/brotli' failed
Failed to clone 'third_party/brotli'. Retry scheduled

There are even more attempts to clone repositories, all failing for the same reason.

dbermond commented on 2022-09-23 20:17 (UTC)

@sng Package updated.

sng commented on 2022-09-22 06:36 (UTC) (edited on 2022-09-22 09:06 (UTC) by sng)

It fails to build. This is how the failure occurs

Submodule path 'testdata': checked out 'd81acaca8e037d9514f3211045c77e7467bcb814'
Submodule path 'third_party/brotli': checked out '35ef5c554d888bef217d449346067de05e269b30'
Submodule path 'third_party/googletest': checked out '0ea2d8f8fa1601abb9ce713b7414e7b86f90bc61'
Submodule path 'third_party/highway': checked out '22e3d7276f4157d4a47586ba9fd91dd6303f441a'
Submodule path 'third_party/lcms': checked out '65c63bf549d78253c14b30b3d62cb668bbbe612c'
Submodule path 'third_party/libpng': checked out 'a40189cf881e9f0db80511c382292a5604c3c3d1'
Submodule path 'third_party/sjpeg': checked out '868ab558fad70fcbe8863ba4e85179eeb81cc840'
Submodule path 'third_party/skcms': checked out '64374756e03700d649f897dbd98c95e78c30c7da'
Submodule path 'third_party/zlib': checked out 'cacf7f1d4e3d44d871b605da3b647f07d718623f'
==> Starting pkgver()...
==> ERROR: pkgver is not allowed to contain colons, forward slashes, hyphens or whitespace.
==> ERROR: pkgver() generated an invalid version: 1.0-snapshot.r46.g66b998a2
 -> error making: libjxl-git

To make it build, I downloaded and modified the PKGBUILD file, like so:

diff --git a/PKGBUILD b/PKGBUILD
index 0f2ca31..7bb0a43 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -47,7 +47,7 @@ prepare() {

 pkgver() {
     local _tag
-    _tag="$(git -C libjxl tag --list --sort='-v:refname' 'v[[:digit:]]*' | sed 's/^v//;/-base/d' | head -n1)"
+    _tag="$(git -C libjxl tag --list --sort='-v:refname' 'v[[:digit:]]*' | sed -e 's/^v//;/-base/d' -e 's/-snapshot//' | head -n1)"
     printf "${_tag}.r%s.g%s" "$(git -C libjxl rev-list --count "v${_tag}..HEAD")" \
                              "$(git -C libjxl rev-parse --short HEAD)"
 }

Alpha_Seven commented on 2022-09-11 17:06 (UTC)

My machine also fails to build libjxl-git sinse months. Full output of the build (logged with script) can be fount at https://tmp.nueb.net/nopurge/libjxl-git_update.log

Linux red 5.15.60-1-MANJARO #1 SMP PREEMPT Thu Aug 11 13:14:05 UTC 2022 x86_64 GNU/Linux

xcaliber commented on 2022-09-09 07:21 (UTC) (edited on 2022-09-09 08:13 (UTC) by xcaliber)

Pacman and Pamac are still failing to build. I've been stuck on version 6.1.r780 for several months now. I get an error 2 and the build fails.


[ 22%] Built target skcms-obj
make[2]: *** [lib/CMakeFiles/jxl_enc-obj.dir/build.make:286: lib/CMakeFiles/jxl_enc-obj.dir/jxl/enc_detect_dots.cc.o] Error 1
make[2]: *** [lib/CMakeFiles/jxl_enc-obj.dir/build.make:216: lib/CMakeFiles/jxl_enc-obj.dir/jxl/enc_cluster.cc.o] Error 1
make[2]: *** [lib/CMakeFiles/jxl_enc-obj.dir/build.make:118: lib/CMakeFiles/jxl_enc-obj.dir/jxl/enc_adaptive_quantization.cc.o] Error 1
make[2]: *** [lib/CMakeFiles/jxl_enc-obj.dir/build.make:314: lib/CMakeFiles/jxl_enc-obj.dir/jxl/enc_entropy_coder.cc.o] Error 1
make[2]: *** [lib/CMakeFiles/jxl_enc-obj.dir/build.make:202: lib/CMakeFiles/jxl_enc-obj.dir/jxl/enc_chroma_from_luma.cc.o] Error 1
make[2]: Leaving directory '/var/tmp/pamac-build-ed/libjxl-git/src/build'
make[1]: *** [CMakeFiles/Makefile2:1395: lib/CMakeFiles/jxl_enc-obj.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/pamac-build-ed/libjxl-git/src/build'
make: *** [Makefile:146: all] Error 2
make: Leaving directory '/var/tmp/pamac-build-ed/libjxl-git/src/build'
==> ERROR: A failure occurred in build().
    Aborting...

Nanoshift commented on 2022-09-04 22:14 (UTC)

If anyone else on KDE ends up with broken JXL images, installing kimageformats-git should fix it

Derson5 commented on 2022-08-09 05:57 (UTC)

@dbermond Thanks! Works great again.

dbermond commented on 2022-08-08 22:44 (UTC)

@Derson5 Package updated to match the latest upstream changes.

Derson5 commented on 2022-08-08 12:30 (UTC)

I have today problem with building:

==> Starting prepare()...
Submodule 'third_party/testdata' (https://github.com/libjxl/testdata) registered for path 'testdata'
Submodule 'third_party/brotli' (https://github.com/google/brotli) registered for path 'third_party/brotli'
Submodule 'third_party/googletest' (https://github.com/google/googletest) registered for path 'third_party/googletest'
Submodule 'third_party/highway' (https://github.com/google/highway) registered for path 'third_party/highway'
Submodule 'third_party/lcms' (https://github.com/mm2/Little-CMS) registered for path 'third_party/lcms'
Submodule 'third_party/libpng' (https://github.com/glennrp/libpng.git) registered for path 'third_party/libpng'
Submodule 'third_party/sjpeg' (https://github.com/webmproject/sjpeg.git) registered for path 'third_party/sjpeg'
Submodule 'third_party/skcms' (https://skia.googlesource.com/skcms) registered for path 'third_party/skcms'
Submodule 'third_party/zlib' (https://github.com/madler/zlib.git) registered for path 'third_party/zlib'
Cloning into '/home/roland/.cache/paru/clone/libjxl-git/src/libjxl/testdata'...
done.
Cloning into '/home/roland/.cache/paru/clone/libjxl-git/src/libjxl/third_party/brotli'...
done.
Cloning into '/home/roland/.cache/paru/clone/libjxl-git/src/libjxl/third_party/googletest'...
done.
Cloning into '/home/roland/.cache/paru/clone/libjxl-git/src/libjxl/third_party/highway'...
done.
Cloning into '/home/roland/.cache/paru/clone/libjxl-git/src/libjxl/third_party/lcms'...
done.
Cloning into '/home/roland/.cache/paru/clone/libjxl-git/src/libjxl/third_party/libpng'...
done.
Cloning into '/home/roland/.cache/paru/clone/libjxl-git/src/libjxl/third_party/sjpeg'...
done.
Cloning into '/home/roland/.cache/paru/clone/libjxl-git/src/libjxl/third_party/skcms'...
done.
Cloning into '/home/roland/.cache/paru/clone/libjxl-git/src/libjxl/third_party/zlib'...
done.
Submodule path 'testdata': checked out 'd81acaca8e037d9514f3211045c77e7467bcb814'
Submodule path 'third_party/brotli': checked out '35ef5c554d888bef217d449346067de05e269b30'
Submodule path 'third_party/googletest': checked out '0ea2d8f8fa1601abb9ce713b7414e7b86f90bc61'
Submodule path 'third_party/highway': checked out '7f2e26854086fba4255220fd6c77e9141f1f87cc'
Submodule path 'third_party/lcms': checked out '65c63bf549d78253c14b30b3d62cb668bbbe612c'
Submodule path 'third_party/libpng': checked out 'a40189cf881e9f0db80511c382292a5604c3c3d1'
Submodule path 'third_party/sjpeg': checked out '868ab558fad70fcbe8863ba4e85179eeb81cc840'
Submodule path 'third_party/skcms': checked out '64374756e03700d649f897dbd98c95e78c30c7da'
Submodule path 'third_party/zlib': checked out 'cacf7f1d4e3d44d871b605da3b647f07d718623f'
==> Starting pkgver()...
==> ERROR: pkgver is not allowed to contain colons, forward slashes, hyphens or whitespace.
==> ERROR: pkgver() generated an invalid version: 0.7-base.r0.g980c90f6
error: failed to build 'libjxl-git-0.6.1.r808.g980c90f6-1':