>>> cramfs: Building main/cramfs 1.1-r7 (using abuild 3.13.0-r5) started Wed, 07 Aug 2024 11:47:55 +0000 >>> cramfs: Checking sanity of /home/buildozer/aports/main/cramfs/APKBUILD... >>> cramfs: Analyzing dependencies... >>> cramfs: Installing for build: build-base zlib-dev linux-headers (1/3) Installing zlib-dev (1.3.1-r1) (2/3) Installing linux-headers (6.6-r0) (3/3) Installing .makedepends-cramfs (20240807.114756) OK: 376 MiB in 110 packages >>> cramfs: Cleaning up srcdir >>> cramfs: Cleaning up pkgdir >>> cramfs: Cleaning up tmpdir >>> cramfs: Fetching https://distfiles.alpinelinux.org/distfiles/edge//cramfs-1.1.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 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 24179 100 24179 0 0 53243 0 --:--:-- --:--:-- --:--:-- 53257 >>> cramfs: Fetching https://distfiles.alpinelinux.org/distfiles/edge//cramfs-1.1.tar.gz >>> cramfs: Checking sha512sums... cramfs-1.1.tar.gz: OK mkcramfs-include-sysmacros.patch: OK gcc14.patch: OK >>> cramfs: Unpacking /var/cache/distfiles/edge/cramfs-1.1.tar.gz... >>> cramfs: mkcramfs-include-sysmacros.patch patching file mkcramfs.c >>> cramfs: gcc14.patch patching file mkcramfs.c gcc -W -Wall -O2 -g -I. -Wl,--as-needed,-O1,--sort-common mkcramfs.c -lz -o mkcramfs gcc -W -Wall -O2 -g -I. -Wl,--as-needed,-O1,--sort-common cramfsck.c -lz -o cramfsck mkcramfs.c: In function 'parse_directory': mkcramfs.c:288:29: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 288 | entry->name = strdup(dirent->d_name); | ^ mkcramfs.c: In function 'write_superblock': mkcramfs.c:400:30: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 400 | strncpy(super->name, opt_name, sizeof(super->name)); | ~~~~~^~~~~~ | | | u8 * {aka unsigned char *} In file included from mkcramfs.c:36: /usr/include/fortify/string.h:138:57: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 138 | _FORTIFY_FN(strncpy) char *strncpy(char * _FORTIFY_POS0 __d, | ~~~~~~~~~~~~~~~~~~~~~^~~ mkcramfs.c:402:30: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 402 | strncpy(super->name, "Compressed", sizeof(super->name)); | ~~~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/fortify/string.h:138:57: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 138 | _FORTIFY_FN(strncpy) char *strncpy(char * _FORTIFY_POS0 __d, | ~~~~~~~~~~~~~~~~~~~~~^~~ mkcramfs.c: In function 'write_directory_structure': mkcramfs.c:481:50: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 481 | size_t len = strlen(entry->name); | ~~~~~^~~~~~ | | | unsigned char * In file included from /usr/include/fortify/string.h:23: /usr/include/string.h:54:16: note: expected 'const char *' but argument is of type 'unsigned char *' 54 | size_t strlen (const char *); | ^~~~~~~~~~~~ mkcramfs.c: In function 'do_compress': mkcramfs.c:599:46: warning: pointer targets in passing argument 1 of 'compress2' differ in signedness [-Wpointer-sign] 599 | err = compress2(base + curr, &len, uncompressed, input, Z_BEST_COMPRESSION); | ~~~~~^~~~~~ | | | char * In file included from mkcramfs.c:39: /usr/include/zlib.h:1247:38: note: expected 'Bytef *' {aka 'unsigned char *'} but argument is of type 'char *' 1247 | ZEXTERN int ZEXPORT compress2(Bytef *dest, uLongf *destLen, | ~~~~~~~^~~~ mkcramfs.c:599:60: warning: pointer targets in passing argument 3 of 'compress2' differ in signedness [-Wpointer-sign] 599 | err = compress2(base + curr, &len, uncompressed, input, Z_BEST_COMPRESSION); | ^~~~~~~~~~~~ | | | char * /usr/include/zlib.h:1248:44: note: expected 'const Bytef *' {aka 'const unsigned char *'} but argument is of type 'char *' 1248 | const Bytef *source, uLong sourceLen, | ~~~~~~~~~~~~~^~~~~~ mkcramfs.c: In function 'write_data': mkcramfs.c:648:73: warning: pointer targets in passing argument 3 of 'do_compress' differ in signedness [-Wpointer-sign] 648 | offset = do_compress(base, offset, entry->name, entry->uncompressed, entry->size); | ~~~~~^~~~~~ | | | unsigned char * mkcramfs.c:579:78: note: expected 'const char *' but argument is of type 'unsigned char *' 579 | static unsigned int do_compress(char *base, unsigned int offset, char const *name, char *uncompressed, unsigned int size) | ~~~~~~~~~~~~^~~~ mkcramfs.c: In function 'main': cramfsck.c: In function 'main': mkcramfs.c:772:80: warning: format '%Ld' expects argument of type 'long long int', but argument 3 has type 'off_t' {aka 'long int'} [-Wformat=] 772 | "warning: estimate of required size (upper bound) is %LdMB, but maximum image size is %uMB, we might die prematurely\n", | ~~^ | | | long long int | %ld 773 | fslen_ub >> 20, | ~~~~~~~~~~~~~~ | | | off_t {aka long int} cramfsck.c:671:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 671 | usage(FSCK_OK); | ^~~~~~~~~~~~~~ cramfsck.c:672:17: note: here 672 | case 'x': | ^~~~ mkcramfs.c:811:34: warning: format '%d' expects argument of type 'int', but argument 2 has type 'ssize_t' {aka 'long int'} [-Wformat=] 811 | printf("Directory data: %d bytes\n", offset); | ~^ ~~~~~~ | | | | int ssize_t {aka long int} | %ld mkcramfs.c:818:30: warning: format '%d' expects argument of type 'int', but argument 2 has type 'ssize_t' {aka 'long int'} [-Wformat=] 818 | printf("Everything: %d kilobytes\n", offset >> 10); | ~^ ~~~~~~~~~~~~ | | | | int ssize_t {aka long int} | %ld mkcramfs.c:822:31: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] 822 | printf("Super block: %d bytes\n", sizeof(struct cramfs_super)); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long unsigned int | %ld mkcramfs.c:826:36: warning: pointer targets in passing argument 2 of 'crc32' differ in signedness [-Wpointer-sign] 826 | crc = crc32(crc, (rom_image+opt_pad), (offset-opt_pad)); | ~~~~~~~~~~^~~~~~~~~ | | | char * /usr/include/zlib.h:1730:53: note: expected 'const Bytef *' {aka 'const unsigned char *'} but argument is of type 'char *' 1730 | ZEXTERN uLong ZEXPORT crc32(uLong crc, const Bytef *buf, uInt len); | ~~~~~~~~~~~~~^~~ mkcramfs.c:706:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 706 | usage(MKFS_OK); | ^~~~~~~~~~~~~~ mkcramfs.c:707:17: note: here 707 | case 'E': | ^~~~ >>> cramfs: Entering fakeroot... >>> cramfs*: Running postcheck for cramfs >>> cramfs*: Preparing package cramfs... >>> cramfs*: Stripping binaries >>> cramfs*: Scanning shared objects >>> cramfs*: Tracing dependencies... so:libc.musl-s390x.so.1 so:libz.so.1 >>> cramfs*: Package size: 48.0 KB >>> cramfs*: Compressing data... >>> cramfs*: Create checksum... >>> cramfs*: Create cramfs-1.1-r7.apk >>> cramfs: Build complete at Wed, 07 Aug 2024 11:47:57 +0000 elapsed time 0h 0m 2s >>> cramfs: Cleaning up srcdir >>> cramfs: Cleaning up pkgdir >>> cramfs: Uninstalling dependencies... (1/3) Purging .makedepends-cramfs (20240807.114756) (2/3) Purging zlib-dev (1.3.1-r1) (3/3) Purging linux-headers (6.6-r0) OK: 368 MiB in 107 packages >>> cramfs: Updating the main/s390x repository index... >>> cramfs: Signing the index...