Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/cwdaemon.spec'], chrootPath='/var/lib/mock/f38-build-711219-93648/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=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/cwdaemon.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 (1 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674086400 Wrote: /builddir/build/SRPMS/cwdaemon-0.10.2-16.fc38.src.rpm RPM build warnings: %patchN is deprecated (1 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 --noclean --target riscv64 --nodeps /builddir/build/SPECS/cwdaemon.spec'], chrootPath='/var/lib/mock/f38-build-711219-93648/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=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/cwdaemon.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 (1 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674086400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.nsiWf9 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cwdaemon-0.10.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/cwdaemon-0.10.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd cwdaemon-0.10.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (cwdaemon-examples-fix.patch):' Patch #1 (cwdaemon-examples-fix.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .examples-fix --fuzz=0 patching file examples/example.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Y1qtHt + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -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 cwdaemon-0.10.2 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -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 + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2015-10-01 21:15:54.000000000 +0100 +++ ./configure 2023-05-12 19:44:25.253484337 +0100 @@ -1838,7 +1838,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 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 ++ grep -q runstatedir=DIR ./configure + ./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 for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /builddir/build/BUILD/cwdaemon-0.10.2/missing: Unknown `--is-lightweight' option Try `/builddir/build/BUILD/cwdaemon-0.10.2/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 whether to enable maintainer-specific portions of Makefiles... no checking for style of include used by make... GNU 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 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 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 whether gcc needs -traditional... no checking for riscv64-redhat-linux-gnu-gcc... (cached) 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 for riscv64-redhat-linux-gnu-gcc... (cached) 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 for rpmbuild... rpmbuild 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 errno.h usability... yes checking errno.h presence... yes checking for errno.h... 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 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 stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking linux/ppdev.h usability... yes checking linux/ppdev.h presence... yes checking for linux/ppdev.h... yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking dev/ppbus/ppi.h usability... no checking dev/ppbus/ppi.h presence... no checking for dev/ppbus/ppi.h... no checking for sys/stat.h... (cached) yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... 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 return type of signal handlers... void checking for bzero... yes checking for socket... yes checking for strerror... yes checking for setpriority... 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 LIBCW... yes libcw CLFAGS is libcw LIBS is -lcw 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 doc/Makefile config.status: creating examples/Makefile config.status: creating doc/cwdaemon.8 config.status: creating cwdaemon.spec config.status: creating config.h config.status: executing depfiles commands + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/cwdaemon-0.10.2' Making all in src make[2]: Entering directory '/builddir/build/BUILD/cwdaemon-0.10.2/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer -Wall -W -pedantic -Wfloat-equal -Wpointer-arith -Wcast-qual -Wwrite-strings -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wredundant-decls -std=c99 -c -o cwdaemon-cwdaemon.o `test -f 'cwdaemon.c' || echo './'`cwdaemon.c gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer -Wall -W -pedantic -Wfloat-equal -Wpointer-arith -Wcast-qual -Wwrite-strings -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wredundant-decls -std=c99 -c -o cwdaemon-lp.o `test -f 'lp.c' || echo './'`lp.c gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer -Wall -W -pedantic -Wfloat-equal -Wpointer-arith -Wcast-qual -Wwrite-strings -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wredundant-decls -std=c99 -c -o cwdaemon-ttys.o `test -f 'ttys.c' || echo './'`ttys.c gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer -Wall -W -pedantic -Wfloat-equal -Wpointer-arith -Wcast-qual -Wwrite-strings -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wredundant-decls -std=c99 -c -o cwdaemon-null.o `test -f 'null.c' || echo './'`null.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from lp.c:34: /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ttys.c:28: /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ lp.c: In function 'dev_get_parport': lp.c:91:14: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 91 | if (m >= sizeof(nm)) | ^~ ttys.c: In function 'dev_get_tty': ttys.c:83:15: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 83 | if (m >= sizeof(nm)) | ^~ cwdaemon.c: In function 'main': cwdaemon.c:2728:17: warning: 'cw_set_debug_flags' is deprecated [-Wdeprecated-declarations] 2728 | cw_set_debug_flags(libcw_debug_flags); | ^~~~~~~~~~~~~~~~~~ In file included from cwdaemon.c:114: /usr/include/libcw_debug.h:85:10: note: declared here 85 | void cw_set_debug_flags(uint32_t flags) __attribute__ ((deprecated)); | ^~~~~~~~~~~~~~~~~~ cwdaemon.c: In function 'cwdaemon_play_request': cwdaemon.c:1593:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 1593 | *x = '+'; | ~~~^~~~~ cwdaemon.c:1594:17: note: here 1594 | default: | ^~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer -Wall -W -pedantic -Wfloat-equal -Wpointer-arith -Wcast-qual -Wwrite-strings -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wredundant-decls -std=c99 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -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 -o cwdaemon cwdaemon-cwdaemon.o cwdaemon-lp.o cwdaemon-ttys.o cwdaemon-null.o -lcw make[2]: Leaving directory '/builddir/build/BUILD/cwdaemon-0.10.2/src' Making all in doc make[2]: Entering directory '/builddir/build/BUILD/cwdaemon-0.10.2/doc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/cwdaemon-0.10.2/doc' Making all in examples make[2]: Entering directory '/builddir/build/BUILD/cwdaemon-0.10.2/examples' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer -Wall -W -pedantic -Wfloat-equal -Wpointer-arith -Wcast-qual -Wwrite-strings -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wredundant-decls -std=c99 -c -o example.o example.c example.c: In function 'main': example.c:269:13: warning: variable 'result' set but not used [-Wunused-but-set-variable] 269 | int result; | ^~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer -Wall -W -pedantic -Wfloat-equal -Wpointer-arith -Wcast-qual -Wwrite-strings -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wredundant-decls -std=c99 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -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 -o example example.o make[2]: Leaving directory '/builddir/build/BUILD/cwdaemon-0.10.2/examples' make[2]: Entering directory '/builddir/build/BUILD/cwdaemon-0.10.2' make[2]: Leaving directory '/builddir/build/BUILD/cwdaemon-0.10.2' make[1]: Leaving directory '/builddir/build/BUILD/cwdaemon-0.10.2' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.N0LsPf + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64 ++ dirname /builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -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 cwdaemon-0.10.2 + make install DESTDIR=/builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64 Making install in src make[1]: Entering directory '/builddir/build/BUILD/cwdaemon-0.10.2/src' make[2]: Entering directory '/builddir/build/BUILD/cwdaemon-0.10.2/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64/usr/sbin' /usr/bin/install -c cwdaemon '/builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64/usr/sbin' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/cwdaemon-0.10.2/src' make[1]: Leaving directory '/builddir/build/BUILD/cwdaemon-0.10.2/src' Making install in doc make[1]: Entering directory '/builddir/build/BUILD/cwdaemon-0.10.2/doc' make[2]: Entering directory '/builddir/build/BUILD/cwdaemon-0.10.2/doc' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64/usr/share/man/man8' /usr/bin/install -c -m 644 cwdaemon.8 '/builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64/usr/share/man/man8' make[2]: Leaving directory '/builddir/build/BUILD/cwdaemon-0.10.2/doc' make[1]: Leaving directory '/builddir/build/BUILD/cwdaemon-0.10.2/doc' Making install in examples make[1]: Entering directory '/builddir/build/BUILD/cwdaemon-0.10.2/examples' make[2]: Entering directory '/builddir/build/BUILD/cwdaemon-0.10.2/examples' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/cwdaemon-0.10.2/examples' make[1]: Leaving directory '/builddir/build/BUILD/cwdaemon-0.10.2/examples' make[1]: Entering directory '/builddir/build/BUILD/cwdaemon-0.10.2' make[2]: Entering directory '/builddir/build/BUILD/cwdaemon-0.10.2' make[2]: Nothing to be done for 'install-exec-am'. /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64/usr/share/cwdaemon mkdir -p -- /builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64/usr/share/cwdaemon /usr/bin/install -c -m 644 ./README /builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64/usr/share/cwdaemon /usr/bin/install -c -m 644 ./doc/schematics/parallelport_circuit.ps /builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64/usr/share/cwdaemon /usr/bin/install -c -m 644 ./doc/schematics/serialport_circuit.ps /builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64/usr/share/cwdaemon /usr/bin/install -c -m 644 ./doc/schematics/parallelport_circuit.jpg /builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64/usr/share/cwdaemon /usr/bin/install -c -m 644 ./doc/schematics/serialport_circuit.jpg /builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64/usr/share/cwdaemon /usr/bin/install -c ./examples/example.sh /builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64/usr/share/cwdaemon /usr/bin/install -c ./examples/example.pl /builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64/usr/share/cwdaemon /usr/bin/install -c ./cwsetup.sh /builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64/usr/share/cwdaemon /usr/bin/install -c -m 644 ./examples/README /builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64/usr/share/cwdaemon /usr/bin/install -c -m 644 ./examples/example.c /builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64/usr/share/cwdaemon /usr/bin/install -c -m 644 ./examples/Makefile.am /builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64/usr/share/cwdaemon /usr/bin/install -c -m 644 ./examples/Makefile.in /builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64/usr/share/cwdaemon /usr/bin/install -c -m 644 ./cwdaemon.png /builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64/usr/share/cwdaemon make[2]: Leaving directory '/builddir/build/BUILD/cwdaemon-0.10.2' make[1]: Leaving directory '/builddir/build/BUILD/cwdaemon-0.10.2' + rm -f '/builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64/usr/share/cwdaemon/cwtest.*' + rm -f /builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64/usr/share/cwdaemon/parallelport_circuit.jpg /builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64/usr/share/cwdaemon/parallelport_circuit.ps /builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64/usr/share/cwdaemon/serialport_circuit.jpg /builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64/usr/share/cwdaemon/serialport_circuit.ps + rm -f /builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64/usr/share/cwdaemon/cwdaemon.png + rm -f /builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64/usr/share/cwdaemon/cwsetup.sh + rm -f /builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64/usr/share/cwdaemon/example.c /builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64/usr/share/cwdaemon/example.pl /builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64/usr/share/cwdaemon/example.sh + rm -f /builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64/usr/share/cwdaemon/Makefile.am /builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64/usr/share/cwdaemon/Makefile.in + rm -f /builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64/usr/share/cwdaemon/README + sed -i -e 's/schematics directory/documentation directory/g' /builddir/build/BUILD/cwdaemon-0.10.2/README + mkdir -p /builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64/etc + mkdir -p /builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64/etc/sysconfig + mkdir -p /builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64/usr/lib/systemd/system + install -m 644 /builddir/build/SOURCES/cwdaemon.sysconfig /builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64/etc/sysconfig/cwdaemon + install -m 755 /builddir/build/SOURCES/cwdaemon.service /builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64/usr/lib/systemd/system/cwdaemon.service + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 0.10.2-16.fc38 --unique-debug-suffix -0.10.2-16.fc38.riscv64 --unique-debug-src-base cwdaemon-0.10.2-16.fc38.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/cwdaemon-0.10.2 extracting debug info from /builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64/usr/sbin/cwdaemon original debug info size: 304kB, size after compression: 300kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 215 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./usr/lib/systemd/system/cwdaemon.service is executable but has no shebang, removing executable bit + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: cwdaemon-0.10.2-16.fc38.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.544aPS + umask 022 + cd /builddir/build/BUILD + cd cwdaemon-0.10.2 + DOCDIR=/builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64/usr/share/doc/cwdaemon + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64/usr/share/doc/cwdaemon + cp -pr AUTHORS /builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64/usr/share/doc/cwdaemon + cp -pr ChangeLog /builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64/usr/share/doc/cwdaemon + cp -pr COPYING /builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64/usr/share/doc/cwdaemon + cp -pr README /builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64/usr/share/doc/cwdaemon + cp -pr TODO /builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64/usr/share/doc/cwdaemon + cp -pr cwdaemon.png /builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64/usr/share/doc/cwdaemon + cp -pr doc/schematics/parallelport_circuit.ps /builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64/usr/share/doc/cwdaemon + cp -pr doc/schematics/serialport_circuit.ps /builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64/usr/share/doc/cwdaemon + cp -pr doc/schematics/parallelport_circuit.jpg /builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64/usr/share/doc/cwdaemon + cp -pr doc/schematics/serialport_circuit.jpg /builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64/usr/share/doc/cwdaemon + cp -pr cwsetup.sh /builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64/usr/share/doc/cwdaemon + cp -pr examples/example.c examples/example.pl examples/example.sh /builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64/usr/share/doc/cwdaemon + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(cwdaemon) = 0.10.2-16.fc38 cwdaemon = 0.10.2-16.fc38 cwdaemon(riscv-64) = 0.10.2-16.fc38 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) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libcw.so.7()(64bit) rtld(GNU_HASH) Processing files: cwdaemon-debugsource-0.10.2-16.fc38.riscv64 Provides: cwdaemon-debugsource = 0.10.2-16.fc38 cwdaemon-debugsource(riscv-64) = 0.10.2-16.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: cwdaemon-debuginfo-0.10.2-16.fc38.riscv64 Provides: cwdaemon-debuginfo = 0.10.2-16.fc38 cwdaemon-debuginfo(riscv-64) = 0.10.2-16.fc38 debuginfo(build-id) = 6ad211db9d5acb2befb75bd1f4ceb87cc2ff0327 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: cwdaemon-debugsource(riscv-64) = 0.10.2-16.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/cwdaemon-0.10.2-16.fc38.riscv64 Wrote: /builddir/build/RPMS/cwdaemon-debuginfo-0.10.2-16.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/cwdaemon-0.10.2-16.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/cwdaemon-debugsource-0.10.2-16.fc38.riscv64.rpm RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0