Bug 1858115 - xmlunit fails to build with java-11-openjdk
Summary: xmlunit fails to build with java-11-openjdk
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: xmlunit
Version: rawhide
Hardware: All
OS: All
unspecified
high
Target Milestone: ---
Assignee: Dr. Tilmann Bubeck
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: Java11
TreeView+ depends on / blocked
 
Reported: 2020-07-16 22:43 UTC by jiri vanek
Modified: 2020-07-21 09:06 UTC (History)
6 users (show)

Fixed In Version: xmlunit-2.7.0-3.fc33
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-07-21 09:06:04 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description jiri vanek 2020-07-16 22:43:19 UTC
xmlunit fails to build with java-11-openjdk as sytem JDK. See https://fedoraproject.org/wiki/Changes/Java11 .
See especially part about known failures: https://fedoraproject.org/wiki/Changes/Java11#common_issues_packagers_can_face_and_gathered_solutions

For the build logs, see: https://koji.fedoraproject.org/koji/taskinfo?taskID=47164263
We run the rebuild longer then 10days ago. Log may be gone. Also your package may be passing in regular rawhide.
To reproduce, simply: fedpkg clone xmlunit; cd xmlunit;  fedpkg build --target f33-java11; #The target is crucial.

We run two reruns your package failed both.


We had tried 650 packages, and 500 had passed, so the java-11-openjdk will be system JDK in f33, and you should fix your package if you want to keep it alive. Usually the fix is simple, and best is to update the package to latest upstream version.
There will be usual mass rebuild once f33 branches. You may got another FTBFS bug.
Let us know here if you have any questions, here in bug, or at java-devel.org .

We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side if needed.

Comment 1 jiri vanek 2020-07-17 04:08:37 UTC
highlight: This was rebuild in sidetag f33-java11. Thus --target is really necessary to reproduce failure.
please note: This side tag, f33-java11, will be merged to main f33 buildroot in aprox 14 days.

Comment 2 Fabio Valentini 2020-07-20 17:17:19 UTC
Looks like xmlunit will require jaxb 2.3.0 when built on Java 11:

[ERROR] Failed to execute goal on project xmlunit-core: Could not resolve dependencies for project org.xmlunit:xmlunit-core:jar:2.7.0: The following artifacts could not be resolved: javax.xml.bind:jaxb-api:jar:2.3.0, com.sun.xml.bind:jaxb-core:jar:2.3.0.1, com.sun.xml.bind:jaxb-impl:jar:2.3.0.1, javax.activation:activation:jar:1.1.1: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact javax.xml.bind:jaxb-api:jar:2.3.0 has not been downloaded from it before. -> [Help 1]

We don't have that version of jaxb available in fedora yet.

Comment 3 Severin Gehwolf 2020-07-21 09:01:24 UTC
It looks like this depends on the jaxb FTBFS bug 1857946. Adding as a dependency.

Comment 4 Fabio Valentini 2020-07-21 09:06:04 UTC
It doesn't. mbooth already fixed this package yesterday.
https://koji.fedoraproject.org/koji/buildinfo?buildID=1544325


Note You need to log in before you can comment on or make changes to this bug.