tags 1064453 + patch thanks The upstream fixed this by accident in either [1] (adding confing.h to fdupes.h) or [2] (adding config.h to removeifnotchanged.c). The attached patch fixes the problem on my armhf machine.
-- Best regards, Ivan [1]: https://github.com/adrianlopezroche/fdupes/commit/ab5ef95e2b2633d0ca1a5ae0b8ac41abde160100#diff-6bb3626e773afb49e4d7267d0caa25a5d5b3f65d9705477654a5df6b95bcbe11 [2]: https://github.com/adrianlopezroche/fdupes/commit/8b223d6a2037b6c28d4c00b60dbc9d359309c07f#diff-4d4b4474dd3708d45d2c9ac887f496a3b16342221db4d139a8110c452e771b2a
Description: Include config.h from fdupes.h The struct _file defined in fdupes.h contains members of type off_t. Depending on whether "config.h" is #included, this could resolve to different types. In particular, removeifnotchanged.c does not #include "config.h" and thus would get "corrupted" structs on systems where off_t is not 64-bit by default (like armhf). Author: Ivan Krylov <ikry...@disroot.org> Bug-Debian: https://bugs.debian.org/1064453 Forwarded: not-needed Last-Update: 2024-02-22 --- --- fdupes-2.2.1.orig/fdupes.h +++ fdupes-2.2.1/fdupes.h @@ -22,6 +22,7 @@ #ifndef FDUPES_H #define FDUPES_H +#include "config.h" #include <sys/stat.h> #include "md5/md5.h"