Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/dhcp-forwarder.spec'], chrootPath='/var/lib/mock/fedora-rawhide-s390x-1671829786.962429/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ody3p04v:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ody3p04v:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '447440f5e8b443e8a033bfb7ac5919a5', '-D', '/var/lib/mock/fedora-rawhide-s390x-1671829786.962429/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ody3p04v:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/dhcp-forwarder.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: line 19: It's not recommended to have unversioned Obsoletes: Obsoletes: dhcp-forwarder-systemd Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1658361600 Wrote: /builddir/build/SRPMS/dhcp-forwarder-0.11-16.fc38.src.rpm RPM build warnings: line 19: It's not recommended to have unversioned Obsoletes: Obsoletes: dhcp-forwarder-systemd Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/dhcp-forwarder.spec'], chrootPath='/var/lib/mock/fedora-rawhide-s390x-1671829786.962429/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ody3p04v:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ody3p04v:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '7b590fa7e9b743a2b7f65faf050f5893', '-D', '/var/lib/mock/fedora-rawhide-s390x-1671829786.962429/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ody3p04v:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/dhcp-forwarder.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: line 19: It's not recommended to have unversioned Obsoletes: Obsoletes: dhcp-forwarder-systemd Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1658361600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qqmFou + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dhcp-forwarder-0.11 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/dhcp-forwarder-0.11.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd dhcp-forwarder-0.11 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.dBLegm + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -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 dhcp-forwarder-0.11 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -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 2014-05-29 23:17:06.000000000 +0000 +++ ./configure 2022-12-23 21:12:12.755623535 +0000 @@ -1897,7 +1897,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 + '[' 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=s390x-redhat-linux-gnu --host=s390x-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 --enable-release --with-systemd-unitdir=/usr/lib/systemd/system --disable-dietlibc checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking whether make supports nested variables... (cached) yes checking for cvs2cl... no checking for rcs2log... no checking for svn... no checking for git... no checking for s390x-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 for style of include used by make... GNU checking dependency style of gcc... none checking whether gcc and cc understand -c and -o together... yes checking for gawk... (cached) gawk checking whether ln -s works... yes checking for splint... no checking for sed... /usr/bin/sed checking for cat... /usr/bin/cat checking for cp... /usr/bin/cp checking for grep... /usr/bin/grep checking for egrep... /usr/bin/egrep checking for chmod... /usr/bin/chmod checking for chown... /usr/bin/chown checking for touch... /usr/bin/touch checking for sh... /usr/bin/sh checking for rm... /usr/bin/rm checking for rmdir... /usr/bin/rmdir checking for diff... /usr/bin/diff checking for mv... /usr/bin/mv checking for ln... /usr/bin/ln checking for dirname... /usr/bin/dirname checking for mkdir... /usr/bin/mkdir checking for gpg... no checking whether chown understands the --references option... yes checking whether chmod understands the --references option... yes checking whether to enable release-mode... yes checking whether to enable dietlibc... no (forced) checking for initrddir... $(sysconfdir)/init.d checking whether the C-compiler accepts -Werror -W... yes checking whether gcc accepts -Wall... yes checking whether gcc accepts -W... yes checking whether gcc accepts -Wshadow... yes checking whether gcc accepts -std=c99... yes checking whether gcc accepts -pedantic... yes checking whether gcc is modern... yes checking for systemd unitdir... /usr/lib/systemd/system checking whether to enable logging... no checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep 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 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 for inttypes.h... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking stdbool.h usability... yes checking stdbool.h presence... yes checking for stdbool.h... yes checking whether type in_addr_t is known... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking for uid_t in sys/types.h... yes checking for pid_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for working alloca.h... yes checking for alloca... 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 for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for strftime... yes checking whether gcc needs -traditional... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating test/Makefile config.status: creating dhcp-forwarder.spec config.status: creating config.h config.status: executing depfiles commands + make -j2 Makefile:1178: warning: ignoring prerequisites on suffix rule definition make all-recursive make[1]: Entering directory '/builddir/build/BUILD/dhcp-forwarder-0.11' Makefile:1178: warning: ignoring prerequisites on suffix rule definition Making all in . make[2]: Entering directory '/builddir/build/BUILD/dhcp-forwarder-0.11' Makefile:1178: warning: ignoring prerequisites on suffix rule definition make substvar VARS='sysconfdir sbindir PACKAGE VERSION' INFILE='doc/dhcp-fwd.man' OUTFILE='doc/dhcp-fwd.1' gcc -DHAVE_CONFIG_H -I. -DCFG_FILENAME='"/etc/dhcp-fwd.conf"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -W -Wshadow -std=c99 -pedantic -c -o src/parser.o src/parser.c make[3]: Entering directory '/builddir/build/BUILD/dhcp-forwarder-0.11' Makefile:1178: warning: ignoring prerequisites on suffix rule definition l="sysconfdir sbindir PACKAGE VERSION"; cmd=''; for i in $l; do cmd="$cmd's!@'$i'@!\${$i}!g;'"; done; \ make .substvar-stage2 CMD="$cmd" make[4]: Entering directory '/builddir/build/BUILD/dhcp-forwarder-0.11' Makefile:1178: warning: ignoring prerequisites on suffix rule definition sed -e 's!@'sysconfdir'@!/etc!g;''s!@'sbindir'@!/usr/sbin!g;''s!@'PACKAGE'@!dhcp-forwarder!g;''s!@'VERSION'@!0.11!g;' doc/dhcp-fwd.man >doc/dhcp-fwd.1.tmp test -z "/usr/bin/chmod --reference" || /usr/bin/chmod --reference doc/dhcp-fwd.man doc/dhcp-fwd.1.tmp chmod a-w doc/dhcp-fwd.1.tmp rm -f doc/dhcp-fwd.1 mv -f doc/dhcp-fwd.1.tmp doc/dhcp-fwd.1 make[4]: Leaving directory '/builddir/build/BUILD/dhcp-forwarder-0.11' make[3]: Leaving directory '/builddir/build/BUILD/dhcp-forwarder-0.11' gcc -DHAVE_CONFIG_H -I. -DCFG_FILENAME='"/etc/dhcp-fwd.conf"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -W -Wshadow -std=c99 -pedantic -c -o src/main.o src/main.c In file included from src/parser.c:35: src/wrappers.h: In function 'Egetpwnam': src/wrappers.h:93:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 93 | write(2, "getpwnam(\"", 10); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/wrappers.h:94:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 94 | write(2, name, strlen(name)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/wrappers.h:95:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 95 | write(2, "\"): no such user\n", 17); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/wrappers.h: In function 'Egetgrnam': src/wrappers.h:70:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 70 | write(2, "getgrnam(\"", 10); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/wrappers.h:71:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 71 | write(2, name, strlen(name)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/wrappers.h:72:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | write(2, "\"): no such group\n", 18); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/parser.c: In function 'exitFatal': src/parser.c:134:26: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 134 | if (filename!=0) (void)write(2, filename, strlen(filename)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/parser.c:123:39: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 123 | #define scWRITE(msg) (void)write(2, msg, sizeof(msg)-1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/parser.c:135:20: note: in expansion of macro 'scWRITE' 135 | else scWRITE(""); | ^~~~~~~ src/parser.c:123:39: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 123 | #define scWRITE(msg) (void)write(2, msg, sizeof(msg)-1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/parser.c:136:3: note: in expansion of macro 'scWRITE' 136 | scWRITE(":"); | ^~~~~~~ src/parser.c:123:39: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 123 | #define scWRITE(msg) (void)write(2, msg, sizeof(msg)-1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/parser.c:138:3: note: in expansion of macro 'scWRITE' 138 | scWRITE(":"); | ^~~~~~~ src/parser.c:123:39: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 123 | #define scWRITE(msg) (void)write(2, msg, sizeof(msg)-1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/parser.c:140:3: note: in expansion of macro 'scWRITE' 140 | scWRITE(":"); | ^~~~~~~ src/parser.c:141:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 141 | (void)write(2, msg, len); | ^~~~~~~~~~~~~~~~~~ src/parser.c:123:39: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 123 | #define scWRITE(msg) (void)write(2, msg, sizeof(msg)-1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/parser.c:142:3: note: in expansion of macro 'scWRITE' 142 | scWRITE("\n"); | ^~~~~~~ src/main.c: In function 'validateDHCPOptionList': src/main.c:210:65: warning: unused parameter 'options' [-Wunused-parameter] 210 | static void validateDHCPOptionList(struct DHCPOptionList const *options) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ src/main.c: In function 'sendEtherFrame': src/main.c:496:17: warning: taking address of packed member of 'struct DHCPllPacket' may result in an unaligned pointer value [-Waddress-of-packed-member] 496 | fixCheckSumIP(&frame->ip); | ^~~~~~~~~~ src/main.c:497:18: warning: taking address of packed member of 'struct DHCPllPacket' may result in an unaligned pointer value [-Waddress-of-packed-member] 497 | fixCheckSumUDP(&frame->udp, &frame->ip, buffer); | ^~~~~~~~~~~ src/main.c:497:31: warning: taking address of packed member of 'struct DHCPllPacket' may result in an unaligned pointer value [-Waddress-of-packed-member] 497 | fixCheckSumUDP(&frame->udp, &frame->ip, buffer); | ^~~~~~~~~~ src/main.c: In function 'main': src/main.c:818:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 818 | case 0 : execRelay(); | ^~~~~~~~~~~ src/main.c:819:5: note: here 819 | default : return 0; | ^~~~~~~ gcc -DHAVE_CONFIG_H -I. -DCFG_FILENAME='"/etc/dhcp-fwd.conf"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -W -Wshadow -std=c99 -pedantic -c -o src/cfg.o src/cfg.c src/cfg.c: In function 'initializeSystem': src/cfg.c:512:11: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 512 | (void)write(pidfile_fd, "\n", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/cfg.c: In function 'showVersion': src/cfg.c:350:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 350 | (void)write(1, PACKAGE_STRING, strlen(PACKAGE_STRING)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cfg.c:351:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 351 | (void)write(1, "\n", 1); | ^~~~~~~~~~~~~~~~~ src/cfg.c: In function 'showHelp': src/cfg.c:371:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 371 | (void)write(1, "\nusage: ", 8 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/cfg.c:372:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 372 | (void)write(1, cmd, strlen(cmd)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/cfg.c:373:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 373 | (void)write(1, msg, strlen(msg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/cfg.c: In function 'exitFatal': src/cfg.c:57:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 57 | (void)write(2, msg, len); | ^~~~~~~~~~~~~~~~~~ src/cfg.c:58:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 58 | (void)write(2, "\n", 1); | ^~~~~~~~~~~~~~~~~ src/cfg.c: At top level: src/cfg.c:221:1: warning: 'getSenderIfaceName' defined but not used [-Wunused-function] 221 | getSenderIfaceName(struct InterfaceInfoList const * const ifs, | ^~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -DCFG_FILENAME='"/etc/dhcp-fwd.conf"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -W -Wshadow -std=c99 -pedantic -c -o src/recvfromflags.o src/recvfromflags.c gcc -DHAVE_CONFIG_H -I. -DCFG_FILENAME='"/etc/dhcp-fwd.conf"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -W -Wshadow -std=c99 -pedantic -c -o src/output.o src/output.c src/output.c: In function 'writeMsgTimestamp': src/output.c:86:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 86 | (void)write(msg_fd, ".000000", fill_cnt); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/output.c: In function 'writeUInt': src/output.c:108:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 108 | (void)write(fd, ptr, &buffer[sizeof(buffer)] - ptr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/output.c: In function 'writeMsgStr': src/output.c:127:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 127 | (void)write(msg_fd, msg, len); | ^~~~~~~~~~~~~~~~~~~~~~~ src/output.c: In function 'writeMsg': src/output.c:137:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 137 | (void)write(msg_fd, ": ", 2); | ^~~~~~~~~~~~~~~~~~~~~~ src/output.c:138:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 138 | (void)write(msg_fd, msg, len); | ^~~~~~~~~~~~~~~~~~~~~~~ src/output.c:139:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 139 | (void)write(msg_fd, "\n", 1); | ^~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -W -Wshadow -std=c99 -pedantic -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 dhcp-fwd src/parser.o src/main.o src/cfg.o src/recvfromflags.o src/output.o make[2]: Leaving directory '/builddir/build/BUILD/dhcp-forwarder-0.11' Making all in test make[2]: Entering directory '/builddir/build/BUILD/dhcp-forwarder-0.11/test' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/dhcp-forwarder-0.11/test' make[1]: Leaving directory '/builddir/build/BUILD/dhcp-forwarder-0.11' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.PjNsOI + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/dhcp-forwarder-0.11-16.fc38.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/dhcp-forwarder-0.11-16.fc38.s390x ++ dirname /builddir/build/BUILDROOT/dhcp-forwarder-0.11-16.fc38.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/dhcp-forwarder-0.11-16.fc38.s390x + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -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 dhcp-forwarder-0.11 + rm -rf /builddir/build/BUILDROOT/dhcp-forwarder-0.11-16.fc38.s390x + install -d /builddir/build/BUILDROOT/dhcp-forwarder-0.11-16.fc38.s390x//var/lib/dhcp-fwd /builddir/build/BUILDROOT/dhcp-forwarder-0.11-16.fc38.s390x//usr/lib/systemd/system /builddir/build/BUILDROOT/dhcp-forwarder-0.11-16.fc38.s390x//etc + make DESTDIR=/builddir/build/BUILDROOT/dhcp-forwarder-0.11-16.fc38.s390x install Makefile:1178: warning: ignoring prerequisites on suffix rule definition Making install in . make[1]: Entering directory '/builddir/build/BUILD/dhcp-forwarder-0.11' Makefile:1178: warning: ignoring prerequisites on suffix rule definition make[2]: Entering directory '/builddir/build/BUILD/dhcp-forwarder-0.11' Makefile:1178: warning: ignoring prerequisites on suffix rule definition /usr/bin/mkdir -p '/builddir/build/BUILDROOT/dhcp-forwarder-0.11-16.fc38.s390x/usr/sbin' /usr/bin/install -c dhcp-fwd '/builddir/build/BUILDROOT/dhcp-forwarder-0.11-16.fc38.s390x/usr/sbin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/dhcp-forwarder-0.11-16.fc38.s390x/usr/share/man/man1' /usr/bin/install -c -m 644 doc/dhcp-fwd.1 '/builddir/build/BUILDROOT/dhcp-forwarder-0.11-16.fc38.s390x/usr/share/man/man1' make[2]: Leaving directory '/builddir/build/BUILD/dhcp-forwarder-0.11' make[1]: Leaving directory '/builddir/build/BUILD/dhcp-forwarder-0.11' Making install in test make[1]: Entering directory '/builddir/build/BUILD/dhcp-forwarder-0.11/test' make[2]: Entering directory '/builddir/build/BUILD/dhcp-forwarder-0.11/test' 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/dhcp-forwarder-0.11/test' make[1]: Leaving directory '/builddir/build/BUILD/dhcp-forwarder-0.11/test' + install /builddir/build/SOURCES/dhcp-forwarder.service /builddir/build/BUILDROOT/dhcp-forwarder-0.11-16.fc38.s390x//usr/lib/systemd/system/dhcp-forwarder.service + install contrib/dhcp-fwd.conf /builddir/build/BUILDROOT/dhcp-forwarder-0.11-16.fc38.s390x//etc + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 0.11-16.fc38 --unique-debug-suffix -0.11-16.fc38.s390x --unique-debug-src-base dhcp-forwarder-0.11-16.fc38.s390x --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/dhcp-forwarder-0.11 extracting debug info from /builddir/build/BUILDROOT/dhcp-forwarder-0.11-16.fc38.s390x/usr/sbin/dhcp-fwd original debug info size: 128kB, size after compression: 116kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 190 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: ./etc/dhcp-fwd.conf is executable but has no shebang, removing executable bit *** WARNING: ./usr/lib/systemd/system/dhcp-forwarder.service is executable but has no shebang, removing executable bit + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.eJ9Nwf + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -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 dhcp-forwarder-0.11 + make check Makefile:1178: warning: ignoring prerequisites on suffix rule definition Making check in . make[1]: Entering directory '/builddir/build/BUILD/dhcp-forwarder-0.11' Makefile:1178: warning: ignoring prerequisites on suffix rule definition make[1]: Leaving directory '/builddir/build/BUILD/dhcp-forwarder-0.11' Making check in test make[1]: Entering directory '/builddir/build/BUILD/dhcp-forwarder-0.11/test' make writeTest parseTest modifyTest ipCRC make[2]: Entering directory '/builddir/build/BUILD/dhcp-forwarder-0.11/test' gcc -DHAVE_CONFIG_H -I. -I.. -I ../src -DCFG_FILENAME='""' -fprofile-arcs -ftest-coverage -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -W -Wshadow -std=c99 -pedantic -c -o writeTest.o writeTest.c writeTest.c: In function 'main': writeTest.c:36:28: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 36 | writeUInt(1, NUMS[i]); write(1, "\n", 1); | ^~~~~~~~~~~~~~~~~ gcc -fprofile-arcs -ftest-coverage -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -W -Wshadow -std=c99 -pedantic -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 writeTest writeTest.o ../src/output.o gcc -DHAVE_CONFIG_H -I. -I.. -I ../src -DCFG_FILENAME='""' -fprofile-arcs -ftest-coverage -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -W -Wshadow -std=c99 -pedantic -c -o parseTest.o parseTest.c parseTest.c: In function 'main': parseTest.c:108:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 108 | write(1, "ulimits={len=", 9); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ parseTest.c:110:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 110 | write(1, ", data={", 8); | ^~~~~~~~~~~~~~~~~~~~~~~ parseTest.c:115:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 115 | write(1, "\n ", 3); | ^~~~~~~~~~~~~~~~~~~ parseTest.c:122:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 122 | write(1, "#", 1); | ^~~~~~~~~~~~~~~~ parseTest.c:127:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 127 | write(1, name, len); | ^~~~~~~~~~~~~~~~~~~~ parseTest.c:128:19: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 128 | if (len<10) write(1, " ", 10-len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parseTest.c:131:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 131 | write(1, "-> (", 4); | ^~~~~~~~~~~~~~~~~~~ parseTest.c:133:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 133 | write(1, ")", 1); | ^~~~~~~~~~~~~~~~ parseTest.c:135:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 135 | write(1, "}}\n", 3); | ^~~~~~~~~~~~~~~~~~~ parseTest.c:137:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 137 | write(1, "interfaces={len=", 16); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parseTest.c:139:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 139 | write(1, ", data={", 8); | ^~~~~~~~~~~~~~~~~~~~~~~ parseTest.c:144:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 144 | write(1, "\n '", 4); | ^~~~~~~~~~~~~~~~~~~~ parseTest.c:145:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 145 | write(1, iface->name, strlen(iface->name)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parseTest.c:146:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 146 | write(1, "', '", 4); | ^~~~~~~~~~~~~~~~~~~ parseTest.c:147:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 147 | write(1, iface->aid, strlen(iface->aid)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parseTest.c:148:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 148 | write(1, "', ", 3); | ^~~~~~~~~~~~~~~~~~ parseTest.c:150:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 150 | write(1, ", ", 2); | ^~~~~~~~~~~~~~~~~ parseTest.c:152:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 152 | write(1, ", ", 2); | ^~~~~~~~~~~~~~~~~ parseTest.c:154:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 154 | write(1, ", ", 2); | ^~~~~~~~~~~~~~~~~ parseTest.c:156:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 156 | write(1, ", ", 2); | ^~~~~~~~~~~~~~~~~ parseTest.c:158:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 158 | write(1, ", ", 2); | ^~~~~~~~~~~~~~~~~ parseTest.c:165:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 165 | write(1, ", ", 2); | ^~~~~~~~~~~~~~~~~ parseTest.c:168:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 168 | write(1, ":", 1); | ^~~~~~~~~~~~~~~~ parseTest.c:172:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 172 | write(1, opt->data, opt->len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parseTest.c:187:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 187 | write(1, "}}\n", 3); | ^~~~~~~~~~~~~~~~~~~ parseTest.c:189:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 189 | write(1, "servers={len=", 13); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parseTest.c:191:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 191 | write(1, ", data={", 8); | ^~~~~~~~~~~~~~~~~~~~~~~ parseTest.c:195:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 195 | write(1, "\n ", 3); | ^~~~~~~~~~~~~~~~~~~ parseTest.c:198:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 198 | write(1, "UNICAST, ", 9); | ^~~~~~~~~~~~~~~~~~~~~~~~ parseTest.c:202:11: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 202 | write(1, ", &", 3); | ^~~~~~~~~~~~~~~~~~ parseTest.c:203:11: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 203 | write(1, svr->iface->name, strlen(svr->iface->name)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parseTest.c:207:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 207 | write(1, "BROADCAST, ", 11); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ parseTest.c:208:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 208 | write(1, "&", 1); | ^~~~~~~~~~~~~~~~ parseTest.c:209:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 209 | write(1, svr->iface->name, strlen(svr->iface->name)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parseTest.c:211:28: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 211 | default : write(1, "???", 3); abort(); | ^~~~~~~~~~~~~~~~~~ parseTest.c:214:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 214 | write(1, "}}\n", 3); | ^~~~~~~~~~~~~~~~~~~ parseTest.c: In function 'showString': parseTest.c:52:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 52 | write(1, varname, strlen(varname)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parseTest.c:53:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 53 | write(1, "='", 2); | ^~~~~~~~~~~~~~~~~ parseTest.c:54:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 54 | write(1, value, strlen(value)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parseTest.c:55:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 55 | write(1, "'\n", 2); | ^~~~~~~~~~~~~~~~~~ parseTest.c: In function 'showUInt': parseTest.c:43:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 43 | write(1, varname, strlen(varname)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parseTest.c:44:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 44 | write(1, "=", 1); | ^~~~~~~~~~~~~~~~ parseTest.c:46:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 46 | write(1, "\n", 1); | ^~~~~~~~~~~~~~~~~ parseTest.c: In function 'showRlimit': parseTest.c:61:37: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 61 | if (val->rlim_cur==RLIM_INFINITY) write(1, "INF", 3); | ^~~~~~~~~~~~~~~~~~ parseTest.c:64:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 64 | write(1, ", ", 2); | ^~~~~~~~~~~~~~~~~ parseTest.c:66:37: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 66 | if (val->rlim_max==RLIM_INFINITY) write(1, "INF", 3); | ^~~~~~~~~~~~~~~~~~ parseTest.c: In function 'writeIP': parseTest.c:76:18: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 76 | if (aux==0) write(fd, "", 6); | ^~~~~~~~~~~~~~~~~~~~~~ parseTest.c:77:18: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 77 | else write(fd, aux, strlen(aux)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -fprofile-arcs -ftest-coverage -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -W -Wshadow -std=c99 -pedantic -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 parseTest parseTest.o ../src/output.o ../src/parser.o gcc -DHAVE_CONFIG_H -I. -I.. -I ../src -DCFG_FILENAME='""' -fprofile-arcs -ftest-coverage -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -W -Wshadow -std=c99 -pedantic -c -o modifyTest.o modifyTest.c In file included from modifyTest.c:22: ../src/main.c: In function 'validateDHCPOptionList': ../src/main.c:210:65: warning: unused parameter 'options' [-Wunused-parameter] 210 | static void validateDHCPOptionList(struct DHCPOptionList const *options) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ../src/main.c: In function 'sendEtherFrame': ../src/main.c:496:17: warning: taking address of packed member of 'struct DHCPllPacket' may result in an unaligned pointer value [-Waddress-of-packed-member] 496 | fixCheckSumIP(&frame->ip); | ^~~~~~~~~~ ../src/main.c:497:18: warning: taking address of packed member of 'struct DHCPllPacket' may result in an unaligned pointer value [-Waddress-of-packed-member] 497 | fixCheckSumUDP(&frame->udp, &frame->ip, buffer); | ^~~~~~~~~~~ ../src/main.c:497:31: warning: taking address of packed member of 'struct DHCPllPacket' may result in an unaligned pointer value [-Waddress-of-packed-member] 497 | fixCheckSumUDP(&frame->udp, &frame->ip, buffer); | ^~~~~~~~~~ modifyTest.c: In function 'main': modifyTest.c:192:22: warning: variable 'res' set but not used [-Wunused-but-set-variable] 192 | bool res; \ | ^~~ modifyTest.c:214:9: note: in expansion of macro 'VALIDATE_OPTS' 214 | VALIDATE_OPTS(_msg, true) \ | ^~~~~~~~~~~~~ modifyTest.c:218:9: note: in expansion of macro 'VALIDATE' 218 | VALIDATE(dhcp_msg0, dhcp_msg0_codes); | ^~~~~~~~ modifyTest.c:192:22: warning: variable 'res' set but not used [-Wunused-but-set-variable] 192 | bool res; \ | ^~~ modifyTest.c:214:9: note: in expansion of macro 'VALIDATE_OPTS' 214 | VALIDATE_OPTS(_msg, true) \ | ^~~~~~~~~~~~~ modifyTest.c:219:9: note: in expansion of macro 'VALIDATE' 219 | VALIDATE(dhcp_msg1, dhcp_msg1_codes); | ^~~~~~~~ modifyTest.c:192:22: warning: variable 'res' set but not used [-Wunused-but-set-variable] 192 | bool res; \ | ^~~ modifyTest.c:214:9: note: in expansion of macro 'VALIDATE_OPTS' 214 | VALIDATE_OPTS(_msg, true) \ | ^~~~~~~~~~~~~ modifyTest.c:220:9: note: in expansion of macro 'VALIDATE' 220 | VALIDATE(dhcp_msg2, dhcp_msg2_codes); | ^~~~~~~~ modifyTest.c:192:22: warning: variable 'res' set but not used [-Wunused-but-set-variable] 192 | bool res; \ | ^~~ modifyTest.c:214:9: note: in expansion of macro 'VALIDATE_OPTS' 214 | VALIDATE_OPTS(_msg, true) \ | ^~~~~~~~~~~~~ modifyTest.c:221:9: note: in expansion of macro 'VALIDATE' 221 | VALIDATE(dhcp_msg3, dhcp_msg3_codes); | ^~~~~~~~ modifyTest.c:192:22: warning: variable 'res' set but not used [-Wunused-but-set-variable] 192 | bool res; \ | ^~~ modifyTest.c:214:9: note: in expansion of macro 'VALIDATE_OPTS' 214 | VALIDATE_OPTS(_msg, true) \ | ^~~~~~~~~~~~~ modifyTest.c:222:9: note: in expansion of macro 'VALIDATE' 222 | VALIDATE(dhcp_msg3_0, dhcp_msg3_0_codes); | ^~~~~~~~ modifyTest.c:192:22: warning: variable 'res' set but not used [-Wunused-but-set-variable] 192 | bool res; \ | ^~~ modifyTest.c:214:9: note: in expansion of macro 'VALIDATE_OPTS' 214 | VALIDATE_OPTS(_msg, true) \ | ^~~~~~~~~~~~~ modifyTest.c:223:9: note: in expansion of macro 'VALIDATE' 223 | VALIDATE(dhcp_msg3_1, dhcp_msg3_1_codes); | ^~~~~~~~ modifyTest.c:192:22: warning: variable 'res' set but not used [-Wunused-but-set-variable] 192 | bool res; \ | ^~~ modifyTest.c:214:9: note: in expansion of macro 'VALIDATE_OPTS' 214 | VALIDATE_OPTS(_msg, true) \ | ^~~~~~~~~~~~~ modifyTest.c:224:9: note: in expansion of macro 'VALIDATE' 224 | VALIDATE(dhcp_msg4, dhcp_msg4_codes); | ^~~~~~~~ modifyTest.c:192:22: warning: variable 'res' set but not used [-Wunused-but-set-variable] 192 | bool res; \ | ^~~ modifyTest.c:214:9: note: in expansion of macro 'VALIDATE_OPTS' 214 | VALIDATE_OPTS(_msg, true) \ | ^~~~~~~~~~~~~ modifyTest.c:225:9: note: in expansion of macro 'VALIDATE' 225 | VALIDATE(dhcp_msg4_1, dhcp_msg4_1_codes); | ^~~~~~~~ modifyTest.c:192:22: warning: variable 'res' set but not used [-Wunused-but-set-variable] 192 | bool res; \ | ^~~ modifyTest.c:214:9: note: in expansion of macro 'VALIDATE_OPTS' 214 | VALIDATE_OPTS(_msg, true) \ | ^~~~~~~~~~~~~ modifyTest.c:226:9: note: in expansion of macro 'VALIDATE' 226 | VALIDATE(dhcp_msg5, dhcp_msg5_codes); | ^~~~~~~~ modifyTest.c:192:22: warning: variable 'res' set but not used [-Wunused-but-set-variable] 192 | bool res; \ | ^~~ modifyTest.c:214:9: note: in expansion of macro 'VALIDATE_OPTS' 214 | VALIDATE_OPTS(_msg, true) \ | ^~~~~~~~~~~~~ modifyTest.c:227:9: note: in expansion of macro 'VALIDATE' 227 | VALIDATE(dhcp_msg6, dhcp_msg6_codes); | ^~~~~~~~ modifyTest.c:192:22: warning: variable 'res' set but not used [-Wunused-but-set-variable] 192 | bool res; \ | ^~~ modifyTest.c:214:9: note: in expansion of macro 'VALIDATE_OPTS' 214 | VALIDATE_OPTS(_msg, true) \ | ^~~~~~~~~~~~~ modifyTest.c:228:9: note: in expansion of macro 'VALIDATE' 228 | VALIDATE(dhcp_msg6_0, dhcp_msg6_0_codes); | ^~~~~~~~ modifyTest.c:178:17: warning: enumeration value 'acREPLACE_AGENT_INFO' not handled in switch [-Wswitch] 178 | switch (_mode) { \ | ^~~~~~ modifyTest.c:256:9: note: in expansion of macro 'TEST' 256 | TEST(dhcp_msg0, &iface0, acREPLACE_AGENT_INFO, dhcp_msg1); | ^~~~ modifyTest.c:178:17: warning: enumeration value 'acREPLACE_AGENT_INFO' not handled in switch [-Wswitch] 178 | switch (_mode) { \ | ^~~~~~ modifyTest.c:257:9: note: in expansion of macro 'TEST' 257 | TEST(dhcp_msg1, &iface0, acREPLACE_AGENT_INFO, dhcp_msg1); | ^~~~ modifyTest.c:178:17: warning: enumeration value 'acREPLACE_AGENT_INFO' not handled in switch [-Wswitch] 178 | switch (_mode) { \ | ^~~~~~ modifyTest.c:258:9: note: in expansion of macro 'TEST' 258 | TEST(dhcp_msg2, &iface0, acREPLACE_AGENT_INFO, dhcp_msg1); | ^~~~ modifyTest.c:178:17: warning: enumeration value 'acREPLACE_AGENT_INFO' not handled in switch [-Wswitch] 178 | switch (_mode) { \ | ^~~~~~ modifyTest.c:259:9: note: in expansion of macro 'TEST' 259 | TEST(dhcp_msg3, &iface0, acREPLACE_AGENT_INFO, dhcp_msg3_1); | ^~~~ modifyTest.c:178:17: warning: enumeration value 'acREPLACE_AGENT_INFO' not handled in switch [-Wswitch] 178 | switch (_mode) { \ | ^~~~~~ modifyTest.c:260:9: note: in expansion of macro 'TEST' 260 | TEST(dhcp_msg4, &iface0, acREPLACE_AGENT_INFO, dhcp_msg4_1); | ^~~~ modifyTest.c:178:17: warning: enumeration value 'acREPLACE_AGENT_INFO' not handled in switch [-Wswitch] 178 | switch (_mode) { \ | ^~~~~~ modifyTest.c:261:9: note: in expansion of macro 'TEST' 261 | TEST(dhcp_msg5, &iface0, acREPLACE_AGENT_INFO, dhcp_msg5); | ^~~~ modifyTest.c:178:17: warning: enumeration value 'acREPLACE_AGENT_INFO' not handled in switch [-Wswitch] 178 | switch (_mode) { \ | ^~~~~~ modifyTest.c:262:9: note: in expansion of macro 'TEST' 262 | TEST(dhcp_msg6, &iface0, acREPLACE_AGENT_INFO, dhcp_msg6_0); | ^~~~ modifyTest.c:178:17: warning: enumeration value 'acREPLACE_AGENT_INFO' not handled in switch [-Wswitch] 178 | switch (_mode) { \ | ^~~~~~ modifyTest.c:290:9: note: in expansion of macro 'TEST' 290 | TEST(dhcp_msg0, &iface1, acREPLACE_AGENT_INFO, dhcp_msg0); | ^~~~ modifyTest.c:178:17: warning: enumeration value 'acREPLACE_AGENT_INFO' not handled in switch [-Wswitch] 178 | switch (_mode) { \ | ^~~~~~ modifyTest.c:291:9: note: in expansion of macro 'TEST' 291 | TEST(dhcp_msg1, &iface1, acREPLACE_AGENT_INFO, dhcp_msg0); | ^~~~ modifyTest.c:178:17: warning: enumeration value 'acREPLACE_AGENT_INFO' not handled in switch [-Wswitch] 178 | switch (_mode) { \ | ^~~~~~ modifyTest.c:292:9: note: in expansion of macro 'TEST' 292 | TEST(dhcp_msg2, &iface1, acREPLACE_AGENT_INFO, dhcp_msg0); | ^~~~ modifyTest.c:178:17: warning: enumeration value 'acREPLACE_AGENT_INFO' not handled in switch [-Wswitch] 178 | switch (_mode) { \ | ^~~~~~ modifyTest.c:293:9: note: in expansion of macro 'TEST' 293 | TEST(dhcp_msg3, &iface1, acREPLACE_AGENT_INFO, dhcp_msg3_0); | ^~~~ modifyTest.c:178:17: warning: enumeration value 'acREPLACE_AGENT_INFO' not handled in switch [-Wswitch] 178 | switch (_mode) { \ | ^~~~~~ modifyTest.c:294:9: note: in expansion of macro 'TEST' 294 | TEST(dhcp_msg4, &iface1, acREPLACE_AGENT_INFO, dhcp_msg4); | ^~~~ modifyTest.c:178:17: warning: enumeration value 'acREPLACE_AGENT_INFO' not handled in switch [-Wswitch] 178 | switch (_mode) { \ | ^~~~~~ modifyTest.c:295:9: note: in expansion of macro 'TEST' 295 | TEST(dhcp_msg5, &iface1, acREPLACE_AGENT_INFO, dhcp_msg5); | ^~~~ modifyTest.c:178:17: warning: enumeration value 'acREPLACE_AGENT_INFO' not handled in switch [-Wswitch] 178 | switch (_mode) { \ | ^~~~~~ modifyTest.c:296:9: note: in expansion of macro 'TEST' 296 | TEST(dhcp_msg6, &iface1, acREPLACE_AGENT_INFO, dhcp_msg6_0); | ^~~~ ../src/main.c: In function 'main_': ../src/main.c:818:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 818 | case 0 : execRelay(); | ^~~~~~~~~~~ ../src/main.c:819:5: note: here 819 | default : return 0; | ^~~~~~~ modifyTest.c: At top level: modifyTest.c:49:41: warning: 'iface1' defined but not used [-Wunused-const-variable=] 49 | static struct InterfaceInfo const iface1 = { | ^~~~~~ gcc -fprofile-arcs -ftest-coverage -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -W -Wshadow -std=c99 -pedantic -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 modifyTest modifyTest.o ../src/output.o ../src/parser.o ../src/cfg.o ../src/recvfromflags.o gcc -DHAVE_CONFIG_H -I. -I.. -I ../src -DCFG_FILENAME='""' -fprofile-arcs -ftest-coverage -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -W -Wshadow -std=c99 -pedantic -c -o ipCRC.o ipCRC.c In file included from ipCRC.c:22: ../src/main.c: In function 'validateDHCPOptionList': ../src/main.c:210:65: warning: unused parameter 'options' [-Wunused-parameter] 210 | static void validateDHCPOptionList(struct DHCPOptionList const *options) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ../src/main.c: In function 'sendEtherFrame': ../src/main.c:496:17: warning: taking address of packed member of 'struct DHCPllPacket' may result in an unaligned pointer value [-Waddress-of-packed-member] 496 | fixCheckSumIP(&frame->ip); | ^~~~~~~~~~ ../src/main.c:497:18: warning: taking address of packed member of 'struct DHCPllPacket' may result in an unaligned pointer value [-Waddress-of-packed-member] 497 | fixCheckSumUDP(&frame->udp, &frame->ip, buffer); | ^~~~~~~~~~~ ../src/main.c:497:31: warning: taking address of packed member of 'struct DHCPllPacket' may result in an unaligned pointer value [-Waddress-of-packed-member] 497 | fixCheckSumUDP(&frame->udp, &frame->ip, buffer); | ^~~~~~~~~~ ipCRC.c: In function 'main': ipCRC.c:28:33: warning: unused variable 'crc' [-Wunused-variable] 28 | uint16_t crc = ~calculateCheckSum(hdr, sizeof hdr, 0); \ | ^~~ ipCRC.c:34:9: note: in expansion of macro 'TEST' 34 | TEST(0xb861, | ^~~~ ipCRC.c:28:33: warning: unused variable 'crc' [-Wunused-variable] 28 | uint16_t crc = ~calculateCheckSum(hdr, sizeof hdr, 0); \ | ^~~ ipCRC.c:38:9: note: in expansion of macro 'TEST' 38 | TEST(0xb761, | ^~~~ ../src/main.c: In function 'main_': ../src/main.c:818:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 818 | case 0 : execRelay(); | ^~~~~~~~~~~ ../src/main.c:819:5: note: here 819 | default : return 0; | ^~~~~~~ gcc -fprofile-arcs -ftest-coverage -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -W -Wshadow -std=c99 -pedantic -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 ipCRC ipCRC.o ../src/output.o ../src/parser.o ../src/cfg.o ../src/recvfromflags.o make[2]: Leaving directory '/builddir/build/BUILD/dhcp-forwarder-0.11/test' make check-TESTS make[2]: Entering directory '/builddir/build/BUILD/dhcp-forwarder-0.11/test' make[3]: Entering directory '/builddir/build/BUILD/dhcp-forwarder-0.11/test' rm -f cmpout.writeTest ln -s cmpout-script cmpout.writeTest PASS: cmpout.writeTest rm -f cmpout.parseTest.test1 ln -s cmpout-script cmpout.parseTest.test1 PASS: cmpout.parseTest.test1 rm -f cmpout.parseTest.test2 ln -s cmpout-script cmpout.parseTest.test2 PASS: cmpout.parseTest.test2 PASS: modifyTest PASS: ipCRC make[4]: Entering directory '/builddir/build/BUILD/dhcp-forwarder-0.11/test' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/builddir/build/BUILD/dhcp-forwarder-0.11/test' ============================================================================ Testsuite summary for dhcp-forwarder 0.11 ============================================================================ # TOTAL: 5 # PASS: 5 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ make[3]: Leaving directory '/builddir/build/BUILD/dhcp-forwarder-0.11/test' make[2]: Leaving directory '/builddir/build/BUILD/dhcp-forwarder-0.11/test' make[1]: Leaving directory '/builddir/build/BUILD/dhcp-forwarder-0.11/test' + RPM_EC=0 ++ jobs -p + exit 0 Processing files: dhcp-forwarder-0.11-16.fc38.s390x Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.SUTuA2 + umask 022 + cd /builddir/build/BUILD + cd dhcp-forwarder-0.11 + DOCDIR=/builddir/build/BUILDROOT/dhcp-forwarder-0.11-16.fc38.s390x/usr/share/doc/dhcp-forwarder + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/dhcp-forwarder-0.11-16.fc38.s390x/usr/share/doc/dhcp-forwarder + cp -pr AUTHORS /builddir/build/BUILDROOT/dhcp-forwarder-0.11-16.fc38.s390x/usr/share/doc/dhcp-forwarder + cp -pr COPYING /builddir/build/BUILDROOT/dhcp-forwarder-0.11-16.fc38.s390x/usr/share/doc/dhcp-forwarder + cp -pr ChangeLog /builddir/build/BUILDROOT/dhcp-forwarder-0.11-16.fc38.s390x/usr/share/doc/dhcp-forwarder + cp -pr NEWS /builddir/build/BUILDROOT/dhcp-forwarder-0.11-16.fc38.s390x/usr/share/doc/dhcp-forwarder + cp -pr README /builddir/build/BUILDROOT/dhcp-forwarder-0.11-16.fc38.s390x/usr/share/doc/dhcp-forwarder + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(dhcp-forwarder) = 0.11-16.fc38 dhcp-forwarder = 0.11-16.fc38 dhcp-forwarder(s390-64) = 0.11-16.fc38 Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh Requires(post): /bin/sh bash coreutils systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) rtld(GNU_HASH) Obsoletes: dhcp-forwarder-systemd Processing files: dhcp-forwarder-debugsource-0.11-16.fc38.s390x Provides: dhcp-forwarder-debugsource = 0.11-16.fc38 dhcp-forwarder-debugsource(s390-64) = 0.11-16.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: dhcp-forwarder-debuginfo-0.11-16.fc38.s390x Provides: debuginfo(build-id) = 83faf90dea58c91e5268eae8093777034947e0fc dhcp-forwarder-debuginfo = 0.11-16.fc38 dhcp-forwarder-debuginfo(s390-64) = 0.11-16.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dhcp-forwarder-debugsource(s390-64) = 0.11-16.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/dhcp-forwarder-0.11-16.fc38.s390x Wrote: /builddir/build/RPMS/dhcp-forwarder-debuginfo-0.11-16.fc38.s390x.rpm Wrote: /builddir/build/RPMS/dhcp-forwarder-0.11-16.fc38.s390x.rpm Wrote: /builddir/build/RPMS/dhcp-forwarder-debugsource-0.11-16.fc38.s390x.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.4S7iDL + umask 022 + cd /builddir/build/BUILD + cd dhcp-forwarder-0.11 + /usr/bin/rm -rf /builddir/build/BUILDROOT/dhcp-forwarder-0.11-16.fc38.s390x + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.IbmxpL + umask 022 + cd /builddir/build/BUILD + rm -rf dhcp-forwarder-0.11 dhcp-forwarder-0.11.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: line 19: It's not recommended to have unversioned Obsoletes: Obsoletes: dhcp-forwarder-systemd Child return code was: 0