D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/drbd-utils-9.15.1-4.mga9.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.M8ZHee + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf drbd-utils-9.15.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/drbd-utils-9.15.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd drbd-utils-9.15.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i 's,/usr/lib64/drbd/outdate-peer\.sh,/usr/share/drbd/outdate-peer.sh,g' scripts/drbd.conf + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.evFN9D + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd drbd-utils-9.15.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-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 --with-udev --with-distro=generic --with-initscripttype=systemd --with-systemdunitdir=/usr/lib/systemd/system --with-bashcompletion --without-heartbeat --with-pacemaker --with-prebuiltman --without-xen configure: WARNING: unrecognized options: --disable-dependency-tracking checking for x86_64-mageia-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for getentropy... yes checking for gethostbyname_r... yes checking for x86_64-mageia-linux-gnu-pkg-config... /usr/bin/x86_64-mageia-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 x86_64-mageia-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether 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... no checking for po4a-gettextize... no checking for dpkg-buildpackage... no checking for udevadm... /sbin/udevadm checking for udevinfo... false checking for x86_64-mageia-linux-gnu-g++... no checking for x86_64-mageia-linux-gnu-c++... no checking for x86_64-mageia-linux-gnu-gpp... no checking for x86_64-mageia-linux-gnu-aCC... no checking for x86_64-mageia-linux-gnu-CC... no checking for x86_64-mageia-linux-gnu-cxx... no checking for x86_64-mageia-linux-gnu-cc++... no checking for x86_64-mageia-linux-gnu-cl.exe... no checking for x86_64-mageia-linux-gnu-FCC... no checking for x86_64-mageia-linux-gnu-KCC... no checking for x86_64-mageia-linux-gnu-RCC... no checking for x86_64-mageia-linux-gnu-xlC_r... no checking for x86_64-mageia-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes 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 build man pages without po4a-translage. You may safely ignore this warning when building from a tarball. configure: WARNING: Cannot build man pages without po4a-gettextize. You may safely ignore this warning when building from a tarball. configure: WARNING: Cannot update buildtag without git. You may safely ignore this warning when building from a tarball. 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... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking linux/genetlink.h usability... yes checking linux/genetlink.h presence... 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 + /usr/bin/make -O -j16 V=1 VERBOSE=1 make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/shared' flex -s -odrbdmeta_scanner.c drbdmeta_scanner.fl make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/shared' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/shared' ./drbd_buildtag.sh drbd_buildtag.h make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/shared' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/shared' ./drbd_buildtag.sh drbd_buildtag.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/shared' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' flex -s -odrbdadm_scanner.c drbdadm_scanner.fl make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbd_buildtag.o ../shared/drbd_buildtag.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o registry.o registry.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdadm_usage_cnt.o drbdadm_usage_cnt.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbd_nla.o drbd_nla.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o shared_parser.o ../shared/shared_parser.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdadm_scanner.o drbdadm_scanner.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdtool_common.o drbdtool_common.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdadm_linux.o drbdadm_linux.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdtool_common_linux.o drbdtool_common_linux.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o libnla.o ../shared/libnla.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o shared_main.o ../shared/shared_main.c In file included from ../shared/shared_main.c:56: ../shared/drbd_endian.h:38: warning: "__swab16" redefined 38 | #define __swab16(x) \ | In file included from /usr/include/linux/byteorder/little_endian.h:14, from /usr/include/asm/byteorder.h:5, from /usr/include/linux/if_packet.h:5, from /usr/include/linux/netdevice.h:31, from ../shared/shared_main.c:48: /usr/include/linux/swab.h:104: note: this is the location of the previous definition 104 | #define __swab16(x) \ | ../shared/drbd_endian.h:46: warning: "__swab32" redefined 46 | #define __swab32(x) \ | /usr/include/linux/swab.h:117: note: this is the location of the previous definition 117 | #define __swab32(x) \ | ../shared/drbd_endian.h:56: warning: "__swab64" redefined 56 | #define __swab64(x) \ | /usr/include/linux/swab.h:130: note: this is the location of the previous definition 130 | #define __swab64(x) \ | make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o libgenl.o ../shared/libgenl.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbd_strings.o ../../drbd-headers/drbd_strings.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o config_flags.o config_flags.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o wrap_printf.o ../shared/wrap_printf.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdsetup_linux.o drbdsetup_linux.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o shared_tool.o ../shared/shared_tool.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdsetup_main.o drbdsetup_main.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdsetup_colors.o drbdsetup_colors.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdmeta_linux.o ../shared/drbdmeta_linux.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdadm_adjust.o drbdadm_adjust.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdadm_dump.o drbdadm_dump.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdadm_parser.o drbdadm_parser.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdmeta_scanner.o ../shared/drbdmeta_scanner.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdadm_postparse.o drbdadm_postparse.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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:882:13: warning: the comparison will always evaluate as 'true' for the address of 'ctx_resource_name' will never be NULL [-Waddress] 882 | 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:265:17: note: in definition of macro 'GENL_struct' 265 | struct s_name { s_fields }; | ^~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:108:9: note: in expansion of macro '__array' 108 | __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 '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdadm_main.o drbdadm_main.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I../../drbd-headers -I.. -I. -I../shared -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -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 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdmeta.o ../shared/drbdmeta.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I../../drbd-headers -I.. -I. -I../shared -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -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 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdsetup.o drbdsetup.c drbdsetup.c: In function 'new_resource_from_info': drbdsetup.c:3285:13: warning: the comparison will always evaluate as 'true' for the address of 'ctx_resource_name' will never be NULL [-Waddress] 3285 | 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:265:17: note: in definition of macro 'GENL_struct' 265 | struct s_name { s_fields }; | ^~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:108:9: note: in expansion of macro '__array' 108 | __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:3491:13: warning: the comparison will always evaluate as 'true' for the address of 'ctx_resource_name' will never be NULL [-Waddress] 3491 | 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:265:17: note: in definition of macro 'GENL_struct' 265 | struct s_name { s_fields }; | ^~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:108:9: note: in expansion of macro '__array' 108 | __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:3617:13: warning: the comparison will always evaluate as 'true' for the address of 'ctx_resource_name' will never be NULL [-Waddress] 3617 | 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:265:17: note: in definition of macro 'GENL_struct' 265 | struct s_name { s_fields }; | ^~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:108:9: note: in expansion of macro '__array' 108 | __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:3705:13: warning: the comparison will always evaluate as 'true' for the address of 'ctx_resource_name' will never be NULL [-Waddress] 3705 | 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:265:17: note: in definition of macro 'GENL_struct' 265 | struct s_name { s_fields }; | ^~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:108:9: note: in expansion of macro '__array' 108 | __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:3743:21: warning: the comparison will always evaluate as 'true' for the address of 'backing_dev' will never be NULL [-Waddress] 3743 | 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:265:17: note: in definition of macro 'GENL_struct' 265 | struct s_name { s_fields }; | ^~~~~~~~ ../../drbd-headers/linux/genl_magic_struct.h:108:9: note: in expansion of macro '__array' 108 | __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]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I../../drbd-headers -I.. -I. -I../shared -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -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 drbdsetup_main.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' make[1]: Nothing to be done for 'all'. make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v83' flex -s -odrbdadm_scanner.c drbdadm_scanner.fl make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v83' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v83' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I. -I../shared -c -o drbd_buildtag.o ../shared/drbd_buildtag.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v83' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v83' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I. -I../shared -c -o drbdtool_common.o drbdtool_common.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v83' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v83' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I. -I../shared -c -o drbdadm_minor_table.o drbdadm_minor_table.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v83' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v83' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I. -I../shared -c -o drbd_strings.o drbd_strings.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v83' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v83' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I. -I../shared -c -o shared_parser.o ../shared/shared_parser.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v83' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v83' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I. -I../shared -c -o drbdadm_usage_cnt.o drbdadm_usage_cnt.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v83' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v83' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I. -I../shared -c -o drbdadm_adjust.o drbdadm_adjust.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v83' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v83' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I. -I../shared -c -o shared_main.o ../shared/shared_main.c In file included from ../shared/shared_main.c:56: ../shared/drbd_endian.h:38: warning: "__swab16" redefined 38 | #define __swab16(x) \ | In file included from /usr/include/linux/byteorder/little_endian.h:14, from /usr/include/asm/byteorder.h:5, from /usr/include/linux/if_packet.h:5, from /usr/include/linux/netdevice.h:31, from ../shared/shared_main.c:48: /usr/include/linux/swab.h:104: note: this is the location of the previous definition 104 | #define __swab16(x) \ | ../shared/drbd_endian.h:46: warning: "__swab32" redefined 46 | #define __swab32(x) \ | /usr/include/linux/swab.h:117: note: this is the location of the previous definition 117 | #define __swab32(x) \ | ../shared/drbd_endian.h:56: warning: "__swab64" redefined 56 | #define __swab64(x) \ | /usr/include/linux/swab.h:130: note: this is the location of the previous definition 130 | #define __swab64(x) \ | make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v83' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v83' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I. -I../shared -c -o drbdadm_scanner.o drbdadm_scanner.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v83' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v83' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I. -I../shared -c -o drbdadm_parser.o drbdadm_parser.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v83' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v83' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I. -I../shared -c -o shared_tool.o ../shared/shared_tool.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v83' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v83' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I. -I../shared -c -o drbdsetup.o drbdsetup.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v83' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v83' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I. -I../shared -c -o drbdadm_main.o drbdadm_main.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v83' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v83' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I. -I../shared -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -o drbdsetup-83 drbdsetup.o drbdtool_common.o drbd_buildtag.o drbd_strings.o shared_tool.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v83' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v83' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I. -I../shared -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -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 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v83' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v84' flex -s -odrbdadm_scanner.c drbdadm_scanner.fl make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v84' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v84' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I. -I../shared -c -o drbd_buildtag.o ../shared/drbd_buildtag.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v84' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v84' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I. -I../shared -c -o registry.o registry.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v84' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v84' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I. -I../shared -c -o drbdtool_common.o drbdtool_common.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v84' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v84' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I. -I../shared -c -o drbd_strings.o drbd_strings.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v84' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v84' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I. -I../shared -c -o drbd_nla.o drbd_nla.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v84' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v84' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I. -I../shared -c -o shared_parser.o ../shared/shared_parser.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v84' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v84' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I. -I../shared -c -o libgenl.o ../shared/libgenl.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v84' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v84' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I. -I../shared -c -o wrap_printf.o ../shared/wrap_printf.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v84' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v84' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I. -I../shared -c -o drbdsetup_colors.o drbdsetup_colors.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v84' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v84' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I. -I../shared -c -o shared_main.o ../shared/shared_main.c In file included from ../shared/shared_main.c:56: ../shared/drbd_endian.h:38: warning: "__swab16" redefined 38 | #define __swab16(x) \ | In file included from /usr/include/linux/byteorder/little_endian.h:14, from /usr/include/asm/byteorder.h:5, from /usr/include/linux/if_packet.h:5, from /usr/include/linux/netdevice.h:31, from ../shared/shared_main.c:48: /usr/include/linux/swab.h:104: note: this is the location of the previous definition 104 | #define __swab16(x) \ | ../shared/drbd_endian.h:46: warning: "__swab32" redefined 46 | #define __swab32(x) \ | /usr/include/linux/swab.h:117: note: this is the location of the previous definition 117 | #define __swab32(x) \ | ../shared/drbd_endian.h:56: warning: "__swab64" redefined 56 | #define __swab64(x) \ | /usr/include/linux/swab.h:130: note: this is the location of the previous definition 130 | #define __swab64(x) \ | make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v84' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v84' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I. -I../shared -c -o libnla.o ../shared/libnla.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v84' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v84' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I. -I../shared -c -o drbdadm_scanner.o drbdadm_scanner.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v84' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v84' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I. -I../shared -c -o shared_tool.o ../shared/shared_tool.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v84' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v84' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I. -I../shared -c -o drbdadm_usage_cnt.o drbdadm_usage_cnt.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v84' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v84' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I. -I../shared -c -o drbdadm_adjust.o drbdadm_adjust.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v84' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v84' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I. -I../shared -c -o config_flags.o config_flags.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v84' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v84' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I. -I../shared -c -o drbdadm_parser.o drbdadm_parser.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v84' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v84' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I. -I../shared -c -o drbdadm_main.o drbdadm_main.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v84' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v84' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I. -I../shared -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -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 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v84' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v84' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v84' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v84' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I. -I../shared -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -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 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v84' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/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 '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/drbdmon' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/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 '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/drbdmon' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/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 '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/drbdmon' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/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 '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/drbdmon' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/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 '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/drbdmon' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/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 '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/drbdmon' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/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 '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/drbdmon' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/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 '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/drbdmon' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/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 '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/drbdmon' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/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 '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/drbdmon' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/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 '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/drbdmon' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/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 '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/drbdmon' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/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 '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/drbdmon' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/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 '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/drbdmon' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/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 '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/drbdmon' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/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 '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/drbdmon' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/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 '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/drbdmon' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/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 '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/drbdmon' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/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 '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/drbdmon' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/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 '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/drbdmon' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/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 '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/drbdmon' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/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 '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/drbdmon' Userland tools build was successful. /usr/bin/make -C documentation/v9 doc make[1]: Nothing to be done for 'doc'. /usr/bin/make -C documentation/ja/v9 doc make[1]: Nothing to be done for 'doc'. /usr/bin/make -C documentation/v83 doc make[1]: Nothing to be done for 'doc'. /usr/bin/make -C documentation/v84 doc make[1]: Nothing to be done for 'doc'. /usr/bin/make -C documentation/ja/v84 doc make[1]: Nothing to be done for 'doc'. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.fmxWcv + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64 '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64 ++ dirname /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64 + mkdir -p /home/pterjan/rpmbuild/BUILDROOT + mkdir /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64 + cd drbd-utils-9.15.1 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64 'INSTALL=/usr/bin/install -p' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/shared' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/shared' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' install -d /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/sbin install -d /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/var/lib/drbd install -d /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/var/run/drbd install -d /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/var/lock if getent group haclient > /dev/null 2> /dev/null ; then \ install -g haclient -m 4750 drbdsetup /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/sbin ; \ install -g haclient -m 4750 drbdmeta /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/sbin ; \ install -m 755 drbdadm /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/sbin ; \ else \ install -m 755 drbdsetup /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/sbin ; \ install -m 755 drbdmeta /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/sbin ; \ install -m 755 drbdadm /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/sbin ; \ fi if test -d /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/sbin && \ ! test /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/sbin -ef /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/sbin ; then \ ln -sf /usr/sbin/drbdsetup /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/sbin ; \ ln -sf /usr/sbin/drbdmeta /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/sbin ; \ ln -sf /usr/sbin/drbdadm /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/sbin ; \ fi install -d /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/var/lib/drbd make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v9' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/scripts' install -d /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/lib/drbd install -d /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/lib/systemd/system install -m 644 drbd.service /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/lib/systemd/system/ install -d /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/lib/drbd/ install -m 755 drbd /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/lib/drbd/ install -d /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/lib/tmpfiles.d/ install -m 444 drbd.tmpfiles.conf /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/lib/tmpfiles.d/drbd.conf install -d /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/etc/multipath/conf.d install -m 644 multipath/drbd.conf /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/etc/multipath/conf.d install -m 755 outdate-peer.sh /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/lib/drbd install -m 755 snapshot-resync-target-lvm.sh /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/lib/drbd install -m 755 notify.sh /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/lib/drbd install -m 755 stonith_admin-fence-peer.sh /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/lib/drbd ( set -e ; cd /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/lib/drbd ;\ ln -s -f snapshot-resync-target-lvm.sh unsnapshot-resync-target-lvm.sh ;\ ln -s -f notify.sh notify-split-brain.sh ;\ ln -s -f notify.sh notify-io-error.sh ;\ ln -s -f notify.sh notify-pri-on-incon-degr.sh ;\ ln -s -f notify.sh notify-pri-lost.sh ;\ ln -s -f notify.sh notify-pri-lost-after-sb.sh ;\ ln -s -f notify.sh notify-emergency-reboot.sh ;\ ln -s -f notify.sh notify-emergency-shutdown.sh ;\ ln -s -f notify.sh notify-out-of-sync.sh; ) Don't forget to run chkconfig mkdir -p /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/lib/udev/rules.d install -m 644 drbd.rules /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/lib/udev/rules.d/65-drbd.rules install -d /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/lib/drbd install -m 755 crm-fence-peer.sh /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/lib/drbd install -m 755 crm-fence-peer.9.sh /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/lib/drbd ( set -e ; cd /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/lib/drbd ;\ ln -s -f crm-fence-peer.sh crm-unfence-peer.sh ;\ ln -s -f crm-fence-peer.9.sh crm-unfence-peer.9.sh ) mkdir -p /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/lib/ocf/resource.d/linbit install -m 755 drbd.ocf /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/lib/ocf/resource.d/linbit/drbd install -m 755 drbd-attr /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/lib/ocf/resource.d/linbit/drbd-attr install -m 644 drbd.shellfuncs.sh /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/lib/ocf/resource.d/linbit/ mkdir -p /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/etc/bash_completion.d install -m 644 drbdadm.bash_completion /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/etc/bash_completion.d/drbdadm make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/scripts' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v83' install -d /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/var/lib/drbd install -d /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/var/lock install -d /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/lib/drbd/ if getent group haclient > /dev/null 2> /dev/null ; then \ install -g haclient -m 4750 drbdsetup-83 /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/lib/drbd/ ; \ install -m 755 drbdadm-83 /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/lib/drbd/ ; \ else \ install -m 755 drbdsetup-83 /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/lib/drbd/ ; \ install -m 755 drbdadm-83 /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/lib/drbd/ ; \ fi make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v83' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v84' install -d /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/var/lib/drbd install -d /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/var/run/drbd install -d /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/var/lock install -d /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/lib/drbd/ if getent group haclient > /dev/null 2> /dev/null ; then \ install -g haclient -m 4750 drbdsetup-84 /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/lib/drbd/ ; \ install -m 755 drbdadm-84 /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/lib/drbd/ ; \ else \ install -m 755 drbdsetup-84 /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/lib/drbd/ ; \ install -m 755 drbdadm-84 /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/lib/drbd/ ; \ fi make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/v84' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/drbdmon' install -m 755 drbdmon /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/sbin make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/user/drbdmon' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/documentation/v9' set -e; for f in drbdsetup.8 drbd.conf.5 drbd.8 drbdadm.8 drbdmeta.8 ocf_linbit_drbd.7 ocf_linbit_drbd-attr.7 drbdmon.8 ; do \ s=${f##*.}; \ b=${f%.[0-9]}; \ case $f in ocf_linbit_drbd*.7) \ install -v -D -m 644 $f /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/share/man//man$s/$f ; \ continue ;; \ esac ; \ install -v -D -m 644 $f /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/share/man//man$s/$b-9.0.$s ; \ if [ "yes" = "yes" ]; then \ ML=8.4; \ case $f in drbdmon.8) ML=9.0;; esac ; \ ln -sf $b-$ML.$s /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/share/man//man$s/$f ; \ fi \ done install: creating directory '/home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/share' install: creating directory '/home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/share/man' install: creating directory '/home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/share/man//man8' 'drbdsetup.8' -> '/home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/share/man//man8/drbdsetup-9.0.8' install: creating directory '/home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/share/man//man5' 'drbd.conf.5' -> '/home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/share/man//man5/drbd.conf-9.0.5' 'drbd.8' -> '/home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/share/man//man8/drbd-9.0.8' 'drbdadm.8' -> '/home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/share/man//man8/drbdadm-9.0.8' 'drbdmeta.8' -> '/home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/share/man//man8/drbdmeta-9.0.8' install: creating directory '/home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/share/man//man7' 'ocf_linbit_drbd.7' -> '/home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/share/man//man7/ocf_linbit_drbd.7' 'ocf_linbit_drbd-attr.7' -> '/home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/share/man//man7/ocf_linbit_drbd-attr.7' 'drbdmon.8' -> '/home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/share/man//man8/drbdmon-9.0.8' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/documentation/v9' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/documentation/ja/v9' set -e; for f in drbdsetup.8 drbd.conf.5 drbd.8 drbdadm.8 drbdmeta.8 drbdmon.8 ; do \ s=${f##*.}; \ b=${f%.[0-9]}; \ case $f in ocf_linbit_drbd*.7) \ install -v -D -m 644 $f /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/share/man/ja/man$s/$f ; \ continue ;; \ esac ; \ install -v -D -m 644 $f /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/share/man/ja/man$s/$b-9.0.$s ; \ if [ "yes" = "yes" ]; then \ ML=8.4; \ case $f in drbdmon.8) ML=9.0;; esac ; \ ln -sf $b-$ML.$s /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/share/man/ja/man$s/$f ; \ fi \ done install: creating directory '/home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/share/man/ja' install: creating directory '/home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/share/man/ja/man8' 'drbdsetup.8' -> '/home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/share/man/ja/man8/drbdsetup-9.0.8' install: creating directory '/home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/share/man/ja/man5' 'drbd.conf.5' -> '/home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/share/man/ja/man5/drbd.conf-9.0.5' 'drbd.8' -> '/home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/share/man/ja/man8/drbd-9.0.8' 'drbdadm.8' -> '/home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/share/man/ja/man8/drbdadm-9.0.8' 'drbdmeta.8' -> '/home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/share/man/ja/man8/drbdmeta-9.0.8' 'drbdmon.8' -> '/home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/share/man/ja/man8/drbdmon-9.0.8' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/documentation/ja/v9' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/documentation/v83' set -e; for f in drbdsetup.8 drbd.conf.5 drbd.8 drbdadm.8 drbdmeta.8 ; do \ s=${f##*.}; \ b=${f%.[0-9]}; \ install -v -D -m 644 $f /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/share/man/man$s/$b-8.3.$s ; \ done 'drbdsetup.8' -> '/home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/share/man/man8/drbdsetup-8.3.8' 'drbd.conf.5' -> '/home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/share/man/man5/drbd.conf-8.3.5' 'drbd.8' -> '/home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/share/man/man8/drbd-8.3.8' 'drbdadm.8' -> '/home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/share/man/man8/drbdadm-8.3.8' 'drbdmeta.8' -> '/home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/share/man/man8/drbdmeta-8.3.8' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/documentation/v83' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/documentation/v84' set -e; for f in drbdsetup.8 drbd.conf.5 drbd.8 drbdadm.8 drbdmeta.8 ; do \ s=${f##*.}; \ b=${f%.[0-9]}; \ install -v -D -m 644 $f /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/share/man//man$s/$b-8.4.$s ; \ done 'drbdsetup.8' -> '/home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/share/man//man8/drbdsetup-8.4.8' 'drbd.conf.5' -> '/home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/share/man//man5/drbd.conf-8.4.5' 'drbd.8' -> '/home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/share/man//man8/drbd-8.4.8' 'drbdadm.8' -> '/home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/share/man//man8/drbdadm-8.4.8' 'drbdmeta.8' -> '/home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/share/man//man8/drbdmeta-8.4.8' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/documentation/v84' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/documentation/ja/v84' set -e; for f in drbdsetup.8 drbd.conf.5 drbd.8 drbdadm.8 drbdmeta.8 ; do \ s=${f##*.}; \ b=${f%.[0-9]}; \ install -v -D -m 644 $f /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/share/man/ja/man$s/$b-8.4.$s ; \ done 'drbdsetup.8' -> '/home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/share/man/ja/man8/drbdsetup-8.4.8' 'drbd.conf.5' -> '/home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/share/man/ja/man5/drbd.conf-8.4.5' 'drbd.8' -> '/home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/share/man/ja/man8/drbd-8.4.8' 'drbdadm.8' -> '/home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/share/man/ja/man8/drbdadm-8.4.8' 'drbdmeta.8' -> '/home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/share/man/ja/man8/drbdmeta-8.4.8' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1/documentation/ja/v84' + install -d /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/var/lib/drbd + install -d /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/bin /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/sbin + mkdir -p /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/share/drbd + mkdir -p /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/etc/multipath/conf.d/ + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 9.15.1-4.mga9 --unique-debug-suffix -9.15.1-4.mga9.x86_64 --unique-debug-src-base drbd-utils-9.15.1-4.mga9.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/drbd-utils-9.15.1 extracting debug info from /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/lib/drbd/drbdadm-84 extracting debug info from /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/lib/drbd/drbdadm-83 extracting debug info from /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/sbin/drbdmeta extracting debug info from /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/sbin/drbdmon extracting debug info from /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/lib/drbd/drbdsetup-83 extracting debug info from /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/lib/drbd/drbdsetup-84 extracting debug info from /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/sbin/drbdsetup extracting debug info from /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/sbin/drbdadm gdb-add-index: No index was created for /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64/usr/sbin/drbdmon gdb-add-index: [Was there no debuginfo? Was there already an index?] original debug info size: 3124kB, size after compression: 2780kB /usr/bin/sepdebugcrcfix: Updated 7 CRC32s, 1 CRC32s did match. cpio: user/v9/drbdmeta_scanner.c: Cannot stat: No such file or directory cpio: user/v9/drbdmeta_scanner.fl: Cannot stat: No such file or directory 4221 blocks + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/lib/drbd/stonith_admin-fence-peer.sh from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/lib/drbd/outdate-peer.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/drbd/crm-fence-peer.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/drbd/snapshot-resync-target-lvm.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/drbd/notify.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/drbd/crm-fence-peer.9.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/ocf/resource.d/linbit/drbd from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/ocf/resource.d/linbit/drbd-attr from /bin/bash to #!/usr/bin/bash mangling shebang in /lib/drbd/drbd from /bin/bash to #!/usr/bin/bash + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: drbd-utils-9.15.1-4.mga9.x86_64 Provides: config(drbd-utils) = 9.15.1-4.mga9 drbd-utils = 9.15.1-4.mga9 drbd-utils(x86-64) = 9.15.1-4.mga9 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh initscripts rpm-helper Requires(preun): /bin/sh rpm-helper Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.25)(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.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) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.8)(64bit) libc.so.6(GLIBC_2.9)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.6)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) Processing files: drbd-utils-pacemaker-9.15.1-4.mga9.x86_64 Provides: drbd-utils-pacemaker = 9.15.1-4.mga9 drbd-utils-pacemaker(x86-64) = 9.15.1-4.mga9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: drbd-utils-debugsource-9.15.1-4.mga9.x86_64 Provides: drbd-utils-debugsource = 9.15.1-4.mga9 drbd-utils-debugsource(x86-64) = 9.15.1-4.mga9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: drbd-utils-debuginfo-9.15.1-4.mga9.x86_64 Provides: debuginfo(build-id) = 22f1e85cefae22bc8e6f8e3e808743d3653aef9e debuginfo(build-id) = 310376d33ac48782abfeeea372a09a327fb6a52b debuginfo(build-id) = 46d8404c555a459cd876eda1d82df0a1313a0e12 debuginfo(build-id) = 4aa5ef67b73b1e2f7a7d470cdbe08a16c32a4b53 debuginfo(build-id) = 8b522104c6919cb72c746e442714368d76c1a42c debuginfo(build-id) = 8f4a73971a5da61e7e13b05793f10c7c056a6e8d debuginfo(build-id) = e0a728489b2a510259b84d489b2eb70c132bd5f0 debuginfo(build-id) = e226abd7a468595b6c4a555b68559bab5e809e77 drbd-utils-debuginfo = 9.15.1-4.mga9 drbd-utils-debuginfo(x86-64) = 9.15.1-4.mga9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: drbd-utils-debugsource(x86-64) = 9.15.1-4.mga9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64 Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/drbd-utils-pacemaker-9.15.1-4.mga9.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/drbd-utils-9.15.1-4.mga9.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/drbd-utils-debugsource-9.15.1-4.mga9.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/drbd-utils-debuginfo-9.15.1-4.mga9.x86_64.rpm Executing(%clean): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.7jrZ8n + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd drbd-utils-9.15.1 + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILDROOT/drbd-utils-9.15.1-4.mga9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.x26J2h + umask 022 + cd /home/pterjan/rpmbuild/BUILD + rm -rf drbd-utils-9.15.1 drbd-utils-9.15.1.gemspec + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!