+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/srcpd.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.LhAQF8 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf srcpd-2.1.3 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/srcpd-2.1.3.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd srcpd-2.1.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (srcpd-2.1.3-io-conditional.patch):' Patch #0 (srcpd-2.1.3-io-conditional.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file configure Hunk #1 succeeded at 4908 (offset 231 lines). Hunk #2 succeeded at 5579 (offset 252 lines). Hunk #3 succeeded at 6548 (offset 267 lines). Hunk #4 succeeded at 6756 (offset 275 lines). + echo 'Patch #1 (srcpd-2.1.2-typedef.patch):' Patch #1 (srcpd-2.1.2-typedef.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/srcp-time.h + for file in ./man/de/srcpd.* ./DESIGN ./README + iconv -f latin1 -t utf8 + mv -f ./man/de/srcpd.8.new ./man/de/srcpd.8 + for file in ./man/de/srcpd.* ./DESIGN ./README + iconv -f latin1 -t utf8 + mv -f ./man/de/srcpd.conf.5.new ./man/de/srcpd.conf.5 + for file in ./man/de/srcpd.* ./DESIGN ./README + iconv -f latin1 -t utf8 + mv -f ./DESIGN.new ./DESIGN + for file in ./man/de/srcpd.* ./DESIGN ./README + iconv -f latin1 -t utf8 + mv -f ./README.new ./README + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.keYUGb + umask 022 + cd /builddir/build/BUILD + cd srcpd-2.1.3 + 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 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 ' + 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 -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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 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-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 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 /builddir/build/BUILD/srcpd-2.1.3/missing: Unknown `--is-lightweight' option Try `/builddir/build/BUILD/srcpd-2.1.3/missing --help' for more information configure: WARNING: 'missing' script is too old or missing 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 for style of include used by make... GNU 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 dependency style of gcc... none checking for cfmakeraw... yes checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking how to run the C preprocessor... gcc -E checking for library containing getaddrinfo... none required 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 fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking POSIX termios... yes checking sys/io.h usability... no checking sys/io.h presence... no checking for sys/io.h... no checking linux/serial.h usability... yes checking linux/serial.h presence... yes checking for linux/serial.h... yes checking linux/i2c-dev.h usability... yes checking linux/i2c-dev.h presence... 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.9.7) checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... 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. + make -j4 Making all in src make[1]: Entering directory '/builddir/build/BUILD/srcpd-2.1.3/src' make all-am make[2]: Entering directory '/builddir/build/BUILD/srcpd-2.1.3/src' gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -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 -pthread -c -o clientservice.o clientservice.c gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -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 -pthread -c -o config-srcpd.o config-srcpd.c gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -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 -pthread -c -o dcc-address.o dcc-address.c gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -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 -pthread -c -o io.o io.c gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -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 -pthread -c -o toolbox.o toolbox.c gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -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 -pthread -c -o netservice.o netservice.c gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -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 -pthread -c -o portio.o portio.c gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -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 -pthread -c -o srcp-command.o srcp-command.c gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -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 -pthread -c -o srcpd.o srcpd.c gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -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 -pthread -c -o srcp-descr.o srcp-descr.c gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -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 -pthread -c -o srcp-error.o srcp-error.c gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -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 -pthread -c -o srcp-fb.o srcp-fb.c gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -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 -pthread -c -o srcp-ga.o srcp-ga.c gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -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 -pthread -c -o srcp-gl.o srcp-gl.c gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -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 -pthread -c -o srcp-gm.o srcp-gm.c gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -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 -pthread -c -o srcp-info.o srcp-info.c gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -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 -pthread -c -o srcp-lock.o srcp-lock.c gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -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 -pthread -c -o srcp-power.o srcp-power.c gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -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 -pthread -c -o srcp-server.o srcp-server.c gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -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 -pthread -c -o srcp-session.o srcp-session.c gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -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 -pthread -c -o srcp-sm.o srcp-sm.c gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -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 -pthread -c -o srcp-time.o srcp-time.c gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -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 -pthread -c -o syslogmessage.o syslogmessage.c gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -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 -pthread -c -o ttycygwin.o ttycygwin.c gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -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 -pthread -c -o ddl.o ddl.c gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -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 -pthread -c -o ddl_maerklin.o ddl_maerklin.c gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -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 -pthread -c -o ddl_nmra.o ddl_nmra.c gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -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 -pthread -c -o i2c-dev.o i2c-dev.c gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -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 -pthread -c -o ib.o ib.c gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -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 -pthread -c -o hsi-88.o hsi-88.c gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -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 -pthread -c -o li100-main.o li100-main.c gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -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 -pthread -c -o loconet.o loconet.c gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -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 -pthread -c -o loopback.o loopback.c gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -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 -pthread -c -o m605x.o m605x.c loconet.c: In function 'thr_sendrec_LOCONET': loconet.c:447:31: warning: 'pktlen' may be used uninitialized in this function [-Wmaybe-uninitialized] if (__loconet->ibufferout + pktlen > __loconet->ibufferin) { ^ loconet.c:410:13: note: 'pktlen' was declared here ssize_t pktlen; ^~~~~~ gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -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 -pthread -c -o selectrix.o selectrix.c gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -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 -pthread -c -o zimo.o zimo.c gcc -D_REENTRANT -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -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 -pthread -c -o dccar.o dccar.c dccar.c: In function 'thr_sendrec_DCCAR': dccar.c:332:13: warning: unused variable 'gatmp' [-Wunused-variable] ga_state_t gatmp; ^~~~~ dccar.c:331:27: warning: unused variable 'cmp_time' [-Wunused-variable] struct timeval akt_time, cmp_time; ^~~~~~~~ dccar.c:331:17: warning: unused variable 'akt_time' [-Wunused-variable] struct timeval akt_time, cmp_time; ^~~~~~~~ dccar.c:330:12: warning: unused variable 'ctr' [-Wunused-variable] int addr, ctr; ^~~ dccar.c:330:6: warning: unused variable 'addr' [-Wunused-variable] int addr, ctr; ^~~~ gcc -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 -pthread -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o srcpd clientservice.o config-srcpd.o dcc-address.o io.o toolbox.o netservice.o portio.o srcp-command.o srcpd.o srcp-descr.o srcp-error.o srcp-fb.o srcp-ga.o srcp-gl.o srcp-gm.o srcp-info.o srcp-lock.o srcp-power.o srcp-server.o srcp-session.o srcp-sm.o srcp-time.o syslogmessage.o ttycygwin.o ddl.o ddl_maerklin.o ddl_nmra.o i2c-dev.o ib.o hsi-88.o li100-main.o loconet.o loopback.o m605x.o selectrix.o zimo.o dccar.o -lxml2 -lz -llzma -lm -ldl make[2]: Leaving directory '/builddir/build/BUILD/srcpd-2.1.3/src' make[1]: Leaving directory '/builddir/build/BUILD/srcpd-2.1.3/src' Making all in man make[1]: Entering directory '/builddir/build/BUILD/srcpd-2.1.3/man' Making all in de make[2]: Entering directory '/builddir/build/BUILD/srcpd-2.1.3/man/de' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/srcpd-2.1.3/man/de' make[2]: Entering directory '/builddir/build/BUILD/srcpd-2.1.3/man' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory '/builddir/build/BUILD/srcpd-2.1.3/man' make[1]: Leaving directory '/builddir/build/BUILD/srcpd-2.1.3/man' make[1]: Entering directory '/builddir/build/BUILD/srcpd-2.1.3' make[1]: Nothing to be done for 'all-am'. make[1]: Leaving directory '/builddir/build/BUILD/srcpd-2.1.3' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.bCeBrh + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/srcpd-2.1.3-6.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/srcpd-2.1.3-6.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/srcpd-2.1.3-6.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/srcpd-2.1.3-6.fc28.riscv64 + cd srcpd-2.1.3 + make install DESTDIR=/builddir/build/BUILDROOT/srcpd-2.1.3-6.fc28.riscv64 Making install in src make[1]: Entering directory '/builddir/build/BUILD/srcpd-2.1.3/src' make[2]: Entering directory '/builddir/build/BUILD/srcpd-2.1.3/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/srcpd-2.1.3-6.fc28.riscv64/usr/sbin' /usr/bin/install -c srcpd '/builddir/build/BUILDROOT/srcpd-2.1.3-6.fc28.riscv64/usr/sbin' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/srcpd-2.1.3/src' make[1]: Leaving directory '/builddir/build/BUILD/srcpd-2.1.3/src' Making install in man make[1]: Entering directory '/builddir/build/BUILD/srcpd-2.1.3/man' Making install in de make[2]: Entering directory '/builddir/build/BUILD/srcpd-2.1.3/man/de' make[3]: Entering directory '/builddir/build/BUILD/srcpd-2.1.3/man/de' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/srcpd-2.1.3-6.fc28.riscv64/usr/share/man/de/man5' /usr/bin/install -c -m 644 srcpd.conf.5 '/builddir/build/BUILDROOT/srcpd-2.1.3-6.fc28.riscv64/usr/share/man/de/man5' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/srcpd-2.1.3-6.fc28.riscv64/usr/share/man/de/man8' /usr/bin/install -c -m 644 srcpd.8 '/builddir/build/BUILDROOT/srcpd-2.1.3-6.fc28.riscv64/usr/share/man/de/man8' make[3]: Leaving directory '/builddir/build/BUILD/srcpd-2.1.3/man/de' make[2]: Leaving directory '/builddir/build/BUILD/srcpd-2.1.3/man/de' make[2]: Entering directory '/builddir/build/BUILD/srcpd-2.1.3/man' make[3]: Entering directory '/builddir/build/BUILD/srcpd-2.1.3/man' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/srcpd-2.1.3-6.fc28.riscv64/usr/share/man/man5' /usr/bin/install -c -m 644 srcpd.conf.5 '/builddir/build/BUILDROOT/srcpd-2.1.3-6.fc28.riscv64/usr/share/man/man5' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/srcpd-2.1.3-6.fc28.riscv64/usr/share/man/man8' /usr/bin/install -c -m 644 srcpd.8 '/builddir/build/BUILDROOT/srcpd-2.1.3-6.fc28.riscv64/usr/share/man/man8' make[3]: Leaving directory '/builddir/build/BUILD/srcpd-2.1.3/man' make[2]: Leaving directory '/builddir/build/BUILD/srcpd-2.1.3/man' make[1]: Leaving directory '/builddir/build/BUILD/srcpd-2.1.3/man' make[1]: Entering directory '/builddir/build/BUILD/srcpd-2.1.3' make[2]: Entering directory '/builddir/build/BUILD/srcpd-2.1.3' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/srcpd-2.1.3-6.fc28.riscv64/etc' /usr/bin/install -c -m 644 srcpd.conf '/builddir/build/BUILDROOT/srcpd-2.1.3-6.fc28.riscv64/etc' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/srcpd-2.1.3-6.fc28.riscv64/etc/udev/rules.d' /usr/bin/install -c -m 644 10-liusb.rules '/builddir/build/BUILDROOT/srcpd-2.1.3-6.fc28.riscv64/etc/udev/rules.d' make[2]: Leaving directory '/builddir/build/BUILD/srcpd-2.1.3' make[1]: Leaving directory '/builddir/build/BUILD/srcpd-2.1.3' + /usr/lib/rpm/find-lang.sh /builddir/build/BUILDROOT/srcpd-2.1.3-6.fc28.riscv64 srcpd --with-man --all-name + install -Dpm 0644 /builddir/build/SOURCES/srcpd.service /builddir/build/BUILDROOT/srcpd-2.1.3-6.fc28.riscv64//usr/lib/systemd/system/srcpd.service + rm -rf /builddir/build/BUILDROOT/srcpd-2.1.3-6.fc28.riscv64//etc/udev + install -Dpm 0644 10-liusb.rules /builddir/build/BUILDROOT/srcpd-2.1.3-6.fc28.riscv64//usr/lib/udev/rules.d/10-liusb.rules + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/srcpd-2.1.3-6.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 Processing files: srcpd-2.1.3-6.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.HKl9Pj + umask 022 + cd /builddir/build/BUILD + cd srcpd-2.1.3 + DOCDIR=/builddir/build/BUILDROOT/srcpd-2.1.3-6.fc28.riscv64/usr/share/doc/srcpd + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/srcpd-2.1.3-6.fc28.riscv64/usr/share/doc/srcpd + cp -pr AUTHORS /builddir/build/BUILDROOT/srcpd-2.1.3-6.fc28.riscv64/usr/share/doc/srcpd + cp -pr COPYING /builddir/build/BUILDROOT/srcpd-2.1.3-6.fc28.riscv64/usr/share/doc/srcpd + cp -pr ChangeLog /builddir/build/BUILDROOT/srcpd-2.1.3-6.fc28.riscv64/usr/share/doc/srcpd + cp -pr DESIGN /builddir/build/BUILDROOT/srcpd-2.1.3-6.fc28.riscv64/usr/share/doc/srcpd + cp -pr NEWS /builddir/build/BUILDROOT/srcpd-2.1.3-6.fc28.riscv64/usr/share/doc/srcpd + cp -pr PROGRAMMING-HOWTO /builddir/build/BUILDROOT/srcpd-2.1.3-6.fc28.riscv64/usr/share/doc/srcpd + cp -pr TODO /builddir/build/BUILDROOT/srcpd-2.1.3-6.fc28.riscv64/usr/share/doc/srcpd + cp -pr README /builddir/build/BUILDROOT/srcpd-2.1.3-6.fc28.riscv64/usr/share/doc/srcpd + cp -pr README.loconet /builddir/build/BUILDROOT/srcpd-2.1.3-6.fc28.riscv64/usr/share/doc/srcpd + cp -pr README.selectrix /builddir/build/BUILDROOT/srcpd-2.1.3-6.fc28.riscv64/usr/share/doc/srcpd + exit 0 Provides: config(srcpd) = 2.1.3-6.fc28 srcpd = 2.1.3-6.fc28 srcpd(riscv-64) = 2.1.3-6.fc28 Requires(interp): /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(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) libdl.so.2()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) liblzma.so.5()(64bit) libm.so.6()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libxml2.so.2()(64bit) libxml2.so.2(LIBXML2_2.4.30)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/srcpd-2.1.3-6.fc28.riscv64 Wrote: /builddir/build/SRPMS/srcpd-2.1.3-6.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/srcpd-2.1.3-6.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.hVTc94 + umask 022 + cd /builddir/build/BUILD + cd srcpd-2.1.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/srcpd-2.1.3-6.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync ++ sleep 5 Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff