Package Details: libjxl-git 0.11.0.r55.g8da7c884-1

Git Clone URL: https://aur.archlinux.org/libjxl-git.git (read-only, click to copy)
Package Base: libjxl-git
Description: JPEG XL image format reference implementation (git version)
Upstream URL: https://jpeg.org/jpegxl/
Keywords: jpeg-xl
Licenses: BSD-3-Clause
Conflicts: libjpeg-xl-git, libjxl
Provides: libjpeg-xl-git, libjxl, libjxl.so, libjxl_threads.so
Replaces: libjpeg-xl-git
Submitter: dbermond
Maintainer: dbermond
Last Packager: dbermond
Votes: 15
Popularity: 0.65
First Submitted: 2021-06-02 18:30 (UTC)
Last Updated: 2024-11-09 22:47 (UTC)

Dependencies (26)

Required by (88)

Sources (11)

Latest Comments

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

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':

dbermond commented on 2022-08-02 01:08 (UTC)

@frankenstein20 I've just checked, and the package is building fine for me. Looking at the error that you are having, it seems that the java bindings is not being built during build(). This can happen if the build system does not recognize your installed java. I'm using jdk-openjdk from the official repositories (currently at version 18.0.2.u9), and the package builds fine with it. Also, you are using an AUR helper, and this is not supported. Use makepkg.

@markg85 Good to know that you could fulfill your needs.

frankenstein20 commented on 2022-08-01 11:54 (UTC)

Hi all

I get an error after

==> Beginne package_libjxl-git()...
I get
mv: der Aufruf von stat für '/home/ftornack/.cache/pikaur/build/libjxl-git/pkg/libjxl-git/usr/share/java/org.jpeg.jpegxl.jar' ist nicht möglich: Datei oder Verzeichnis nicht gefunden

Sorry for the german... it is a file not found error

markg85 commented on 2022-07-26 14:16 (UTC) (edited on 2022-07-26 14:22 (UTC) by markg85)

@dbermond oke.. :)

I tried to compile it now using makepkg.. I'm getting a boat load of errors:

/usr/include/hwy/targets.h: In function ‘std::vector<unsigned int> hwy::SupportedAndGeneratedTargets()’:
<command-line>: error: ‘HWY_SVE_256’ was not declared in this scope; did you mean ‘HWY_SVE2’?
<command-line>: error: ‘HWY_SVE2_128’ was not declared in this scope; did you mean ‘HWY_SVE2’?
In file included from /usr/include/hwy/highway.h:24,
                 from /home/mark/pkgbuilds/libjxl-git/src/libjxl/lib/jxl/convolve-inl.h:13,
                 from /home/mark/pkgbuilds/libjxl-git/src/libjxl/lib/jxl/convolve_slow.cc:8:
/usr/include/hwy/targets.h: In member function ‘size_t hwy::ChosenTarget::GetIndex() const’:
<command-line>: error: ‘HWY_SVE_256’ was not declared in this scope; did you mean ‘HWY_SVE2’?
In file included from /usr/include/hwy/highway.h:24,
                 from /home/mark/pkgbuilds/libjxl-git/src/libjxl/lib/jxl/color_management.cc:23,
                 from /usr/include/hwy/foreach_target.h:80,
                 from /home/mark/pkgbuilds/libjxl-git/src/libjxl/lib/jxl/color_management.cc:22:

I didn't change the PKGBUILD so am still using whatever this package claims it needs.

^^ never mind the above. While it is an issue, i don't actually need the manually build one. I started using it when there was no libjxl package in the arch repos yet and wanted to play with the cjxl command. libjxl now seems to be in the arch packages so i'm using that instead. Works just fine for my case.