Bug 1980980

Summary: jaxb-stax-ex: FTBFS with junit-related errors
Product: Red Hat Enterprise Linux 9 Reporter: Florian Weimer <fweimer>
Component: jaxb-stax-exAssignee: RHCS Maintainers <rhcs-maint>
Status: CLOSED WONTFIX QA Contact: PKI QE <bugzilla-pkiqe>
Severity: low Docs Contact:
Priority: medium    
Version: CentOS StreamCC: bstinson, ckelley, edewata, jwboyer, mizdebsk, pcech, rhcs-maint
Target Milestone: betaKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-09-28 09:38:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Florian Weimer 2021-07-10 10:09:56 UTC
A rebuild of jaxb-stax-ex-1.8.3-3.el9 failed with these errors:

[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ stax-ex ---
[WARNING] Can't extract module name from junit.jar: null
[WARNING] Can't extract module name from test-classes: null
[WARNING] Can't extract module name from hamcrest.jar: null
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 2 source files to /builddir/build/BUILD/jaxb-stax-ex-1.8.3/target/test-classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /builddir/build/BUILD/jaxb-stax-ex-1.8.3/src/test/java/org/jvnet/staxex/util/ByteCodeVersionTest.java:[16,17] package org.junit does not exist
[ERROR] /builddir/build/BUILD/jaxb-stax-ex-1.8.3/src/test/java/org/jvnet/staxex/util/ByteCodeVersionTest.java:[17,17] package org.junit does not exist
[ERROR] /builddir/build/BUILD/jaxb-stax-ex-1.8.3/src/test/java/org/jvnet/staxex/util/XMLStreamReaderToXMLStreamWriterTest.java:[25,17] package org.junit does not exist
[ERROR] /builddir/build/BUILD/jaxb-stax-ex-1.8.3/src/test/java/org/jvnet/staxex/util/ByteCodeVersionTest.java:[28,6] cannot find symbol
  symbol:   class Test
  location: class org.jvnet.staxex.util.ByteCodeVersionTest

Comment 1 Endi Sukma Dewata 2021-08-11 17:55:17 UTC
Mikolaj, any idea how to fix this?