>>> cachefilesd-inotify: Building community/cachefilesd-inotify 0.11.0-r1 (using abuild 3.12.0-r0) started Thu, 26 Oct 2023 18:15:43 +0000 >>> cachefilesd-inotify: Checking sanity of /home/buildozer/aports/community/cachefilesd-inotify/APKBUILD... >>> cachefilesd-inotify: Analyzing dependencies... >>> cachefilesd-inotify: Installing for build: build-base attr rpm file (1/11) Installing libbz2 (1.0.8-r6) (2/11) Installing xz-libs (5.4.4-r0) (3/11) Installing libarchive (3.7.2-r0) (4/11) Installing musl-fts (1.2.7-r6) (5/11) Installing libelf (0.189-r3) (6/11) Installing libintl (0.22.3-r0) (7/11) Installing lua5.4-libs (5.4.6-r1) (8/11) Installing readline (8.2.1-r2) (9/11) Installing sqlite-libs (3.43.2-r0) (10/11) Installing rpm (4.19.0-r0) (11/11) Installing .makedepends-cachefilesd-inotify (20231026.181547) Executing busybox-1.36.1-r13.trigger OK: 274 MiB in 113 packages >>> cachefilesd-inotify: Cleaning up srcdir >>> cachefilesd-inotify: Cleaning up pkgdir >>> cachefilesd-inotify: Cleaning up tmpdir >>> cachefilesd-inotify: Fetching https://distfiles.alpinelinux.org/distfiles/v3.19//cachefilesd-inotify-0.11.0.tar.bz2 >>> cachefilesd-inotify: Fetching https://distfiles.alpinelinux.org/distfiles/v3.19//cachefilesd-inotify-0.11.0.tar.bz2 >>> cachefilesd-inotify: Checking sha512sums... cachefilesd-inotify-0.11.0.tar.bz2: OK cachefilesd.initd: OK >>> cachefilesd-inotify: Unpacking /var/cache/distfiles/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 'destroy_unexpected_object': cachefilesd.c:1145:38: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=] 1145 | sprintf(namebuf, "x%lxx%xx", tv.tv_sec, uniquifier++); | ~~^ ~~~~~~~~~ | | | | | time_t {aka long long int} | long unsigned int | %llx 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 >>> cachefilesd-inotify: Uninstalling dependencies... (1/11) Purging .makedepends-cachefilesd-inotify (20231026.181547) (2/11) Purging rpm (4.19.0-r0) (3/11) Purging libarchive (3.7.2-r0) (4/11) Purging libelf (0.189-r3) (5/11) Purging libintl (0.22.3-r0) (6/11) Purging lua5.4-libs (5.4.6-r1) (7/11) Purging musl-fts (1.2.7-r6) (8/11) Purging readline (8.2.1-r2) (9/11) Purging sqlite-libs (3.43.2-r0) (10/11) Purging xz-libs (5.4.4-r0) (11/11) Purging libbz2 (1.0.8-r6) Executing busybox-1.36.1-r13.trigger OK: 270 MiB in 102 packages