summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Richard W.M. Jones [Mon, 1 Feb 2021 10:07:02 +0000 (10:07 +0000)]
Open Unix.LargeFile to avoid "lstat: Value too large for defined data type".
On 32 bit platforms, because OCaml native ints are limited to 31 bits,
there is a trap in the normal Unix.stat, Unix.lstat functions where
any field in the stat struct may overflow. The result is random
errors like:
supermin: error: lstat: Value too large for defined data type: /tmp/tmp.Ss9aYEBASm/d2/root
You would probably only see this on armv7.
The OCaml Unix module has a "LargeFile" submodule which fixes this by
using int64 for some (unfortunately not all) fields.
For more information see the OCaml sources, file
otherlibs/unix/stat.c, all instances of "EOVERFLOW".
Gbp-Pq: Name 0001-Open-Unix.LargeFile-to-avoid-lstat-Value-too-large-f.patch
Raspbian forward porter [Sun, 29 Aug 2021 20:59:16 +0000 (21:59 +0100)]
supermin (5.2.1-5+rpi1) bookworm-staging; urgency=medium
[changes brought forward from 5.1.11-1+rpi1 by Peter Michael Green <plugwash@raspbian.org> at Fri, 28 Nov 2014 05:45:23 +0000]
* Build-depend on raspbian kernel rather than debian armmp kernel.
[changes brought forward from 5.1.20-1+rpi2 by Peter Michael Green <plugwash@raspbian.org> at Tue, 03 Dec 2019 01:42:22 +0000]
* Drop linux-image-rpi build-dependency, we currently don't have kernels
in raspbian bullseye.
* Disable testsuite.
* Fix clean target.
[dgit import unpatched supermin 5.2.1-5+rpi1]
Raspbian forward porter [Sun, 29 Aug 2021 20:59:16 +0000 (21:59 +0100)]
Import supermin_5.2.1-5+rpi1.debian.tar.xz
[dgit import tarball supermin 5.2.1-5+rpi1 supermin_5.2.1-5+rpi1.debian.tar.xz]
Hilko Bengen [Tue, 2 Feb 2021 21:59:30 +0000 (21:59 +0000)]
Import supermin_5.2.1.orig.tar.gz
[dgit import orig supermin_5.2.1.orig.tar.gz]