[...] extra.c: At top level: mcrypt.c: At top level: extra.c:45:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = ^ mcrypt.c:44:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = ^ extra.c: In function 'read_until_null': extra.c:161:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&pointer[i], 1, 1, fstream); ^ extra.c: In function 'check_file_head': extra.c:182:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(buf, 1, 3, fstream); ^ extra.c:183:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&flags, 1, 1, fstream); ^ extra.c:228:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&keylen, sizeof(short int), 1, fstream); ^ extra.c:240:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&sflag, 1, 1, fstream); ^ extra.c:245:11: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(tmp_buf, 1, *salt_size, ^ extra.c: In function 'read_iv': extra.c:287:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(IV, 1, ivsize, fstream); ^ mv -f .deps/extra.Tpo .deps/extra.Po mv -f .deps/mcrypt.Tpo .deps/mcrypt.Po make[2]: Leaving directory `/home/users/builder/rpm/BUILD/mcrypt-2.6.8/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/users/builder/rpm/BUILD/mcrypt-2.6.8' make: *** [all] Error 2 error: Bad exit status from /tmp/B.811dd1/rpm-tmp.65600 (%build) RPM build errors: Bad exit status from /tmp/B.811dd1/rpm-tmp.65600 (%build) ended at: Tue Jul 28 12:34:44 2015, done in 01days 00h 00m 29s error: No files produced. mesg: ttyname failed: Inappropriate ioctl for device Begin-PLD-Builder-Info Build-Time: user:22.19s sys:14.02s real:33.52s (faults io:0 non-io:1170443) End-PLD-Builder-Info