Bug#1016904: boost1.74: Please include patch to fix FTBFS on qemu-user
Usertags: m68k sh4
boost1.74 currently FTBFS on m68k and sh4 due to a filesystem compatiblity
issue that is present on qemu-user . Both m68k and sh4 use qemu-based
buildds which is why these architectures are affected by this problem.
Upstream has come up with a workaround for the problem which is present in
newer versions of the b2 utility .
Could you backport the patch to boost1.74 so that the builds get fixed on
m68k and sh4?
Please see the attached patch.
>  https://buildd.debian.org/status/fetch.php?pkg=boost1.74&arch=m68k&ver=1.74.0-16.1&stamp=1659775192&raw=0
>  https://github.com/bfgroup/b2/issues/49
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
@@ -31,4 +31,13 @@ http://www.boost.org/LICENSE_1_0.txt)
+// To work around QEMU failures on mixed mode situations (32 vs 64) we need to
+// enable partial LFS support in system headers. And we need to do this before
+// any system headers are included.
+#if !defined(NT) && !defined(VMS)
+# define _FILE_OFFSET_BITS 64