Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/booth.spec'], chrootPath='/var/lib/mock/f33-build-153165-43319/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/booth.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1563926400 Wrote: /builddir/build/SRPMS/booth-1.0-3.f2d38ce.git.fc33.2.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/booth.spec'], chrootPath='/var/lib/mock/f33-build-153165-43319/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/booth.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1563926400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.SJ3rrb + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf booth-f2d38ce3d61502bda2a28e79db103737a691faf4 + /usr/bin/gzip -dc /builddir/build/SOURCES/booth-f2d38ce.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd booth-f2d38ce3d61502bda2a28e79db103737a691faf4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git add . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'booth-1.0 base' + /usr/bin/cat /builddir/build/SOURCES/0000-test-remove-superfluous-shebangs-for-import-only-mod.patch + /usr/bin/git am -q + /usr/bin/cat /builddir/build/SOURCES/0001-test-do-not-mix-tabs-with-spaces-in-Python-code.patch + /usr/bin/git am -q + /usr/bin/cat /builddir/build/SOURCES/0002-test-make-Python-files-supported-_also_-with-Python-.patch + /usr/bin/git am -q + /usr/bin/cat /builddir/build/SOURCES/0003-build-parametrize-Python-invocations-in-the-shebangs.patch + /usr/bin/git am -q + /usr/bin/cat /builddir/build/SOURCES/0004-test-drop-underqualified-identifier-in-unittest-s-2..patch + /usr/bin/git am -q + /usr/bin/cat /builddir/build/SOURCES/0005-test-drop-comment-out-superfluous-imports.patch + /usr/bin/git am -q + /usr/bin/cat /builddir/build/SOURCES/0006-test-avoid-dangerous-mutable-sticky-default-value.patch + /usr/bin/git am -q + /usr/bin/cat /builddir/build/SOURCES/0007-test-unit-test.py-daemon-will-not-stay-in-foreground.patch + /usr/bin/git am -q + /usr/bin/cat /builddir/build/SOURCES/0008-Refactor-fix-strncpy-may-miss-trailing-null-byte-war.patch + /usr/bin/git am -q + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.KBM5r9 + umask 022 + cd /builddir/build/BUILD + cd booth-f2d38ce3d61502bda2a28e79db103737a691faf4 + ./autogen.sh Building configuration system... configure.ac:56: installing './compile' configure.ac:14: installing './config.guess' configure.ac:14: installing './config.sub' configure.ac:9: installing './install-sh' configure.ac:9: installing './missing' parallel-tests: installing './test-driver' src/Makefile.am: installing './depcomp' Now run ./configure and make + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-initddir=/etc/rc.d/init.d --docdir=/usr/share/doc/booth --enable-user-flags --without-html_man --without-glue checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu configure: building in place srcdir:. checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for pkg-config... /usr/bin/pkg-config checking for asciidoc... no checking for asciidoctor... /usr/bin/asciidoctor checking for a2x... no checking for xml2-config... /usr/bin/xml2-config checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking gcrypt.h usability... yes checking gcrypt.h presence... yes checking for gcrypt.h... yes checking for gcry_md_open in -lgcrypt... yes checking for special libxml2 includes... -I/usr/include/libxml2 checking for xmlReadMemory in -lxml2... yes checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for GLIB... yes checking for a Python interpreter with version >= 3.3... python3 checking for python3... /usr/bin/python3 checking for python3 version... 3.8 checking for python3 platform... linux checking for python3 script directory... ${prefix}/lib/python3.8/site-packages checking for python3 extension module directory... ${exec_prefix}/lib64/python3.8/site-packages checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for sys/types.h... (cached) yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking sys/sockio.h usability... no checking sys/sockio.h presence... no checking for sys/sockio.h... no checking utmpx.h usability... yes checking utmpx.h presence... yes checking for utmpx.h... yes checking heartbeat/glue_config.h usability... no checking heartbeat/glue_config.h presence... no checking for heartbeat/glue_config.h... no checking mhash.h usability... no checking mhash.h presence... no checking for mhash.h... no checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking pacemaker/crm/services.h usability... yes checking pacemaker/crm/services.h presence... yes checking for pacemaker/crm/services.h... yes checking for an ANSI C-conforming const... yes checking for uid_t in sys/types.h... yes checking for inline... inline checking for int16_t... yes checking for int32_t... yes checking for int64_t... yes checking for int8_t... yes checking for size_t... (cached) yes checking for ssize_t... yes checking whether time.h and sys/time.h may both be included... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for uint8_t... yes checking for working volatile... yes checking whether closedir returns void... no checking for error_at_line... yes checking for mbstate_t... yes checking for working POSIX fnmatch... yes checking for pid_t... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking whether gcc needs -traditional... no checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/socket.h... (cached) yes checking types of arguments for select... int,fd_set *,struct timeval * checking return type of signal handlers... void checking for vprintf... yes checking for _doprnt... no checking for alarm... yes checking for alphasort... yes checking for atexit... yes checking for bzero... yes checking for dup2... yes checking for endgrent... yes checking for endpwent... yes checking for fcntl... yes checking for getcwd... yes checking for getpeerucred... no checking for getpeereid... no checking for gettimeofday... yes checking for inet_ntoa... yes checking for memmove... yes checking for memset... yes checking for mkdir... yes checking for scandir... yes checking for select... yes checking for socket... yes checking for strcasecmp... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strrchr... yes checking for strspn... yes checking for strstr... yes checking for sched_get_priority_max... yes checking for sched_setscheduler... yes configure: Sanitizing prefix: /usr configure: Sanitizing exec_prefix: /usr checking for qb_log_real_ in -lqb... yes checking for LIBQB... yes checking for LIBQB1... yes checking for g_random_int_range in -lglib-2.0... yes checking for GLIB... yes checking for library containing sd_notify... -lsystemd checking for LIBSYSTEMD... yes checking if HA_CCMUSER in glue_config.h exists... default: hacluster checking if HA_APIGROUP in glue_config.h exists... default: haclient checking have clock_gettime... yes checking whether gcc supports "-Wall"... yes checking whether gcc supports "-Wshadow"... yes checking whether gcc supports "-Wmissing-prototypes"... yes checking whether gcc supports "-Wmissing-declarations"... yes checking whether gcc supports "-Wstrict-prototypes"... no checking whether gcc supports "-Wdeclaration-after-statement"... yes checking whether gcc supports "-Wpointer-arith"... yes checking whether gcc supports "-Wwrite-strings"... yes checking whether gcc supports "-Wbad-function-cast"... yes checking whether gcc supports "-Wmissing-format-attribute"... yes checking whether gcc supports "-Wformat=2"... yes checking whether gcc supports "-Wformat-security"... no checking whether gcc supports "-Wformat-nonliteral"... no checking whether gcc supports "-Wno-long-long"... yes checking whether gcc supports "-Wunsigned-char"... no checking whether gcc supports "-Wgnu89-inline"... no checking whether gcc supports "-Wno-strict-aliasing"... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating docs/Makefile config.status: creating conf/Makefile config.status: creating conf/booth-arbitrator.service config.status: creating conf/booth@.service config.status: creating script/unit-test.py chmod: cannot access 'test/runtests.py': No such file or directory config.status: creating test/runtests.py config.status: creating script/service-runnable config.status: creating src/b_config.h config.status: creating src/booth_config.h config.status: executing depfiles commands booth configuration: Version = 1.0 (Build: 1.0) Prefix = /usr Executables = /usr/sbin Man pages = /usr/share/man Doc dir = /usr/share/doc/booth Libraries = /usr/lib64 Header files = /usr/include Arch-independent files = /usr/share State information = /var System configuration = /etc System init.d directory = /etc/rc.d/init.d booth config dir = /etc/booth SOCKETDIR = Features = Logging provider = libqb Range2random provider = glib Nametag provider = libsystemd Coredump nursing = no Working directory = /var/lib/booth/cores HA group name = haclient HA user name = hacluster booth build info: Library SONAME = Default debug options = Extra compiler warnings = Env. defined CFLAG = -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection Env. defined CPPFLAGS = -I/usr/include/libxml2 Env. defined LDFLAGS = -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld OS defined CFLAGS = OS defined CPPFLAGS = -D_GNU_SOURCE OS defined LDFLAGS = OS defined LDL = -ldl OS defined DYFLAGS = -rdynamic ANSI defined CPPFLAGS = Coverage CFLAGS = Coverage LDFLAGS = Fatal War. CFLAGS = Final 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection Final CPPFLAGS = -I/usr/include/libxml2 -D_GNU_SOURCE -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include Final LDFLAGS = -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld + /usr/bin/make -O -j4 V=1 VERBOSE=1 GNUmakefile:41: warning: overriding recipe for target 'srpm' Makefile:1610: warning: ignoring old recipe for target 'srpm' GNUmakefile:46: warning: overriding recipe for target 'rpm' Makefile:1615: warning: ignoring old recipe for target 'rpm' Making all in src /usr/bin/make all-am make[2]: Entering directory '/builddir/build/BUILD/booth-f2d38ce3d61502bda2a28e79db103737a691faf4/src' gcc -DHAVE_CONFIG_H -I. -I../include -I/usr/include/libxml2 -D_GNU_SOURCE -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o boothd-config.o `test -f 'config.c' || echo './'`config.c make[2]: Leaving directory '/builddir/build/BUILD/booth-f2d38ce3d61502bda2a28e79db103737a691faf4/src' make[2]: Entering directory '/builddir/build/BUILD/booth-f2d38ce3d61502bda2a28e79db103737a691faf4/src' gcc -DHAVE_CONFIG_H -I. -I../include -I/usr/include/libxml2 -D_GNU_SOURCE -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o boothd-main.o `test -f 'main.c' || echo './'`main.c make[2]: Leaving directory '/builddir/build/BUILD/booth-f2d38ce3d61502bda2a28e79db103737a691faf4/src' main.c: In function 'format_peers': main.c:230:14: warning: taking address of packed member of 'struct booth_site' may result in an unaligned pointer value [-Waddress-of-packed-member] 230 | localtime(&s->last_recv)); | ^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/booth-f2d38ce3d61502bda2a28e79db103737a691faf4/src' gcc -DHAVE_CONFIG_H -I. -I../include -I/usr/include/libxml2 -D_GNU_SOURCE -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o boothd-raft.o `test -f 'raft.c' || echo './'`raft.c make[2]: Leaving directory '/builddir/build/BUILD/booth-f2d38ce3d61502bda2a28e79db103737a691faf4/src' make[2]: Entering directory '/builddir/build/BUILD/booth-f2d38ce3d61502bda2a28e79db103737a691faf4/src' gcc -DHAVE_CONFIG_H -I. -I../include -I/usr/include/libxml2 -D_GNU_SOURCE -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o boothd-pacemaker.o `test -f 'pacemaker.c' || echo './'`pacemaker.c make[2]: Leaving directory '/builddir/build/BUILD/booth-f2d38ce3d61502bda2a28e79db103737a691faf4/src' make[2]: Entering directory '/builddir/build/BUILD/booth-f2d38ce3d61502bda2a28e79db103737a691faf4/src' gcc -DHAVE_CONFIG_H -I. -I../include -I/usr/include/libxml2 -D_GNU_SOURCE -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o boothd-transport.o `test -f 'transport.c' || echo './'`transport.c make[2]: Leaving directory '/builddir/build/BUILD/booth-f2d38ce3d61502bda2a28e79db103737a691faf4/src' transport.c: In function 'booth_tcp_open': transport.c:656:42: warning: taking address of packed member of 'struct booth_site' may result in an unaligned pointer value [-Waddress-of-packed-member] 656 | rv = connect_nonb(s, (struct sockaddr *)&to->sa6, to->saddrlen, 10); | ^~~~~~~~ transport.c: In function 'message_recv': transport.c:1108:7: warning: taking address of packed member of 'struct booth_site' may result in an unaligned pointer value [-Waddress-of-packed-member] 1108 | time(&source->last_recv); | ^~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/booth-f2d38ce3d61502bda2a28e79db103737a691faf4/src' gcc -DHAVE_CONFIG_H -I. -I../include -I/usr/include/libxml2 -D_GNU_SOURCE -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o boothd-ticket.o `test -f 'ticket.c' || echo './'`ticket.c make[2]: Leaving directory '/builddir/build/BUILD/booth-f2d38ce3d61502bda2a28e79db103737a691faf4/src' make[2]: Entering directory '/builddir/build/BUILD/booth-f2d38ce3d61502bda2a28e79db103737a691faf4/src' gcc -DHAVE_CONFIG_H -I. -I../include -I/usr/include/libxml2 -D_GNU_SOURCE -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o boothd-request.o `test -f 'request.c' || echo './'`request.c make[2]: Leaving directory '/builddir/build/BUILD/booth-f2d38ce3d61502bda2a28e79db103737a691faf4/src' make[2]: Entering directory '/builddir/build/BUILD/booth-f2d38ce3d61502bda2a28e79db103737a691faf4/src' gcc -DHAVE_CONFIG_H -I. -I../include -I/usr/include/libxml2 -D_GNU_SOURCE -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o boothd-handler.o `test -f 'handler.c' || echo './'`handler.c make[2]: Leaving directory '/builddir/build/BUILD/booth-f2d38ce3d61502bda2a28e79db103737a691faf4/src' make[2]: Entering directory '/builddir/build/BUILD/booth-f2d38ce3d61502bda2a28e79db103737a691faf4/src' gcc -DHAVE_CONFIG_H -I. -I../include -I/usr/include/libxml2 -D_GNU_SOURCE -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o boothd-timer.o `test -f 'timer.c' || echo './'`timer.c make[2]: Leaving directory '/builddir/build/BUILD/booth-f2d38ce3d61502bda2a28e79db103737a691faf4/src' make[2]: Entering directory '/builddir/build/BUILD/booth-f2d38ce3d61502bda2a28e79db103737a691faf4/src' gcc -DHAVE_CONFIG_H -I. -I../include -I/usr/include/libxml2 -D_GNU_SOURCE -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o boothd-manual.o `test -f 'manual.c' || echo './'`manual.c make[2]: Leaving directory '/builddir/build/BUILD/booth-f2d38ce3d61502bda2a28e79db103737a691faf4/src' make[2]: Entering directory '/builddir/build/BUILD/booth-f2d38ce3d61502bda2a28e79db103737a691faf4/src' gcc -DHAVE_CONFIG_H -I. -I../include -I/usr/include/libxml2 -D_GNU_SOURCE -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o boothd-attr.o `test -f 'attr.c' || echo './'`attr.c make[2]: Leaving directory '/builddir/build/BUILD/booth-f2d38ce3d61502bda2a28e79db103737a691faf4/src' In file included from inline-fn.h:26, from log.h:35, from attr.h:25, from attr.c:21: attr.c: In function 'store_geo_attr': attr.c:282:13: warning: taking address of packed member of 'struct geo_attr' may result in an unaligned pointer value [-Waddress-of-packed-member] 282 | get_time(&a->update_ts); | ^~~~~~~~~~~~~ timer.h:43:48: note: in definition of macro 'get_time' 43 | #define get_time(p) clock_gettime(BOOTH_CLOCK, p) | ^ attr.c: In function 'append_attr': attr.c:337:18: warning: taking address of packed member of 'struct geo_attr' may result in an unaligned pointer value [-Waddress-of-packed-member] 337 | if (is_time_set(&a->update_ts)) { | ^~~~~~~~~~~~~ attr.c:338:16: warning: taking address of packed member of 'struct geo_attr' may result in an unaligned pointer value [-Waddress-of-packed-member] 338 | ts = wall_ts(&a->update_ts); | ^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/booth-f2d38ce3d61502bda2a28e79db103737a691faf4/src' gcc -DHAVE_CONFIG_H -I. -I../include -I/usr/include/libxml2 -D_GNU_SOURCE -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o alt/boothd-logging_libqb.o `test -f 'alt/logging_libqb.c' || echo './'`alt/logging_libqb.c make[2]: Leaving directory '/builddir/build/BUILD/booth-f2d38ce3d61502bda2a28e79db103737a691faf4/src' make[2]: Entering directory '/builddir/build/BUILD/booth-f2d38ce3d61502bda2a28e79db103737a691faf4/src' gcc -DHAVE_CONFIG_H -I. -I../include -I/usr/include/libxml2 -D_GNU_SOURCE -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o boothd-auth.o `test -f 'auth.c' || echo './'`auth.c make[2]: Leaving directory '/builddir/build/BUILD/booth-f2d38ce3d61502bda2a28e79db103737a691faf4/src' make[2]: Entering directory '/builddir/build/BUILD/booth-f2d38ce3d61502bda2a28e79db103737a691faf4/src' gcc -DHAVE_CONFIG_H -I. -I../include -I/usr/include/libxml2 -D_GNU_SOURCE -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o alt/boothd-range2random_glib.o `test -f 'alt/range2random_glib.c' || echo './'`alt/range2random_glib.c make[2]: Leaving directory '/builddir/build/BUILD/booth-f2d38ce3d61502bda2a28e79db103737a691faf4/src' make[2]: Entering directory '/builddir/build/BUILD/booth-f2d38ce3d61502bda2a28e79db103737a691faf4/src' gcc -DHAVE_CONFIG_H -I. -I../include -I/usr/include/libxml2 -D_GNU_SOURCE -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o alt/boothd-nametag_libsystemd.o `test -f 'alt/nametag_libsystemd.c' || echo './'`alt/nametag_libsystemd.c make[2]: Leaving directory '/builddir/build/BUILD/booth-f2d38ce3d61502bda2a28e79db103737a691faf4/src' make[2]: Entering directory '/builddir/build/BUILD/booth-f2d38ce3d61502bda2a28e79db103737a691faf4/src' gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -rdynamic -L./ -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o boothd boothd-config.o boothd-main.o boothd-raft.o boothd-ticket.o boothd-transport.o boothd-pacemaker.o boothd-handler.o boothd-request.o boothd-attr.o boothd-manual.o boothd-timer.o boothd-auth.o alt/boothd-logging_libqb.o alt/boothd-range2random_glib.o alt/boothd-nametag_libsystemd.o -lm -lglib-2.0 -lz -lqb -ldl -lglib-2.0 -lsystemd -lsystemd -lxml2 -lgcrypt make[2]: Leaving directory '/builddir/build/BUILD/booth-f2d38ce3d61502bda2a28e79db103737a691faf4/src' /usr/bin/ld: boothd-ticket.o: in function `.LANCHOR1': /builddir/build/BUILD/booth-f2d38ce3d61502bda2a28e79db103737a691faf4/src/pacemaker.h:35: multiple definition of `pcmk_handler'; boothd-main.o:/builddir/build/BUILD/booth-f2d38ce3d61502bda2a28e79db103737a691faf4/src/pacemaker.h:35: first defined here /usr/bin/ld: boothd-pacemaker.o: in function `.LANCHOR4': /builddir/build/BUILD/booth-f2d38ce3d61502bda2a28e79db103737a691faf4/src/pacemaker.h:35: multiple definition of `pcmk_handler'; boothd-main.o:/builddir/build/BUILD/booth-f2d38ce3d61502bda2a28e79db103737a691faf4/src/pacemaker.h:35: first defined here /usr/bin/ld: boothd-handler.o: in function `.LANCHOR1': /builddir/build/BUILD/booth-f2d38ce3d61502bda2a28e79db103737a691faf4/src/pacemaker.h:35: multiple definition of `pcmk_handler'; boothd-main.o:/builddir/build/BUILD/booth-f2d38ce3d61502bda2a28e79db103737a691faf4/src/pacemaker.h:35: first defined here /usr/bin/ld: boothd-attr.o: in function `.LANCHOR2': /builddir/build/BUILD/booth-f2d38ce3d61502bda2a28e79db103737a691faf4/src/pacemaker.h:35: multiple definition of `pcmk_handler'; boothd-main.o:/builddir/build/BUILD/booth-f2d38ce3d61502bda2a28e79db103737a691faf4/src/pacemaker.h:35: first defined here /usr/bin/ld: warning: /lib64/lp64d/../lib64/lp64d/libqb.so contains output sections; did you forget -T? collect2: error: ld returned 1 exit status make[2]: *** [Makefile:500: boothd] Error 1 make[1]: *** [Makefile:387: all] Error 2 make: *** [Makefile:920: all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.KBM5r9 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.KBM5r9 (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/booth.spec