+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/mosquitto.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7iAofw + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mosquitto-1.4.14 + /usr/bin/gzip -dc /builddir/build/SOURCES/mosquitto-1.4.14.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mosquitto-1.4.14 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -r src/uthash.h + sed -i 's|prefix=/usr/local|prefix=/usr|' config.mk + sed -i 's|(INSTALL) -s|(INSTALL)|g' lib/Makefile src/Makefile client/Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.szjMbx + umask 022 + cd /builddir/build/BUILD + cd mosquitto-1.4.14 + export 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export 'LDFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--as-needed' + LDFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--as-needed' + make all -j4 WITH_WEBSOCKETS=yes set -e; for d in lib client src; do make -C ${d}; done set -e; for d in man; do make -C ${d}; done make[1]: Entering directory '/builddir/build/BUILD/mosquitto-1.4.14/lib' make[1]: Entering directory '/builddir/build/BUILD/mosquitto-1.4.14/man' cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I. -I.. -I../lib -fPIC -DWITH_TLS -DWITH_TLS_PSK -DWITH_THREADING -DWITH_SOCKS -DWITH_SRV -c mosquitto.c -o mosquitto.o make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/mosquitto-1.4.14/man' cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I. -I.. -I../lib -fPIC -DWITH_TLS -DWITH_TLS_PSK -DWITH_THREADING -DWITH_SOCKS -DWITH_SRV -c logging_mosq.c -o logging_mosq.o cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I. -I.. -I../lib -fPIC -DWITH_TLS -DWITH_TLS_PSK -DWITH_THREADING -DWITH_SOCKS -DWITH_SRV -c memory_mosq.c -o memory_mosq.o cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I. -I.. -I../lib -fPIC -DWITH_TLS -DWITH_TLS_PSK -DWITH_THREADING -DWITH_SOCKS -DWITH_SRV -c messages_mosq.c -o messages_mosq.o cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I. -I.. -I../lib -fPIC -DWITH_TLS -DWITH_TLS_PSK -DWITH_THREADING -DWITH_SOCKS -DWITH_SRV -c net_mosq.c -o net_mosq.o cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I. -I.. -I../lib -fPIC -DWITH_TLS -DWITH_TLS_PSK -DWITH_THREADING -DWITH_SOCKS -DWITH_SRV -c read_handle.c -o read_handle.o cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I. -I.. -I../lib -fPIC -DWITH_TLS -DWITH_TLS_PSK -DWITH_THREADING -DWITH_SOCKS -DWITH_SRV -c read_handle_client.c -o read_handle_client.o net_mosq.c: In function '_mosquitto_socket_connect_step3': net_mosq.c:506:4: warning: 'TLSv1_2_client_method' is deprecated [-Wdeprecated-declarations] mosq->ssl_ctx = SSL_CTX_new(TLSv1_2_client_method()); ^~~~ In file included from /usr/include/openssl/ct.h:13:0, from /usr/include/openssl/ssl.h:61, from ./tls_mosq.h:28, from net_mosq.c:60: /usr/include/openssl/ssl.h:1643:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_client_method(void)) /* TLSv1.2 */ ^ net_mosq.c:508:4: warning: 'TLSv1_1_client_method' is deprecated [-Wdeprecated-declarations] mosq->ssl_ctx = SSL_CTX_new(TLSv1_1_client_method()); ^~~~ In file included from /usr/include/openssl/ct.h:13:0, from /usr/include/openssl/ssl.h:61, from ./tls_mosq.h:28, from net_mosq.c:60: /usr/include/openssl/ssl.h:1637:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_1_client_method(void)) /* TLSv1.1 */ ^ net_mosq.c:510:4: warning: 'TLSv1_client_method' is deprecated [-Wdeprecated-declarations] mosq->ssl_ctx = SSL_CTX_new(TLSv1_client_method()); ^~~~ In file included from /usr/include/openssl/ct.h:13:0, from /usr/include/openssl/ssl.h:61, from ./tls_mosq.h:28, from net_mosq.c:60: /usr/include/openssl/ssl.h:1631:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) /* TLSv1.0 */ ^ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I. -I.. -I../lib -fPIC -DWITH_TLS -DWITH_TLS_PSK -DWITH_THREADING -DWITH_SOCKS -DWITH_SRV -c read_handle_shared.c -o read_handle_shared.o cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I. -I.. -I../lib -fPIC -DWITH_TLS -DWITH_TLS_PSK -DWITH_THREADING -DWITH_SOCKS -DWITH_SRV -c send_mosq.c -o send_mosq.o cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I. -I.. -I../lib -fPIC -DWITH_TLS -DWITH_TLS_PSK -DWITH_THREADING -DWITH_SOCKS -DWITH_SRV -c send_client_mosq.c -o send_client_mosq.o cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I. -I.. -I../lib -fPIC -DWITH_TLS -DWITH_TLS_PSK -DWITH_THREADING -DWITH_SOCKS -DWITH_SRV -c socks_mosq.c -o socks_mosq.o cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I. -I.. -I../lib -fPIC -DWITH_TLS -DWITH_TLS_PSK -DWITH_THREADING -DWITH_SOCKS -DWITH_SRV -c srv_mosq.c -o srv_mosq.o cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I. -I.. -I../lib -fPIC -DWITH_TLS -DWITH_TLS_PSK -DWITH_THREADING -DWITH_SOCKS -DWITH_SRV -c thread_mosq.c -o thread_mosq.o cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I. -I.. -I../lib -fPIC -DWITH_TLS -DWITH_TLS_PSK -DWITH_THREADING -DWITH_SOCKS -DWITH_SRV -c time_mosq.c -o time_mosq.o cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I. -I.. -I../lib -fPIC -DWITH_TLS -DWITH_TLS_PSK -DWITH_THREADING -DWITH_SOCKS -DWITH_SRV -c tls_mosq.c -o tls_mosq.o cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I. -I.. -I../lib -fPIC -DWITH_TLS -DWITH_TLS_PSK -DWITH_THREADING -DWITH_SOCKS -DWITH_SRV -c util_mosq.c -o util_mosq.o cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I. -I.. -I../lib -fPIC -DWITH_TLS -DWITH_TLS_PSK -DWITH_THREADING -DWITH_SOCKS -DWITH_SRV -c will_mosq.c -o will_mosq.o tls_mosq.c: In function '_mosquitto_verify_certificate_hostname': tls_mosq.c:130:5: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] data = ASN1_STRING_data(nval->d.dNSName); ^~~~ In file included from /usr/include/openssl/bn.h:31:0, 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/x509.h:23, from /usr/include/openssl/x509v3.h:14, from tls_mosq.c:29: /usr/include/openssl/asn1.h:553:1: note: declared here DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) ^ tls_mosq.c:137:5: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] data = ASN1_STRING_data(nval->d.iPAddress); ^~~~ In file included from /usr/include/openssl/bn.h:31:0, 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/x509.h:23, from /usr/include/openssl/x509v3.h:14, from tls_mosq.c:29: /usr/include/openssl/asn1.h:553:1: note: declared here DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) ^ cc -shared -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--as-needed -Wl,--version-script=linker.version -Wl,-soname,libmosquitto.so.1 mosquitto.o logging_mosq.o memory_mosq.o messages_mosq.o net_mosq.o read_handle.o read_handle_client.o read_handle_shared.o send_mosq.o send_client_mosq.o socks_mosq.o srv_mosq.o thread_mosq.o time_mosq.o tls_mosq.o util_mosq.o will_mosq.o -o libmosquitto.so.1 -lrt -lssl -lcrypto -lpthread -lcares ar cr libmosquitto.a mosquitto.o logging_mosq.o memory_mosq.o messages_mosq.o net_mosq.o read_handle.o read_handle_client.o read_handle_shared.o send_mosq.o send_client_mosq.o socks_mosq.o srv_mosq.o thread_mosq.o time_mosq.o tls_mosq.o util_mosq.o will_mosq.o make -C cpp make[2]: Entering directory '/builddir/build/BUILD/mosquitto-1.4.14/lib/cpp' g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I. -I.. -I../lib -fPIC -c mosquittopp.cpp -o mosquittopp.o g++ -shared -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--as-needed -Wl,-soname,libmosquittopp.so.1 mosquittopp.o -o libmosquittopp.so.1 ../libmosquitto.so.1 make[2]: Leaving directory '/builddir/build/BUILD/mosquitto-1.4.14/lib/cpp' make[1]: Leaving directory '/builddir/build/BUILD/mosquitto-1.4.14/lib' make[1]: Entering directory '/builddir/build/BUILD/mosquitto-1.4.14/client' cc -c pub_client.c -o pub_client.o -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I../lib -DVERSION="\"1.4.14\"" -DWITH_TLS -DWITH_TLS_PSK -DWITH_SOCKS -DWITH_SRV cc -c client_shared.c -o client_shared.o -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I../lib -DVERSION="\"1.4.14\"" -DWITH_TLS -DWITH_TLS_PSK -DWITH_SOCKS -DWITH_SRV cc -c sub_client.c -o sub_client.o -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I../lib -DVERSION="\"1.4.14\"" -DWITH_TLS -DWITH_TLS_PSK -DWITH_SOCKS -DWITH_SRV cc pub_client.o client_shared.o -o mosquitto_pub -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--as-needed -L../lib ../lib/libmosquitto.so.1 cc sub_client.o client_shared.o -o mosquitto_sub -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--as-needed -L../lib ../lib/libmosquitto.so.1 make[1]: Leaving directory '/builddir/build/BUILD/mosquitto-1.4.14/client' make[1]: Entering directory '/builddir/build/BUILD/mosquitto-1.4.14/src' cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I. -I.. -I../lib -DVERSION="\"1.4.14\"" -DTIMESTAMP="\"2018-03-14 01:50:51+0000\"" -DWITH_BROKER -DWITH_TLS -DWITH_TLS_PSK -DWITH_UUID -DWITH_BRIDGE -DWITH_PERSISTENCE -DWITH_MEMORY_TRACKING -DWITH_SYS_TREE -DWITH_WEBSOCKETS -DWITH_EC -c mosquitto.c -o mosquitto.o cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I. -I.. -I../lib -DVERSION="\"1.4.14\"" -DTIMESTAMP="\"2018-03-14 01:50:51+0000\"" -DWITH_BROKER -DWITH_TLS -DWITH_TLS_PSK -DWITH_UUID -DWITH_BRIDGE -DWITH_PERSISTENCE -DWITH_MEMORY_TRACKING -DWITH_SYS_TREE -DWITH_WEBSOCKETS -DWITH_EC -c bridge.c -o bridge.o cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I. -I.. -I../lib -DVERSION="\"1.4.14\"" -DTIMESTAMP="\"2018-03-14 01:50:51+0000\"" -DWITH_BROKER -DWITH_TLS -DWITH_TLS_PSK -DWITH_UUID -DWITH_BRIDGE -DWITH_PERSISTENCE -DWITH_MEMORY_TRACKING -DWITH_SYS_TREE -DWITH_WEBSOCKETS -DWITH_EC -c conf.c -o conf.o cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I. -I.. -I../lib -DVERSION="\"1.4.14\"" -DTIMESTAMP="\"2018-03-14 01:50:51+0000\"" -DWITH_BROKER -DWITH_TLS -DWITH_TLS_PSK -DWITH_UUID -DWITH_BRIDGE -DWITH_PERSISTENCE -DWITH_MEMORY_TRACKING -DWITH_SYS_TREE -DWITH_WEBSOCKETS -DWITH_EC -c context.c -o context.o In file included from /usr/include/unistd.h:25:0, from mosquitto.c:22: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I. -I.. -I../lib -DVERSION="\"1.4.14\"" -DTIMESTAMP="\"2018-03-14 01:50:51+0000\"" -DWITH_BROKER -DWITH_TLS -DWITH_TLS_PSK -DWITH_UUID -DWITH_BRIDGE -DWITH_PERSISTENCE -DWITH_MEMORY_TRACKING -DWITH_SYS_TREE -DWITH_WEBSOCKETS -DWITH_EC -c database.c -o database.o cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I. -I.. -I../lib -DVERSION="\"1.4.14\"" -DTIMESTAMP="\"2018-03-14 01:50:51+0000\"" -DWITH_BROKER -DWITH_TLS -DWITH_TLS_PSK -DWITH_UUID -DWITH_BRIDGE -DWITH_PERSISTENCE -DWITH_MEMORY_TRACKING -DWITH_SYS_TREE -DWITH_WEBSOCKETS -DWITH_EC -c logging.c -o logging.o cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I. -I.. -I../lib -DVERSION="\"1.4.14\"" -DTIMESTAMP="\"2018-03-14 01:50:51+0000\"" -DWITH_BROKER -DWITH_TLS -DWITH_TLS_PSK -DWITH_UUID -DWITH_BRIDGE -DWITH_PERSISTENCE -DWITH_MEMORY_TRACKING -DWITH_SYS_TREE -DWITH_WEBSOCKETS -DWITH_EC -c loop.c -o loop.o cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I. -I.. -I../lib -DVERSION="\"1.4.14\"" -DTIMESTAMP="\"2018-03-14 01:50:51+0000\"" -DWITH_BROKER -DWITH_TLS -DWITH_TLS_PSK -DWITH_UUID -DWITH_BRIDGE -DWITH_PERSISTENCE -DWITH_MEMORY_TRACKING -DWITH_SYS_TREE -DWITH_WEBSOCKETS -DWITH_EC -c ../lib/memory_mosq.c -o memory_mosq.o cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I. -I.. -I../lib -DVERSION="\"1.4.14\"" -DTIMESTAMP="\"2018-03-14 01:50:51+0000\"" -DWITH_BROKER -DWITH_TLS -DWITH_TLS_PSK -DWITH_UUID -DWITH_BRIDGE -DWITH_PERSISTENCE -DWITH_MEMORY_TRACKING -DWITH_SYS_TREE -DWITH_WEBSOCKETS -DWITH_EC -c persist.c -o persist.o cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I. -I.. -I../lib -DVERSION="\"1.4.14\"" -DTIMESTAMP="\"2018-03-14 01:50:51+0000\"" -DWITH_BROKER -DWITH_TLS -DWITH_TLS_PSK -DWITH_UUID -DWITH_BRIDGE -DWITH_PERSISTENCE -DWITH_MEMORY_TRACKING -DWITH_SYS_TREE -DWITH_WEBSOCKETS -DWITH_EC -c net.c -o net.o cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I. -I.. -I../lib -DVERSION="\"1.4.14\"" -DTIMESTAMP="\"2018-03-14 01:50:51+0000\"" -DWITH_BROKER -DWITH_TLS -DWITH_TLS_PSK -DWITH_UUID -DWITH_BRIDGE -DWITH_PERSISTENCE -DWITH_MEMORY_TRACKING -DWITH_SYS_TREE -DWITH_WEBSOCKETS -DWITH_EC -c ../lib/net_mosq.c -o net_mosq.o cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I. -I.. -I../lib -DVERSION="\"1.4.14\"" -DTIMESTAMP="\"2018-03-14 01:50:51+0000\"" -DWITH_BROKER -DWITH_TLS -DWITH_TLS_PSK -DWITH_UUID -DWITH_BRIDGE -DWITH_PERSISTENCE -DWITH_MEMORY_TRACKING -DWITH_SYS_TREE -DWITH_WEBSOCKETS -DWITH_EC -c read_handle.c -o read_handle.o net.c: In function '_mosquitto_tls_server_ctx': net.c:274:3: warning: 'TLSv1_2_server_method' is deprecated [-Wdeprecated-declarations] listener->ssl_ctx = SSL_CTX_new(TLSv1_2_server_method()); ^~~~~~~~ In file included from /usr/include/openssl/ct.h:13:0, from /usr/include/openssl/ssl.h:61, from /usr/include/libwebsockets.h:206, from ./mosquitto_broker.h:24, from net.c:49: /usr/include/openssl/ssl.h:1642:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_server_method(void)) /* TLSv1.2 */ ^ net.c:276:3: warning: 'TLSv1_1_server_method' is deprecated [-Wdeprecated-declarations] listener->ssl_ctx = SSL_CTX_new(TLSv1_1_server_method()); ^~~~~~~~ In file included from /usr/include/openssl/ct.h:13:0, from /usr/include/openssl/ssl.h:61, from /usr/include/libwebsockets.h:206, from ./mosquitto_broker.h:24, from net.c:49: /usr/include/openssl/ssl.h:1636:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_1_server_method(void)) /* TLSv1.1 */ ^ net.c:278:3: warning: 'TLSv1_server_method' is deprecated [-Wdeprecated-declarations] listener->ssl_ctx = SSL_CTX_new(TLSv1_server_method()); ^~~~~~~~ In file included from /usr/include/openssl/ct.h:13:0, from /usr/include/openssl/ssl.h:61, from /usr/include/libwebsockets.h:206, from ./mosquitto_broker.h:24, from net.c:49: /usr/include/openssl/ssl.h:1630:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_server_method(void)) /* TLSv1.0 */ ^ ../lib/net_mosq.c: In function '_mosquitto_socket_connect_step3': ../lib/net_mosq.c:506:4: warning: 'TLSv1_2_client_method' is deprecated [-Wdeprecated-declarations] mosq->ssl_ctx = SSL_CTX_new(TLSv1_2_client_method()); ^~~~ In file included from /usr/include/openssl/ct.h:13:0, from /usr/include/openssl/ssl.h:61, from ../lib/tls_mosq.h:28, from ../lib/net_mosq.c:60: /usr/include/openssl/ssl.h:1643:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_client_method(void)) /* TLSv1.2 */ ^ ../lib/net_mosq.c:508:4: warning: 'TLSv1_1_client_method' is deprecated [-Wdeprecated-declarations] mosq->ssl_ctx = SSL_CTX_new(TLSv1_1_client_method()); ^~~~ In file included from /usr/include/openssl/ct.h:13:0, from /usr/include/openssl/ssl.h:61, from ../lib/tls_mosq.h:28, from ../lib/net_mosq.c:60: /usr/include/openssl/ssl.h:1637:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_1_client_method(void)) /* TLSv1.1 */ ^ ../lib/net_mosq.c:510:4: warning: 'TLSv1_client_method' is deprecated [-Wdeprecated-declarations] mosq->ssl_ctx = SSL_CTX_new(TLSv1_client_method()); ^~~~ In file included from /usr/include/openssl/ct.h:13:0, from /usr/include/openssl/ssl.h:61, from ../lib/tls_mosq.h:28, from ../lib/net_mosq.c:60: /usr/include/openssl/ssl.h:1631:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) /* TLSv1.0 */ ^ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I. -I.. -I../lib -DVERSION="\"1.4.14\"" -DTIMESTAMP="\"2018-03-14 01:50:51+0000\"" -DWITH_BROKER -DWITH_TLS -DWITH_TLS_PSK -DWITH_UUID -DWITH_BRIDGE -DWITH_PERSISTENCE -DWITH_MEMORY_TRACKING -DWITH_SYS_TREE -DWITH_WEBSOCKETS -DWITH_EC -c read_handle_client.c -o read_handle_client.o cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I. -I.. -I../lib -DVERSION="\"1.4.14\"" -DTIMESTAMP="\"2018-03-14 01:50:51+0000\"" -DWITH_BROKER -DWITH_TLS -DWITH_TLS_PSK -DWITH_UUID -DWITH_BRIDGE -DWITH_PERSISTENCE -DWITH_MEMORY_TRACKING -DWITH_SYS_TREE -DWITH_WEBSOCKETS -DWITH_EC -c read_handle_server.c -o read_handle_server.o cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I. -I.. -I../lib -DVERSION="\"1.4.14\"" -DTIMESTAMP="\"2018-03-14 01:50:51+0000\"" -DWITH_BROKER -DWITH_TLS -DWITH_TLS_PSK -DWITH_UUID -DWITH_BRIDGE -DWITH_PERSISTENCE -DWITH_MEMORY_TRACKING -DWITH_SYS_TREE -DWITH_WEBSOCKETS -DWITH_EC -c ../lib/read_handle_shared.c -o read_handle_shared.o read_handle_server.c: In function 'mqtt3_handle_connect': read_handle_server.c:374:4: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] context->username = _mosquitto_strdup((char *)ASN1_STRING_data(X509_NAME_ENTRY_get_data(name_entry))); ^~~~~~~ In file included from /usr/include/openssl/bn.h:31:0, 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/x509.h:23, from /usr/include/openssl/ssl.h:50, from /usr/include/libwebsockets.h:206, from ./mosquitto_broker.h:24, from read_handle_server.c:22: /usr/include/openssl/asn1.h:553:1: note: declared here DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) ^ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I. -I.. -I../lib -DVERSION="\"1.4.14\"" -DTIMESTAMP="\"2018-03-14 01:50:51+0000\"" -DWITH_BROKER -DWITH_TLS -DWITH_TLS_PSK -DWITH_UUID -DWITH_BRIDGE -DWITH_PERSISTENCE -DWITH_MEMORY_TRACKING -DWITH_SYS_TREE -DWITH_WEBSOCKETS -DWITH_EC -c security.c -o security.o cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I. -I.. -I../lib -DVERSION="\"1.4.14\"" -DTIMESTAMP="\"2018-03-14 01:50:51+0000\"" -DWITH_BROKER -DWITH_TLS -DWITH_TLS_PSK -DWITH_UUID -DWITH_BRIDGE -DWITH_PERSISTENCE -DWITH_MEMORY_TRACKING -DWITH_SYS_TREE -DWITH_WEBSOCKETS -DWITH_EC -c security_default.c -o security_default.o cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I. -I.. -I../lib -DVERSION="\"1.4.14\"" -DTIMESTAMP="\"2018-03-14 01:50:51+0000\"" -DWITH_BROKER -DWITH_TLS -DWITH_TLS_PSK -DWITH_UUID -DWITH_BRIDGE -DWITH_PERSISTENCE -DWITH_MEMORY_TRACKING -DWITH_SYS_TREE -DWITH_WEBSOCKETS -DWITH_EC -c ../lib/send_client_mosq.c -o send_client_mosq.o cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I. -I.. -I../lib -DVERSION="\"1.4.14\"" -DTIMESTAMP="\"2018-03-14 01:50:51+0000\"" -DWITH_BROKER -DWITH_TLS -DWITH_TLS_PSK -DWITH_UUID -DWITH_BRIDGE -DWITH_PERSISTENCE -DWITH_MEMORY_TRACKING -DWITH_SYS_TREE -DWITH_WEBSOCKETS -DWITH_EC -c ../lib/send_mosq.c -o send_mosq.o cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I. -I.. -I../lib -DVERSION="\"1.4.14\"" -DTIMESTAMP="\"2018-03-14 01:50:51+0000\"" -DWITH_BROKER -DWITH_TLS -DWITH_TLS_PSK -DWITH_UUID -DWITH_BRIDGE -DWITH_PERSISTENCE -DWITH_MEMORY_TRACKING -DWITH_SYS_TREE -DWITH_WEBSOCKETS -DWITH_EC -c send_server.c -o send_server.o cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I. -I.. -I../lib -DVERSION="\"1.4.14\"" -DTIMESTAMP="\"2018-03-14 01:50:51+0000\"" -DWITH_BROKER -DWITH_TLS -DWITH_TLS_PSK -DWITH_UUID -DWITH_BRIDGE -DWITH_PERSISTENCE -DWITH_MEMORY_TRACKING -DWITH_SYS_TREE -DWITH_WEBSOCKETS -DWITH_EC -c service.c -o service.o cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I. -I.. -I../lib -DVERSION="\"1.4.14\"" -DTIMESTAMP="\"2018-03-14 01:50:51+0000\"" -DWITH_BROKER -DWITH_TLS -DWITH_TLS_PSK -DWITH_UUID -DWITH_BRIDGE -DWITH_PERSISTENCE -DWITH_MEMORY_TRACKING -DWITH_SYS_TREE -DWITH_WEBSOCKETS -DWITH_EC -c subs.c -o subs.o cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I. -I.. -I../lib -DVERSION="\"1.4.14\"" -DTIMESTAMP="\"2018-03-14 01:50:51+0000\"" -DWITH_BROKER -DWITH_TLS -DWITH_TLS_PSK -DWITH_UUID -DWITH_BRIDGE -DWITH_PERSISTENCE -DWITH_MEMORY_TRACKING -DWITH_SYS_TREE -DWITH_WEBSOCKETS -DWITH_EC -c sys_tree.c -o sys_tree.o cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I. -I.. -I../lib -DVERSION="\"1.4.14\"" -DTIMESTAMP="\"2018-03-14 01:50:51+0000\"" -DWITH_BROKER -DWITH_TLS -DWITH_TLS_PSK -DWITH_UUID -DWITH_BRIDGE -DWITH_PERSISTENCE -DWITH_MEMORY_TRACKING -DWITH_SYS_TREE -DWITH_WEBSOCKETS -DWITH_EC -c ../lib/time_mosq.c -o time_mosq.o cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I. -I.. -I../lib -DVERSION="\"1.4.14\"" -DTIMESTAMP="\"2018-03-14 01:50:51+0000\"" -DWITH_BROKER -DWITH_TLS -DWITH_TLS_PSK -DWITH_UUID -DWITH_BRIDGE -DWITH_PERSISTENCE -DWITH_MEMORY_TRACKING -DWITH_SYS_TREE -DWITH_WEBSOCKETS -DWITH_EC -c ../lib/tls_mosq.c -o tls_mosq.o cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I. -I.. -I../lib -DVERSION="\"1.4.14\"" -DTIMESTAMP="\"2018-03-14 01:50:51+0000\"" -DWITH_BROKER -DWITH_TLS -DWITH_TLS_PSK -DWITH_UUID -DWITH_BRIDGE -DWITH_PERSISTENCE -DWITH_MEMORY_TRACKING -DWITH_SYS_TREE -DWITH_WEBSOCKETS -DWITH_EC -c ../lib/util_mosq.c -o util_mosq.o ../lib/tls_mosq.c: In function '_mosquitto_verify_certificate_hostname': ../lib/tls_mosq.c:130:5: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] data = ASN1_STRING_data(nval->d.dNSName); ^~~~ In file included from /usr/include/openssl/bn.h:31:0, 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/x509.h:23, from /usr/include/openssl/x509v3.h:14, from ../lib/tls_mosq.c:29: /usr/include/openssl/asn1.h:553:1: note: declared here DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) ^ ../lib/tls_mosq.c:137:5: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] data = ASN1_STRING_data(nval->d.iPAddress); ^~~~ In file included from /usr/include/openssl/bn.h:31:0, 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/x509.h:23, from /usr/include/openssl/x509v3.h:14, from ../lib/tls_mosq.c:29: /usr/include/openssl/asn1.h:553:1: note: declared here DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) ^ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I. -I.. -I../lib -DVERSION="\"1.4.14\"" -DTIMESTAMP="\"2018-03-14 01:50:51+0000\"" -DWITH_BROKER -DWITH_TLS -DWITH_TLS_PSK -DWITH_UUID -DWITH_BRIDGE -DWITH_PERSISTENCE -DWITH_MEMORY_TRACKING -DWITH_SYS_TREE -DWITH_WEBSOCKETS -DWITH_EC -c websockets.c -o websockets.o cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I. -I.. -I../lib -DVERSION="\"1.4.14\"" -DTIMESTAMP="\"2018-03-14 01:50:51+0000\"" -DWITH_BROKER -DWITH_TLS -DWITH_TLS_PSK -DWITH_UUID -DWITH_BRIDGE -DWITH_PERSISTENCE -DWITH_MEMORY_TRACKING -DWITH_SYS_TREE -DWITH_WEBSOCKETS -DWITH_EC -c ../lib/will_mosq.c -o will_mosq.o cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c mosquitto_passwd.c -o mosquitto_passwd.o cc mosquitto_passwd.o -o mosquitto_passwd -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--as-needed -lcrypto cc mosquitto.o bridge.o conf.o context.o database.o logging.o loop.o memory_mosq.o persist.o net.o net_mosq.o read_handle.o read_handle_client.o read_handle_server.o read_handle_shared.o security.o security_default.o send_client_mosq.o send_mosq.o send_server.o service.o subs.o sys_tree.o time_mosq.o tls_mosq.o util_mosq.o websockets.o will_mosq.o -o mosquitto -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--as-needed -ldl -lm -lrt -Wl,--dynamic-list=linker.syms -lssl -lcrypto -luuid -lwebsockets make[1]: Leaving directory '/builddir/build/BUILD/mosquitto-1.4.14/src' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.eyzyMB + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64 + cd mosquitto-1.4.14 + export LIB_SUFFIX=64 + LIB_SUFFIX=64 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64 'INSTALL=/usr/bin/install -p' set -e; for d in lib client src; do /usr/bin/make -C ${d}; done make[1]: Entering directory '/builddir/build/BUILD/mosquitto-1.4.14/lib' /usr/bin/make -C cpp make[2]: Entering directory '/builddir/build/BUILD/mosquitto-1.4.14/lib/cpp' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/mosquitto-1.4.14/lib/cpp' make[1]: Leaving directory '/builddir/build/BUILD/mosquitto-1.4.14/lib' make[1]: Entering directory '/builddir/build/BUILD/mosquitto-1.4.14/client' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/mosquitto-1.4.14/client' make[1]: Entering directory '/builddir/build/BUILD/mosquitto-1.4.14/src' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/mosquitto-1.4.14/src' set -e; for d in lib client src; do /usr/bin/make -C ${d} install; done make[1]: Entering directory '/builddir/build/BUILD/mosquitto-1.4.14/lib' /usr/bin/make -C cpp make[2]: Entering directory '/builddir/build/BUILD/mosquitto-1.4.14/lib/cpp' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/mosquitto-1.4.14/lib/cpp' /usr/bin/install -p -d /builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64/usr/lib64/ /usr/bin/install -p --strip-program=strip libmosquitto.so.1 /builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64/usr/lib64/libmosquitto.so.1 /usr/bin/install: WARNING: ignoring --strip-program option as -s option was not specified ln -sf libmosquitto.so.1 /builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64/usr/lib64/libmosquitto.so /usr/bin/install -p -d /builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64/usr/include/ /usr/bin/install -p mosquitto.h /builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64/usr/include/mosquitto.h /usr/bin/make -C cpp install make[2]: Entering directory '/builddir/build/BUILD/mosquitto-1.4.14/lib/cpp' /usr/bin/install -p -d /builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64/usr/lib64/ /usr/bin/install -p -s --strip-program=strip libmosquittopp.so.1 /builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64/usr/lib64/libmosquittopp.so.1 ln -sf libmosquittopp.so.1 /builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64/usr/lib64/libmosquittopp.so /usr/bin/install -p -d /builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64/usr/include/ /usr/bin/install -p mosquittopp.h /builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64/usr/include/mosquittopp.h make[2]: Leaving directory '/builddir/build/BUILD/mosquitto-1.4.14/lib/cpp' make[1]: Leaving directory '/builddir/build/BUILD/mosquitto-1.4.14/lib' make[1]: Entering directory '/builddir/build/BUILD/mosquitto-1.4.14/client' /usr/bin/install -p -d /builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64/usr/bin /usr/bin/install -p --strip-program=strip mosquitto_pub /builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64/usr/bin/mosquitto_pub /usr/bin/install: WARNING: ignoring --strip-program option as -s option was not specified /usr/bin/install -p --strip-program=strip mosquitto_sub /builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64/usr/bin/mosquitto_sub /usr/bin/install: WARNING: ignoring --strip-program option as -s option was not specified make[1]: Leaving directory '/builddir/build/BUILD/mosquitto-1.4.14/client' make[1]: Entering directory '/builddir/build/BUILD/mosquitto-1.4.14/src' /usr/bin/install -p -d /builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64/usr/sbin /usr/bin/install -p --strip-program=strip mosquitto /builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64/usr/sbin/mosquitto /usr/bin/install: WARNING: ignoring --strip-program option as -s option was not specified /usr/bin/install -p -d /builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64/usr/include /usr/bin/install -p mosquitto_plugin.h /builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64/usr/include/mosquitto_plugin.h /usr/bin/install -p -d /builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64/usr/bin /usr/bin/install -p --strip-program=strip mosquitto_passwd /builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64/usr/bin/mosquitto_passwd /usr/bin/install: WARNING: ignoring --strip-program option as -s option was not specified make[1]: Leaving directory '/builddir/build/BUILD/mosquitto-1.4.14/src' set -e; for d in man; do /usr/bin/make -C ${d} install; done make[1]: Entering directory '/builddir/build/BUILD/mosquitto-1.4.14/man' /usr/bin/install -p -d /builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64/usr/share/man/man8 /usr/bin/install -p -m 644 mosquitto.8 /builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64/usr/share/man/man8/mosquitto.8 /usr/bin/install -p -d /builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64/usr/share/man/man5 /usr/bin/install -p -m 644 mosquitto.conf.5 /builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64/usr/share/man/man5/mosquitto.conf.5 /usr/bin/install -p -d /builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64/usr/share/man/man1 /usr/bin/install -p -m 644 mosquitto_passwd.1 /builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64/usr/share/man/man1/mosquitto_passwd.1 /usr/bin/install -p -m 644 mosquitto_pub.1 /builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64/usr/share/man/man1/mosquitto_pub.1 /usr/bin/install -p -m 644 mosquitto_sub.1 /builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64/usr/share/man/man1/mosquitto_sub.1 /usr/bin/install -p -d /builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64/usr/share/man/man7 /usr/bin/install -p -m 644 mqtt.7 /builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64/usr/share/man/man7/mqtt.7 /usr/bin/install -p -m 644 mosquitto-tls.7 /builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64/usr/share/man/man7/mosquitto-tls.7 /usr/bin/install -p -d /builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64/usr/share/man/man3 /usr/bin/install -p -m 644 libmosquitto.3 /builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64/usr/share/man/man3/libmosquitto.3 make[1]: Leaving directory '/builddir/build/BUILD/mosquitto-1.4.14/man' /usr/bin/install -p -d /builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64/etc/mosquitto /usr/bin/install -p -m 644 mosquitto.conf /builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64/etc/mosquitto/mosquitto.conf.example /usr/bin/install -p -m 644 aclfile.example /builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64/etc/mosquitto/aclfile.example /usr/bin/install -p -m 644 pwfile.example /builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64/etc/mosquitto/pwfile.example /usr/bin/install -p -m 644 pskfile.example /builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64/etc/mosquitto/pskfile.example + cat + mkdir -p /builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64/usr/lib/systemd/system + install -p -m 0644 mosquitto.service /builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64/usr/lib/systemd/system/mosquitto.service + mv /builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64/etc/mosquitto/mosquitto.conf.example /builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64/etc/mosquitto/mosquitto.conf + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./usr/include/mosquittopp.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/mosquitto_plugin.h is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/include/mosquitto.h is executable but has empty or no shebang, removing executable bit Processing files: mosquitto-1.4.14-4.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.yzP0Z9 + umask 022 + cd /builddir/build/BUILD + cd mosquitto-1.4.14 + DOCDIR=/builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64/usr/share/doc/mosquitto + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64/usr/share/doc/mosquitto + cp -pr ChangeLog.txt /builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64/usr/share/doc/mosquitto + cp -pr CONTRIBUTING.md /builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64/usr/share/doc/mosquitto + cp -pr readme.md /builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64/usr/share/doc/mosquitto + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Y1Tkvc + umask 022 + cd /builddir/build/BUILD + cd mosquitto-1.4.14 + LICENSEDIR=/builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64/usr/share/licenses/mosquitto + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64/usr/share/licenses/mosquitto + cp -pr LICENSE.txt /builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64/usr/share/licenses/mosquitto + exit 0 Provides: config(mosquitto) = 1.4.14-4.fc28 libmosquitto.so.1()(64bit) libmosquitto.so.1(MOSQ_1.0)(64bit) libmosquitto.so.1(MOSQ_1.1)(64bit) libmosquitto.so.1(MOSQ_1.2)(64bit) libmosquitto.so.1(MOSQ_1.3)(64bit) libmosquitto.so.1(MOSQ_1.4)(64bit) libmosquittopp.so.1()(64bit) mosquitto = 1.4.14-4.fc28 mosquitto(riscv-64) = 1.4.14-4.fc28 Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh shadow-utils Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcares.so.2()(64bit) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.27)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libmosquitto.so.1()(64bit) libmosquitto.so.1(MOSQ_1.0)(64bit) libmosquitto.so.1(MOSQ_1.1)(64bit) libmosquitto.so.1(MOSQ_1.2)(64bit) libmosquitto.so.1(MOSQ_1.3)(64bit) libmosquitto.so.1(MOSQ_1.4)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libssl.so.1.1()(64bit) libssl.so.1.1(OPENSSL_1_1_0)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libuuid.so.1()(64bit) libuuid.so.1(UUID_1.0)(64bit) libwebsockets.so.11()(64bit) rtld(GNU_HASH) Processing files: mosquitto-devel-1.4.14-4.fc28.riscv64 Provides: mosquitto-devel = 1.4.14-4.fc28 mosquitto-devel(riscv-64) = 1.4.14-4.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libmosquitto.so.1()(64bit) libmosquittopp.so.1()(64bit) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64 Wrote: /builddir/build/SRPMS/mosquitto-1.4.14-4.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/mosquitto-1.4.14-4.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/mosquitto-devel-1.4.14-4.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ChnQ0l + umask 022 + cd /builddir/build/BUILD + cd mosquitto-1.4.14 + /usr/bin/rm -rf /builddir/build/BUILDROOT/mosquitto-1.4.14-4.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff