* Package: dev-games/paklib-0.3 * Repository: gentoo * Maintainer: games@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox pak.c: In function ‘main’: pak.c:82:4: error: format not a string literal and no format arguments [-Werror=format-security] printf(argv[2]);  ^ pak.c:88:4: error: format not a string literal and no format arguments [-Werror=format-security] printf(argv[2]);  ^ pak.c:95:4: error: format not a string literal and no format arguments [-Werror=format-security] printf(argv[2]);  ^ pak.c: In function ‘openPak’: pak.c:177:6: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] fread(&mypak->header, sizeof(pakheader), 1, mypak->handle);  ^ pak.c: In function ‘insertPak’: pak.c:236:10: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] fread(files, sizeof(dirsection), x, fp->handle);  ^ pak.c: In function ‘extractPak’: pak.c:377:7: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] fread(buffer, sizeof(byte), mysect->file_length, fp->handle);  ^ pak.c: In function ‘loadDirSection’: pak.c:403:10: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] fread(files, sizeof(dirsection), *x, fp->handle);  ^ cc1: some warnings being treated as errors * ERROR: dev-games/paklib-0.3::gentoo failed (compile phase): * pak.so failed * * Call stack: * ebuild.sh, line 93: Called src_compile * environment, line 717: Called die * The specific snippet of code: * $(tc-getCC) ${LDFLAGS} ${CFLAGS} -fPIC -shared pak.c -o libpak.so || die "pak.so failed"; * * If you need support, post the output of `emerge --info '=dev-games/paklib-0.3::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-games/paklib-0.3::gentoo'`. * The complete build log is located at '/var/log/portage/dev-games:paklib-0.3:20150303-184838.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-games/paklib-0.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-games/paklib-0.3/temp/environment'. * Working directory: '/var/tmp/portage/dev-games/paklib-0.3/work/pak' * S: '/var/tmp/portage/dev-games/paklib-0.3/work/pak'