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 1981015 - jaxb-istack-commons: FTBFS related to missing ant.jar
Summary: jaxb-istack-commons: FTBFS related to missing ant.jar
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: jaxb-istack-commons
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 15:26 UTC by Florian Weimer
Modified: 2021-10-07 02:36 UTC (History)
6 users (show)

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


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

Description Florian Weimer 2021-07-10 15:26:18 UTC
A rebuild of jaxb-istack-commons-3.0.11-6.el9 fails with:

[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ istack-commons-tools ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Using 'null' encoding to copy filtered properties files.
[INFO] skip non existing resourceDirectory /builddir/build/BUILD/jaxb-istack-commons-3.0.11/istack-commons/tools/src/main/resources
[INFO] Copying 2 resources to META-INF
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ istack-commons-tools ---
[WARNING] Can't extract module name from ant.jar: null
[WARNING] Can't extract module name from classes: null
[WARNING] Can't extract module name from ant-launcher.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 7 source files to /builddir/build/BUILD/jaxb-istack-commons-3.0.11/istack-commons/tools/target/classes
[INFO] /builddir/build/BUILD/jaxb-istack-commons-3.0.11/istack-commons/tools/src/main/java/com/sun/istack/tools/ParallelWorldClassLoader.java: Some input files use or override a deprecated API.
[INFO] /builddir/build/BUILD/jaxb-istack-commons-3.0.11/istack-commons/tools/src/main/java/com/sun/istack/tools/ParallelWorldClassLoader.java: Recompile with -Xlint:deprecation for details.
[INFO] /builddir/build/BUILD/jaxb-istack-commons-3.0.11/istack-commons/tools/src/main/java/com/sun/istack/tools/ProtectedTask.java: /builddir/build/BUILD/jaxb-istack-commons-3.0.11/istack-commons/tools/src/main/java/com/sun/istack/tools/ProtectedTask.java uses unchecked or unsafe operations.
[INFO] /builddir/build/BUILD/jaxb-istack-commons-3.0.11/istack-commons/tools/src/main/java/com/sun/istack/tools/ProtectedTask.java: Recompile with -Xlint:unchecked for details.
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /builddir/build/BUILD/jaxb-istack-commons-3.0.11/istack-commons/tools/src/main/java/com/sun/istack/tools/ProtectedTask.java:[14,28] package org.apache.tools.ant does not exist
[ERROR] /builddir/build/BUILD/jaxb-istack-commons-3.0.11/istack-commons/tools/src/main/java/com/sun/istack/tools/ProtectedTask.java:[15,28] package org.apache.tools.ant does not exist
[ERROR] /builddir/build/BUILD/jaxb-istack-commons-3.0.11/istack-commons/tools/src/main/java/com/sun/istack/tools/ProtectedTask.java:[16,28] package org.apache.tools.ant does not exist
[ERROR] /builddir/build/BUILD/jaxb-istack-commons-3.0.11/istack-commons/tools/src/main/java/com/sun/istack/tools/ProtectedTask.java:[17,28] package org.apache.tools.ant does not exist
[ERROR] /builddir/build/BUILD/jaxb-istack-commons-3.0.11/istack-commons/tools/src/main/java/com/sun/istack/tools/ProtectedTask.java:[32,28] package org.apache.tools.ant does not exist
[ERROR] /builddir/build/BUILD/jaxb-istack-commons-3.0.11/istack-commons/tools/src/main/java/com/sun/istack/tools/ProtectedTask.java:[44,45] cannot find symbol

Comment 1 Florian Weimer 2021-07-10 15:28:17 UTC
Created attachment 1800267 [details]
build.log

Comment 2 Endi Sukma Dewata 2021-08-06 00:24:25 UTC
Mikolaj, could you take a look a this? It seems to be caused by the changes in ant. The same problem seems to be affecting F35 too. Any idea how to fix it? Thanks.


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