Bug 1981002

Summary: jaxb: FTBFS because of apparent dependency on junit 3
Product: Red Hat Enterprise Linux 9 Reporter: Florian Weimer <fweimer>
Component: jaxbAssignee: RHCS Maintainers <rhcs-maint>
Status: CLOSED WONTFIX QA Contact: PKI QE <bugzilla-pkiqe>
Severity: unspecified Docs Contact:
Priority: unspecified    
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:05:03 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:
Attachments:
Description Flags
build.log none

Description Florian Weimer 2021-07-10 12:15:22 UTC
Created attachment 1800251 [details]
build.log

A rebuild of jaxb-2.3.3-7.el9 fails. I think junit.framework is a package from junit 3, but the distribution only has junit 5.

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:testCompile (default-testCompile) on project rngom: Compilation failure: Compilation failure: 
[ERROR] /builddir/build/BUILD/jaxb-ri-2.3.3-RI/jaxb-ri/external/rngom/src/test/java/com/sun/tools/rngom/digested/DXMLPrinterTest.java:[24,23] package junit.framework does not exist
[ERROR] /builddir/build/BUILD/jaxb-ri-2.3.3-RI/jaxb-ri/external/rngom/src/test/java/com/sun/tools/rngom/digested/DXMLPrinterTest.java:[31,38] cannot find symbol
[ERROR]   symbol: class TestCase
[ERROR] /builddir/build/BUILD/jaxb-ri-2.3.3-RI/jaxb-ri/external/rngom/src/test/java/com/sun/tools/rngom/digested/DXMLPrinterTest.java:[35,40] cannot find symbol
[ERROR]   symbol:   method getClass()
[ERROR]   location: class com.sun.tools.rngom.digested.DXMLPrinterTest
[ERROR] /builddir/build/BUILD/jaxb-ri-2.3.3-RI/jaxb-ri/external/rngom/src/test/java/com/sun/tools/rngom/digested/DXMLPrinterTest.java:[43,22] cannot access junit.framework.Assert
[ERROR]   class file for junit.framework.Assert not found
[ERROR] /builddir/build/BUILD/jaxb-ri-2.3.3-RI/jaxb-ri/external/rngom/src/test/java/com/sun/tools/rngom/digested/DXMLPrinterTest.java:[49,13] cannot find symbol
[ERROR]   symbol:   method assertTrue(java.lang.String,boolean)
[ERROR]   location: class com.sun.tools.rngom.digested.DXMLPrinterTest

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