Package Details: libjxl-doc-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 (documentation; git version)
Upstream URL: https://jpeg.org/jpegxl/
Keywords: jpeg-xl
Licenses: BSD-3-Clause
Conflicts: libjpeg-xl-doc-git, libjxl-doc
Provides: libjpeg-xl-doc-git, libjxl-doc
Replaces: libjpeg-xl-doc-git
Submitter: dbermond
Maintainer: dbermond
Last Packager: dbermond
Votes: 15
Popularity: 0.47
First Submitted: 2021-06-02 18:30 (UTC)
Last Updated: 2024-11-09 22:47 (UTC)

Dependencies (17)

Required by (0)

Sources (11)

Latest Comments

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

dbermond commented on 2024-04-10 16:58 (UTC)

@xiota Your libjpegli package is broken, as it cannot be treated as a provider for libjpeg. Please read my previous comment from 2023-08-12 about libjpegli.

louietaur commented on 2024-03-04 11:05 (UTC) (edited on 2024-03-04 11:06 (UTC) by louietaur)

@0ion9 I encountered a similar issue with building the package and not being able to find org.jpeg.jpegxl.jar. I fixed it by running archlinux-java status and selecting a JDK instead of JRE as my default Java enviroment.

Apparently, I had set java-8-openjdk/jre as default for some reason instead of java-21-openjdk. The package probably wasn't building right because it needed a JDK, not a JRE.

I remember running into this issue before and not being able to figure it out. Checking CMakeCache.txt led me to find that some tools like javac were not being found, hence the JNI jar not being built.

dbermond commented on 2023-10-09 02:03 (UTC)

@0ion9 If it builds in a clean chroot with devtools but does not build locally with makepkg, then something is wrong with your system. Up to you to find out. As I said since the beginning, the package is building fine and there is no issue.

0ion9 commented on 2023-10-08 01:34 (UTC)

Yeah, that works. Now I'm just trying to figure out why.

dbermond commented on 2023-10-07 12:53 (UTC)

@0ion9 build the package in a clean chroot.

0ion9 commented on 2023-10-06 22:50 (UTC) (edited on 2023-10-06 23:46 (UTC) by 0ion9)

It suggests that, maybe, but the suggestion is incorrect. That directory is in the log because that's where I cded in order to update the git checkouts and run makepkg.

I followed your instructions and am not using an aur helper to build.

I can see there may be an advantage to copying just the PKGBUILD to a random directory and building there, but I point out that this would not be following your instructions. Nevertheless I will copy the PKGBUILD to a random directory and try makepkg-ing there.

EDIT: I have done that. The result is exactly the same - can't find jar file. I have checked my makepkg.conf; it is entirely unmodified, ie. exactly the file that Arch distributes in the pacman package, specifically the 6.0.2-8 version, which was current when I updated my system yesterday.

dbermond commented on 2023-10-01 16:24 (UTC)

@0ion9 Your log suggests that you're still using an aur helper (/home/kau/.cache/yay/...), and this is not supported. Maybe you configured something to invoke the aur helper when you type makepkg? Are you on Arch Linux? There is no missing java dependency, since the package depends on java-environment (which in turn installs jdk and jre) as described in the Java package guidelines. I've just checked again, and the package builds fine with the recently released java 21, including the jni bindings file. There is no issue. You can try to build the package in a clean chroot and it should work.

0ion9 commented on 2023-09-29 04:22 (UTC)

@dbermond: I did that (git fetch origin for all repos) and ran makepkg. Exactly the same result: mv: cannot stat '/home/kau/.cache/yay/libjxl-git/pkg/libjxl-git/usr/share/java/org.jpeg.jpegxl.jar': No such file or directory

I want to point out the content of src/libjpeg/tools/CMakelists.txt (line 418-468). Theoretically, JPEGXL_ENABLE_JNI is set by src/libjxl/CMakeLists.txt which should result in the jar file being built, but it isn't. My java-environment package is "21.u35-3" and its official package name is listed as 'jdk-openjdk'.

My conclusion is there is either some hidden java dependency which is not installed, or perhaps jdk-openjdk does not provide the java-environment dependency in exactly the right way for the detection system to conclude 'yes, Java is available'.