Bug 2113741 - tar: FTBFS in Fedora rawhide/f37
Summary: tar: FTBFS in Fedora rawhide/f37
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: tar
Version: 37
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matej Mužila
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 2092964
Blocks: F38FTBFS F37FTBFS
TreeView+ depends on / blocked
 
Reported: 2022-08-02 00:18 UTC by Fedora Release Engineering
Modified: 2023-08-28 06:05 UTC (History)
5 users (show)

Fixed In Version: tar-1.34-5.fc37
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-10 22:31:39 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (32.00 KB, text/plain)
2022-08-02 00:18 UTC, Fedora Release Engineering
no flags Details
root.log (32.00 KB, text/plain)
2022-08-02 00:18 UTC, Fedora Release Engineering
no flags Details
state.log (933 bytes, text/plain)
2022-08-02 00:18 UTC, Fedora Release Engineering
no flags Details

Description Fedora Release Engineering 2022-08-02 00:18:08 UTC
tar failed to build from source in Fedora rawhide/f37

https://koji.fedoraproject.org/koji/taskinfo?taskID=89923543


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Please fix tar at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
tar will be orphaned. Before branching of Fedora 38,
tar will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/

Comment 1 Fedora Release Engineering 2022-08-02 00:18:11 UTC
Created attachment 1902640 [details]
build.log

file build.log too big, will only attach last 32768 bytes

Comment 2 Fedora Release Engineering 2022-08-02 00:18:12 UTC
Created attachment 1902641 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2022-08-02 00:18:13 UTC
Created attachment 1902642 [details]
state.log

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

Comment 5 Pavel Raiskup 2022-09-07 04:59:49 UTC
Sorry I haven't found time to take a look at this, yet.
Some related upstream discussion:
https://www.mail-archive.com/bug-tar@gnu.org/msg06038.html

Comment 6 Matej Mužila 2022-09-27 14:10:55 UTC
I think that we have 2 options:
 - Disable the tests involving 64bit time_t on i686 and armv7hl (like [1]).
 - Use development version of tar, with year2038 gnu module [2,3]. This would include bootstrapping of tar and another issues.
 
I'd suggest to apply the patch [1] temporarily and wait for new release of tar that will include [2].

Pavle, what do you think about it?

---

[1] https://build.opensuse.org/package/view_file/Base:System/tar/tests-skip-time01-on-32bit-time_t.patch
[2] https://git.savannah.gnu.org/cgit/tar.git/commit/?id=8184adddab4f07a44134fde0311e415ec112f3b3
[3] https://www.mail-archive.com/bug-tar@gnu.org/msg06040.html

Comment 7 Kamil Dudka 2022-09-29 08:11:54 UTC
Matej, you can have a look how this was fixed in findutils:

    https://src.fedoraproject.org/rpms/findutils/c/7222ae64937c7e34ebbe41e33b245f59310cfb2a

There was no need for bootstrapping during the Fedora build.

Comment 8 Fedora Update System 2022-11-03 10:48:35 UTC
FEDORA-2022-acab996d3d has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-acab996d3d

Comment 9 Fedora Update System 2022-11-04 08:54:55 UTC
FEDORA-2022-acab996d3d has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-acab996d3d`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-acab996d3d

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

Comment 10 Fedora Update System 2022-11-10 22:31:39 UTC
FEDORA-2022-acab996d3d has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 Pavel Raiskup 2023-08-28 06:05:04 UTC
Provenpackager stepped in, clearing needinfo.
https://pkgs.fedoraproject.org/rpms/tar/c/7a8a9400be3434c8e7c175641d6711ef7a25dbf6


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