[...] fread(buf, 1, 3, fstream); ^~~~~~~~~~~~~~~~~~~~~~~~~ extra.c:183:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&flags, 1, 1, fstream); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ extra.c:228:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&keylen, sizeof(short int), 1, fstream); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ extra.c:240:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&sflag, 1, 1, fstream); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ extra.c:245:6: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(tmp_buf, 1, *salt_size, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fstream); ~~~~~~~~ extra.c: In function 'read_iv': extra.c:287:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(IV, 1, ivsize, fstream); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: extra.c:45:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = ^~~~~ mv -f .deps/random.Tpo .deps/random.Po mv -f .deps/functions.Tpo .deps/functions.Po mv -f .deps/xmalloc.Tpo .deps/xmalloc.Po mv -f .deps/keys.Tpo .deps/keys.Po mv -f .deps/mcrypt.Tpo .deps/mcrypt.Po mv -f .deps/extra.Tpo .deps/extra.Po make[2]: Leaving directory '/tmp/B._rERe8/BUILD/mcrypt-2.6.8/src' make[1]: *** [Makefile:421: all-recursive] Error 1 make[1]: Leaving directory '/tmp/B._rERe8/BUILD/mcrypt-2.6.8' make: *** [Makefile:353: all] Error 2 error: Bad exit status from /tmp/B._rERe8/BUILD/tmp/rpm-tmp.88350 (%build) RPM build errors: Bad exit status from /tmp/B._rERe8/BUILD/tmp/rpm-tmp.88350 (%build) ended at: Wed Mar 14 18:10:23 2018, done in 0:00:09.087261 error: No files produced. mesg: ttyname failed: Inappropriate ioctl for device + chmod -R u+rwX /tmp/B._rERe8/BUILD + rm -rf /tmp/B._rERe8/tmp /tmp/B._rERe8/BUILD mesg: ttyname failed: Inappropriate ioctl for device + rm -rf /tmp/B._rERe8 Begin-TLD-Builder-Info Build-Time: user:7.47s sys:1.04s real:9.76s (faults io:0 non-io:866045) End-TLD-Builder-Info