Bug 1661390

Summary: Incorrect date for the future
Product: [Fedora] Fedora EPEL Reporter: Michael Peters <alice>
Component: datefudgeAssignee: Nikos Mavrogiannopoulos <nmavrogi>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: epel7CC: nmavrogi
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: datefudge-1.22-1.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-01-08 02:02:38 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 Michael Peters 2018-12-21 05:28:37 UTC
Description of problem:
Does not handle dates in 64-bit future on 64-bit hardware

Version-Release number of selected component (if applicable):
datefudge-1.21-1.el7.x86_64.rpm

How reproducible:
always

Steps to Reproduce:
1. datefudge "2100-01-01 10:00:00" date +%s
2.
3.

Actual results:
-192457696

Expected results:
4102509600

Additional info:
(Pacific timezone for above)

I rebuilt 1.22 src.rpm from f29 in CentOS 7 and it works as expected (requires some dependencies not in CentOS/EPEL 7 but I happened to have already built them for other things)

Needed for certs test in GnuTLS 3.6.5 build

Comment 1 Fedora Update System 2018-12-21 11:48:06 UTC
datefudge-1.22-1.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-9a4a06731c

Comment 2 Fedora Update System 2018-12-22 02:54:10 UTC
datefudge-1.22-1.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-9a4a06731c

Comment 3 Michael Peters 2018-12-22 05:00:58 UTC
I can confirm the package in testing resolves the reported issue.

Comment 4 Nikos Mavrogiannopoulos 2019-01-02 08:01:38 UTC
Thank you Michael. To help push it to stable fast, please leave the feedback at:
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-9a4a06731c

Comment 5 Michael Peters 2019-01-02 08:16:07 UTC
Trying to but it will not let me log in. Apparently I already have an account there, but I can't recall it. But when I try to reset password it says username doesn't match - but I can't recall my username nor find how to have it sent to the e-mail address. Really weird that they make recovery so hard. I'll dig through my old e-mails, maybe I'll find the username I used there.

Comment 6 Nikos Mavrogiannopoulos 2019-01-02 08:49:53 UTC
The account site is at:
https://admin.fedoraproject.org/accounts/user/view

If you cannot remember the username could you ask at:
#fedora-admin on irc.freenode.net

Comment 7 Fedora Update System 2019-01-08 02:02:38 UTC
datefudge-1.22-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.