Bugzilla – Bug 1203310
perl-DBD-MariaDB: mariadb y2038 problem
Last modified: 2023-02-28 10:21:10 UTC
While working on reproducible builds for openSUSE, I found that our perl-DBD-MariaDB package failed tests with > 2038-01-20 0:00:08 0 [ERROR] This server doesn't support dates later than 2038 To reproduce: osc co openSUSE:Factory/perl-DBD-MariaDB && cd $_ osc build --noservice --trust-all-projects --vm-type=kvm \ --alternative-project=home:bmwiedemann:reproducible \ --build-opt=--vm-custom-opt="-rtc base=2038-01-20T00:00:00" \ openSUSE_Tumbleweed x86_64 Background: As part of my work on reproducible builds for openSUSE, I check that software still gives identical build results in the future. The usual offset is +16 years, because that is how long I expect some software will be used in some places. This showed up failing tests in our package build. See https://reproducible-builds.org/ for why this matters.
Also affected: python-PyMySQL python-sortinghat so this likely needs to be fixed in the mariadb package.
I am assigning the bug to myself since the the issue is in mariadb server. We are currently waiting for them to upstream mysql fix.