Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/srcpd.spec'], chrootPath='/var/lib/mock/f40-build-807614-145225/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': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/srcpd.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': 'C.UTF-8'} and shell False warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689984000 Wrote: /builddir/build/SRPMS/srcpd-2.1.6-2.fc40.src.rpm RPM build warnings: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/srcpd.spec'], chrootPath='/var/lib/mock/f40-build-807614-145225/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': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/srcpd.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': 'C.UTF-8'} and shell False warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689984000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.MYT2Bo + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf srcpd-2.1.6 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/srcpd-2.1.6.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd srcpd-2.1.6 + rm -rf /builddir/build/BUILD/srcpd-2.1.6-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/srcpd-2.1.6-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (srcpd-2.1.6-io-conditional.patch):' Patch #0 (srcpd-2.1.6-io-conditional.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file configure + echo 'Patch #1 (srcpd-2.1.6-udev.patch):' Patch #1 (srcpd-2.1.6-udev.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file 10-liusb.rules + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.rOupoV + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd srcpd-2.1.6 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' x '!=' x ']' + '[' 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-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure ++ echo --runstatedir=/run + ./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 --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports the include directive... yes (GNU style) checking for riscv64-redhat-linux-gnu-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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for cfmakeraw... yes checking how to run the C preprocessor... gcc -E checking for library containing getaddrinfo... none required checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for fcntl.h... yes checking for syslog.h... yes checking for errno.h... yes checking for pthread.h... yes checking for pwd.h... yes checking for sys/time.h... yes checking for signal.h... yes checking for termios.h... yes checking for netdb.h... yes checking POSIX termios... yes checking for linux/serial.h... yes checking for linux/i2c-dev.h... yes checking for pid_t... yes checking return type of signal handlers... void checking for an ANSI C-conforming const... yes checking for inline... inline checking for type of build... release checking for working memcmp... yes checking for gettimeofday... yes checking for socket... yes checking for xml2-config... /usr/bin/xml2-config checking for libxml - version >= 2.4.0... yes (version 2.12.5) checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking whether to enable ipv6... 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 man/Makefile config.status: creating man/de/Makefile config.status: creating src/config.h config.status: executing depfiles commands Supported devices: ddl hsi-88 i2c-dev intellibox li100 loconet loopback m605x selectrix zimo dccar Unsupported devices: ddl-s88 Run 'make' to continue. + /usr/bin/make -O -j4 V=1 VERBOSE=1 Making all in src /usr/bin/make all-am make[2]: Entering directory '/builddir/build/BUILD/srcpd-2.1.6/src' gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c -o dcc-address.o dcc-address.c make[2]: Leaving directory '/builddir/build/BUILD/srcpd-2.1.6/src' make[2]: Entering directory '/builddir/build/BUILD/srcpd-2.1.6/src' gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c -o toolbox.o toolbox.c make[2]: Leaving directory '/builddir/build/BUILD/srcpd-2.1.6/src' make[2]: Entering directory '/builddir/build/BUILD/srcpd-2.1.6/src' gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c -o io.o io.c make[2]: Leaving directory '/builddir/build/BUILD/srcpd-2.1.6/src' make[2]: Entering directory '/builddir/build/BUILD/srcpd-2.1.6/src' gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c -o clientservice.o clientservice.c make[2]: Leaving directory '/builddir/build/BUILD/srcpd-2.1.6/src' make[2]: Entering directory '/builddir/build/BUILD/srcpd-2.1.6/src' gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c -o portio.o portio.c make[2]: Leaving directory '/builddir/build/BUILD/srcpd-2.1.6/src' make[2]: Entering directory '/builddir/build/BUILD/srcpd-2.1.6/src' gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c -o netservice.o netservice.c make[2]: Leaving directory '/builddir/build/BUILD/srcpd-2.1.6/src' make[2]: Entering directory '/builddir/build/BUILD/srcpd-2.1.6/src' gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c -o srcp-descr.o srcp-descr.c make[2]: Leaving directory '/builddir/build/BUILD/srcpd-2.1.6/src' make[2]: Entering directory '/builddir/build/BUILD/srcpd-2.1.6/src' gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c -o config-srcpd.o config-srcpd.c make[2]: Leaving directory '/builddir/build/BUILD/srcpd-2.1.6/src' make[2]: Entering directory '/builddir/build/BUILD/srcpd-2.1.6/src' gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c -o srcp-error.o srcp-error.c make[2]: Leaving directory '/builddir/build/BUILD/srcpd-2.1.6/src' make[2]: Entering directory '/builddir/build/BUILD/srcpd-2.1.6/src' gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c -o srcpd.o srcpd.c make[2]: Leaving directory '/builddir/build/BUILD/srcpd-2.1.6/src' make[2]: Entering directory '/builddir/build/BUILD/srcpd-2.1.6/src' gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c -o srcp-fb.o srcp-fb.c make[2]: Leaving directory '/builddir/build/BUILD/srcpd-2.1.6/src' make[2]: Entering directory '/builddir/build/BUILD/srcpd-2.1.6/src' gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c -o srcp-ga.o srcp-ga.c make[2]: Leaving directory '/builddir/build/BUILD/srcpd-2.1.6/src' make[2]: Entering directory '/builddir/build/BUILD/srcpd-2.1.6/src' gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c -o srcp-gm.o srcp-gm.c make[2]: Leaving directory '/builddir/build/BUILD/srcpd-2.1.6/src' make[2]: Entering directory '/builddir/build/BUILD/srcpd-2.1.6/src' gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c -o srcp-lock.o srcp-lock.c make[2]: Leaving directory '/builddir/build/BUILD/srcpd-2.1.6/src' make[2]: Entering directory '/builddir/build/BUILD/srcpd-2.1.6/src' gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c -o srcp-power.o srcp-power.c make[2]: Leaving directory '/builddir/build/BUILD/srcpd-2.1.6/src' make[2]: Entering directory '/builddir/build/BUILD/srcpd-2.1.6/src' gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c -o srcp-gl.o srcp-gl.c make[2]: Leaving directory '/builddir/build/BUILD/srcpd-2.1.6/src' make[2]: Entering directory '/builddir/build/BUILD/srcpd-2.1.6/src' gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c -o srcp-command.o srcp-command.c make[2]: Leaving directory '/builddir/build/BUILD/srcpd-2.1.6/src' make[2]: Entering directory '/builddir/build/BUILD/srcpd-2.1.6/src' gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c -o srcp-info.o srcp-info.c make[2]: Leaving directory '/builddir/build/BUILD/srcpd-2.1.6/src' make[2]: Entering directory '/builddir/build/BUILD/srcpd-2.1.6/src' gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c -o srcp-server.o srcp-server.c make[2]: Leaving directory '/builddir/build/BUILD/srcpd-2.1.6/src' make[2]: Entering directory '/builddir/build/BUILD/srcpd-2.1.6/src' gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c -o srcp-sm.o srcp-sm.c make[2]: Leaving directory '/builddir/build/BUILD/srcpd-2.1.6/src' make[2]: Entering directory '/builddir/build/BUILD/srcpd-2.1.6/src' gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c -o ttycygwin.o ttycygwin.c make[2]: Leaving directory '/builddir/build/BUILD/srcpd-2.1.6/src' make[2]: Entering directory '/builddir/build/BUILD/srcpd-2.1.6/src' gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c -o syslogmessage.o syslogmessage.c make[2]: Leaving directory '/builddir/build/BUILD/srcpd-2.1.6/src' make[2]: Entering directory '/builddir/build/BUILD/srcpd-2.1.6/src' gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c -o srcp-session.o srcp-session.c make[2]: Leaving directory '/builddir/build/BUILD/srcpd-2.1.6/src' make[2]: Entering directory '/builddir/build/BUILD/srcpd-2.1.6/src' gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c -o srcp-time.o srcp-time.c make[2]: Leaving directory '/builddir/build/BUILD/srcpd-2.1.6/src' make[2]: Entering directory '/builddir/build/BUILD/srcpd-2.1.6/src' gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c -o i2c-dev.o i2c-dev.c make[2]: Leaving directory '/builddir/build/BUILD/srcpd-2.1.6/src' make[2]: Entering directory '/builddir/build/BUILD/srcpd-2.1.6/src' gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c -o ib.o ib.c ib.c: In function ‘readConfig_IB’: ib.c:58:35: error: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration] 58 | buses[busnumber].driverdata = malloc(sizeof(struct _IB_DATA)); | ^~~~~~ ib.c:47:1: note: include ‘’ or provide a declaration of ‘malloc’ 46 | #include "ttycygwin.h" +++ |+#include 47 | ib.c:58:35: warning: incompatible implicit declaration of built-in function ‘malloc’ [-Wbuiltin-declaration-mismatch] 58 | buses[busnumber].driverdata = malloc(sizeof(struct _IB_DATA)); | ^~~~~~ ib.c:58:35: note: include ‘’ or provide a declaration of ‘malloc’ ib.c:97:35: error: implicit declaration of function ‘atoi’ [-Wimplicit-function-declaration] 97 | __ib->number_fb = atoi((char *) txt); | ^~~~ ib.c: In function ‘end_bus_thread’: ib.c:1005:5: error: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] 1005 | free(buses[btd->bus].driverdata); | ^~~~ ib.c:1005:5: note: include ‘’ or provide a declaration of ‘free’ ib.c:1005:5: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] ib.c:1005:5: note: include ‘’ or provide a declaration of ‘free’ ib.c: In function ‘thr_sendrec_IB’: ib.c:1819:42: warning: incompatible implicit declaration of built-in function ‘malloc’ [-Wbuiltin-declaration-mismatch] 1819 | bus_thread_t *btd = (bus_thread_t *) malloc(sizeof(bus_thread_t)); | ^~~~~~ ib.c:1819:42: note: include ‘’ or provide a declaration of ‘malloc’ make[2]: *** [Makefile:518: ib.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/srcpd-2.1.6/src' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/builddir/build/BUILD/srcpd-2.1.6/src' gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c -o ddl_maerklin.o ddl_maerklin.c make[2]: Leaving directory '/builddir/build/BUILD/srcpd-2.1.6/src' make[2]: Entering directory '/builddir/build/BUILD/srcpd-2.1.6/src' gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c -o ddl_nmra.o ddl_nmra.c make[2]: Leaving directory '/builddir/build/BUILD/srcpd-2.1.6/src' make[2]: Entering directory '/builddir/build/BUILD/srcpd-2.1.6/src' gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c -o ddl.o ddl.c make[2]: Leaving directory '/builddir/build/BUILD/srcpd-2.1.6/src' make[1]: *** [Makefile:367: all] Error 2 make: *** [Makefile:439: all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.rOupoV (%build) RPM build warnings: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.rOupoV (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, 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/srcpd.spec