Bug 2092964 - Archive value out of time_t range
Summary: Archive value out of time_t range
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: tar
Version: 38
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matej Mužila
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2113741
TreeView+ depends on / blocked
 
Reported: 2022-06-02 16:00 UTC by Antonio T. sagitter
Modified: 2023-11-27 07:11 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Antonio T. sagitter 2022-06-02 16:00:45 UTC
Description of problem:

rpmuncompress is failing in Rawhide i686 architecture only with:

/usr/bin/tar: Archive value 4027676192 is out of time_t range 
-2147483648..2147483647
/usr/bin/tar: 
icecat-91.10.0/extensions/gnu/jid1-KtlZuoiikVfFew(a)jetpack/bundle.js: 
implausibly old time stamp 1969-12-31 23:59:59

Version-Release number of selected component (if applicable):
tar-2:1.34-3.fc36.i686

How reproducible:
https://koji.fedoraproject.org/koji/taskinfo?taskID=87811650

Additional info:
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/SRC2I5UV6XANEAQYYPP3QXYJRZCQ7I2W/

Comment 1 Petr Pisar 2022-06-06 10:33:22 UTC
I tried rebuilding tar with 64-bit time_t. It built successfully and unpacked the archive without warnings. But a compiler produced few warnings about accessing 8th byte of 4-byte variable. I guess there are still some hidden mistakes in the code of tar.

Comment 2 Ben Cotton 2022-08-09 13:17:13 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 37 development cycle.
Changing version to 37.

Comment 3 Pavel Raiskup 2023-06-02 12:53:58 UTC
Switching against Matěj who promised to take a look some time ago.
Is there any update on this?

FTR, in the meantime, this has been "fixed" by ignoring the whole testsuite:
https://pkgs.fedoraproject.org/rpms/tar/c/7a8a9400be3434c8e7c175641d6711ef7a25dbf6

Comment 4 Aoife Moloney 2023-11-23 00:12:56 UTC
This message is a reminder that Fedora Linux 37 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 37 on 2023-12-05.
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
'version' of '37'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 37 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 Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 5 Pavel Raiskup 2023-11-27 07:11:50 UTC
Moving to F38 since all the tests are still just skipped.


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