[...] errors.c: In function 'err_info': errors.c:40:3: error: format not a string literal and no format arguments [-Werror=format-security] fprintf(stderr, errmsg); ^~~~~~~ errors.c: In function 'err_crit': errors.c:46:3: error: format not a string literal and no format arguments [-Werror=format-security] fprintf(stderr, errmsg); ^~~~~~~ mv -f .deps/extra.Tpo .deps/extra.Po x86_64-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I../intl -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=x86-64 -I/usr/include -Wall -MT openpgp.o -MD -MP -MF .deps/openpgp.Tpo -c -o openpgp.o openpgp.c cc1: some warnings being treated as errors make[2]: *** [Makefile:459: errors.o] Error 1 make[2]: *** Waiting for unfinished jobs.... openpgp.c: In function 'pgp_encrypt_wrap': openpgp.c:40:49: warning: pointer targets in passing argument 2 of 'get_password' differ in signedness [-Wpointer-sign] if (pass==NULL) _pass = get_password( ENCRYPT, &len); ^~~~ In file included from openpgp.c:24: ./extra.h:10:8: note: expected 'unsigned int *' but argument is of type 'int *' char * get_password( int mode, unsigned int *len); ^~~~~~~~~~~~ openpgp.c: In function 'pgp_decrypt_wrap': openpgp.c:62:49: warning: pointer targets in passing argument 2 of 'get_password' differ in signedness [-Wpointer-sign] if (pass==NULL) _pass = get_password( DECRYPT, &len); ^~~~ In file included from openpgp.c:24: ./extra.h:10:8: note: expected 'unsigned int *' but argument is of type 'int *' char * get_password( int mode, unsigned int *len); ^~~~~~~~~~~~ mv -f .deps/bits.Tpo .deps/bits.Po mv -f .deps/mcrypt.Tpo .deps/mcrypt.Po mv -f .deps/openpgp.Tpo .deps/openpgp.Po make[2]: Leaving directory '/tmp/B.VUKm9s/BUILD/mcrypt-2.6.8/src' make[1]: *** [Makefile:421: all-recursive] Error 1 make[1]: Leaving directory '/tmp/B.VUKm9s/BUILD/mcrypt-2.6.8' make: *** [Makefile:353: all] Error 2 error: Bad exit status from /tmp/B.VUKm9s/BUILD/tmp/rpm-tmp.67862 (%build) RPM build errors: Bad exit status from /tmp/B.VUKm9s/BUILD/tmp/rpm-tmp.67862 (%build) ended at: Sat Aug 24 17:19:16 2019, done in 0:00:09.268806 error: No files produced. + chmod -R u+rwX /tmp/B.VUKm9s/BUILD + rm -rf /tmp/B.VUKm9s/tmp /tmp/B.VUKm9s/BUILD + rm -rf /tmp/B.VUKm9s Begin-TLD-Builder-Info Build-Time: user:7.11s sys:1.56s real:9.78s (faults io:2 non-io:885597) End-TLD-Builder-Info