[...] 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: mcrypt.c:44:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = ^~~~~ xmalloc.c:23:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: xmalloc.c,v 1.2 2007/11/07 17:10:23 nmav Exp $"; ^~~~~ mv -f .deps/rndunix.Tpo .deps/rndunix.Po At top level: extra.c:45:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = ^~~~~ mv -f .deps/functions.Tpo .deps/functions.Po mv -f .deps/random.Tpo .deps/random.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.E2Lolp/BUILD/mcrypt-2.6.8/src' make[1]: *** [Makefile:421: all-recursive] Error 1 make[1]: Leaving directory '/tmp/B.E2Lolp/BUILD/mcrypt-2.6.8' make: *** [Makefile:353: all] Error 2 error: Bad exit status from /tmp/B.E2Lolp/BUILD/tmp/rpm-tmp.86889 (%build) RPM build errors: Bad exit status from /tmp/B.E2Lolp/BUILD/tmp/rpm-tmp.86889 (%build) ended at: Wed Mar 14 18:10:20 2018, done in 0:00:08.686932 error: No files produced. mesg: ttyname failed: Inappropriate ioctl for device + chmod -R u+rwX /tmp/B.E2Lolp/BUILD + rm -rf /tmp/B.E2Lolp/tmp /tmp/B.E2Lolp/BUILD mesg: ttyname failed: Inappropriate ioctl for device + rm -rf /tmp/B.E2Lolp Begin-TLD-Builder-Info Build-Time: user:7.49s sys:0.72s real:9.44s (faults io:0 non-io:686009) End-TLD-Builder-Info