* Package: sys-fs/cramfs-1.1 * Repository: gentoo * Maintainer: base-system@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux pie ssp userland_GNU * FEATURES: 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 >>> Compiling source in /var/tmp/portage/sys-fs/cramfs-1.1/work/cramfs-1.1 ... make -j1 'CFLAGS=-march=native -O2 -pipe' CC=x86_64-pc-linux-gnu-gcc x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -I. -Wl,-O1 -Wl,--as-needed mkcramfs.c -lz -o mkcramfs mkcramfs.c: In function ‘parse_directory’: mkcramfs.c:245:40: warning: passing argument 4 of ‘scandir’ from incompatible pointer type [-Wincompatible-pointer-types] dircount = scandir(name, &dirlist, 0, cramsort); ^ In file included from mkcramfs.c:31:0: /usr/include/dirent.h:254:12: note: expected ‘int (*)(const struct dirent **, const struct dirent **)’ but argument is of type ‘int (*)(const void *, const void *)’ extern int scandir (const char *__restrict __dir, ^ mkcramfs.c: In function ‘print_node’: mkcramfs.c:445:33: warning: implicit declaration of function ‘major’ [-Wimplicit-function-declaration] snprintf(info, 10, "%4d,%4d", major(e->size), minor(e->size)); ^ mkcramfs.c:445:49: warning: implicit declaration of function ‘minor’ [-Wimplicit-function-declaration] snprintf(info, 10, "%4d,%4d", major(e->size), minor(e->size)); ^ mkcramfs.c: In function ‘main’: mkcramfs.c:771:4: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 3 has type ‘loff_t {aka long int}’ [-Wformat=] "warning: estimate of required size (upper bound) is %LdMB, but maximum imag ^ mkcramfs.c:810:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ssize_t {aka long int}’ [-Wformat=] printf("Directory data: %d bytes\n", offset); ^ mkcramfs.c:817:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ssize_t {aka long int}’ [-Wformat=] printf("Everything: %d kilobytes\n", offset >> 10); ^ mkcramfs.c:821:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=] printf("Super block: %d bytes\n", sizeof(struct cramfs_super)); ^ /var/tmp/portage/sys-fs/cramfs-1.1/temp/ccBAguiz.o: In function `main': mkcramfs.c:(.text.startup+0x6ab): undefined reference to `minor' mkcramfs.c:(.text.startup+0x6ba): undefined reference to `major' collect2: error: ld returned 1 exit status : recipe for target 'mkcramfs' failed make: *** [mkcramfs] Error 1 emake failed * ERROR: sys-fs/cramfs-1.1::gentoo failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 133: Called src_compile * environment, line 765: Called die * The specific snippet of code: * emake CFLAGS="${CFLAGS}" CC="$(tc-getCC)" || die * * 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:20160416-024901.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'