Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/drbd.spec'], chrootPath='/var/lib/mock/f38-build-711380-93724/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/drbd.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) warning: line 234: Possible unexpanded macro in: Requires: selinux-policy >= %{_selinux_policy_version} Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674950400 Wrote: /builddir/build/SRPMS/drbd-9.23.0-1.fc38.src.rpm RPM build warnings: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) line 234: Possible unexpanded macro in: Requires: selinux-policy >= %{_selinux_policy_version} Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/drbd.spec'], chrootPath='/var/lib/mock/f38-build-711380-93724/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/drbd.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674950400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.QJXP4L + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf drbd-utils-9.23.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/drbd-utils-9.23.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd drbd-utils-9.23.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (drbd-utils-9.12.2-disable_xsltproc_network_read.patch):' Patch #0 (drbd-utils-9.12.2-disable_xsltproc_network_read.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file documentation/common/Makefile_v84_com.in patching file documentation/common/Makefile_v9_com.in patching file documentation/v83/Makefile.in Patch #1 (drbd-utils-9.15.0-make_configure-workaround.patch): + echo 'Patch #1 (drbd-utils-9.15.0-make_configure-workaround.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Makefile.in Hunk #1 succeeded at 237 (offset -47 lines). + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qkOsNm + 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 drbd-utils-9.23.0 + 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 2023-01-24 06:57:55.000000000 -0500 +++ ./configure 2023-05-14 03:23:22.785315801 -0400 @@ -1656,7 +1656,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 ++ echo --runstatedir=/run + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-utils --without-km --with-udev --without-xen --with-pacemaker --with-rgmanager --with-distro=generic --with-systemdunitdir=/usr/lib/systemd/system --with-selinux --without-sbinsymlinks configure: WARNING: unrecognized options: --disable-dependency-tracking, --with-utils, --without-km, --with-selinux, --without-sbinsymlinks checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking for getentropy... yes checking for gethostbyname_r... yes checking for __free_fn_t... 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 Using systemd unit directory: /usr/lib/systemd/system Using udev rules directory: /usr/lib/udev checking for riscv64-redhat-linux-gnu-gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether ln -s works... yes checking for sed... /usr/bin/sed checking for grep... /usr/bin/grep checking for flex... /usr/bin/flex checking for rpmbuild... /usr/bin/rpmbuild checking for xsltproc... /usr/bin/xsltproc checking for clitest... no checking for tar... /usr/bin/tar checking for git... no checking for po4a-translate... /usr/bin/po4a-translate checking for po4a-gettextize... /usr/bin/po4a-gettextize checking for dpkg-buildpackage... no checking for udevadm... /sbin/udevadm checking for udevinfo... false checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking whether g++ supports C++11 features by default... yes checking for clock_gettime, timer_create, timer_settime, timer_delete in -lrt... yes configure: WARNING: No dpkg-buildpackage found, building Debian packages is disabled. configure: WARNING: Cannot run tests without clitest, disabling test target. configure: WARNING: Cannot update buildtag without git. You may safely ignore this warning when building from a tarball. checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for linux/genetlink.h... yes configure: creating ./config.status config.status: creating Makefile config.status: creating user/shared/Makefile config.status: creating user/v9/Makefile config.status: creating user/v83/Makefile config.status: creating user/v84/Makefile config.status: creating scripts/Makefile config.status: creating documentation/v83/Makefile config.status: creating scripts/drbd.rules config.status: creating user/windrbd/Makefile config.status: creating user/drbdmon/Makefile config.status: creating documentation/common/Makefile_v84_com config.status: creating documentation/common/Makefile_v9_com config.status: creating user/shared/config.h configure: WARNING: unrecognized options: --disable-dependency-tracking, --with-utils, --without-km, --with-selinux, --without-sbinsymlinks + /usr/bin/make -O -j4 V=1 VERBOSE=1 make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/shared' ./drbd_buildtag.sh drbd_buildtag.h make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/shared' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/shared' flex -s -odrbdmeta_scanner.c drbdmeta_scanner.fl make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/shared' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/shared' ./drbd_buildtag.sh drbd_buildtag.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/shared' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' flex -s -odrbdadm_scanner.c drbdadm_scanner.fl make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' 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 -I../../drbd-headers -I.. -I. -I../shared -c -o drbdadm_scanner.o drbdadm_scanner.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' 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 -I../../drbd-headers -I.. -I. -I../shared -c -o drbdadm_postparse.o drbdadm_postparse.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' 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 -I../../drbd-headers -I.. -I. -I../shared -c -o drbdadm_adjust.o drbdadm_adjust.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' 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 -I../../drbd-headers -I.. -I. -I../shared -c -o drbdadm_parser.o drbdadm_parser.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' 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 -I../../drbd-headers -I.. -I. -I../shared -c -o drbdtool_common.o drbdtool_common.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' 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 -I../../drbd-headers -I.. -I. -I../shared -c -o drbd_buildtag.o ../shared/drbd_buildtag.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' 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 -I../../drbd-headers -I.. -I. -I../shared -c -o registry.o registry.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' 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 -I../../drbd-headers -I.. -I. -I../shared -c -o drbdadm_dump.o drbdadm_dump.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' 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 -I../../drbd-headers -I.. -I. -I../shared -c -o drbdadm_usage_cnt.o drbdadm_usage_cnt.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' 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 -I../../drbd-headers -I.. -I. -I../shared -c -o drbd_nla.o drbd_nla.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' 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 -I../../drbd-headers -I.. -I. -I../shared -c -o libnla.o ../shared/libnla.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' 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 -I../../drbd-headers -I.. -I. -I../shared -c -o config_flags.o config_flags.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' 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 -I../../drbd-headers -I.. -I. -I../shared -c -o shared_main.o ../shared/shared_main.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' 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 -I../../drbd-headers -I.. -I. -I../shared -c -o shared_parser.o ../shared/shared_parser.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' 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 -I../../drbd-headers -I.. -I. -I../shared -c -o drbdadm_main.o drbdadm_main.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' 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 -I../../drbd-headers -I.. -I. -I../shared -c -o drbdtool_common_linux.o drbdtool_common_linux.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' 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 -I../../drbd-headers -I.. -I. -I../shared -c -o shared_tool.o ../shared/shared_tool.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' 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 -I../../drbd-headers -I.. -I. -I../shared -c -o path_linux.o ../shared/path_linux.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' 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 -I../../drbd-headers -I.. -I. -I../shared -c -o drbdadm_linux.o drbdadm_linux.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' 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 -I../../drbd-headers -I.. -I. -I../shared -c -o shared_linux.o ../shared/shared_linux.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' 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 -I../../drbd-headers -I.. -I. -I../shared -c -o libgenl.o ../shared/libgenl.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' 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 -I../../drbd-headers -I.. -I. -I../shared -c -o drbd_strings.o ../../drbd-headers/drbd_strings.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' 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 -I../../drbd-headers -I.. -I. -I../shared -c -o drbdmeta_linux.o ../shared/drbdmeta_linux.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' 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 -I../../drbd-headers -I.. -I. -I../shared -c -o wrap_printf.o ../shared/wrap_printf.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' 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 -I../../drbd-headers -I.. -I. -I../shared -c -o drbdmeta_scanner.o ../shared/drbdmeta_scanner.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' 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 -I../../drbd-headers -I.. -I. -I../shared -c -o drbdsetup_colors.o drbdsetup_colors.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' 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 -I../../drbd-headers -I.. -I. -I../shared -c -o drbdsetup_linux.o drbdsetup_linux.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' 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 -I../../drbd-headers -I.. -I. -I../shared -c -o drbdsetup_main.o drbdsetup_main.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' 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 -I../../drbd-headers -I.. -I. -I../shared -c -o drbdsetup_events2.o drbdsetup_events2.c drbdsetup_events2.c: In function 'print_helper': drbdsetup_events2.c:1022:13: warning: the comparison will always evaluate as 'true' for the address of 'ctx_resource_name' will never be NULL [-Waddress] 1022 | if (ctx->ctx_resource_name) | ^~~ In file included from ../../drbd-headers/linux/drbd_genl_api.h:39, from drbdsetup.h:8, from drbdsetup_events2.c:33: ../../drbd-headers/linux/drbd_genl.h:100:49: note: 'ctx_resource_name' declared here 100 | __str_field(2, DRBD_GENLA_F_MANDATORY, ctx_resource_name, 128) | ^~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:266:17: note: in definition of macro 'GENL_struct' 266 | struct s_name { s_fields }; | ^~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:109:9: note: in expansion of macro '__array' 109 | __array(attr_nr, attr_flag, name, NLA_NUL_STRING, char, maxlen, \ | ^~~~~~~ ../../drbd-headers/linux/drbd_genl.h:100:9: note: in expansion of macro '__str_field' 100 | __str_field(2, DRBD_GENLA_F_MANDATORY, ctx_resource_name, 128) | ^~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' 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 -I../../drbd-headers -I.. -I. -I../shared -c -o drbdsetup.o drbdsetup.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' drbdsetup.c: In function 'new_resource_from_info': drbdsetup.c:3422:13: warning: the comparison will always evaluate as 'true' for the address of 'ctx_resource_name' will never be NULL [-Waddress] 3422 | if (!cfg.ctx_resource_name) | ^ In file included from ../../drbd-headers/linux/drbd_genl_api.h:39, from drbdsetup.h:8, from drbdsetup.c:57: ../../drbd-headers/linux/drbd_genl.h:100:49: note: 'ctx_resource_name' declared here 100 | __str_field(2, DRBD_GENLA_F_MANDATORY, ctx_resource_name, 128) | ^~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:266:17: note: in definition of macro 'GENL_struct' 266 | struct s_name { s_fields }; | ^~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:109:9: note: in expansion of macro '__array' 109 | __array(attr_nr, attr_flag, name, NLA_NUL_STRING, char, maxlen, \ | ^~~~~~~ ../../drbd-headers/linux/drbd_genl.h:100:9: note: in expansion of macro '__str_field' 100 | __str_field(2, DRBD_GENLA_F_MANDATORY, ctx_resource_name, 128) | ^~~~~~~~~~~ drbdsetup.c: In function 'new_connection_from_info': drbdsetup.c:3622:13: warning: the comparison will always evaluate as 'true' for the address of 'ctx_resource_name' will never be NULL [-Waddress] 3622 | if (!ctx.ctx_resource_name) | ^ ../../drbd-headers/linux/drbd_genl.h:100:49: note: 'ctx_resource_name' declared here 100 | __str_field(2, DRBD_GENLA_F_MANDATORY, ctx_resource_name, 128) | ^~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:266:17: note: in definition of macro 'GENL_struct' 266 | struct s_name { s_fields }; | ^~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:109:9: note: in expansion of macro '__array' 109 | __array(attr_nr, attr_flag, name, NLA_NUL_STRING, char, maxlen, \ | ^~~~~~~ ../../drbd-headers/linux/drbd_genl.h:100:9: note: in expansion of macro '__str_field' 100 | __str_field(2, DRBD_GENLA_F_MANDATORY, ctx_resource_name, 128) | ^~~~~~~~~~~ drbdsetup.c: In function 'new_peer_device_from_info': drbdsetup.c:3745:13: warning: the comparison will always evaluate as 'true' for the address of 'ctx_resource_name' will never be NULL [-Waddress] 3745 | if (!ctx.ctx_resource_name) | ^ ../../drbd-headers/linux/drbd_genl.h:100:49: note: 'ctx_resource_name' declared here 100 | __str_field(2, DRBD_GENLA_F_MANDATORY, ctx_resource_name, 128) | ^~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:266:17: note: in definition of macro 'GENL_struct' 266 | struct s_name { s_fields }; | ^~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:109:9: note: in expansion of macro '__array' 109 | __array(attr_nr, attr_flag, name, NLA_NUL_STRING, char, maxlen, \ | ^~~~~~~ ../../drbd-headers/linux/drbd_genl.h:100:9: note: in expansion of macro '__str_field' 100 | __str_field(2, DRBD_GENLA_F_MANDATORY, ctx_resource_name, 128) | ^~~~~~~~~~~ drbdsetup.c: In function 'new_path_from_info': drbdsetup.c:3830:13: warning: the comparison will always evaluate as 'true' for the address of 'ctx_resource_name' will never be NULL [-Waddress] 3830 | if (!ctx.ctx_resource_name) | ^ ../../drbd-headers/linux/drbd_genl.h:100:49: note: 'ctx_resource_name' declared here 100 | __str_field(2, DRBD_GENLA_F_MANDATORY, ctx_resource_name, 128) | ^~~~~~~~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:266:17: note: in definition of macro 'GENL_struct' 266 | struct s_name { s_fields }; | ^~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:109:9: note: in expansion of macro '__array' 109 | __array(attr_nr, attr_flag, name, NLA_NUL_STRING, char, maxlen, \ | ^~~~~~~ ../../drbd-headers/linux/drbd_genl.h:100:9: note: in expansion of macro '__str_field' 100 | __str_field(2, DRBD_GENLA_F_MANDATORY, ctx_resource_name, 128) | ^~~~~~~~~~~ drbdsetup.c: In function 'check_resize_cmd': drbdsetup.c:3869:21: warning: the comparison will always evaluate as 'true' for the address of 'backing_dev' will never be NULL [-Waddress] 3869 | if (!device->disk_conf.backing_dev) { | ^ ../../drbd-headers/linux/drbd_genl.h:107:65: note: 'backing_dev' declared here 107 | __str_field(1, DRBD_F_REQUIRED | DRBD_F_INVARIANT, backing_dev, 128) | ^~~~~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:266:17: note: in definition of macro 'GENL_struct' 266 | struct s_name { s_fields }; | ^~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:109:9: note: in expansion of macro '__array' 109 | __array(attr_nr, attr_flag, name, NLA_NUL_STRING, char, maxlen, \ | ^~~~~~~ ../../drbd-headers/linux/drbd_genl.h:107:9: note: in expansion of macro '__str_field' 107 | __str_field(1, DRBD_F_REQUIRED | DRBD_F_INVARIANT, backing_dev, 128) | ^~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' 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 -I../../drbd-headers -I.. -I. -I../shared -c -o drbdmeta.o ../shared/drbdmeta.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' 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 -I../../drbd-headers -I.. -I. -I../shared -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 -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 drbdadm drbdadm_scanner.o drbdadm_parser.o drbdadm_postparse.o drbdadm_main.o drbdadm_adjust.o drbdadm_dump.o drbdtool_common.o drbdadm_usage_cnt.o drbd_buildtag.o registry.o config_flags.o libnla.o drbd_nla.o shared_tool.o shared_main.o shared_parser.o libgenl.o drbdadm_linux.o drbdtool_common_linux.o path_linux.o shared_linux.o ../shared/shared_main.c:60:22: warning: type of 'ifreq_list' does not match original declaration [-Wlto-type-mismatch] 60 | extern struct ifreq *ifreq_list; | ^ drbdadm_main.c:149:15: note: 'ifreq_list' was previously declared here 149 | struct ifreq *ifreq_list = NULL; | ^ drbdadm_main.c:149:15: note: code may be misoptimized unless '-fno-strict-aliasing' is used make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' 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 -I../../drbd-headers -I.. -I. -I../shared -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 -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 drbdsetup libnla.o registry.o drbdsetup.o drbdtool_common.o drbd_buildtag.o drbd_strings.o config_flags.o drbd_nla.o wrap_printf.o drbdsetup_colors.o shared_tool.o drbdsetup_events2.o libgenl.o drbdtool_common_linux.o drbdsetup_linux.o path_linux.o shared_linux.o drbdsetup_main.o make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' 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 -I../../drbd-headers -I.. -I. -I../shared -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 -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 drbdmeta drbdmeta.o drbdmeta_scanner.o drbdtool_common.o drbd_buildtag.o drbd_strings.o shared_tool.o drbdmeta_linux.o drbdtool_common_linux.o path_linux.o shared_linux.o make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v9' make[1]: Nothing to be done for 'all'. make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v83' flex -s -odrbdadm_scanner.c drbdadm_scanner.fl make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v83' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v83' 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 -I. -I../shared -c -o drbdadm_adjust.o drbdadm_adjust.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v83' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v83' 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 -I. -I../shared -c -o drbdtool_common.o drbdtool_common.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v83' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v83' 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 -I. -I../shared -c -o drbdadm_scanner.o drbdadm_scanner.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v83' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v83' 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 -I. -I../shared -c -o drbd_buildtag.o ../shared/drbd_buildtag.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v83' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v83' 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 -I. -I../shared -c -o drbdadm_minor_table.o drbdadm_minor_table.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v83' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v83' 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 -I. -I../shared -c -o drbdadm_usage_cnt.o drbdadm_usage_cnt.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v83' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v83' 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 -I. -I../shared -c -o drbdadm_parser.o drbdadm_parser.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v83' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v83' 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 -I. -I../shared -c -o shared_parser.o ../shared/shared_parser.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v83' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v83' 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 -I. -I../shared -c -o path_linux.o ../shared/path_linux.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v83' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v83' 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 -I. -I../shared -c -o shared_main.o ../shared/shared_main.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v83' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v83' 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 -I. -I../shared -c -o shared_linux.o ../shared/shared_linux.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v83' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v83' 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 -I. -I../shared -c -o drbd_strings.o drbd_strings.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v83' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v83' 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 -I. -I../shared -c -o shared_tool.o ../shared/shared_tool.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v83' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v83' 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 -I. -I../shared -c -o drbdadm_main.o drbdadm_main.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v83' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v83' 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 -I. -I../shared -c -o drbdsetup.o drbdsetup.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v83' In file included from drbdsetup.c:59: unaligned.h:11:2: warning: #warning "Assuming that your architecture can not do unaligned memory accesses." [-Wcpp] 11 | #warning "Assuming that your architecture can not do unaligned memory accesses." | ^~~~~~~ unaligned.h:12:2: warning: #warning "Enabling extra code for unaligned memory accesses." [-Wcpp] 12 | #warning "Enabling extra code for unaligned memory accesses." | ^~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v83' 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 -I. -I../shared -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 -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 drbdsetup-83 drbdsetup.o drbdtool_common.o drbd_buildtag.o drbd_strings.o shared_tool.o path_linux.o shared_linux.o make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v83' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v83' 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 -I. -I../shared -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 -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 drbdadm-83 drbdadm_scanner.o drbdadm_parser.o drbdadm_main.o drbdadm_adjust.o drbdtool_common.o drbdadm_usage_cnt.o drbd_buildtag.o drbdadm_minor_table.o shared_tool.o shared_main.o shared_parser.o path_linux.o shared_linux.o ../shared/shared_main.c:60:22: warning: type of 'ifreq_list' does not match original declaration [-Wlto-type-mismatch] 60 | extern struct ifreq *ifreq_list; | ^ drbdadm_main.c:176:15: note: 'ifreq_list' was previously declared here 176 | struct ifreq *ifreq_list = NULL; | ^ drbdadm_main.c:176:15: note: code may be misoptimized unless '-fno-strict-aliasing' is used make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v83' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v84' flex -s -odrbdadm_scanner.c drbdadm_scanner.fl make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v84' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v84' 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 -I. -I../shared -c -o drbdadm_adjust.o drbdadm_adjust.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v84' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v84' 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 -I. -I../shared -c -o drbdtool_common.o drbdtool_common.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v84' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v84' 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 -I. -I../shared -c -o drbdadm_scanner.o drbdadm_scanner.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v84' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v84' 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 -I. -I../shared -c -o drbd_buildtag.o ../shared/drbd_buildtag.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v84' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v84' 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 -I. -I../shared -c -o registry.o registry.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v84' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v84' 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 -I. -I../shared -c -o drbdadm_usage_cnt.o drbdadm_usage_cnt.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v84' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v84' 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 -I. -I../shared -c -o drbdadm_parser.o drbdadm_parser.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v84' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v84' 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 -I. -I../shared -c -o libgenl.o ../shared/libgenl.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v84' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v84' 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 -I. -I../shared -c -o drbd_nla.o drbd_nla.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v84' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v84' 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 -I. -I../shared -c -o config_flags.o config_flags.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v84' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v84' 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 -I. -I../shared -c -o shared_parser.o ../shared/shared_parser.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v84' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v84' 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 -I. -I../shared -c -o shared_main.o ../shared/shared_main.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v84' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v84' 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 -I. -I../shared -c -o path_linux.o ../shared/path_linux.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v84' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v84' 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 -I. -I../shared -c -o shared_linux.o ../shared/shared_linux.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v84' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v84' 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 -I. -I../shared -c -o libnla.o ../shared/libnla.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v84' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v84' 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 -I. -I../shared -c -o drbd_strings.o drbd_strings.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v84' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v84' 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 -I. -I../shared -c -o wrap_printf.o ../shared/wrap_printf.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v84' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v84' 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 -I. -I../shared -c -o shared_tool.o ../shared/shared_tool.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v84' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v84' 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 -I. -I../shared -c -o drbdsetup_colors.o drbdsetup_colors.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v84' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v84' 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 -I. -I../shared -c -o drbdadm_main.o drbdadm_main.c make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v84' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v84' 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 -I. -I../shared -c -o drbdsetup.o drbdsetup.c drbdsetup.c: In function 'remember_resource': drbdsetup.c:1629:13: warning: the comparison will always evaluate as 'true' for the address of 'ctx_resource_name' will never be NULL [-Waddress] 1629 | if (cfg.ctx_resource_name) { | ^~~ In file included from linux/drbd_genl_api.h:53, from drbdsetup.c:73: ./linux/drbd_genl.h:99:49: note: 'ctx_resource_name' declared here 99 | __str_field(2, DRBD_GENLA_F_MANDATORY, ctx_resource_name, 128) | ^~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:243:17: note: in definition of macro 'GENL_struct' 243 | struct s_name { s_fields }; | ^~~~~~~~ ./linux/genl_magic_struct.h:86:9: note: in expansion of macro '__array' 86 | __array(attr_nr, attr_flag, name, NLA_NUL_STRING, char, maxlen, \ | ^~~~~~~ ./linux/drbd_genl.h:99:9: note: in expansion of macro '__str_field' 99 | __str_field(2, DRBD_GENLA_F_MANDATORY, ctx_resource_name, 128) | ^~~~~~~~~~~ drbdsetup.c: In function 'remember_connection': drbdsetup.c:1788:13: warning: the comparison will always evaluate as 'true' for the address of 'ctx_resource_name' will never be NULL [-Waddress] 1788 | if (ctx.ctx_resource_name) { | ^~~ ./linux/drbd_genl.h:99:49: note: 'ctx_resource_name' declared here 99 | __str_field(2, DRBD_GENLA_F_MANDATORY, ctx_resource_name, 128) | ^~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:243:17: note: in definition of macro 'GENL_struct' 243 | struct s_name { s_fields }; | ^~~~~~~~ ./linux/genl_magic_struct.h:86:9: note: in expansion of macro '__array' 86 | __array(attr_nr, attr_flag, name, NLA_NUL_STRING, char, maxlen, \ | ^~~~~~~ ./linux/drbd_genl.h:99:9: note: in expansion of macro '__str_field' 99 | __str_field(2, DRBD_GENLA_F_MANDATORY, ctx_resource_name, 128) | ^~~~~~~~~~~ drbdsetup.c: In function 'remember_peer_device': drbdsetup.c:1888:13: warning: the comparison will always evaluate as 'true' for the address of 'ctx_resource_name' will never be NULL [-Waddress] 1888 | if (ctx.ctx_resource_name) { | ^~~ ./linux/drbd_genl.h:99:49: note: 'ctx_resource_name' declared here 99 | __str_field(2, DRBD_GENLA_F_MANDATORY, ctx_resource_name, 128) | ^~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:243:17: note: in definition of macro 'GENL_struct' 243 | struct s_name { s_fields }; | ^~~~~~~~ ./linux/genl_magic_struct.h:86:9: note: in expansion of macro '__array' 86 | __array(attr_nr, attr_flag, name, NLA_NUL_STRING, char, maxlen, \ | ^~~~~~~ ./linux/drbd_genl.h:99:9: note: in expansion of macro '__str_field' 99 | __str_field(2, DRBD_GENLA_F_MANDATORY, ctx_resource_name, 128) | ^~~~~~~~~~~ drbdsetup.c: In function 'lk_bdev_scmd': drbdsetup.c:2049:13: warning: the comparison will always evaluate as 'true' for the address of 'backing_dev' will never be NULL [-Waddress] 2049 | if (!dc.backing_dev) { | ^ ./linux/drbd_genl.h:105:65: note: 'backing_dev' declared here 105 | __str_field(1, DRBD_F_REQUIRED | DRBD_F_INVARIANT, backing_dev, 128) | ^~~~~~~~~~~ ./linux/genl_magic_struct.h:243:17: note: in definition of macro 'GENL_struct' 243 | struct s_name { s_fields }; | ^~~~~~~~ ./linux/genl_magic_struct.h:86:9: note: in expansion of macro '__array' 86 | __array(attr_nr, attr_flag, name, NLA_NUL_STRING, char, maxlen, \ | ^~~~~~~ ./linux/drbd_genl.h:105:9: note: in expansion of macro '__str_field' 105 | __str_field(1, DRBD_F_REQUIRED | DRBD_F_INVARIANT, backing_dev, 128) | ^~~~~~~~~~~ drbdsetup.c: In function 'sh_status_scmd': drbdsetup.c:2098:13: warning: the comparison will always evaluate as 'true' for the address of 'ctx_resource_name' will never be NULL [-Waddress] 2098 | if (cfg.ctx_resource_name) | ^~~ ./linux/drbd_genl.h:99:49: note: 'ctx_resource_name' declared here 99 | __str_field(2, DRBD_GENLA_F_MANDATORY, ctx_resource_name, 128) | ^~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:243:17: note: in definition of macro 'GENL_struct' 243 | struct s_name { s_fields }; | ^~~~~~~~ ./linux/genl_magic_struct.h:86:9: note: in expansion of macro '__array' 86 | __array(attr_nr, attr_flag, name, NLA_NUL_STRING, char, maxlen, \ | ^~~~~~~ ./linux/drbd_genl.h:99:9: note: in expansion of macro '__str_field' 99 | __str_field(2, DRBD_GENLA_F_MANDATORY, ctx_resource_name, 128) | ^~~~~~~~~~~ drbdsetup.c: In function 'event_key': drbdsetup.c:2763:13: warning: the comparison will always evaluate as 'true' for the address of 'ctx_resource_name' will never be NULL [-Waddress] 2763 | if (ctx->ctx_resource_name) { | ^~~ ./linux/drbd_genl.h:99:49: note: 'ctx_resource_name' declared here 99 | __str_field(2, DRBD_GENLA_F_MANDATORY, ctx_resource_name, 128) | ^~~~~~~~~~~~~~~~~ ./linux/genl_magic_struct.h:243:17: note: in definition of macro 'GENL_struct' 243 | struct s_name { s_fields }; | ^~~~~~~~ ./linux/genl_magic_struct.h:86:9: note: in expansion of macro '__array' 86 | __array(attr_nr, attr_flag, name, NLA_NUL_STRING, char, maxlen, \ | ^~~~~~~ ./linux/drbd_genl.h:99:9: note: in expansion of macro '__str_field' 99 | __str_field(2, DRBD_GENLA_F_MANDATORY, ctx_resource_name, 128) | ^~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v84' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v84' 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 -I. -I../shared -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 -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 drbdadm-84 drbdadm_scanner.o drbdadm_parser.o drbdadm_main.o drbdadm_adjust.o drbdtool_common.o drbdadm_usage_cnt.o drbd_buildtag.o registry.o config_flags.o libgenl.o drbd_nla.o shared_tool.o shared_main.o shared_parser.o libnla.o path_linux.o shared_linux.o ../shared/shared_main.c:60:22: warning: type of 'ifreq_list' does not match original declaration [-Wlto-type-mismatch] 60 | extern struct ifreq *ifreq_list; | ^ drbdadm_main.c:188:15: note: 'ifreq_list' was previously declared here 188 | struct ifreq *ifreq_list = NULL; | ^ drbdadm_main.c:188:15: note: code may be misoptimized unless '-fno-strict-aliasing' is used make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v84' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v84' 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 -I. -I../shared -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 -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 drbdsetup-84 libgenl.o registry.o drbdsetup.o drbdtool_common.o drbd_buildtag.o drbd_strings.o config_flags.o drbd_nla.o wrap_printf.o drbdsetup_colors.o shared_tool.o libnla.o path_linux.o shared_linux.o make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/v84' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/drbdmon' g++ -std=c++11 -I. -I../shared -Icppdsaext/src -Wall -Werror -pedantic-errors -fPIC -O2 -Wsign-compare -Wpointer-arith -Wswitch-default -Wswitch-enum -Wtype-limits -Wmissing-declarations -Wshadow -c -o MessageLog.o MessageLog.cpp make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/drbdmon' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/drbdmon' g++ -std=c++11 -I. -I../shared -Icppdsaext/src -Wall -Werror -pedantic-errors -fPIC -O2 -Wsign-compare -Wpointer-arith -Wswitch-default -Wswitch-enum -Wtype-limits -Wmissing-declarations -Wshadow -c -o drbdmon_main.o drbdmon_main.cpp make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/drbdmon' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/drbdmon' g++ -std=c++11 -I. -I../shared -Icppdsaext/src -Wall -Werror -pedantic-errors -fPIC -O2 -Wsign-compare -Wpointer-arith -Wswitch-default -Wswitch-enum -Wtype-limits -Wmissing-declarations -Wshadow -c -o IntervalTimer.o IntervalTimer.cpp make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/drbdmon' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/drbdmon' g++ -std=c++11 -I. -I../shared -Icppdsaext/src -Wall -Werror -pedantic-errors -fPIC -O2 -Wsign-compare -Wpointer-arith -Wswitch-default -Wswitch-enum -Wtype-limits -Wmissing-declarations -Wshadow -c -o CompactDisplay.o CompactDisplay.cpp make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/drbdmon' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/drbdmon' g++ -std=c++11 -I. -I../shared -Icppdsaext/src -Wall -Werror -pedantic-errors -fPIC -O2 -Wsign-compare -Wpointer-arith -Wswitch-default -Wswitch-enum -Wtype-limits -Wmissing-declarations -Wshadow -c -o DrbdRole.o DrbdRole.cpp make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/drbdmon' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/drbdmon' g++ -std=c++11 -I. -I../shared -Icppdsaext/src -Wall -Werror -pedantic-errors -fPIC -O2 -Wsign-compare -Wpointer-arith -Wswitch-default -Wswitch-enum -Wtype-limits -Wmissing-declarations -Wshadow -c -o DrbdConnection.o DrbdConnection.cpp make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/drbdmon' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/drbdmon' g++ -std=c++11 -I. -I../shared -Icppdsaext/src -Wall -Werror -pedantic-errors -fPIC -O2 -Wsign-compare -Wpointer-arith -Wswitch-default -Wswitch-enum -Wtype-limits -Wmissing-declarations -Wshadow -c -o DrbdResource.o DrbdResource.cpp make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/drbdmon' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/drbdmon' g++ -std=c++11 -I. -I../shared -Icppdsaext/src -Wall -Werror -pedantic-errors -fPIC -O2 -Wsign-compare -Wpointer-arith -Wswitch-default -Wswitch-enum -Wtype-limits -Wmissing-declarations -Wshadow -c -o StateFlags.o StateFlags.cpp make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/drbdmon' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/drbdmon' g++ -std=c++11 -I. -I../shared -Icppdsaext/src -Wall -Werror -pedantic-errors -fPIC -O2 -Wsign-compare -Wpointer-arith -Wswitch-default -Wswitch-enum -Wtype-limits -Wmissing-declarations -Wshadow -c -o DrbdVolume.o DrbdVolume.cpp make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/drbdmon' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/drbdmon' g++ -std=c++11 -I. -I../shared -Icppdsaext/src -Wall -Werror -pedantic-errors -fPIC -O2 -Wsign-compare -Wpointer-arith -Wswitch-default -Wswitch-enum -Wtype-limits -Wmissing-declarations -Wshadow -c -o EventsSourceSpawner.o EventsSourceSpawner.cpp make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/drbdmon' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/drbdmon' g++ -std=c++11 -I. -I../shared -Icppdsaext/src -Wall -Werror -pedantic-errors -fPIC -O2 -Wsign-compare -Wpointer-arith -Wswitch-default -Wswitch-enum -Wtype-limits -Wmissing-declarations -Wshadow -c -o Args.o Args.cpp make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/drbdmon' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/drbdmon' g++ -std=c++11 -I. -I../shared -Icppdsaext/src -Wall -Werror -pedantic-errors -fPIC -O2 -Wsign-compare -Wpointer-arith -Wswitch-default -Wswitch-enum -Wtype-limits -Wmissing-declarations -Wshadow -c -o ConfigOption.o ConfigOption.cpp make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/drbdmon' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/drbdmon' g++ -std=c++11 -I. -I../shared -Icppdsaext/src -Wall -Werror -pedantic-errors -fPIC -O2 -Wsign-compare -Wpointer-arith -Wswitch-default -Wswitch-enum -Wtype-limits -Wmissing-declarations -Wshadow -c -o EventsIo.o EventsIo.cpp make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/drbdmon' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/drbdmon' g++ -std=c++11 -I. -I../shared -Icppdsaext/src -Wall -Werror -pedantic-errors -fPIC -O2 -Wsign-compare -Wpointer-arith -Wswitch-default -Wswitch-enum -Wtype-limits -Wmissing-declarations -Wshadow -c -o VolumesContainer.o VolumesContainer.cpp make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/drbdmon' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/drbdmon' g++ -std=c++11 -I. -I../shared -Icppdsaext/src -Wall -Werror -pedantic-errors -fPIC -O2 -Wsign-compare -Wpointer-arith -Wswitch-default -Wswitch-enum -Wtype-limits -Wmissing-declarations -Wshadow -c -o StringTokenizer.o StringTokenizer.cpp make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/drbdmon' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/drbdmon' g++ -std=c++11 -I. -I../shared -Icppdsaext/src -Wall -Werror -pedantic-errors -fPIC -O2 -Wsign-compare -Wpointer-arith -Wswitch-default -Wswitch-enum -Wtype-limits -Wmissing-declarations -Wshadow -c -o comparators.o comparators.cpp make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/drbdmon' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/drbdmon' g++ -std=c++11 -I. -I../shared -Icppdsaext/src -Wall -Werror -pedantic-errors -fPIC -O2 -Wsign-compare -Wpointer-arith -Wswitch-default -Wswitch-enum -Wtype-limits -Wmissing-declarations -Wshadow -c -o cppdsaext/src/dsaext.o cppdsaext/src/dsaext.cpp make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/drbdmon' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/drbdmon' g++ -std=c++11 -I. -I../shared -Icppdsaext/src -Wall -Werror -pedantic-errors -fPIC -O2 -Wsign-compare -Wpointer-arith -Wswitch-default -Wswitch-enum -Wtype-limits -Wmissing-declarations -Wshadow -c -o utils.o utils.cpp make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/drbdmon' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/drbdmon' g++ -std=c++11 -I. -I../shared -Icppdsaext/src -Wall -Werror -pedantic-errors -fPIC -O2 -Wsign-compare -Wpointer-arith -Wswitch-default -Wswitch-enum -Wtype-limits -Wmissing-declarations -Wshadow -c -o exceptions.o exceptions.cpp make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/drbdmon' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/drbdmon' g++ -std=c++11 -I. -I../shared -Icppdsaext/src -Wall -Werror -pedantic-errors -fPIC -O2 -Wsign-compare -Wpointer-arith -Wswitch-default -Wswitch-enum -Wtype-limits -Wmissing-declarations -Wshadow -c -o DrbdMon.o DrbdMon.cpp make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/drbdmon' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/drbdmon' g++ -std=c++11 -I. -I../shared -Icppdsaext/src -Wall -Werror -pedantic-errors -fPIC -O2 -Wsign-compare -Wpointer-arith -Wswitch-default -Wswitch-enum -Wtype-limits -Wmissing-declarations -Wshadow -c -o cppdsaext/src/integerparse.o cppdsaext/src/integerparse.cpp make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/drbdmon' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/drbdmon' g++ -o drbdmon -std=c++11 -I. -I../shared -Icppdsaext/src -Wall -Werror -pedantic-errors -fPIC -O2 -Wsign-compare -Wpointer-arith -Wswitch-default -Wswitch-enum -Wtype-limits -Wmissing-declarations -Wshadow drbdmon_main.o DrbdMon.o MessageLog.o CompactDisplay.o IntervalTimer.o DrbdResource.o DrbdRole.o DrbdVolume.o DrbdConnection.o VolumesContainer.o StateFlags.o EventsIo.o EventsSourceSpawner.o Args.o ConfigOption.o StringTokenizer.o comparators.o utils.o exceptions.o cppdsaext/src/dsaext.o cppdsaext/src/integerparse.o -lrt make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/user/drbdmon' Userland tools build was successful. /usr/bin/make -C documentation/v9 doc /usr/bin/make -C ../../user/v9 drbdsetup make[2]: 'drbdsetup' is up to date. make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/documentation/v9' ../../scripts/drbd-attr meta-data |\ /usr/bin/xsltproc --novalid \ --stringparam package "drbd-pacemaker" \ --stringparam provider linbit \ --stringparam version "9.23.0" \ --output ocf_linbit_drbd-attr.xml ../ra2refentry.xsl - make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/documentation/v9' ../../scripts/drbd-attr: line 4: /resource.d/heartbeat/.ocf-shellfuncs: No such file or directory ../../scripts/drbd-attr: line 319: ocf_is_true: command not found make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/documentation/v9' ../../scripts/drbd.ocf meta-data |\ /usr/bin/xsltproc --novalid \ --stringparam package "drbd-pacemaker" \ --stringparam provider linbit \ --stringparam version "9.23.0" \ --output ocf_linbit_drbd.xml ../ra2refentry.xsl - make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/documentation/v9' make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/documentation/v9' /usr/bin/xsltproc -o drbdsetup.xml drbdsetup.xsl drbdsetup.xml.in drbdsetup-options.xml:414: element option: validity error : ID when-congested-remote already defined Note: the option has no ^ make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/documentation/ja/v9' /usr/bin/xsltproc -o drbd.conf.xml drbd.conf.xsl drbd.conf.xml.in make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/documentation/ja/v9' drbdsetup-options.xml:325: element option: validity error : ID when-congested-remote already defined xml:id="when-congested-remote">when-congested-remote option has no ^ make[1]: Entering directory '/builddir/build/BUILD/drbd-utils-9.23.0/documentation/ja/v9' /usr/bin/xsltproc \ --nonet --xinclude --stringparam variablelist.term.break.after 1 \ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl drbd.conf.xml make[1]: Leaving directory '/builddir/build/BUILD/drbd-utils-9.23.0/documentation/ja/v9' drbd.conf.xml:634: element option: validity error : ID when-congested-remote already defined Note: the