>>> flashcache-utils: Building main/flashcache-utils 3.1.3-r1 (using abuild 3.9.0-r2) started Tue, 26 Jul 2022 04:54:41 +0000 >>> flashcache-utils: Checking sanity of /home/buildozer/aports/main/flashcache-utils/APKBUILD... >>> flashcache-utils: Analyzing dependencies... >>> flashcache-utils: Installing for build: build-base linux-headers (1/2) Installing linux-headers (5.16.7-r1) (2/2) Installing .makedepends-flashcache-utils (20220726.045442) OK: 266 MiB in 103 packages >>> flashcache-utils: Cleaning up srcdir >>> flashcache-utils: Cleaning up pkgdir >>> flashcache-utils: Fetching https://distfiles.alpinelinux.org/distfiles/edge//flashcache-3.1.3.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 140k 100 140k 0 0 185k 0 --:--:-- --:--:-- --:--:-- 185k >>> flashcache-utils: Fetching https://distfiles.alpinelinux.org/distfiles/edge//flashcache-3.1.3.tar.gz >>> flashcache-utils: Checking sha512sums... flashcache-3.1.3.tar.gz: OK >>> flashcache-utils: Unpacking /var/cache/distfiles/edge//flashcache-3.1.3.tar.gz... make: Entering directory '/home/buildozer/aports/main/flashcache-utils/src/flashcache-3.1.3/src/utils' gcc -c -Os -fomit-frame-pointer -I.. -I. -DCOMMIT_REV="\"v20220715-688-gc11df4680731\"" -g flashcache_create.c -o flashcache_create.o gcc -c -Os -fomit-frame-pointer -I.. -I. -DCOMMIT_REV="\"v20220715-688-gc11df4680731\"" -g flashcache_destroy.c -o flashcache_destroy.o 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} 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} gcc -c -Os -fomit-frame-pointer -I.. -I. -DCOMMIT_REV="\"v20220715-688-gc11df4680731\"" -g flashcache_load.c -o flashcache_load.o gcc -c -Os -fomit-frame-pointer -I.. -I. -DCOMMIT_REV="\"v20220715-688-gc11df4680731\"" -g flashcache_setioctl.c -o flashcache_setioctl.o 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 -c -Os -fomit-frame-pointer -I.. -I. -DCOMMIT_REV="\"v20220715-688-gc11df4680731\"" -g get_agsize.c -o get_agsize.o gcc flashcache_create.o -o flashcache_create 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} gcc flashcache_destroy.o -o flashcache_destroy gcc flashcache_load.o -o flashcache_load gcc flashcache_setioctl.o -o flashcache_setioctl gcc get_agsize.o -o get_agsize make: Leaving directory '/home/buildozer/aports/main/flashcache-utils/src/flashcache-3.1.3/src/utils' >>> WARNING: flashcache-utils: APKBUILD does not run any tests! Alpine policy will soon require that packages have any relevant testsuites run during the build process. To fix, either define a check() function, or declare !check in $options to indicate the package does not have a testsuite. >>> flashcache-utils: Entering fakeroot... install -d -m 755 /home/buildozer/aports/main/flashcache-utils/pkg/flashcache-utils/sbin/ install -m 755 flashcache_create flashcache_destroy flashcache_load flashcache_setioctl get_agsize /home/buildozer/aports/main/flashcache-utils/pkg/flashcache-utils/sbin/ >>> flashcache-utils*: Running postcheck for flashcache-utils >>> flashcache-utils*: Preparing package flashcache-utils... >>> flashcache-utils*: Stripping binaries >>> flashcache-utils*: Scanning shared objects >>> flashcache-utils*: Tracing dependencies... so:libc.musl-armv7.so.1 >>> flashcache-utils*: Package size: 56.0 KB >>> flashcache-utils*: Compressing data... >>> flashcache-utils*: Create checksum... >>> flashcache-utils*: Create flashcache-utils-3.1.3-r1.apk >>> flashcache-utils: Build complete at Tue, 26 Jul 2022 04:54:43 +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 (20220726.045442) (2/2) Purging linux-headers (5.16.7-r1) OK: 259 MiB in 101 packages >>> flashcache-utils: Updating the main/armv7 repository index... >>> flashcache-utils: Signing the index...