FS#48982 - [libbluray] Not compatible with jdk8-openjdk

Attached to Project: Arch Linux
Opened by Alexandre Figura (arugifa) - Saturday, 16 April 2016, 18:16 GMT
Last edited by Maxime Gauduin (Alucryd) - Tuesday, 10 January 2017, 18:28 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Maxime Gauduin (Alucryd)
Architecture x86_64
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
In list dependencies of libbluray, it is specified that jdk7-openjdk or jdk8-openjdk are optionally needed for BD-J library.
However, it appears that libbluray is not compatible with jdk8-openjdk.

Steps to reproduce:
When analysing a Blu-ray disc with BD-J content by using Ffprobe (which uses libbluray), the following error appears:

$ ffprobe -i bluray:<bluray_path> -loglevel quiet
bdj.c:457: BD-J check: Failed to load JVM library

This error message does not appear when installing jdk7-openjdk.

Additional info:
* package version: 0.9.2-1
This task depends upon

Closed by  Maxime Gauduin (Alucryd)
Tuesday, 10 January 2017, 18:28 GMT
Reason for closing:  Fixed
Additional comments about closing:  0.9.3.r84.05c9fdec-1
Comment by Maxime Gauduin (Alucryd) - Sunday, 24 April 2016, 21:14 GMT
Doesn't sound like a packaging issue, did you try contacting upstream? Not sure if this the correct issue, but I found this: https://mailman.videolan.org/pipermail/libbluray-devel/2015-April/001972.html
Comment by Alexandre Figura (arugifa) - Friday, 29 April 2016, 13:22 GMT
I opened an issue on the Libbluray mailing list, and a patch has been applied: https://mailman.videolan.org/pipermail/libbluray-devel/2016-April/002360.html

Thanks for your help :)
Comment by Maxime Gauduin (Alucryd) - Sunday, 01 May 2016, 22:13 GMT
I just pushed 0.9.2-2 with that patch applied to [testing], could you try it out and report back?
Comment by Johannes Dewender (JonnyJD) - Sunday, 08 May 2016, 19:55 GMT
  • Field changed: Percent Complete (100% → 0%)
patch not applied correctly, using duplicate build() instead of prepare().
This effectively doesn't run the first build() (with the patch) so the failing patch doesn't give an error.
A corrected patch is here:
https://aur.archlinux.org/cgit/aur.git/tree/libbluray-jdk8.patch?h=lib32-libbluray
Comment by Maxime Gauduin (Alucryd) - Sunday, 08 May 2016, 23:01 GMT
Damn copy/paste, thx for the heads up and the patch. Just pushed 0.9.2-3 in [testing].
Comment by Phil Schaf (flying-sheep) - Wednesday, 21 December 2016, 10:05 GMT
here’s another bug report about this: https://bugzilla.redhat.com/show_bug.cgi?id=1380437

i can confirm that this patch fixes the issue!
Comment by Maxime Gauduin (Alucryd) - Wednesday, 21 December 2016, 13:30 GMT
Added /usr/lib/jvm to the search paths in 0.9.2-4 in [testing].
Comment by Maxime Gauduin (Alucryd) - Thursday, 22 December 2016, 11:41 GMT
I went even further and built from the latest git commit (which is this very fix), because there were a few other java related changes since the last release.

Loading...