>>> flashcache-utils: Building main/flashcache-utils 3.1.3-r3 (using abuild 3.14.0-r0) started Fri, 18 Oct 2024 13:18:02 +0000 >>> flashcache-utils: Validating /home/buildozer/aports/main/flashcache-utils/APKBUILD... >>> WARNING: flashcache-utils: Setting the maintainer with a comment is deprecated. Use maintainer="Natanael Copa " instead >>> flashcache-utils: Analyzing dependencies... >>> flashcache-utils: Installing for build: build-base linux-headers (1/2) Installing linux-headers (6.6-r1) (2/2) Installing .makedepends-flashcache-utils (20241018.131803) OK: 402 MiB in 102 packages >>> flashcache-utils: Cleaning up srcdir >>> flashcache-utils: Cleaning up pkgdir >>> flashcache-utils: Cleaning up tmpdir >>> flashcache-utils: Fetching https://distfiles.alpinelinux.org/distfiles/v3.21/flashcache-3.1.3.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) saving to '/var/cache/distfiles/v3.21/flashcache-3.1.3.tar.gz.part' flashcache-3.1.3.tar 56% |****************** | 81674 0:00:00 ETA flashcache-3.1.3.tar 100% |********************************| 140k 0:00:00 ETA '/var/cache/distfiles/v3.21/flashcache-3.1.3.tar.gz.part' saved >>> flashcache-utils: Fetching https://distfiles.alpinelinux.org/distfiles/v3.21/flashcache-3.1.3.tar.gz >>> flashcache-utils: Checking sha512sums... flashcache-3.1.3.tar.gz: OK >>> flashcache-utils: Unpacking /var/cache/distfiles/v3.21/flashcache-3.1.3.tar.gz... make: Entering directory '/home/buildozer/aports/main/flashcache-utils/src/flashcache-3.1.3/src/utils' fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git gcc -c -Os -fstack-clash-protection -Wformat -Werror=format-security -I.. -I. -DCOMMIT_REV="\"\"" -g flashcache_create.c -o flashcache_create.o fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git gcc -c -Os -fstack-clash-protection -Wformat -Werror=format-security -I.. -I. -DCOMMIT_REV="\"\"" -g flashcache_destroy.c -o flashcache_destroy.o fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git gcc -c -Os -fstack-clash-protection -Wformat -Werror=format-security -I.. -I. -DCOMMIT_REV="\"\"" -g flashcache_load.c -o flashcache_load.o fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git gcc -c -Os -fstack-clash-protection -Wformat -Werror=format-security -I.. -I. -DCOMMIT_REV="\"\"" -g flashcache_setioctl.c -o flashcache_setioctl.o fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git gcc -c -Os -fstack-clash-protection -Wformat -Werror=format-security -I.. -I. -DCOMMIT_REV="\"\"" -g get_agsize.c -o get_agsize.o fatal: not a git repository (or any of the parent directories): .git flashcache_create.c: In function 'main': flashcache_create.c:272:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'sector_t' {aka 'long long unsigned int'} [-Wformat=] 272 | printf("block_size %lu, md_block_size %lu, cache_size %lu\n", | ~~^ | | | long unsigned int | %llu 273 | block_size, md_block_size, cache_size); | ~~~~~~~~~~ | | | sector_t {aka long long unsigned int} flashcache_create.c:272:57: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'sector_t' {aka 'long long unsigned int'} [-Wformat=] 272 | printf("block_size %lu, md_block_size %lu, cache_size %lu\n", | ~~^ | | | long unsigned int | %llu 273 | block_size, md_block_size, cache_size); | ~~~~~~~~~~~~~ | | | sector_t {aka long long unsigned int} flashcache_create.c:272:73: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'sector_t' {aka 'long long unsigned int'} [-Wformat=] 272 | printf("block_size %lu, md_block_size %lu, cache_size %lu\n", | ~~^ | | | long unsigned int | %llu 273 | block_size, md_block_size, cache_size); | ~~~~~~~~~~ | | | sector_t {aka long long unsigned int} flashcache_create.c:275:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'sector_t' {aka 'long long unsigned int'} [-Wformat=] 275 | printf("block_size %lu, cache_size %lu\n", | ~~^ | | | long unsigned int | %llu 276 | block_size, cache_size); | ~~~~~~~~~~ | | | sector_t {aka long long unsigned int} flashcache_create.c:275:54: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'sector_t' {aka 'long long unsigned int'} [-Wformat=] 275 | printf("block_size %lu, cache_size %lu\n", | ~~^ | | | long unsigned int | %llu 276 | block_size, cache_size); | ~~~~~~~~~~ | | | sector_t {aka long long unsigned int} get_agsize.c: In function 'main': get_agsize.c:90:44: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 90 | printf("agsize = %ld agcount = %d, t1=%d t2=%d\n", | ~~^ | | | long int | %d 91 | agsize/1024, agcount, t1/1024, t2/1024); | ~~~~~~~~~~~ | | | size_t {aka unsigned int} get_agsize.c:93:33: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 93 | printf("best agsize = %ld agcount=%d\n", | ~~^ | | | long int | %d 94 | vsize / (best_agcount * 1024), best_agcount); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | size_t {aka unsigned int} flashcache_create.c:321:115: warning: format '%d' expects argument of type 'int', but argument 6 has type 'sector_t' {aka 'long long unsigned int'} [-Wformat=] 321 | fprintf(stderr, "%s: SSD device (%s) sector size (%d) cannot be larger than metadata block size (%d) !\n", | ~^ | | | int | %lld 322 | pname, ssd_devname, cache_sectorsize, md_block_size * 512); | ~~~~~~~~~~~~~~~~~~~ | | | sector_t {aka long long unsigned int} flashcache_create.c:326:75: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'sector_t' {aka 'long long unsigned int'} [-Wformat=] 326 | fprintf(stderr, "%s: Cache size is larger than ssd size %lu/%lu\n", | ~~^ | | | long unsigned int | %llu 327 | pname, cache_size, cache_devsize); | ~~~~~~~~~~ | | | sector_t {aka long long unsigned int} flashcache_create.c:326:79: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'sector_t' {aka 'long long unsigned int'} [-Wformat=] 326 | fprintf(stderr, "%s: Cache size is larger than ssd size %lu/%lu\n", | ~~^ | | | long unsigned int | %llu 327 | pname, cache_size, cache_devsize); | ~~~~~~~~~~~~~ | | | sector_t {aka long long unsigned int} flashcache_create.c:340:48: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'sector_t' {aka 'long long unsigned int'} [-Wformat=] 340 | printf("Flashcache metadata will use %luMB of your %luMB main memory\n", | ~~^ | | | long unsigned int | %llu 341 | ram_needed >> 20, i.totalram >> 20); | ~~~~~~~~~~~~~~~~ | | | sector_t {aka long long unsigned int} flashcache_create.c:349:67: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'int' [-Wformat=] 349 | fprintf(stderr, "%s: Invalid Disk Associativity %ld\n", | ~~^ | | | long int | %d 350 | pname, disk_associativity); | ~~~~~~~~~~~~~~~~~~ | | | int flashcache_create.c:358:40: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'sector_t' {aka 'long long unsigned int'} [-Wformat=] 358 | sprintf(dmsetup_cmd, "echo 0 %lu flashcache %s %s %s %d 2 %lu %lu %d %lu %lu" | ~~^ | | | long unsigned int | %llu 359 | " | dmsetup create %s", 360 | disk_devsize, disk_devname, ssd_devname, cachedev, cache_mode, block_size, | ~~~~~~~~~~~~ | | | sector_t {aka long long unsigned int} flashcache_create.c:358:69: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'sector_t' {aka 'long long unsigned int'} [-Wformat=] 358 | sprintf(dmsetup_cmd, "echo 0 %lu flashcache %s %s %s %d 2 %lu %lu %d %lu %lu" | ~~^ | | | long unsigned int | %llu 359 | " | dmsetup create %s", 360 | disk_devsize, disk_devname, ssd_devname, cachedev, cache_mode, block_size, | ~~~~~~~~~~ | | | sector_t {aka long long unsigned int} flashcache_create.c:358:73: warning: format '%lu' expects argument of type 'long unsigned int', but argument 9 has type 'sector_t' {aka 'long long unsigned int'} [-Wformat=] 358 | sprintf(dmsetup_cmd, "echo 0 %lu flashcache %s %s %s %d 2 %lu %lu %d %lu %lu" | ~~^ | | | long unsigned int | %llu ...... 361 | cache_size, associativity, disk_associativity, md_block_size, | ~~~~~~~~~~ | | | sector_t {aka long long unsigned int} flashcache_create.c:358:80: warning: format '%lu' expects argument of type 'long unsigned int', but argument 11 has type 'int' [-Wformat=] 358 | sprintf(dmsetup_cmd, "echo 0 %lu flashcache %s %s %s %d 2 %lu %lu %d %lu %lu" | ~~^ | | | long unsigned int | %u ...... 361 | cache_size, associativity, disk_associativity, md_block_size, | ~~~~~~~~~~~~~~~~~~ | | | int flashcache_create.c:358:84: warning: format '%lu' expects argument of type 'long unsigned int', but argument 12 has type 'sector_t' {aka 'long long unsigned int'} [-Wformat=] 358 | sprintf(dmsetup_cmd, "echo 0 %lu flashcache %s %s %s %d 2 %lu %lu %d %lu %lu" | ~~^ | | | long unsigned int | %llu ...... 361 | cache_size, associativity, disk_associativity, md_block_size, | ~~~~~~~~~~~~~ | | | sector_t {aka long long unsigned int} flashcache_load.c: In function 'main': flashcache_load.c:164:68: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'sector_t' {aka 'long long unsigned int'} [-Wformat=] 164 | fprintf(stderr, "%s: Cache size mismatch, expect %lu, given %lu\n", | ~~^ | | | long unsigned int | %llu 165 | pname, sb->cache_devsize, cache_devsize); | ~~~~~~~~~~~~~~~~~ | | | sector_t {aka long long unsigned int} flashcache_load.c:164:79: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'sector_t' {aka 'long long unsigned int'} [-Wformat=] 164 | fprintf(stderr, "%s: Cache size mismatch, expect %lu, given %lu\n", | ~~^ | | | long unsigned int | %llu 165 | pname, sb->cache_devsize, cache_devsize); | ~~~~~~~~~~~~~ | | | sector_t {aka long long unsigned int} flashcache_load.c:169:67: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'sector_t' {aka 'long long unsigned int'} [-Wformat=] 169 | fprintf(stderr, "%s: Disk size mismatch, expect %lu, given %lu\n", | ~~^ | | | long unsigned int | %llu 170 | pname, sb->disk_devsize, disk_devsize); | ~~~~~~~~~~~~~~~~ | | | sector_t {aka long long unsigned int} flashcache_load.c:169:78: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'sector_t' {aka 'long long unsigned int'} [-Wformat=] 169 | fprintf(stderr, "%s: Disk size mismatch, expect %lu, given %lu\n", | ~~^ | | | long unsigned int | %llu 170 | pname, sb->disk_devsize, disk_devsize); | ~~~~~~~~~~~~ | | | sector_t {aka long long unsigned int} flashcache_load.c:179:40: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'sector_t' {aka 'long long unsigned int'} [-Wformat=] 179 | sprintf(dmsetup_cmd, "echo 0 %lu flashcache %s %s %s %d 1 | dmsetup create %s", | ~~^ | | | long unsigned int | %llu 180 | disk_devsize, disk_devname, ssd_devname, cachedev, cache_mode, cachedev); | ~~~~~~~~~~~~ | | | sector_t {aka long long unsigned int} gcc get_agsize.o -o get_agsize fatal: not a git repository (or any of the parent directories): .git gcc flashcache_destroy.o -o flashcache_destroy fatal: not a git repository (or any of the parent directories): .git gcc flashcache_load.o -o flashcache_load fatal: not a git repository (or any of the parent directories): .git gcc flashcache_setioctl.o -o flashcache_setioctl fatal: not a git repository (or any of the parent directories): .git gcc flashcache_create.o -o flashcache_create fatal: not a git repository (or any of the parent directories): .git make: Leaving directory '/home/buildozer/aports/main/flashcache-utils/src/flashcache-3.1.3/src/utils' >>> flashcache-utils: Entering fakeroot... make: Entering directory '/home/buildozer/aports/main/flashcache-utils/src/flashcache-3.1.3/src/utils' install -d -m 755 /home/buildozer/aports/main/flashcache-utils/pkg/flashcache-utils/sbin/ fatal: not a git repository (or any of the parent directories): .git install -m 755 flashcache_create flashcache_destroy flashcache_load flashcache_setioctl get_agsize /home/buildozer/aports/main/flashcache-utils/pkg/flashcache-utils/sbin/ make: Leaving directory '/home/buildozer/aports/main/flashcache-utils/src/flashcache-3.1.3/src/utils' >>> flashcache-utils*: Running postcheck for flashcache-utils >>> WARNING: flashcache-utils*: Packages must not put anything under /sbin, use /usr/bin instead >>> flashcache-utils*: Preparing package flashcache-utils... >>> flashcache-utils*: Stripping binaries >>> flashcache-utils*: Scanning shared objects >>> flashcache-utils*: Tracing dependencies... so:libc.musl-x86.so.1 >>> flashcache-utils*: Package size: 70.1 KB >>> flashcache-utils*: Compressing data... >>> flashcache-utils*: Create checksum... >>> flashcache-utils*: Create flashcache-utils-3.1.3-r3.apk >>> flashcache-utils: Build complete at Fri, 18 Oct 2024 13:18:04 +0000 elapsed time 0h 0m 2s >>> flashcache-utils: Cleaning up srcdir >>> flashcache-utils: Cleaning up pkgdir >>> flashcache-utils: Uninstalling dependencies... (1/2) Purging .makedepends-flashcache-utils (20241018.131803) (2/2) Purging linux-headers (6.6-r1) OK: 397 MiB in 100 packages >>> flashcache-utils: Updating the main/x86 repository index... >>> flashcache-utils: Signing the index...