community/cachefilesd-inotify: build failure LFS
LFS issue, fails to build
>>> cachefilesd-inotify: Unpacking /var/cache/distfiles/v3.19/cachefilesd-inotify-0.11.0.tar.bz2...
grep: /etc/rpm: No such file or directory
gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -Wl,--as-needed,-O1,--sort-common -o cachefilesd cachefilesd.c
cachefilesd.c:234:85: warning: 'struct stat64' declared inside parameter list will not be visible outside of this definition or declaration
234 | static struct object *create_object(struct object *parent, const char *name, struct stat64 *st);
| ^~~~~~
cachefilesd.c:1006:44: warning: 'struct stat64' declared inside parameter list will not be visible outside of this definition or declaration
1006 | struct stat64 *st)
| ^~~~~~
cachefilesd.c:1004:23: error: conflicting types for 'create_object'; have 'struct object *(struct object *, const char *, struct stat64 *)'
1004 | static struct object *create_object(struct object *parent,
| ^~~~~~~~~~~~~
cachefilesd.c:234:23: note: previous declaration of 'create_object' with type 'struct object *(struct object *, const char *, struct stat64 *)'
234 | static struct object *create_object(struct object *parent, const char *name, struct stat64 *st);
| ^~~~~~~~~~~~~
cachefilesd.c: In function 'create_object':
cachefilesd.c:1015:33: error: invalid use of undefined type 'struct stat64'
1015 | if (p->ino <= st->st_ino) {
| ^~
cachefilesd.c:1016:41: error: invalid use of undefined type 'struct stat64'
1016 | if (p->ino == st->st_ino) {
| ^~
cachefilesd.c:1038:25: error: invalid use of undefined type 'struct stat64'
1038 | object->ino = st->st_ino;
| ^~
cachefilesd.c:1039:27: error: invalid use of undefined type 'struct stat64'
1039 | object->atime = st->st_atime;
| ^~
cachefilesd.c: In function 'build_cull_table':
cachefilesd.c:1308:23: error: storage size of 'st' isn't known
1308 | struct stat64 st;
| ^~
cachefilesd.c:1368:13: warning: implicit declaration of function 'fstatat64'; did you mean 'fstatat'? [-Wimplicit-function-declaration]
1368 | if (fstatat64(dirfd(curr->dir), de->d_name, &st, 0) < 0) {
| ^~~~~~~~~
| fstatat
cachefilesd.c: In function 'cull_object':
cachefilesd.c:1632:23: error: storage size of 'st' isn't known
1632 | struct stat64 st;
| ^~
make: *** [Makefile:44: cachefilesd] Error 1
>>> ERROR: cachefilesd-inotify: build failed