Bug 1936159

Summary: ant: version string incorrect
Product: [Fedora] Fedora Reporter: Zhenbo Li <lizhenbo>
Component: antAssignee: Mikolaj Izdebski <mizdebsk>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 36CC: decathorpe, jaromir.capik, java-maint-sig, java-sig-commits, mizdebsk, mkoncek, msrb
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ant-1.10.12-6.fc37 ant-1.10.12-5.fc36 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-06-06 14:05:19 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 Zhenbo Li 2021-03-07 06:29:17 UTC
Description of problem:
ant -version reports wrong date (year=1970)

Version-Release number of selected component (if applicable):
1.10.9

How reproducible:
Always

lizhenbo@localhost ~$ ant -version
Apache Ant(TM) version 1.10.9 compiled on January 10 1970


Installed Packages
Name         : ant
Version      : 1.10.9
Release      : 1.fc33
Architecture : noarch
Size         : 461 k
Source       : ant-1.10.9-1.fc33.src.rpm
Repository   : @System
From repo    : updates
Summary      : Java build tool
URL          : https://ant.apache.org/
License      : ASL 2.0
Description  : Apache Ant is a Java library and command-line tool whose mission is to
             : drive processes described in build files as targets and extension
             : points dependent upon each other.  The main known usage of Ant is the
             : build of Java applications.  Ant supplies a number of built-in tasks
             : allowing to compile, assemble, test and run Java applications.  Ant
             : can also be used effectively to build non Java applications, for
             : instance C or C++ applications.  More generally, Ant can be used to
             : pilot any type of process which can be described in terms of targets
             : and tasks.

Comment 1 Fedora Admin user for bugzilla script actions 2021-04-28 00:03:47 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 2 Ben Cotton 2021-11-04 13:54:12 UTC
This message is a reminder that Fedora 33 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 33 on 2021-11-30.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '33'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 33 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 3 Ben Cotton 2021-11-04 14:23:38 UTC
This message is a reminder that Fedora 33 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 33 on 2021-11-30.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '33'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 33 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 4 Ben Cotton 2021-11-04 15:21:15 UTC
This message is a reminder that Fedora 33 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 33 on 2021-11-30.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '33'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 33 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 5 Ben Cotton 2022-02-08 21:32:10 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle.
Changing version to 36.

Comment 6 Mikolaj Izdebski 2022-04-22 22:22:58 UTC
The root cause seems to be integer overflow when parsing SOURCE_DATE_EPOCH.
I've submitted patch upstream: https://github.com/apache/ant/pull/186
I will wait for their response before backporting it to Fedora package.

Comment 8 Mikolaj Izdebski 2022-06-06 08:08:17 UTC
Rawhide PR merged.

Comment 9 Fedora Update System 2022-06-06 13:54:11 UTC
FEDORA-2022-69cf305fd6 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-69cf305fd6

Comment 10 Fedora Update System 2022-06-06 14:05:19 UTC
FEDORA-2022-69cf305fd6 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 Fedora Update System 2022-06-07 09:04:08 UTC
FEDORA-2022-db6457b52b has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-db6457b52b

Comment 12 Fedora Update System 2022-06-08 01:14:06 UTC
FEDORA-2022-db6457b52b has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-db6457b52b`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-db6457b52b

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 13 Fedora Update System 2022-06-16 01:20:10 UTC
FEDORA-2022-db6457b52b has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.