RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1981002 - jaxb: FTBFS because of apparent dependency on junit 3
Summary: jaxb: FTBFS because of apparent dependency on junit 3
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: jaxb
Version: CentOS Stream
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: ---
Assignee: RHCS Maintainers
QA Contact: PKI QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-07-10 12:15 UTC by Florian Weimer
Modified: 2021-10-07 02:37 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-09-28 09:05:03 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
build.log (88.92 KB, text/plain)
2021-07-10 12:15 UTC, Florian Weimer
no flags Details

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?


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