* Package: sys-fs/cramfs-1.1 * Repository: gentoo * Maintainer: base-system@gentoo.org * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking cramfs-1.1.tar.gz to /var/tmp/portage/sys-fs/cramfs-1.1/work >>> Source unpacked in /var/tmp/portage/sys-fs/cramfs-1.1/work >>> Preparing source in /var/tmp/portage/sys-fs/cramfs-1.1/work/cramfs-1.1 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-fs/cramfs-1.1/work/cramfs-1.1 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-fs/cramfs-1.1/work/cramfs-1.1 ... make -j1 'CFLAGS=-O2 -pipe -march=native' CC=x86_64-gentoo-linux-musl-gcc x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -I. -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 mkcramfs.c -lz -o mkcramfs mkcramfs.c:227:102: error: unknown type name ‘loff_t’; did you mean ‘off_t’? 227 | uct entry *root_entry, const char *name, struct entry **prev, loff_t *fslen_ub) | ^~~~~~ | off_t mkcramfs.c: In function ‘main’: mkcramfs.c:691:2: error: unknown type name ‘loff_t’; did you mean ‘off_t’? 691 | loff_t fslen_ub = sizeof(struct cramfs_super); | ^~~~~~ | off_t mkcramfs.c:764:21: warning: implicit declaration of function ‘parse_directory’ [-Wimplicit-function-declaration] 764 | root_entry->size = parse_directory(root_entry, dirname, &root_entry->child, &fslen_ub); | ^~~~~~~~~~~~~~~ mkcramfs.c:772:59: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 3 has type ‘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 | %d 773 | fslen_ub >> 20, | ~~~~~~~~~~~~~~ | | | int mkcramfs.c:811:27: 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:23: 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:24: 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 make: *** [: mkcramfs] Error 1 * ERROR: sys-fs/cramfs-1.1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-fs/cramfs-1.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-fs/cramfs-1.1::gentoo'`. * The complete build log is located at '/var/log/portage/sys-fs:cramfs-1.1:20200404-144225.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-fs/cramfs-1.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-fs/cramfs-1.1/temp/environment'. * Working directory: '/var/tmp/portage/sys-fs/cramfs-1.1/work/cramfs-1.1' * S: '/var/tmp/portage/sys-fs/cramfs-1.1/work/cramfs-1.1'