D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/freepops-0.2.9-15.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.pfulRS + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf freepops-0.2.9 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/freepops-0.2.9.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd freepops-0.2.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (freepops-0.2.9-fix-str-fmt.patch):' Patch #0 (freepops-0.2.9-fix-str-fmt.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file modules/src/log/log.c + echo 'Patch #1 (freepops-0.2.8-configure.sh.patch):' Patch #1 (freepops-0.2.8-configure.sh.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .configure --fuzz=0 patching file configure.sh + echo 'Patch #2 (freepops-0.2.7-Makefile.patch):' Patch #2 (freepops-0.2.7-Makefile.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .makefile --fuzz=0 patching file Makefile + echo 'Patch #3 (freepops-0.2.0-config.h.patch):' Patch #3 (freepops-0.2.0-config.h.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .config --fuzz=0 patching file config.h + echo 'Patch #5 (freepops-0.2.7-fltk-1.1.9.patch):' Patch #5 (freepops-0.2.7-fltk-1.1.9.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .fltk --fuzz=0 patching file updater-ui/fltk/updater.cxx patching file updater-ui/fltk/linker.cxx patching file configure.sh Hunk #1 succeeded at 340 (offset 2 lines). + echo 'Patch #6 (freepops-0.2.9-curl_authopt-meta.patch):' Patch #6 (freepops-0.2.9-curl_authopt-meta.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .curl_auth --fuzz=0 patching file modules/src/luacurl/lua-curl-0.3.0.diff + echo 'Patch #7 (freepops-0.2.9-getdate-use-curl.patch):' Patch #7 (freepops-0.2.9-getdate-use-curl.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .getdate --fuzz=0 patching file modules/src/getdate_lua/getdate_lua.c patching file modules/modules patching file src/Makefile + echo 'Patch #8 (freepops-0.2.9-mga-curl-compat.patch):' Patch #8 (freepops-0.2.9-mga-curl-compat.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .curl-compat --fuzz=0 patching file modules/src/luacurl/lua-curl-0.3.0.diff + cp -p /home/pterjan/rpmbuild/SOURCES/manual.pdf ./ + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.bluzpI + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd freepops-0.2.9 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export PKG_CONFIG_PATH=/usr/lib/pkgconfig + PKG_CONFIG_PATH=/usr/lib/pkgconfig + ./configure.sh linux -lua -fltk-ui + make all WHERE=/usr/ LOCALEDIR=/usr/share/locale 'CC=gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' 'HCC=gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' building luasocket building luasocket... buffer.c: In function 'buffer_meth_send': buffer.c:83:15: warning: unused variable 'tm' [-Wunused-variable] p_timeout tm = timeout_markstart(buf->tm); ^~ buffer.c: In function 'buffer_meth_receive': buffer.c:114:15: warning: unused variable 'tm' [-Wunused-variable] p_timeout tm = timeout_markstart(buf->tm); ^~ options.c: In function 'opt_meth_setoption': options.c:37:43: warning: '%.35s' directive writing up to 35 bytes into a region of size 25 [-Wformat-overflow=] sprintf(msg, "unsupported option `%.35s'", name); ^~~~~ In file included from /usr/include/stdio.h:936:0, from /usr/include/lauxlib.h:13, from options.c:9: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 22 and 57 bytes into a destination of size 45 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ done. building luay building dep for luay.c compiling luay.c -> luay.o linking libluay.a building luabind building dep for luabind.c compiling luabind.c -> luabind.o linking libluabind.a building oscompatibility building dep for win32_compatibility.c building dep for c99_compatibility.c building dep for beos_compatibility.c compiling beos_compatibility.c -> beos_compatibility.o compiling c99_compatibility.c -> c99_compatibility.o compiling win32_compatibility.c -> win32_compatibility.o linking liboscompatibility.a building regularexp building dep for regularexp.c compiling regularexp.c -> regularexp.o linking libregularexp.a building log building dep for log.c compiling log.c -> log.o linking liblog.a building base64 building dep for base64.c compiling base64.c -> base64.o linking libbase64.a building list building dep for list.c compiling list.c -> list.o linking liblist.a building mlex building dep for mlex.c compiling mlex.c -> mlex.c:1042:13: warning: 'print_anslist' defined but not used [-Wunused-function] HIDDEN void print_anslist(list_t *a,char* str) ^~~~~~~~~~~~~ mlex.c:1008:13: warning: 'print_toklist' defined but not used [-Wunused-function] HIDDEN void print_toklist(list_t*l, char *s, int i) ^~~~~~~~~~~~~ mlex.o linking libmlex.a building pid building dep for pid.c compiling pid.c -> pid.c: In function 'retrieve_pid_file': pid.c:94:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(tmpfd, "%ld", &this_pid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pid.o linking libpid.a building lock building dep for lock.c compiling lock.c -> lock.o linking liblock.a building dictionary building dep for dictionary.c compiling dictionary.c -> dictionary.o linking libdictionary.a building stats_lua building dep for stats_lua.c compiling stats_lua.c -> stats_lua.o linking libstats_lua.a building session building dep for session.c compiling session.c -> session.o linking libsession.a building portablesocket building dep for socketcommon.c building dep for altsocklib.c compiling altsocklib.c -> altsocklib.o compiling socketcommon.c -> socketcommon.o linking libportablesocket.a building pop3server building dep for threads.c building dep for popstate.c building dep for popserver.c compiling popserver.c -> popserver.o compiling popstate.c -> popstate.o compiling threads.c -> threads.o linking libpop3server.a building pop3server_lua building dep for pop3server_lua.c compiling pop3server_lua.c -> pop3server_lua.o linking libpop3server_lua.a building session_lua building dep for session_lua.c compiling session_lua.c -> session_lua.o linking libsession_lua.a building serialize_lua building log_lua building dep for log_lua.c compiling log_lua.c -> log_lua.o linking liblog_lua.a building mlex_lua building dep for mlex_lua.c compiling mlex_lua.c -> mlex_lua.o linking libmlex_lua.a building support_lua building getdate_lua building dep for getdate_lua.c compiling getdate_lua.c -> getdate_lua.o linking libgetdate_lua.a building luacurl compiling lua-curl.c -> In file included from lua-curl.c:179:0: curl_authopt.h:11:22: warning: large integer implicitly truncated to unsigned type [-Woverflow] {"AUTH_ANY", (~CURLAUTH_DIGEST_IE)}, ^ curl_authopt.h:12:22: warning: large integer implicitly truncated to unsigned type [-Woverflow] {"AUTH_ANYSAFE", (~(CURLAUTH_BASIC|CURLAUTH_DIGEST_IE))}, ^ lua-curl.c: In function 'L_checkconst_mask': lua-curl.c:442:25: warning: unused parameter 't' [-Wunused-parameter] const struct L_const* t,const char* t_nam, int c){ ^ lua-curl.o linking libluacurl.a building browser_lua building stringhack_lua building dep for stringhack_lua.c building dep for lstringhack.c compiling lstringhack.c -> lstringhack.o compiling stringhack_lua.c -> stringhack_lua.o linking libstringhack_lua.a building portablesocket_lua building base64_lua building dep for base64_lua.c compiling base64_lua.c -> base64_lua.o linking libbase64_lua.a building mimer_lua building commonimpl_lua building regularexp_lua building dep for regularexp_lua.c compiling regularexp_lua.c -> regularexp_lua.o linking libregularexp_lua.a building luaexpat compiling lxplib.c -> lxplib.o linking libluaexpat.a building xmltables_lua building httpmail_lua building crypto_lua building dep for crypto_lua.c compiling crypto_lua.c -> crypto_lua.c: In function 'lhmac': crypto_lua.c:73:11: error: storage size of 'C' isn't known HMAC_CTX C; ^ crypto_lua.c:96:2: warning: 'HMAC_Init' is deprecated [-Wdeprecated-declarations] HMAC_Init(&C,key,klen,((const EVP_MD *(*)(void))evp)()); ^~~~~~~~~ In file included from /usr/include/multiarch-dispatch.h:80:0, from /usr/include/openssl/opensslconf.h:2, from /usr/include/openssl/bn.h:31, from /usr/include/openssl/asn1.h:24, from /usr/include/openssl/objects.h:916, from /usr/include/openssl/evp.h:27, from /usr/include/openssl/hmac.h:15, from crypto_lua.c:32: /usr/include/openssl/hmac.h:28:1: note: declared here DEPRECATEDIN_1_1_0(__owur int HMAC_Init(HMAC_CTX *ctx, const void *key, int len, ^ crypto_lua.c:100:2: warning: implicit declaration of function 'HMAC_cleanup'; did you mean 'OBJ_cleanup'? [-Wimplicit-function-declaration] HMAC_cleanup(&C); ^~~~~~~~~~~~ OBJ_cleanup crypto_lua.c:73:11: warning: unused variable 'C' [-Wunused-variable] HMAC_CTX C; ^ crypto_lua.c: In function 'my_free': crypto_lua.c:149:31: warning: unused parameter 'L' [-Wunused-parameter] static int my_free(lua_State* L){/* nothing to do */ return 0;} ^ crypto_lua.c: At top level: crypto_lua.c:198:16: error: 'EVP_sha' undeclared here (not in a function); did you mean 'EVP_sha1'? {"ALGO_sha",EVP_sha}, ^~~~~~~ EVP_sha1 crypto_lua.c:198:4: warning: missing initializer for field 'data' of 'const struct L_Tuserdata' [-Wmissing-field-initializers] {"ALGO_sha",EVP_sha}, ^ In file included from crypto_lua.c:17:0: /home/pterjan/rpmbuild/BUILD/freepops-0.2.9/modules/include/luabind.h:31:8: note: 'data' declared here void* data; ^~~~ crypto_lua.c:201:16: error: 'EVP_dss' undeclared here (not in a function); did you mean 'EVP_sha'? {"ALGO_dss",EVP_dss}, ^~~~~~~ EVP_sha crypto_lua.c:201:4: warning: missing initializer for field 'data' of 'const struct L_Tuserdata' [-Wmissing-field-initializers] {"ALGO_dss",EVP_dss}, ^ In file included from crypto_lua.c:17:0: /home/pterjan/rpmbuild/BUILD/freepops-0.2.9/modules/include/luabind.h:31:8: note: 'data' declared here void* data; ^~~~ crypto_lua.c:202:17: error: 'EVP_dss1' undeclared here (not in a function); did you mean 'EVP_dss'? {"ALGO_dss1",EVP_dss1}, ^~~~~~~~ EVP_dss crypto_lua.c:202:4: warning: missing initializer for field 'data' of 'const struct L_Tuserdata' [-Wmissing-field-initializers] {"ALGO_dss1",EVP_dss1}, ^ In file included from crypto_lua.c:17:0: /home/pterjan/rpmbuild/BUILD/freepops-0.2.9/modules/include/luabind.h:31:8: note: 'data' declared here void* data; ^~~~ make[2]: *** [Makefile:122: crypto_lua.o] Error 1 building freepopsd building dep for luabox.c luabox.c:37:10: fatal error: crypto_lua.h: No such file or directory #include "crypto_lua.h" ^~~~~~~~~~~~~~ compilation terminated. building dep for freepops.c building dep for engine.c compiling engine.c -> engine.o compiling freepops.c -> freepops.o compiling luabox.c -> luabox.c:37:10: fatal error: crypto_lua.h: No such file or directory #include "crypto_lua.h" ^~~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:233: luabox.o] Error 1 make: *** [Makefile:189: src] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.bluzpI (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.bluzpI (%build) I: [iurt_root_command] ERROR: chroot