Package Details: libjxl-git 0.7.0.r98.g176b1c03-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
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: 14
Popularity: 1.43
First Submitted: 2021-06-02 18:30 (UTC)
Last Updated: 2022-10-27 18:03 (UTC)

Dependencies (28)

Required by (32)

Sources (10)

Latest Comments

1 2 3 4 5 6 .. 11 Next › Last »

keilmillerjr commented on 2022-11-28 18:43 (UTC)

[  3%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/base/random.cc.o
/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 /var/tmp/pamac-build-keiljr/libjxl-git/src/libjxl/lib/jxl/fast_math-inl.h:15,
                 from /var/tmp/pamac-build-keiljr/libjxl-git/src/libjxl/lib/jxl/base/random.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’?
<command-line>: error: ‘HWY_SVE2_128’ was not declared in this scope; did you mean ‘HWY_SVE2’?
make[2]: *** [lib/CMakeFiles/jxl_dec-obj.dir/build.make:174: lib/CMakeFiles/jxl_dec-obj.dir/jxl/base/random.cc.o] Error 1
make[2]: Leaving directory '/var/tmp/pamac-build-keiljr/libjxl-git/src/build'
make[1]: *** [CMakeFiles/Makefile2:1395: lib/CMakeFiles/jxl_dec-obj.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/pamac-build-keiljr/libjxl-git/src/build'
make: *** [Makefile:146: all] Error 2
make: Leaving directory '/var/tmp/pamac-build-keiljr/libjxl-git/src/build'
==> ERROR: A failure occurred in build().
    Aborting...

langfingaz commented on 2022-10-28 11:08 (UTC)

Many thanks @dbermond, it builds again.

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.