+ exec
+ rm -rf /rpmbuild
+ mkdir -p /rpmbuild
+ su -c 'rpmbuild -ba /builddir/build/SPECS/burp.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.V9o507
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf burp-1.4.40
+ /usr/bin/gzip -dc /builddir/build/SOURCES/1.4.40.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd burp-1.4.40
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (burp-1.4.40-narrowing.patch):'
Patch #0 (burp-1.4.40-narrowing.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0
patching file src/conf.c
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.dgcbPg
+ umask 022
+ cd /builddir/build/BUILD
+ cd burp-1.4.40
+ 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 ./autoconf/config.sub
+ '[' -f /usr/lib/rpm/redhat/config.sub ']'
+ /usr/bin/rm -f ./autoconf/config.sub
++ basename ./autoconf/config.sub
+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./autoconf/config.sub
'/usr/lib/rpm/redhat/config.sub' -> './autoconf/config.sub'
+ for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub)
++ basename ./autoconf/config.guess
+ '[' -f /usr/lib/rpm/redhat/config.guess ']'
+ /usr/bin/rm -f ./autoconf/config.guess
++ basename ./autoconf/config.guess
+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./autoconf/config.guess
'/usr/lib/rpm/redhat/config.guess' -> './autoconf/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"~' ./autoconf/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 --sysconfdir=/etc/burp
configure: WARNING: unrecognized options: --disable-dependency-tracking
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 how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for true... /usr/bin/true
checking for false... /usr/bin/false
checking for riscv64-redhat-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 for riscv64-redhat-linux-gnu-g++... no
checking for riscv64-redhat-linux-gnu-c++... no
checking for riscv64-redhat-linux-gnu-gpp... no
checking for riscv64-redhat-linux-gnu-aCC... no
checking for riscv64-redhat-linux-gnu-CC... no
checking for riscv64-redhat-linux-gnu-cxx... no
checking for riscv64-redhat-linux-gnu-cc++... no
checking for riscv64-redhat-linux-gnu-cl.exe... no
checking for riscv64-redhat-linux-gnu-FCC... no
checking for riscv64-redhat-linux-gnu-KCC... no
checking for riscv64-redhat-linux-gnu-RCC... no
checking for riscv64-redhat-linux-gnu-xlC_r... no
checking for riscv64-redhat-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 gcc and cc understand -c and -o together... yes
checking whether gcc needs -traditional... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for mv... /usr/bin/mv
checking for rm... /usr/bin/rm
checking for cp... /usr/bin/cp
checking for sed... /usr/bin/sed
checking for echo... /usr/bin/echo
checking for cmp... /usr/bin/cmp
checking for tbl... /usr/bin/tbl
checking for ar... /usr/bin/ar
checking for openssl... none
checking for pkg-config... /usr/bin/pkg-config
checking for pidof... /usr/sbin/pidof
checking for gawk... gawk
checking for gawk... /usr/bin/gawk
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... (cached) /usr/bin/sed
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... /usr/bin/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 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... no
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for Operating System Distribution... done
checking whether make sets $(MAKE)... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking whether NLS is requested... yes
checking for msgfmt... no
checking for gmsgfmt... :
checking for xgettext... no
checking for msgmerge... no
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for socket... yes
using libc's socket
checking for IPv6 support... yes
checking for OpenSSL... checking for EVP_PKEY_encrypt_old in -lssl... yes
yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for X... no
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking libc.h usability... no
checking libc.h presence... no
checking for libc.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for stdlib.h... (cached) yes
checking for stdint.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking termcap.h usability... yes
checking termcap.h presence... yes
checking for termcap.h... yes
checking term.h usability... yes
checking term.h presence... yes
checking for term.h... yes
checking for unistd.h... (cached) yes
checking sys/bitypes.h usability... yes
checking sys/bitypes.h presence... yes
checking for sys/bitypes.h... yes
checking sys/byteorder.h usability... no
checking sys/byteorder.h presence... no
checking for sys/byteorder.h... no
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking for sys/stat.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking arpa/nameser.h usability... yes
checking arpa/nameser.h presence... yes
checking for arpa/nameser.h... yes
checking mtio.h usability... no
checking mtio.h presence... no
checking for mtio.h... no
checking sys/mtio.h usability... yes
checking sys/mtio.h presence... yes
checking for sys/mtio.h... yes
checking sys/tape.h usability... no
checking sys/tape.h presence... no
checking for sys/tape.h... no
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking for ANSI C header files... (cached) yes
checking whether sys/types.h defines makedev... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking whether stat file-mode macros are broken... no
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether time.h and sys/time.h may both be included... yes
checking for struct stat.st_blksize... yes
checking for struct stat.st_blocks... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for utime.h... yes
checking for socklen_t... yes
checking for ioctl_req_t... yes
checking for typeof... yes
checking for an ANSI C-conforming const... yes
checking how to get filesystem type... 4.3BSD
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking return type of signal handlers... void
checking for type of signal functions... posix
checking for mode_t... yes
checking for uid_t in sys/types.h... yes
checking for size_t... yes
checking for pid_t... yes
checking for off_t... yes
checking for intptr_t... yes
checking for uintptr_t... yes
checking for ino_t... yes
checking for dev_t... yes
checking for daddr_t... yes
checking for major_t... no
checking for minor_t... no
checking for ssize_t... yes
checking for struct stat.st_blocks... (cached) yes
checking for struct stat.st_rdev... yes
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking for an ANSI C-conforming const... (cached) yes
checking size of char... 1
checking size of short int... 2
checking size of int... 4
checking size of long int... 8
checking size of long long int... 8
checking size of int *... 8
checking for u_int type... yes
checking for intmax_t type... yes
checking for u_intmax_t type... no
checking for intXX_t types... yes
checking for int64_t type... yes
checking for u_intXX_t types... yes
checking for u_int64_t types... yes
checking for uintXX_t types in sys/bitypes.h... no
checking for fork... yes
checking for getcwd... yes
checking for gethostname... yes
checking for getpid... yes
checking for gettimeofday... yes
checking for setpgid... yes
checking for setpgrp... yes
checking for setsid... yes
checking for strerror... yes
checking for strncmp... yes
checking for strncpy... yes
checking for vfprintf... yes
checking for lockf... yes
checking for fchdir... yes
checking for strtoll... yes
checking for lutimes... yes
checking for posix_fadvise... yes
checking for fdatasync... yes
checking for chflags... no
checking for snprintf... yes
checking for vsnprintf... yes
checking for gethostid... yes
checking for fseeko... yes
checking for va_copy... yes,
checking for localtime_r... yes
checking for readdir_r... yes
checking for strerror_r... yes
checking for gethostbyname_r... yes
checking for gethostbyname_r... (cached) yes
using libc's resolver
checking for inet_pton... yes
checking for inet_ntop... yes
checking for gethostbyname2... yes
checking for struct sockaddr has a sa_len field... no
checking for strftime... yes
checking for vprintf... yes
checking for _doprnt... no
checking for working alloca.h... yes
checking for alloca... yes
checking for library containing getmntent... none required
checking for getmntinfo... no
checking whether closedir returns void... no
checking for gettext in -lintl... no
checking for getpwnam in -lsun... no
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for deflate in -lz... yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking for crypt in -lcrypt... yes
checking uthash.h usability... yes
checking uthash.h presence... yes
checking for uthash.h... yes
checking librsync.h usability... yes
checking librsync.h presence... yes
checking for librsync.h... yes
checking for rs_delta_begin in -lrsync... yes
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking for curs_set in -lncurses... yes
checking afs/stds.h usability... no
checking afs/stds.h presence... no
checking for afs/stds.h... no
checking sys/acl.h usability... yes
checking sys/acl.h presence... yes
checking for sys/acl.h... yes
checking for acl_get_file... no
checking for acl_get_file in -lacl... yes
checking sys/extattr.h usability... no
checking sys/extattr.h presence... no
checking for sys/extattr.h... no
checking libutil.h usability... no
checking libutil.h presence... no
checking for libutil.h... no
checking for extattr_get_link... no
checking for extattr_set_link... no
checking for extattr_list_link... no
checking for extattr_get_file... no
checking for extattr_set_file... no
checking for extattr_list_file... no
checking sys/xattr.h usability... yes
checking sys/xattr.h presence... yes
checking for sys/xattr.h... yes
checking for llistxattr... yes
checking for lgetxattr... yes
checking for lsetxattr... yes
checking sys/prctl.h usability... yes
checking sys/prctl.h presence... yes
checking for sys/prctl.h... yes
checking sys/capability.h usability... no
checking sys/capability.h presence... no
checking for sys/capability.h... no
checking for prctl... yes
checking for setreuid... yes
checking for cap_set_proc in -lcap... no
configure: creating ./config.status
config.status: creating autoconf/Make.common
config.status: creating Makefile
config.status: creating manpages/Makefile
config.status: creating src/Makefile
config.status: creating src/config.h
config.status: executing libtool commands
config.status: executing po-directories commands
config.status: executing default commands
configure: WARNING: unrecognized options: --disable-dependency-tracking
Doing make of dependencies
==>Entering directory /builddir/build/BUILD/burp-1.4.40/src
make[1]: Entering directory '/builddir/build/BUILD/burp-1.4.40/src'
make[1]: Leaving directory '/builddir/build/BUILD/burp-1.4.40/src'
==>Entering directory /builddir/build/BUILD/burp-1.4.40/manpages
make[1]: Entering directory '/builddir/build/BUILD/burp-1.4.40/manpages'
make[1]: Nothing to be done for 'depend'.
make[1]: Leaving directory '/builddir/build/BUILD/burp-1.4.40/manpages'

Configuration on Wed Feb 28 22:11:12 UTC 2018:

   Host:			riscv64-redhat-linux-gnu -- redhat 
   Burp version:		Burp 1.4.40
   Source code location:	.
   Install binaries:		/usr/sbin
   Install config files:	/etc/burp
   Man directory:		/usr/share/man
   C Compiler:			gcc
   C++ Compiler:		g++
   Compiler flags:		 -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  -fno-strict-aliasing -fno-exceptions -fno-rtti
   Linker flags:		 -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld
   Libraries:			
   Static:			

   ncurses:			yes
   openssl:			yes
   zlib:			yes
   librsync:			yes
   acl:				yes
   xattr:			yes
   ipv6:			yes

  
+ make -j4
==>Entering directory /builddir/build/BUILD/burp-1.4.40/src
make[1]: Entering directory '/builddir/build/BUILD/burp-1.4.40/src'
g++   -c  -fno-strict-aliasing -fno-exceptions -fno-rtti  -I. -I..  -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  -fno-strict-aliasing -fno-exceptions -fno-rtti  acl.c
g++   -c  -fno-strict-aliasing -fno-exceptions -fno-rtti  -I. -I..  -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  -fno-strict-aliasing -fno-exceptions -fno-rtti  asyncio.c
g++   -c  -fno-strict-aliasing -fno-exceptions -fno-rtti  -I. -I..  -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  -fno-strict-aliasing -fno-exceptions -fno-rtti  attribs.c
g++   -c  -fno-strict-aliasing -fno-exceptions -fno-rtti  -I. -I..  -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  -fno-strict-aliasing -fno-exceptions -fno-rtti  auth_server.c
auth_server.c: In function 'int check_passwd(const char*, const char*)':
auth_server.c:27:17: error: 'crypt' was not declared in this scope
  return !strcmp(crypt(plain_text, salt), passwd);
                 ^~~~~
auth_server.c:27:17: note: suggested alternative: 'creat'
  return !strcmp(crypt(plain_text, salt), passwd);
                 ^~~~~
                 creat
auth_server.c: In function 'int authorise_server(config*, char**, char**, config*, cntr*)':
auth_server.c:147:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if(*cversion) free(*cversion); *cversion=NULL;
   ^~
auth_server.c:147:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   if(*cversion) free(*cversion); *cversion=NULL;
                                  ^
auth_server.c:156:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if(*client) free(*client); *client=NULL;
   ^~
auth_server.c:156:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   if(*client) free(*client); *client=NULL;
                              ^
auth_server.c:157:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if(*cversion) free(*cversion); *cversion=NULL;
   ^~
auth_server.c:157:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   if(*cversion) free(*cversion); *cversion=NULL;
                                  ^
auth_server.c:166:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if(*client) free(*client); *client=NULL;
   ^~
auth_server.c:166:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   if(*client) free(*client); *client=NULL;
                              ^
auth_server.c:167:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if(*cversion) free(*cversion); *cversion=NULL;
   ^~
auth_server.c:167:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   if(*cversion) free(*cversion); *cversion=NULL;
                                  ^
make[1]: *** [Makefile:207: auth_server.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/builddir/build/BUILD/burp-1.4.40/src'


  ====== Error in /builddir/build/BUILD/burp-1.4.40/src ======


==>Entering directory /builddir/build/BUILD/burp-1.4.40/manpages
make[1]: Entering directory '/builddir/build/BUILD/burp-1.4.40/manpages'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/builddir/build/BUILD/burp-1.4.40/manpages'
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.hWCahI
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/burp-1.4.40-3.fc28.riscv64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/burp-1.4.40-3.fc28.riscv64
++ dirname /builddir/build/BUILDROOT/burp-1.4.40-3.fc28.riscv64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/burp-1.4.40-3.fc28.riscv64
+ cd burp-1.4.40
+ make install DESTDIR=/builddir/build/BUILDROOT/burp-1.4.40-3.fc28.riscv64
./autoconf/mkinstalldirs /builddir/build/BUILDROOT/burp-1.4.40-3.fc28.riscv64/usr/sbin
mkdir -p -- /builddir/build/BUILDROOT/burp-1.4.40-3.fc28.riscv64/usr/sbin
./autoconf/mkinstalldirs /builddir/build/BUILDROOT/burp-1.4.40-3.fc28.riscv64/etc/burp
mkdir -p -- /builddir/build/BUILDROOT/burp-1.4.40-3.fc28.riscv64/etc/burp
./autoconf/mkinstalldirs /builddir/build/BUILDROOT/burp-1.4.40-3.fc28.riscv64/etc/burp/CA-client
mkdir -p -- /builddir/build/BUILDROOT/burp-1.4.40-3.fc28.riscv64/etc/burp/CA-client
./autoconf/mkinstalldirs /builddir/build/BUILDROOT/burp-1.4.40-3.fc28.riscv64/var/run
mkdir -p -- /builddir/build/BUILDROOT/burp-1.4.40-3.fc28.riscv64/var/run
./autoconf/mkinstalldirs /builddir/build/BUILDROOT/burp-1.4.40-3.fc28.riscv64/var/spool/burp
mkdir -p -- /builddir/build/BUILDROOT/burp-1.4.40-3.fc28.riscv64/var/spool/burp
mkdir -p -- /builddir/build/BUILDROOT/burp-1.4.40-3.fc28.riscv64/etc/burp/clientconfdir
mkdir -p -- /builddir/build/BUILDROOT/burp-1.4.40-3.fc28.riscv64/etc/burp/clientconfdir/incexc
mkdir -p -- /builddir/build/BUILDROOT/burp-1.4.40-3.fc28.riscv64/etc/burp/autoupgrade/client
mkdir -p -- /builddir/build/BUILDROOT/burp-1.4.40-3.fc28.riscv64/etc/burp/autoupgrade/server
mkdir -p -- /builddir/build/BUILDROOT/burp-1.4.40-3.fc28.riscv64/etc/burp/autoupgrade/server/win32
mkdir -p -- /builddir/build/BUILDROOT/burp-1.4.40-3.fc28.riscv64/etc/burp/autoupgrade/server/win32/1.4.40
mkdir -p -- /builddir/build/BUILDROOT/burp-1.4.40-3.fc28.riscv64/etc/burp/autoupgrade/server/win64
mkdir -p -- /builddir/build/BUILDROOT/burp-1.4.40-3.fc28.riscv64/etc/burp/autoupgrade/server/win64/1.4.40
make[1]: Entering directory '/builddir/build/BUILD/burp-1.4.40/src'
g++   -c  -fno-strict-aliasing -fno-exceptions -fno-rtti  -I. -I..  -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  -fno-strict-aliasing -fno-exceptions -fno-rtti  auth_server.c
auth_server.c: In function 'int check_passwd(const char*, const char*)':
auth_server.c:27:17: error: 'crypt' was not declared in this scope
  return !strcmp(crypt(plain_text, salt), passwd);
                 ^~~~~
auth_server.c:27:17: note: suggested alternative: 'creat'
  return !strcmp(crypt(plain_text, salt), passwd);
                 ^~~~~
                 creat
auth_server.c: In function 'int authorise_server(config*, char**, char**, config*, cntr*)':
auth_server.c:147:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if(*cversion) free(*cversion); *cversion=NULL;
   ^~
auth_server.c:147:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   if(*cversion) free(*cversion); *cversion=NULL;
                                  ^
auth_server.c:156:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if(*client) free(*client); *client=NULL;
   ^~
auth_server.c:156:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   if(*client) free(*client); *client=NULL;
                              ^
auth_server.c:157:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if(*cversion) free(*cversion); *cversion=NULL;
   ^~
auth_server.c:157:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   if(*cversion) free(*cversion); *cversion=NULL;
                                  ^
auth_server.c:166:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if(*client) free(*client); *client=NULL;
   ^~
auth_server.c:166:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   if(*client) free(*client); *client=NULL;
                              ^
auth_server.c:167:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if(*cversion) free(*cversion); *cversion=NULL;
   ^~
auth_server.c:167:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   if(*cversion) free(*cversion); *cversion=NULL;
                                  ^
make[1]: *** [Makefile:207: auth_server.o] Error 1
make[1]: Leaving directory '/builddir/build/BUILD/burp-1.4.40/src'
make[1]: Entering directory '/builddir/build/BUILD/burp-1.4.40/manpages'
/builddir/build/BUILD/burp-1.4.40/autoconf/mkinstalldirs /builddir/build/BUILDROOT/burp-1.4.40-3.fc28.riscv64//usr/share/man/man8
mkdir -p -- /builddir/build/BUILDROOT/burp-1.4.40-3.fc28.riscv64//usr/share/man/man8
for I in burp.8 burp_ca.8 bedup.8 vss_strip.8 ; \
  do (/usr/bin/rm -f $I.gz; gzip -c $I >$I.gz; \
     /usr/bin/install -c -m 644 $I.gz /builddir/build/BUILDROOT/burp-1.4.40-3.fc28.riscv64/usr/share/man/man8/$I.gz; \
     rm -f $I.gz); \
done
make[1]: Leaving directory '/builddir/build/BUILD/burp-1.4.40/manpages'
cp configs/certs/CA/burp_ca /builddir/build/BUILDROOT/burp-1.4.40-3.fc28.riscv64/usr/sbin && chmod 755 /builddir/build/BUILDROOT/burp-1.4.40-3.fc28.riscv64/usr/sbin/burp_ca
+ mkdir -p /builddir/build/BUILDROOT/burp-1.4.40-3.fc28.riscv64/usr/lib/systemd/system
+ install -p -m 0644 /builddir/build/SOURCES/burp.service /builddir/build/BUILDROOT/burp-1.4.40-3.fc28.riscv64/usr/lib/systemd/system/
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-ldconfig
/sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/burp-1.4.40-3.fc28.riscv64/etc/ld.so.conf: No such file or directory
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip /usr/bin/strip
+ /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1
+ /usr/lib/rpm/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
mangling shebang in ./usr/sbin/burp_ca from #!/usr/bin/env bash to #!/usr/bin/bash
mangling shebang in ./etc/burp/timer_script from #!/usr/bin/env bash to #!/usr/bin/bash
mangling shebang in ./etc/burp/notify_script from #!/usr/bin/env bash to #!/usr/bin/bash
Processing files: burp-client-1.4.40-3.fc28.riscv64
error: File not found: /builddir/build/BUILDROOT/burp-1.4.40-3.fc28.riscv64/usr/sbin/burp
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.QwGios
+ umask 022
+ cd /builddir/build/BUILD
+ cd burp-1.4.40
+ DOCDIR=/builddir/build/BUILDROOT/burp-1.4.40-3.fc28.riscv64/usr/share/doc/burp-client
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/burp-1.4.40-3.fc28.riscv64/usr/share/doc/burp-client
+ cp -pr README /builddir/build/BUILDROOT/burp-1.4.40-3.fc28.riscv64/usr/share/doc/burp-client
+ cp -pr CHANGELOG /builddir/build/BUILDROOT/burp-1.4.40-3.fc28.riscv64/usr/share/doc/burp-client
+ cp -pr DONATIONS /builddir/build/BUILDROOT/burp-1.4.40-3.fc28.riscv64/usr/share/doc/burp-client
+ cp -pr TODO /builddir/build/BUILDROOT/burp-1.4.40-3.fc28.riscv64/usr/share/doc/burp-client
+ cp -pr CONTRIBUTORS /builddir/build/BUILDROOT/burp-1.4.40-3.fc28.riscv64/usr/share/doc/burp-client
+ cp -pr UPGRADING /builddir/build/BUILDROOT/burp-1.4.40-3.fc28.riscv64/usr/share/doc/burp-client
+ cp -pr LICENSE /builddir/build/BUILDROOT/burp-1.4.40-3.fc28.riscv64/usr/share/doc/burp-client
+ exit 0


RPM build errors:
    File not found: /builddir/build/BUILDROOT/burp-1.4.40-3.fc28.riscv64/usr/sbin/burp
++ cleanup
++ set +e
++ sync
++ sleep 5
++ sync
++ poweroff
Terminated
+++ cleanup
+++ set +e
+++ sync
Terminated
++++ cleanup
++++ set +e
++++ sync
++++ sleep 5
++++ sync
++++ poweroff