Bugzilla – Bug 1217049
bin86/make: FTBFS after 2038
Last modified: 2023-11-13 15:34:43 UTC
While working on reproducible builds for openSUSE, I found that our bin86 package fails to build after 2038-01-19 (31-bit int overflow) Steps to reproduce: osc co openSUSE:Factory/bin86 && cd $_ osc build --clean --nopreinstallimage --noservice --vm-type=kvm \ --build-opt=--vm-custom-opt="-rtc base=2038-01-20T00:00:00" standard Actual results: ncc -Mn -O -D__LIBC__ -DL___idiv bcc_int.c -c -o __idiv.o ar86 r /home/abuild/rpmbuild/BUILD/dev86-0.16.21/libc/libc.a __idiv.o make[4]: *** Invalid date for archive /home/abuild/rpmbuild/BUILD/dev86-0.16.21/libc/libc.a member __ldivmod.o. Stop. rm __ldivmod.o make[4]: Leaving directory '/home/abuild/rpmbuild/BUILD/dev86-0.16.21/libc/bcc' make[3]: *** [Makefile:38: /home/abuild/rpmbuild/BUILD/dev86-0.16.21/libc/libc.a] Error 1
Huh. I guess it's time for dosemu to not rely on bin86 anymore, or at least to get rid of that dependency during the next 15 years.
In fact it doesn't rely on it anymore since approximately 2001 with this entry from ChangeLog.old: ------ 2001/02/09 ver. 1.1.1.2 unofficial pre-release From Bart - Converted all as86 code to gas using .code16 Now we just need binutils > 2.9.1.0.25 and now as86 anymore ------ Submitted sr#1125682 to remove the BuildRequires on bin86. (CCing Steffen). Once accepted I can drop bin86.