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.69
First Submitted: 2021-06-02 18:30 (UTC)
Last Updated: 2024-11-09 22:47 (UTC)

Dependencies (26)

Required by (85)

Sources (11)

Latest Comments

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

0ion9 commented on 2023-08-13 13:15 (UTC) (edited on 2023-08-13 13:15 (UTC) by 0ion9)

"building fine for me" ? Not sure what to say to that, other than I tried a clean rebuild and still got the same error. At least I managed to capture it this time:

[...]
-- Installing: /home/me/.cache/yay/libjxl-git/pkg/libjxl-git/usr/bin/cjpegli
-- Installing: /home/me/.cache/yay/libjxl-git/pkg/libjxl-git/usr/bin/djpegli
mv: cannot stat '/home/me/.cache/yay/libjxl-git/pkg/libjxl-git/usr/share/java/org.jpeg.jpegxl.jar': No such file or directory

(slightly censored). I guess I can try a different package builder, but I think yay just calls makepkg.

dbermond commented on 2023-08-12 15:55 (UTC) (edited on 2023-08-12 15:57 (UTC) by dbermond)

@0ion9 I've just checked, and the package is building fine for me. No problems in the install stage.

dbermond commented on 2023-08-12 15:53 (UTC)

@flannelhead upstream does not claim that jpegli is a replacement for libjpeg-turbo (at least not currently), but they say that it is compatible with libjpeg 6 (libjpeg.so.62), both in API and in ABI. Being such, I think we cannot assume it to be interchangeable with libjpeg-turbo. Also, it lacks important files shipped by libjpeg-turbo, like libturbojpeg.so, jerror.h, jpegint.h and turbojpeg.h. Since libjpeg-turbo has mostly become the standard in jpeg API nowadays, we cannot simply add {provides,conflicts}=('libjpeg'), as it's not true and probably will break applications expecting specific libjpeg-turbo functionality and files. Changing the default library soversion numbers also looks bad. What we could do is package it as a provider for libjpeg6, but I'm not sure if this would be useful, as currently there is only one application in the official repositories that depends on it.

0ion9 commented on 2023-08-12 03:20 (UTC)

Build currently fails in the install phase. Seems to be looking for a jar file belonging to libjxl and not finding it.

Since upstream CI seems to be completing successfully, I suspect the problem may be in the PKGBUILD (line 90?)

flannelhead commented on 2023-06-28 20:13 (UTC)

Now that upstream has jpegli that is a drop-in replacement for libjpeg, it would be neat to have that packaged too.

I managed to build a package containing jpegli by adding the following to the PKGBUILD:

-DJPEGXL_INSTALL_JPEGLI_LIBJPEG='true' \
-DJPEGLI_LIBJPEG_LIBRARY_VERSION='8.2.2' \
-DJPEGLI_LIBJPEG_LIBRARY_SOVERSION='8'

Then of course proper conflicts and provides entries would have to be added. Perhaps the drop-in should be a package of its own?

Thanks @dbermond for maintaining the PKGBUILD. Would you be interested in making those PKGBUILD modifications?

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.