Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/nbd.spec'], chrootPath='/var/lib/mock/f30-build-37964-21876/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/nbd.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/nbd-3.18-1.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/nbd.spec'], chrootPath='/var/lib/mock/f30-build-37964-21876/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/nbd.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.t7tyRs + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf nbd-3.18 + /usr/bin/xz -dc /builddir/build/SOURCES/nbd-3.18.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd nbd-3.18 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.m2RUM4 + umask 022 + cd /builddir/build/BUILD + cd nbd-3.18 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-syslog --enable-lfs --enable-gznbd checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... yes checking build system type... riscv64-koji-linux-gnu checking host system type... riscv64-koji-linux-gnu checking how to print strings... printf checking whether make supports the include directive... yes (GNU style) checking for riscv64-koji-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert riscv64-koji-linux-gnu file names to riscv64-koji-linux-gnu format... func_convert_file_noop checking how to convert riscv64-koji-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-koji-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-koji-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-koji-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-koji-linux-gnu-strip... no checking for strip... strip checking for riscv64-koji-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-koji-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -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 for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether Large File Support should be enabled... yes checking whether syslog logging is requested... yes checking whether a debugging version is requested... no checking for gcc option to accept ISO C99... none needed checking how to run the C preprocessor... gcc -E checking for riscv64-koji-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking whether byte ordering is bigendian... no checking for inline... inline checking for an ANSI C-conforming const... yes checking size of unsigned short int... 2 checking size of unsigned int... 4 checking size of unsigned long int... 8 checking size of unsigned long long int... 8 checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for struct dirent.d_type... yes checking for llseek... no checking for alarm... yes checking for gethostbyname... yes checking for inet_ntoa... yes checking for memset... yes checking for socket... yes checking for strerror... yes checking for strstr... yes checking for mkstemp... yes checking for fdatasync... yes checking for fallocate... yes checking linux/falloc.h usability... yes checking linux/falloc.h presence... yes checking for linux/falloc.h... yes checking whether FALLOC_FL_PUNCH_HOLE is declared... yes checking for FALLOC_FL_PUNCH_HOLE support... yes checking for splice... yes checking whether F_SETPIPE_SZ is declared... yes checking for F_SETPIPE_SZ support... yes checking for GnuTLS... yes checking for winioctl.h... no checking for sync_file_range... yes checking for pid_t... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking whether client should be built... yes checking whether to expect tlshuge test to fail... no checking for library containing bind... none required checking for library containing inet_ntoa... none required checking for library containing daemon... none required checking for sys/mount.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking linux/types.h usability... yes checking linux/types.h presence... yes checking for linux/types.h... yes checking sys/dirent.h usability... no checking sys/dirent.h presence... no checking for sys/dirent.h... no checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking for GLIB... yes checking if we are using an old glib 2.0 library... no checking whether _BSD_SOURCE needs to be defined for DT_* macros... no checking for LIBNL3... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for off_t... yes checking for pid_t... (cached) yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Doxyfile config.status: creating doc/Makefile config.status: creating man/Makefile config.status: creating gznbd/Makefile config.status: creating tests/Makefile config.status: creating tests/code/Makefile config.status: creating tests/run/Makefile config.status: creating man/nbd-client.8.sh config.status: creating man/nbd-server.5.sh config.status: creating man/nbd-server.1.sh config.status: creating man/nbd-trdump.1.sh config.status: creating man/nbdtab.5.sh config.status: creating systemd/Makefile config.status: creating systemd/nbd@.service.sh config.status: creating config.h config.status: linking buffer.c to tests/run/buffer.c config.status: linking crypto-gnutls.c to tests/run/crypto-gnutls.c config.status: linking cliserv.c to tests/run/cliserv.c config.status: executing depfiles commands config.status: executing libtool commands + /usr/bin/make -O -j4 /usr/bin/make all-recursive Making all in . make[2]: Entering directory '/builddir/build/BUILD/nbd-3.18' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -c -o libcliserv_la-cliserv.lo `test -f 'cliserv.c' || echo './'`cliserv.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -DSYSCONFDIR=\"/etc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -c cliserv.c -fPIC -DPIC -o .libs/libcliserv_la-cliserv.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -DSYSCONFDIR=\"/etc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -c cliserv.c -o libcliserv_la-cliserv.o >/dev/null 2>&1 make[2]: Leaving directory '/builddir/build/BUILD/nbd-3.18' make[2]: Entering directory '/builddir/build/BUILD/nbd-3.18' gcc -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -c -o nbd_trdump-nbd-trdump.o `test -f 'nbd-trdump.c' || echo './'`nbd-trdump.c make[2]: Leaving directory '/builddir/build/BUILD/nbd-3.18' make[2]: Entering directory '/builddir/build/BUILD/nbd-3.18' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -c -o libnbdsrv_la-treefiles.lo `test -f 'treefiles.c' || echo './'`treefiles.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -DSYSCONFDIR=\"/etc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -c treefiles.c -fPIC -DPIC -o .libs/libnbdsrv_la-treefiles.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -DSYSCONFDIR=\"/etc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -c treefiles.c -o libnbdsrv_la-treefiles.o >/dev/null 2>&1 make[2]: Leaving directory '/builddir/build/BUILD/nbd-3.18' make[2]: Entering directory '/builddir/build/BUILD/nbd-3.18' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -c -o libnbdsrv_la-nbdsrv.lo `test -f 'nbdsrv.c' || echo './'`nbdsrv.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -DSYSCONFDIR=\"/etc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -c nbdsrv.c -fPIC -DPIC -o .libs/libnbdsrv_la-nbdsrv.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -DSYSCONFDIR=\"/etc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -c nbdsrv.c -o libnbdsrv_la-nbdsrv.o >/dev/null 2>&1 make[2]: Leaving directory '/builddir/build/BUILD/nbd-3.18' make[2]: Entering directory '/builddir/build/BUILD/nbd-3.18' gcc -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -I/usr/include/p11-kit-1 -DPROG_NAME='"nbd-client"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -c -o nbd_client-buffer.o `test -f 'buffer.c' || echo './'`buffer.c make[2]: Leaving directory '/builddir/build/BUILD/nbd-3.18' make[2]: Entering directory '/builddir/build/BUILD/nbd-3.18' gcc -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -I/usr/include/p11-kit-1 -DPROG_NAME='"nbd-client"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -c -o nbd_client-crypto-gnutls.o `test -f 'crypto-gnutls.c' || echo './'`crypto-gnutls.c make[2]: Leaving directory '/builddir/build/BUILD/nbd-3.18' make[2]: Entering directory '/builddir/build/BUILD/nbd-3.18' /bin/sh ./libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libnbdsrv.la libnbdsrv_la-nbdsrv.lo libnbdsrv_la-treefiles.lo -lnl-genl-3 -lnl-3 libtool: link: ar cru .libs/libnbdsrv.a .libs/libnbdsrv_la-nbdsrv.o .libs/libnbdsrv_la-treefiles.o libtool: link: ranlib .libs/libnbdsrv.a libtool: link: ( cd ".libs" && rm -f "libnbdsrv.la" && ln -s "../libnbdsrv.la" "libnbdsrv.la" ) make[2]: Leaving directory '/builddir/build/BUILD/nbd-3.18' make[2]: Entering directory '/builddir/build/BUILD/nbd-3.18' /bin/sh ./libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libcliserv.la libcliserv_la-cliserv.lo -lnl-genl-3 -lnl-3 libtool: link: ar cru .libs/libcliserv.a .libs/libcliserv_la-cliserv.o libtool: link: ranlib .libs/libcliserv.a libtool: link: ( cd ".libs" && rm -f "libcliserv.la" && ln -s "../libcliserv.la" "libcliserv.la" ) make[2]: Leaving directory '/builddir/build/BUILD/nbd-3.18' make[2]: Entering directory '/builddir/build/BUILD/nbd-3.18' /bin/sh ./libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o nbd-trdump nbd_trdump-nbd-trdump.o libcliserv.la -lnl-genl-3 -lnl-3 libtool: link: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o nbd-trdump nbd_trdump-nbd-trdump.o ./.libs/libcliserv.a -lnl-genl-3 -lnl-3 -pthread make[2]: Leaving directory '/builddir/build/BUILD/nbd-3.18' make[2]: Entering directory '/builddir/build/BUILD/nbd-3.18' gcc -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -I/usr/include/p11-kit-1 -DPROG_NAME='"nbd-client"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -c -o nbd_client-nbd-client.o `test -f 'nbd-client.c' || echo './'`nbd-client.c make[2]: Leaving directory '/builddir/build/BUILD/nbd-3.18' BUILDSTDERR: nbd-client.c: In function 'send_opt_exportname': BUILDSTDERR: nbd-client.c:472:5: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] BUILDSTDERR: if(!global_flags & NBD_FLAG_NO_ZEROES) { BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: nbd-client.c: In function 'get_from_config': BUILDSTDERR: nbd-client.c:805:3: warning: 'size' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: munmap(data, size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: nbd-client.c:805:3: warning: 'data' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: nbd-client.c: In function 'main': BUILDSTDERR: nbd-client.c:1292:7: warning: 'nbd' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if (ioctl(nbd, NBD_DO_IT) < 0) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: nbd-client.c:972:7: warning: 'sockfds' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: int *sockfds; BUILDSTDERR: ^~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/nbd-3.18' gcc -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/p11-kit-1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -c -o nbd_server-nbd-server.o `test -f 'nbd-server.c' || echo './'`nbd-server.c make[2]: Leaving directory '/builddir/build/BUILD/nbd-3.18' make[2]: Entering directory '/builddir/build/BUILD/nbd-3.18' /bin/sh ./libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -I/usr/include/p11-kit-1 -DPROG_NAME='"nbd-client"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o nbd-client nbd_client-nbd-client.o nbd_client-crypto-gnutls.o nbd_client-buffer.o libcliserv.la -lgnutls -lnl-genl-3 -lnl-3 libtool: link: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -I/usr/include/p11-kit-1 -DPROG_NAME=\"nbd-client\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o nbd-client nbd_client-nbd-client.o nbd_client-crypto-gnutls.o nbd_client-buffer.o ./.libs/libcliserv.a -lgnutls -lnl-genl-3 -lnl-3 make[2]: Leaving directory '/builddir/build/BUILD/nbd-3.18' make[2]: Entering directory '/builddir/build/BUILD/nbd-3.18' /bin/sh ./libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/p11-kit-1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o nbd-server nbd_server-nbd-server.o -lgthread-2.0 -pthread -lglib-2.0 libnbdsrv.la libcliserv.la -lgnutls -lnl-genl-3 -lnl-3 libtool: link: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/p11-kit-1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o nbd-server nbd_server-nbd-server.o -pthread -lgthread-2.0 -lglib-2.0 ./.libs/libnbdsrv.a ./.libs/libcliserv.a -lgnutls -lnl-genl-3 -lnl-3 -pthread make[2]: Leaving directory '/builddir/build/BUILD/nbd-3.18' make[2]: Entering directory '/builddir/build/BUILD/nbd-3.18' gcc -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -DNOTLS -DPROG_NAME='"min-nbd-client"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -c -o min_nbd_client-nbd-client.o `test -f 'nbd-client.c' || echo './'`nbd-client.c make[2]: Leaving directory '/builddir/build/BUILD/nbd-3.18' BUILDSTDERR: nbd-client.c: In function 'send_opt_exportname': BUILDSTDERR: nbd-client.c:472:5: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] BUILDSTDERR: if(!global_flags & NBD_FLAG_NO_ZEROES) { BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: nbd-client.c: In function 'get_from_config': BUILDSTDERR: nbd-client.c:805:3: warning: 'size' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: munmap(data, size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: nbd-client.c:805:3: warning: 'data' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: nbd-client.c: In function 'main': BUILDSTDERR: nbd-client.c:1292:7: warning: 'nbd' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if (ioctl(nbd, NBD_DO_IT) < 0) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: nbd-client.c:972:7: warning: 'sockfds' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: int *sockfds; BUILDSTDERR: ^~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/nbd-3.18' /bin/sh ./libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -DNOTLS -DPROG_NAME='"min-nbd-client"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o min-nbd-client min_nbd_client-nbd-client.o libcliserv.la -lnl-genl-3 -lnl-3 libtool: link: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -DNOTLS -DPROG_NAME=\"min-nbd-client\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o min-nbd-client min_nbd_client-nbd-client.o ./.libs/libcliserv.a -lnl-genl-3 -lnl-3 make[2]: Leaving directory '/builddir/build/BUILD/nbd-3.18' Making all in man make[2]: Entering directory '/builddir/build/BUILD/nbd-3.18/man' sh nbd-server.1.sh > nbd-server.1 make[2]: Leaving directory '/builddir/build/BUILD/nbd-3.18/man' make[2]: Entering directory '/builddir/build/BUILD/nbd-3.18/man' sh nbd-client.8.sh > nbd-client.8 make[2]: Leaving directory '/builddir/build/BUILD/nbd-3.18/man' make[2]: Entering directory '/builddir/build/BUILD/nbd-3.18/man' sh nbd-trdump.1.sh > nbd-trdump.1 make[2]: Leaving directory '/builddir/build/BUILD/nbd-3.18/man' make[2]: Entering directory '/builddir/build/BUILD/nbd-3.18/man' sh nbd-server.5.sh > nbd-server.5 make[2]: Leaving directory '/builddir/build/BUILD/nbd-3.18/man' make[2]: Entering directory '/builddir/build/BUILD/nbd-3.18/man' sh nbdtab.5.sh > nbdtab.5 make[2]: Leaving directory '/builddir/build/BUILD/nbd-3.18/man' Making all in doc make[2]: Nothing to be done for 'all'. Making all in tests Making all in code make[3]: Nothing to be done for 'all'. Making all in run make[3]: Nothing to be done for 'all'. make[3]: Nothing to be done for 'all-am'. Making all in systemd make[2]: Entering directory '/builddir/build/BUILD/nbd-3.18/systemd' sh nbd@.service.sh > nbd@.service make[2]: Leaving directory '/builddir/build/BUILD/nbd-3.18/systemd' Making all in gznbd make[2]: Entering directory '/builddir/build/BUILD/nbd-3.18/gznbd' gcc -DHAVE_CONFIG_H -I. -I.. -DSYSCONFDIR='"/etc"' -DTRACE -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -c -o gznbd-gznbd.o `test -f 'gznbd.c' || echo './'`gznbd.c make[2]: Leaving directory '/builddir/build/BUILD/nbd-3.18/gznbd' make[2]: Entering directory '/builddir/build/BUILD/nbd-3.18/gznbd' /bin/sh ../libtool --tag=CC --mode=link gcc -DTRACE -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o gznbd gznbd-gznbd.o -lz ../libcliserv.la -lnl-genl-3 -lnl-3 libtool: link: gcc -DTRACE -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o gznbd gznbd-gznbd.o -lz ../.libs/libcliserv.a -lnl-genl-3 -lnl-3 make[2]: Leaving directory '/builddir/build/BUILD/nbd-3.18/gznbd' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.zLEmyu + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/nbd-3.18-1.fc30.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/nbd-3.18-1.fc30.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/nbd-3.18-1.fc30.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/nbd-3.18-1.fc30.riscv64 + cd nbd-3.18 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/nbd-3.18-1.fc30.riscv64 'INSTALL=/usr/bin/install -p' Making install in . make[1]: Entering directory '/builddir/build/BUILD/nbd-3.18' make[2]: Entering directory '/builddir/build/BUILD/nbd-3.18' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/nbd-3.18-1.fc30.riscv64/usr/bin' /bin/sh ./libtool --mode=install /usr/bin/install -p nbd-server nbd-trdump '/builddir/build/BUILDROOT/nbd-3.18-1.fc30.riscv64/usr/bin' libtool: install: /usr/bin/install -p nbd-server /builddir/build/BUILDROOT/nbd-3.18-1.fc30.riscv64/usr/bin/nbd-server libtool: install: /usr/bin/install -p nbd-trdump /builddir/build/BUILDROOT/nbd-3.18-1.fc30.riscv64/usr/bin/nbd-trdump /usr/bin/mkdir -p '/builddir/build/BUILDROOT/nbd-3.18-1.fc30.riscv64/usr/sbin' /bin/sh ./libtool --mode=install /usr/bin/install -p nbd-client min-nbd-client '/builddir/build/BUILDROOT/nbd-3.18-1.fc30.riscv64/usr/sbin' libtool: install: /usr/bin/install -p nbd-client /builddir/build/BUILDROOT/nbd-3.18-1.fc30.riscv64/usr/sbin/nbd-client libtool: install: /usr/bin/install -p min-nbd-client /builddir/build/BUILDROOT/nbd-3.18-1.fc30.riscv64/usr/sbin/min-nbd-client make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/nbd-3.18' make[1]: Leaving directory '/builddir/build/BUILD/nbd-3.18' Making install in man make[1]: Entering directory '/builddir/build/BUILD/nbd-3.18/man' make[2]: Entering directory '/builddir/build/BUILD/nbd-3.18/man' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/nbd-3.18-1.fc30.riscv64/usr/share/man/man1' /usr/bin/install -p -m 644 nbd-server.1 nbd-trdump.1 '/builddir/build/BUILDROOT/nbd-3.18-1.fc30.riscv64/usr/share/man/man1' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/nbd-3.18-1.fc30.riscv64/usr/share/man/man5' /usr/bin/install -p -m 644 nbd-server.5 nbdtab.5 '/builddir/build/BUILDROOT/nbd-3.18-1.fc30.riscv64/usr/share/man/man5' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/nbd-3.18-1.fc30.riscv64/usr/share/man/man8' /usr/bin/install -p -m 644 nbd-client.8 '/builddir/build/BUILDROOT/nbd-3.18-1.fc30.riscv64/usr/share/man/man8' make[2]: Leaving directory '/builddir/build/BUILD/nbd-3.18/man' make[1]: Leaving directory '/builddir/build/BUILD/nbd-3.18/man' Making install in doc make[1]: Entering directory '/builddir/build/BUILD/nbd-3.18/doc' make[2]: Entering directory '/builddir/build/BUILD/nbd-3.18/doc' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/nbd-3.18/doc' make[1]: Leaving directory '/builddir/build/BUILD/nbd-3.18/doc' Making install in tests make[1]: Entering directory '/builddir/build/BUILD/nbd-3.18/tests' Making install in code make[2]: Entering directory '/builddir/build/BUILD/nbd-3.18/tests/code' make[3]: Entering directory '/builddir/build/BUILD/nbd-3.18/tests/code' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/nbd-3.18/tests/code' make[2]: Leaving directory '/builddir/build/BUILD/nbd-3.18/tests/code' Making install in run make[2]: Entering directory '/builddir/build/BUILD/nbd-3.18/tests/run' make[3]: Entering directory '/builddir/build/BUILD/nbd-3.18/tests/run' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/nbd-3.18/tests/run' make[2]: Leaving directory '/builddir/build/BUILD/nbd-3.18/tests/run' make[2]: Entering directory '/builddir/build/BUILD/nbd-3.18/tests' make[3]: Entering directory '/builddir/build/BUILD/nbd-3.18/tests' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/nbd-3.18/tests' make[2]: Leaving directory '/builddir/build/BUILD/nbd-3.18/tests' make[1]: Leaving directory '/builddir/build/BUILD/nbd-3.18/tests' Making install in systemd make[1]: Entering directory '/builddir/build/BUILD/nbd-3.18/systemd' make[2]: Entering directory '/builddir/build/BUILD/nbd-3.18/systemd' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/nbd-3.18/systemd' make[1]: Leaving directory '/builddir/build/BUILD/nbd-3.18/systemd' Making install in gznbd make[1]: Entering directory '/builddir/build/BUILD/nbd-3.18/gznbd' make[2]: Entering directory '/builddir/build/BUILD/nbd-3.18/gznbd' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/nbd-3.18-1.fc30.riscv64/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -p gznbd '/builddir/build/BUILDROOT/nbd-3.18-1.fc30.riscv64/usr/bin' libtool: install: /usr/bin/install -p gznbd /builddir/build/BUILDROOT/nbd-3.18-1.fc30.riscv64/usr/bin/gznbd make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/nbd-3.18/gznbd' make[1]: Leaving directory '/builddir/build/BUILD/nbd-3.18/gznbd' + install -pDm644 systemd/nbd@.service /builddir/build/BUILDROOT/nbd-3.18-1.fc30.riscv64/usr/lib/systemd/system/nbd@.service + mkdir -p /builddir/build/BUILDROOT/nbd-3.18-1.fc30.riscv64/usr/lib/systemd/system/nbd@.service.d + cat + install -pDm644 /builddir/build/SOURCES/nbd-server.service /builddir/build/BUILDROOT/nbd-3.18-1.fc30.riscv64/usr/lib/systemd/system/nbd-server.service + install -pDm644 /builddir/build/SOURCES/nbd-server.sysconfig /builddir/build/BUILDROOT/nbd-3.18-1.fc30.riscv64/etc/sysconfig/nbd-server + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 3.18-1.fc30 --unique-debug-suffix -3.18-1.fc30.riscv64 --unique-debug-src-base nbd-3.18-1.fc30.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/nbd-3.18 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/nbd-3.18-1.fc30.riscv64/usr/bin/gznbd explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/nbd-3.18-1.fc30.riscv64/usr/bin/nbd-trdump explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/nbd-3.18-1.fc30.riscv64/usr/bin/nbd-server extracting debug info from /builddir/build/BUILDROOT/nbd-3.18-1.fc30.riscv64/usr/bin/gznbd explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/nbd-3.18-1.fc30.riscv64/usr/sbin/nbd-client extracting debug info from /builddir/build/BUILDROOT/nbd-3.18-1.fc30.riscv64/usr/bin/nbd-trdump extracting debug info from /builddir/build/BUILDROOT/nbd-3.18-1.fc30.riscv64/usr/bin/nbd-server extracting debug info from /builddir/build/BUILDROOT/nbd-3.18-1.fc30.riscv64/usr/sbin/nbd-client explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/nbd-3.18-1.fc30.riscv64/usr/sbin/min-nbd-client extracting debug info from /builddir/build/BUILDROOT/nbd-3.18-1.fc30.riscv64/usr/sbin/min-nbd-client /usr/lib/rpm/sepdebugcrcfix: Updated 5 CRC32s, 0 CRC32s did match. BUILDSTDERR: 402 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/nbd-3.18-1.fc30.riscv64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.H4AKjm Processing files: nbd-3.18-1.fc30.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.xUgRVq + umask 022 + cd /builddir/build/BUILD + cd nbd-3.18 + DOCDIR=/builddir/build/BUILDROOT/nbd-3.18-1.fc30.riscv64/usr/share/doc/nbd + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/nbd-3.18-1.fc30.riscv64/usr/share/doc/nbd + cp -pr README.md /builddir/build/BUILDROOT/nbd-3.18-1.fc30.riscv64/usr/share/doc/nbd + cp -pr doc/proto.md /builddir/build/BUILDROOT/nbd-3.18-1.fc30.riscv64/usr/share/doc/nbd + cp -pr doc/todo.txt /builddir/build/BUILDROOT/nbd-3.18-1.fc30.riscv64/usr/share/doc/nbd + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Occs3o + umask 022 + cd /builddir/build/BUILD + cd nbd-3.18 + LICENSEDIR=/builddir/build/BUILDROOT/nbd-3.18-1.fc30.riscv64/usr/share/licenses/nbd + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/nbd-3.18-1.fc30.riscv64/usr/share/licenses/nbd + cp -pr COPYING /builddir/build/BUILDROOT/nbd-3.18-1.fc30.riscv64/usr/share/licenses/nbd + exit 0 Provides: config(nbd) = 3.18-1.fc30 nbd = 3.18-1.fc30 nbd(riscv-64) = 3.18-1.fc30 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.28)(64bit) libglib-2.0.so.0()(64bit) libgnutls.so.30()(64bit) libgnutls.so.30(GNUTLS_3_4)(64bit) libnl-3.so.200()(64bit) libnl-3.so.200(libnl_3)(64bit) libnl-genl-3.so.200()(64bit) libnl-genl-3.so.200(libnl_3)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: nbd-debugsource-3.18-1.fc30.riscv64 Provides: nbd-debugsource = 3.18-1.fc30 nbd-debugsource(riscv-64) = 3.18-1.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: nbd-debuginfo-3.18-1.fc30.riscv64 Provides: debuginfo(build-id) = b38f43c86c77556c6bc4a42dde3219f2e02ecbc4 debuginfo(build-id) = c64bf6825395cd026c05c6b9ff64cf46f94d881a debuginfo(build-id) = c964378445662fc0d945feae73402d59388e7903 debuginfo(build-id) = cac9ae80c288ce4bde9be3b04aae512cb73ad6c3 debuginfo(build-id) = f230eb4fa3a289dee8cde93cda1a493b5e4aeab3 nbd-debuginfo = 3.18-1.fc30 nbd-debuginfo(riscv-64) = 3.18-1.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: nbd-debugsource(riscv-64) = 3.18-1.fc30 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/nbd-3.18-1.fc30.riscv64 Wrote: /builddir/build/RPMS/nbd-3.18-1.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/nbd-debugsource-3.18-1.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/nbd-debuginfo-3.18-1.fc30.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.aUDlB3 + umask 022 + cd /builddir/build/BUILD + cd nbd-3.18 + /usr/bin/rm -rf /builddir/build/BUILDROOT/nbd-3.18-1.fc30.riscv64 + exit 0 Child return code was: 0