+ exec
+ rm -rf /rpmbuild
+ mkdir -p /rpmbuild
+ su -c 'rpmbuild -ba /builddir/build/SPECS/openpgm.spec            --define "debug_package %{nil}"            --undefine _annotated_build            --define "_missing_doc_files_terminate_build %{nil}"            --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d"            --define "_emacs_sitelispdir /usr/share/emacs/site-lisp"            --nocheck   ' mockbuild
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.KtgWec
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf libpgm-5.2.122~dfsg/openpgm/pgm
+ /usr/bin/gzip -dc /builddir/build/SOURCES/libpgm-5.2.122~dfsg.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd libpgm-5.2.122~dfsg/openpgm/pgm
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.NZDDqf
+ umask 022
+ cd /builddir/build/BUILD
+ cd libpgm-5.2.122~dfsg/openpgm/pgm
+ 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 '
+ 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 '
+ 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  -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  -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ '[' 1 = 1 ']'
+++ dirname ./configure
++ find . -name config.guess -o -name config.sub
+ for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub)
++ basename ./config.sub
+ '[' -f /usr/lib/rpm/redhat/config.sub ']'
+ /usr/bin/rm -f ./config.sub
++ basename ./config.sub
+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub
'/usr/lib/rpm/redhat/config.sub' -> './config.sub'
+ for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub)
++ basename ./config.guess
+ '[' -f /usr/lib/rpm/redhat/config.guess ']'
+ /usr/bin/rm -f ./config.guess
++ basename ./config.guess
+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess
'/usr/lib/rpm/redhat/config.guess' -> './config.guess'
+ '[' 1 = 1 ']'
+ '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']'
++ find . -name ltmain.sh
+ for i in $(find . -name ltmain.sh)
+ /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh
+ ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
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 for riscv64-redhat-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 style of include used by make... GNU
checking dependency style of gcc... none
checking for gcc option to accept ISO C99... none needed
checking build system type... riscv64-redhat-linux-gnu
checking host system type... riscv64-redhat-linux-gnu
checking how to print strings... printf
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 whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop
checking how to convert riscv64-redhat-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-redhat-linux-gnu-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for riscv64-redhat-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for riscv64-redhat-linux-gnu-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for riscv64-redhat-linux-gnu-strip... no
checking for strip... strip
checking for riscv64-redhat-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 riscv64-redhat-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 for perl... no
checking for python... /usr/bin/python
checking for library containing sqrt... -lm
checking for library containing pthread_mutex_trylock... -lpthread
checking for library containing clock_gettime... none required
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... 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 float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking for inttypes.h... (cached) yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for memory.h... (cached) 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 stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for inline... inline
checking for flexible array members... yes
checking for C/C++ restrict keyword... __restrict
checking for variable-length arrays... yes
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for int8_t... yes
checking for mode_t... yes
checking for size_t... (cached) yes
checking for ssize_t... yes
checking for uid_t in sys/types.h... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint8_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... no
checking for atexit... yes
checking for clock_gettime... yes
checking for floor... yes
checking for ftime... yes
checking for gethostbyaddr... yes
checking for gethostbyname... yes
checking for gethostname... yes
checking for gettimeofday... yes
checking for inet_ntoa... yes
checking for memmove... yes
checking for memset... yes
checking for regcomp... yes
checking for select... yes
checking for setenv... yes
checking for setlocale... yes
checking for socket... yes
checking for sqrt... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strpbrk... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtol... yes
checking for strtoul... yes
checking for strtoull... yes
checking for pthread_spinlock... yes
checking for getprotobyname_r... yes
checking whether getprotobyname_r returns struct protoent *... no
checking for getnetent... yes
checking for C99 variadic macros... yes
checking for GNU-style variadic macros... yes
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for eventfd... yes
checking for /proc/cpuinfo... yes
checking for backtrace... yes
checking for pselect... yes
checking for /dev/rtc... no
checking for RDTSC instruction... no
checking for /dev/hpet... no
checking for poll... yes
checking for epoll_ctl... yes
checking for getifaddrs... yes
checking for struct ifreq.ifr_netmask... no
checking for struct _WSAMSG.name... no
checking for struct group_req.gr_interface... yes
checking for struct ip_mreqn.imr_ifindex... yes
checking for struct ip_msfilter.imsf_multiaddr... no
checking for printf thousands' grouping... yes
checking for vasprintf... yes
checking for hidden visibility attribute... yes
checking for raw IP sockets ip_{len,off} host byte ordering... no
checking for unaligned pointers... yes
checking for intrinsic atomic ops... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating openpgm-5.2.pc
config.status: creating openpgm.spec
config.status: creating include/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
+ make -j2
  CC     libpgm_noinst_la-thread.lo
  CC     libpgm_noinst_la-mem.lo
In file included from /usr/include/errno.h:25:0,
                 from thread.c:25:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
In file included from /usr/include/ctype.h:25:0,
                 from mem.c:27:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
  CC     libpgm_noinst_la-string.lo
  CC     libpgm_noinst_la-list.lo
In file included from /usr/include/bits/libc-header-start.h:33:0,
                 from /usr/include/limits.h:26,
                 from /usr/lib64/gcc/riscv64-unknown-linux-gnu/7/include-fixed/limits.h:194,
                 from /usr/lib64/gcc/riscv64-unknown-linux-gnu/7/include-fixed/syslimits.h:7,
                 from /usr/lib64/gcc/riscv64-unknown-linux-gnu/7/include-fixed/limits.h:34,
                 from string.c:30:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
In file included from /usr/include/sys/types.h:25:0,
                 from /usr/include/sys/param.h:25,
                 from ./include/pgm/types.h:29,
                 from ./include/pgm/atomic.h:36,
                 from ./include/impl/framework.h:30,
                 from list.c:25:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
  CC     libpgm_noinst_la-slist.lo
In file included from /usr/include/sys/types.h:25:0,
                 from /usr/include/sys/param.h:25,
                 from ./include/pgm/types.h:29,
                 from ./include/pgm/atomic.h:36,
                 from ./include/impl/framework.h:30,
                 from slist.c:25:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
  CC     libpgm_noinst_la-queue.lo
In file included from /usr/include/sys/types.h:25:0,
                 from /usr/include/sys/param.h:25,
                 from ./include/pgm/types.h:29,
                 from ./include/pgm/atomic.h:36,
                 from ./include/impl/framework.h:30,
                 from queue.c:25:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
  CC     libpgm_noinst_la-hashtable.lo
In file included from /usr/include/sys/types.h:25:0,
                 from /usr/include/sys/param.h:25,
                 from ./include/pgm/types.h:29,
                 from ./include/pgm/atomic.h:36,
                 from ./include/impl/framework.h:30,
                 from hashtable.c:25:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
  CC     libpgm_noinst_la-messages.lo
In file included from /usr/include/bits/libc-header-start.h:33:0,
                 from /usr/include/stdio.h:27,
                 from messages.c:26:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
messages.c: In function 'pgm__logv':
messages.c:188:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
   (void) write (STDOUT_FILENO, tbuf, strlen (tbuf));
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
messages.c:189:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
   (void) write (STDOUT_FILENO, "\n", 1);
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC     libpgm_noinst_la-error.lo
In file included from /usr/include/netdb.h:25:0,
                 from error.c:30:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
  CC     libpgm_noinst_la-math.lo
In file included from /usr/include/sys/types.h:25:0,
                 from /usr/include/sys/param.h:25,
                 from ./include/pgm/types.h:29,
                 from ./include/pgm/atomic.h:36,
                 from ./include/impl/framework.h:30,
                 from math.c:25:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
  CC     libpgm_noinst_la-packet_parse.lo
In file included from /usr/include/sys/types.h:25:0,
                 from /usr/include/sys/param.h:25,
                 from ./include/pgm/types.h:29,
                 from ./include/pgm/atomic.h:36,
                 from ./include/impl/framework.h:30,
                 from packet_parse.c:26:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
  CC     libpgm_noinst_la-packet_test.lo
In file included from /usr/include/ctype.h:25:0,
                 from packet_test.c:25:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
  CC     libpgm_noinst_la-sockaddr.lo
In file included from /usr/include/errno.h:25:0,
                 from sockaddr.c:25:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
sockaddr.c: In function 'pgm_in_len2mask':
sockaddr.c:207:2: warning: 'memset' used with constant zero length parameter; this could be due to transposed parameters [-Wmemset-transposed-args]
  memset (mask, sizeof (*mask), 0);
  ^~~~~~
At top level:
sockaddr.c:198:1: warning: 'pgm_in_len2mask' defined but not used [-Wunused-function]
 pgm_in_len2mask (
 ^~~~~~~~~~~~~~~
  CC     libpgm_noinst_la-time.lo
In file included from /usr/include/errno.h:25:0,
                 from time.c:27:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
time.c:993:1: warning: 'pgm_time_conv_from_reset' defined but not used [-Wunused-function]
 pgm_time_conv_from_reset (
 ^~~~~~~~~~~~~~~~~~~~~~~~
  CC     libpgm_noinst_la-if.lo
In file included from /usr/include/errno.h:25:0,
                 from if.c:30:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
  CC     libpgm_noinst_la-inet_lnaof.lo
In file included from /usr/include/sys/types.h:25:0,
                 from inet_lnaof.c:27:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
if.c:1792:1: warning: 'pgm_family_string' defined but not used [-Wunused-function]
 pgm_family_string (
 ^~~~~~~~~~~~~~~~~
  CC     libpgm_noinst_la-getifaddrs.lo
In file included from /usr/include/errno.h:25:0,
                 from getifaddrs.c:34:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
  CC     libpgm_noinst_la-get_nprocs.lo
In file included from /usr/include/sched.h:22:0,
                 from get_nprocs.c:32:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
  CC     libpgm_noinst_la-getnetbyname.lo
In file included from /usr/include/bits/libc-header-start.h:33:0,
                 from /usr/include/stdio.h:27,
                 from getnetbyname.c:30:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
  CC     libpgm_noinst_la-getnodeaddr.lo
In file included from /usr/include/errno.h:25:0,
                 from getnodeaddr.c:29:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
getnodeaddr.c:295:1: warning: 'pgm_family_string' defined but not used [-Wunused-function]
 pgm_family_string (
 ^~~~~~~~~~~~~~~~~
  CC     libpgm_noinst_la-getprotobyname.lo
In file included from /usr/include/bits/libc-header-start.h:33:0,
                 from /usr/include/stdio.h:27,
                 from getprotobyname.c:26:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
  CC     libpgm_noinst_la-indextoaddr.lo
In file included from /usr/include/sys/types.h:25:0,
                 from /usr/include/sys/param.h:25,
                 from ./include/pgm/types.h:29,
                 from ./include/pgm/atomic.h:36,
                 from ./include/impl/framework.h:30,
                 from indextoaddr.c:28:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
  CC     libpgm_noinst_la-indextoname.lo
In file included from /usr/include/sys/types.h:25:0,
                 from /usr/include/sys/param.h:25,
                 from ./include/pgm/types.h:29,
                 from ./include/pgm/atomic.h:36,
                 from ./include/impl/framework.h:30,
                 from indextoname.c:31:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
  CC     libpgm_noinst_la-nametoindex.lo
In file included from /usr/include/sys/types.h:25:0,
                 from /usr/include/sys/param.h:25,
                 from ./include/pgm/types.h:29,
                 from ./include/pgm/atomic.h:36,
                 from ./include/impl/framework.h:30,
                 from nametoindex.c:31:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
  CC     libpgm_noinst_la-inet_network.lo
In file included from /usr/include/ctype.h:25:0,
                 from inet_network.c:25:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
  CC     libpgm_noinst_la-md5.lo
In file included from /usr/include/sys/types.h:25:0,
                 from /usr/include/sys/param.h:25,
                 from ./include/pgm/types.h:29,
                 from ./include/pgm/atomic.h:36,
                 from ./include/impl/framework.h:30,
                 from md5.c:29:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
  CC     libpgm_noinst_la-rand.lo
In file included from /usr/include/errno.h:25:0,
                 from rand.c:27:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
  CC     libpgm_noinst_la-gsi.lo
In file included from /usr/include/errno.h:25:0,
                 from gsi.c:25:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
  CC     libpgm_noinst_la-tsi.lo
In file included from /usr/include/bits/libc-header-start.h:33:0,
                 from /usr/include/stdio.h:27,
                 from tsi.c:25:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
  CC     libpgm_noinst_la-txw.lo
  CC     libpgm_noinst_la-rxw.lo
In file included from /usr/include/sys/types.h:25:0,
                 from /usr/include/sys/param.h:25,
                 from ./include/pgm/types.h:29,
                 from ./include/pgm/atomic.h:36,
                 from ./include/impl/framework.h:30,
                 from txw.c:26:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
In file included from /usr/include/sys/types.h:25:0,
                 from /usr/include/sys/param.h:25,
                 from ./include/pgm/types.h:29,
                 from ./include/pgm/atomic.h:36,
                 from ./include/impl/framework.h:30,
                 from rxw.c:26:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
  CC     libpgm_noinst_la-skbuff.lo
In file included from /usr/include/sys/types.h:25:0,
                 from /usr/include/sys/param.h:25,
                 from ./include/pgm/types.h:29,
                 from ./include/pgm/atomic.h:36,
                 from ./include/impl/framework.h:30,
                 from skbuff.c:25:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
  CC     libpgm_noinst_la-socket.lo
In file included from /usr/include/errno.h:25:0,
                 from socket.c:26:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
socket.c:2739:1: warning: 'pgm_protocol_string' defined but not used [-Wunused-function]
 pgm_protocol_string (
 ^~~~~~~~~~~~~~~~~~~
socket.c:2723:1: warning: 'pgm_sock_type_string' defined but not used [-Wunused-function]
 pgm_sock_type_string (
 ^~~~~~~~~~~~~~~~~~~~
socket.c:2705:1: warning: 'pgm_family_string' defined but not used [-Wunused-function]
 pgm_family_string (
 ^~~~~~~~~~~~~~~~~
  CC     libpgm_noinst_la-source.lo
In file included from /usr/include/errno.h:25:0,
                 from source.c:25:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
  CC     libpgm_noinst_la-receiver.lo
In file included from /usr/include/errno.h:25:0,
                 from receiver.c:25:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
  CC     libpgm_noinst_la-recv.lo
In file included from /usr/include/errno.h:25:0,
                 from recv.c:30:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
  CC     libpgm_noinst_la-engine.lo
In file included from /usr/include/netdb.h:25:0,
                 from engine.c:39:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
  CC     libpgm_noinst_la-timer.lo
In file included from /usr/include/sys/types.h:25:0,
                 from /usr/include/sys/param.h:25,
                 from ./include/pgm/types.h:29,
                 from ./include/pgm/atomic.h:36,
                 from ./include/impl/framework.h:30,
                 from timer.c:26:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
engine.c: In function 'pgm_drop_superuser':
engine.c:265:3: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result]
   setuid((gid_t)65534);
   ^~~~~~~~~~~~~~~~~~~~
engine.c:266:3: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result]
   setgid((uid_t)65534);
   ^~~~~~~~~~~~~~~~~~~~
  CC     libpgm_noinst_la-net.lo
In file included from /usr/include/errno.h:25:0,
                 from net.c:25:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
  CC     libpgm_noinst_la-rate_control.lo
In file included from /usr/include/sys/types.h:25:0,
                 from /usr/include/sys/param.h:25,
                 from ./include/pgm/types.h:29,
                 from ./include/pgm/atomic.h:36,
                 from ./include/impl/framework.h:30,
                 from rate_control.c:25:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
rate_control.c: In function 'pgm_rate_check2':
rate_control.c:187:28: warning: 'new_major_limit' may be used uninitialized in this function [-Wmaybe-uninitialized]
   major_bucket->rate_limit = new_major_limit;
   ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
  CC     libpgm_noinst_la-checksum.lo
In file included from /usr/include/sys/types.h:25:0,
                 from /usr/include/sys/param.h:25,
                 from ./include/pgm/types.h:29,
                 from ./include/pgm/atomic.h:36,
                 from ./include/impl/framework.h:30,
                 from checksum.c:25:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
checksum.c:455:1: warning: 'do_csumcpy_64bit' defined but not used [-Wunused-function]
 do_csumcpy_64bit (
 ^~~~~~~~~~~~~~~~
checksum.c:370:1: warning: 'do_csum_64bit' defined but not used [-Wunused-function]
 do_csum_64bit (
 ^~~~~~~~~~~~~
checksum.c:293:1: warning: 'do_csumcpy_32bit' defined but not used [-Wunused-function]
 do_csumcpy_32bit (
 ^~~~~~~~~~~~~~~~
checksum.c:225:1: warning: 'do_csum_32bit' defined but not used [-Wunused-function]
 do_csum_32bit (
 ^~~~~~~~~~~~~
checksum.c:77:1: warning: 'do_csumcpy_8bit' defined but not used [-Wunused-function]
 do_csumcpy_8bit (
 ^~~~~~~~~~~~~~~
checksum.c:45:1: warning: 'do_csum_8bit' defined but not used [-Wunused-function]
 do_csum_8bit (
 ^~~~~~~~~~~~
  CC     libpgm_noinst_la-reed_solomon.lo
In file included from /usr/include/sys/types.h:25:0,
                 from /usr/include/sys/param.h:25,
                 from ./include/pgm/types.h:29,
                 from ./include/pgm/atomic.h:36,
                 from ./include/impl/framework.h:30,
                 from reed_solomon.c:30:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
  GEN    galois_tables.c
/bin/sh: ./galois_generator.pl: /usr/bin/perl: bad interpreter: No such file or directory
make: *** [Makefile:1319: galois_tables.c] Error 126
make: *** Waiting for unfinished jobs....
error: Bad exit status from /var/tmp/rpm-tmp.NZDDqf (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.NZDDqf (%build)
++ cleanup
++ set +e
++ sync
++ sleep 5
++ sync
++ poweroff
Terminated
+++ cleanup
+++ set +e
+++ sync
Terminated
++++ cleanup
++++ set +e
++++ sync
++++ sleep 5
++++ sync
++++ poweroff