Bug 2228368
| Summary: | Change in time_t size on i686 between 0-43.20220212git.fc37 to 0-46.20230706git.fc38 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Petr Pisar <ppisar> |
| Component: | gnulib | Assignee: | Mosaab Alzoubi <moceap> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 38 | CC: | arjun.is, codonell, dj, fberat, fweimer, jlaw, mcermak, mcoufal, mfabian, michel, moceap, pfrankli, sipoyare, skolosov, zbyszek |
| Target Milestone: | --- | Keywords: | Regression |
| Target Release: | --- | ||
| Hardware: | i686 | ||
| OS: | Unspecified | ||
| URL: | https://artifacts.dev.testing-farm.io/d0b37bc4-5366-4d8c-8f70-b4d82e9e12f2/ | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-08-02 09:25:22 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2227872 | ||
|
Description
Petr Pisar
2023-08-02 07:52:45 UTC
Diffing the build.log from the two versions shows this difference: @@ -202,10 +196,13 @@ checking for resolv.h... yes checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no +checking for special C compiler options needed for large files... no +checking for _FILE_OFFSET_BITS value needed for large files... 64 +checking for time_t past the year 2038... no +checking for 64-bit time_t with _TIME_BITS=64... yes +checking whether make supports nested variables... (cached) yes checking build system type... i686-redhat-linux-gnu checking host system type... i686-redhat-linux-gnu -checking for gcc option to enable large file support... -D_FILE_OFFSET_BITS=64 -checking whether make supports nested variables... (cached) yes checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep This likely comes from gnulib. I think it's since been reverted there because the ABI impact was deemed to high. In any case, it's not a glibc bug because the package build process explicitly requested a change of the time_t size. Good catch. I confirm that the change is triggered by upgrading gnulib-devel from 0-43.20220212git.fc37 to 0-46.20230706git.fc38. The _TIME_BITS macro was defined in ./config.h generated with configure script. With the new gnulib-devel, the macro is not defined. The old gnulib defaults to: # ./configure --help |grep year --disable-year2038 omit support for timestamps past the year 2038 The new gnulib changed the default: --enable-year2038 support timestamps after 2038 |