Closed thib1984 closed 3 years ago
Nice find! I'll look in to it.
Confirming on a similar device:
$ uname -a
Linux ... 5.10.17-v7+ #1421 SMP Thu May 27 13:59:01 BST 2021 armv7l GNU/Linux
$ lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 10 (buster)
Release: 10
Codename: buster
$ detox -V
detox 1.3.0
Test:
$ mkdir test
$ cd test
$ nice ionice dd if=/dev/zero of='hi there' count=$((1024*1024)) bs=$(( (1024*4) + 1))
1048576+0 records in
1048576+0 records out
4296015872 bytes (4.3 GB, 4.0 GiB) copied, 240.906 s, 17.8 MB/s
$ du -sh .
4.1G .
$ detox -v *
Scanning: hi there
hi there: Value too large for defined data type
Confirmed.
OK. So, the problem occurs on raspbian with the package available from apt.
I tried it with detox v1.4.3 and v2.0.0-beta1 on raspbian 10 on armv7l, same problem.
I tried it with detox v1.4.3 and v2.0.0-beta1 on ubuntu 20.04 on x86_64, and it works.
I tried it with detox v1.4.3 and v2.0.0-beta1 on debian 10 on x86_64, and it works.
The problem is specific to raspbian 10 and/or the armv7l chipset. The link above provides this link:
https://www.gnu.org/software/coreutils/faq/coreutils-faq.html#Value-too-large-for-defined-data-type
Which says autoconf can be configured to fix this.
Fix released in v1.4.4. Notified Debian package maintainer.
Thanks! I have tested, with https://github.com/dharple/detox#install-stable-from-repository, and it's ok now :) Very quick correction, thank you very much!
You're welcome!
In my raspberry
For bigger files than 4Go, i obtain the error "Value too large for defined data type" With classic "mv" command, i can rename the file.
For smaller files, no problem.
Perhaps an idea in this link https://kodlogs.com/177607/value-too-large-for-defined-data-type ?
I use the 1.3.0 version