Mock Version: 1.4.14
Mock Version: 1.4.14
ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/up-imapproxy.spec'], chrootPath='/var/lib/mock/f31-build-89227-32055/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x15580c1a20>timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/up-imapproxy.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False
Building target platforms: riscv64
Building for target riscv64
setting SOURCE_DATE_EPOCH=1564185600
Wrote: /builddir/build/SRPMS/up-imapproxy-1.2.8-0.16.20171022svn14722.fc31.src.rpm
Child return code was: 0
ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/up-imapproxy.spec'], chrootPath='/var/lib/mock/f31-build-89227-32055/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x15580c1a20>timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/up-imapproxy.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False
Building target platforms: riscv64
Building for target riscv64
setting SOURCE_DATE_EPOCH=1564185600
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.djJwUU
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf squirrelmail-imap_proxy-1.2.8
+ /usr/bin/gzip -dc /builddir/build/SOURCES/squirrelmail-imap_proxy-20171022svn14722.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd squirrelmail-imap_proxy-1.2.8
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (up-imapproxy-aarch64.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0
+ echo 'Patch #1 (up-imapproxy-ssl.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0
+ sed -i -e 's/  *$//' -e 's!/usr/share/ssl!/etc/pki/tls!' -e 's/^\(proc_username\) .*/\1 imapproxy/' -e 's/^\(proc_groupname\) .*/\1 imapproxy/' -e 's!^#*\(chroot_directory\) .*!\1 /var/lib/imapproxy!' -e 's/^\(foreground_mode\) .*/\1 yes/' scripts/imapproxy.conf
+ RPM_EC=0
BUILDSTDERR: ++ jobs -p
+ exit 0
Patch #0 (up-imapproxy-aarch64.patch):
patching file config.guess
patching file config.sub
Patch #1 (up-imapproxy-ssl.patch):
patching file src/imapcommon.c
patching file src/main.c
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.eAKgLV
+ umask 022
+ cd /builddir/build/BUILD
+ cd squirrelmail-imap_proxy-1.2.8
+ 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.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
+ 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
+ '[' 1 = 1 ']'
+ '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']'
BUILDSTDERR: ++ find . -name 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
BUILDSTDERR: configure: WARNING: nsl library not found!!!  Wrappers will be disabled.
+ '[' -d bin ']'
+ mkdir bin
+ make -j4
BUILDSTDERR: src/main.c: In function 'main':
BUILDSTDERR: src/main.c:729:7: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign]
BUILDSTDERR:   729 |       &sockaddrlen );
BUILDSTDERR:       |       ^~~~~~~~~~~~
BUILDSTDERR:       |       |
BUILDSTDERR:       |       int *
BUILDSTDERR: In file included from src/main.c:206:
BUILDSTDERR: /usr/include/sys/socket.h:233:28: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *'
BUILDSTDERR:   233 |      socklen_t *__restrict __addr_len);
BUILDSTDERR:       |      ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
BUILDSTDERR: src/request.c: In function 'cmd_authenticate_login':
BUILDSTDERR: src/request.c:720:22: warning: pointer targets in passing argument 1 of 'EVP_EncodeBlock' differ in signedness [-Wpointer-sign]
BUILDSTDERR:   720 |     EVP_EncodeBlock( EncodedUsername, Username, strlen( Username ) );
BUILDSTDERR:       |                      ^~~~~~~~~~~~~~~
BUILDSTDERR:       |                      |
BUILDSTDERR:       |                      char *
BUILDSTDERR: In file included from src/request.c:155:
BUILDSTDERR: /usr/include/openssl/evp.h:662:36: note: expected 'unsigned char *' but argument is of type 'char *'
BUILDSTDERR:   662 | int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n);
BUILDSTDERR:       |                     ~~~~~~~~~~~~~~~^
BUILDSTDERR: src/request.c:720:39: warning: pointer targets in passing argument 2 of 'EVP_EncodeBlock' differ in signedness [-Wpointer-sign]
BUILDSTDERR:   720 |     EVP_EncodeBlock( EncodedUsername, Username, strlen( Username ) );
BUILDSTDERR:       |                                       ^~~~~~~~
BUILDSTDERR:       |                                       |
BUILDSTDERR:       |                                       char *
BUILDSTDERR: In file included from src/request.c:155:
BUILDSTDERR: /usr/include/openssl/evp.h:662:60: note: expected 'const unsigned char *' but argument is of type 'char *'
BUILDSTDERR:   662 | int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n);
BUILDSTDERR:       |                                       ~~~~~~~~~~~~~~~~~~~~~^
BUILDSTDERR: src/request.c:769:27: warning: pointer targets in passing argument 1 of 'EVP_DecodeBlock' differ in signedness [-Wpointer-sign]
BUILDSTDERR:   769 |     rc = EVP_DecodeBlock( Username, EncodedUsername, BytesRead - 2 );
BUILDSTDERR:       |                           ^~~~~~~~
BUILDSTDERR:       |                           |
BUILDSTDERR:       |                           char *
BUILDSTDERR: In file included from src/request.c:155:
BUILDSTDERR: /usr/include/openssl/evp.h:669:36: note: expected 'unsigned char *' but argument is of type 'char *'
BUILDSTDERR:   669 | int EVP_DecodeBlock(unsigned char *t, const unsigned char *f, int n);
BUILDSTDERR:       |                     ~~~~~~~~~~~~~~~^
BUILDSTDERR: src/request.c:769:37: warning: pointer targets in passing argument 2 of 'EVP_DecodeBlock' differ in signedness [-Wpointer-sign]
BUILDSTDERR:   769 |     rc = EVP_DecodeBlock( Username, EncodedUsername, BytesRead - 2 );
BUILDSTDERR:       |                                     ^~~~~~~~~~~~~~~
BUILDSTDERR:       |                                     |
BUILDSTDERR:       |                                     char *
BUILDSTDERR: In file included from src/request.c:155:
BUILDSTDERR: /usr/include/openssl/evp.h:669:60: note: expected 'const unsigned char *' but argument is of type 'char *'
BUILDSTDERR:   669 | int EVP_DecodeBlock(unsigned char *t, const unsigned char *f, int n);
BUILDSTDERR:       |                                       ~~~~~~~~~~~~~~~~~~~~~^
BUILDSTDERR: src/request.c:777:22: warning: pointer targets in passing argument 1 of 'EVP_EncodeBlock' differ in signedness [-Wpointer-sign]
BUILDSTDERR:   777 |     EVP_EncodeBlock( EncodedPassword, Password, strlen( Password ) );
BUILDSTDERR:       |                      ^~~~~~~~~~~~~~~
BUILDSTDERR:       |                      |
BUILDSTDERR:       |                      char *
BUILDSTDERR: In file included from src/request.c:155:
BUILDSTDERR: /usr/include/openssl/evp.h:662:36: note: expected 'unsigned char *' but argument is of type 'char *'
BUILDSTDERR:   662 | int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n);
BUILDSTDERR:       |                     ~~~~~~~~~~~~~~~^
BUILDSTDERR: src/request.c:777:39: warning: pointer targets in passing argument 2 of 'EVP_EncodeBlock' differ in signedness [-Wpointer-sign]
BUILDSTDERR:   777 |     EVP_EncodeBlock( EncodedPassword, Password, strlen( Password ) );
BUILDSTDERR:       |                                       ^~~~~~~~
BUILDSTDERR:       |                                       |
BUILDSTDERR:       |                                       char *
BUILDSTDERR: In file included from src/request.c:155:
BUILDSTDERR: /usr/include/openssl/evp.h:662:60: note: expected 'const unsigned char *' but argument is of type 'char *'
BUILDSTDERR:   662 | int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n);
BUILDSTDERR:       |                                       ~~~~~~~~~~~~~~~~~~~~~^
BUILDSTDERR: src/request.c:812:27: warning: pointer targets in passing argument 1 of 'EVP_DecodeBlock' differ in signedness [-Wpointer-sign]
BUILDSTDERR:   812 |     rc = EVP_DecodeBlock( Password, EncodedPassword, BytesRead - 2 );
BUILDSTDERR:       |                           ^~~~~~~~
BUILDSTDERR:       |                           |
BUILDSTDERR:       |                           char *
BUILDSTDERR: In file included from src/request.c:155:
BUILDSTDERR: /usr/include/openssl/evp.h:669:36: note: expected 'unsigned char *' but argument is of type 'char *'
BUILDSTDERR:   669 | int EVP_DecodeBlock(unsigned char *t, const unsigned char *f, int n);
BUILDSTDERR:       |                     ~~~~~~~~~~~~~~~^
BUILDSTDERR: src/request.c:812:37: warning: pointer targets in passing argument 2 of 'EVP_DecodeBlock' differ in signedness [-Wpointer-sign]
BUILDSTDERR:   812 |     rc = EVP_DecodeBlock( Password, EncodedPassword, BytesRead - 2 );
BUILDSTDERR:       |                                     ^~~~~~~~~~~~~~~
BUILDSTDERR:       |                                     |
BUILDSTDERR:       |                                     char *
BUILDSTDERR: In file included from src/request.c:155:
BUILDSTDERR: /usr/include/openssl/evp.h:669:60: note: expected 'const unsigned char *' but argument is of type 'char *'
BUILDSTDERR:   669 | int EVP_DecodeBlock(unsigned char *t, const unsigned char *f, int n);
BUILDSTDERR:       |                                       ~~~~~~~~~~~~~~~~~~~~~^
BUILDSTDERR: src/request.c:816:9: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign]
BUILDSTDERR:   816 |         &sockaddrlen ) < 0 )
BUILDSTDERR:       |         ^~~~~~~~~~~~
BUILDSTDERR:       |         |
BUILDSTDERR:       |         int *
BUILDSTDERR: In file included from src/request.c:140:
BUILDSTDERR: /usr/include/sys/socket.h:131:26: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *'
BUILDSTDERR:   131 |    socklen_t *__restrict __len) __THROW;
BUILDSTDERR:       |    ~~~~~~~~~~~~~~~~~~~~~~^~~~~
BUILDSTDERR: src/request.c:897:5: warning: implicit declaration of function 'ICC_Invalidate'; did you mean 'SCT_validate'? [-Wimplicit-function-declaration]
BUILDSTDERR:   897 |     ICC_Invalidate(Server.conn->ICC);
BUILDSTDERR:       |     ^~~~~~~~~~~~~~
BUILDSTDERR:       |     SCT_validate
BUILDSTDERR: src/request.c: In function 'cmd_login':
BUILDSTDERR: src/request.c:990:9: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign]
BUILDSTDERR:   990 |         &sockaddrlen ) < 0 )
BUILDSTDERR:       |         ^~~~~~~~~~~~
BUILDSTDERR:       |         |
BUILDSTDERR:       |         int *
BUILDSTDERR: In file included from src/request.c:140:
BUILDSTDERR: /usr/include/sys/socket.h:131:26: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *'
BUILDSTDERR:   131 |    socklen_t *__restrict __len) __THROW;
BUILDSTDERR:       |    ~~~~~~~~~~~~~~~~~~~~~~^~~~~
BUILDSTDERR: src/imapcommon.c: In function 'Get_Server_conn':
BUILDSTDERR: src/imapcommon.c:567:28: warning: pointer targets in passing argument 2 of 'EVP_DigestFinal' differ in signedness [-Wpointer-sign]
BUILDSTDERR:   567 |     EVP_DigestFinal(mdctx, md5pw, &md_len);
BUILDSTDERR:       |                            ^~~~~
BUILDSTDERR:       |                            |
BUILDSTDERR:       |                            char *
BUILDSTDERR: In file included from src/imapcommon.c:137:
BUILDSTDERR: /usr/include/openssl/evp.h:556:60: note: expected 'unsigned char *' but argument is of type 'char *'
BUILDSTDERR:   556 | __owur int EVP_DigestFinal(EVP_MD_CTX *ctx, unsigned char *md,
BUILDSTDERR:       |                                             ~~~~~~~~~~~~~~~^~
BUILDSTDERR: src/main.c: In function 'SetBannerAndCapability':
BUILDSTDERR: src/main.c:1434:11: warning: implicit declaration of function 'Attempt_STARTTLS' [-Wimplicit-function-declaration]
BUILDSTDERR:  1434 |      if ( Attempt_STARTTLS( &itd ) != 0 )
BUILDSTDERR:       |           ^~~~~~~~~~~~~~~~
BUILDSTDERR: src/imapcommon.c:986:19: warning: pointer targets in passing argument 1 of 'EVP_EncodeBlock' differ in signedness [-Wpointer-sign]
BUILDSTDERR:   986 |  EVP_EncodeBlock( EncodedAuthBuf, AuthBuf, AuthBufIndex + 2 );
BUILDSTDERR:       |                   ^~~~~~~~~~~~~~
BUILDSTDERR:       |                   |
BUILDSTDERR:       |                   char *
BUILDSTDERR: In file included from src/imapcommon.c:137:
BUILDSTDERR: /usr/include/openssl/evp.h:662:36: note: expected 'unsigned char *' but argument is of type 'char *'
BUILDSTDERR:   662 | int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n);
BUILDSTDERR:       |                     ~~~~~~~~~~~~~~~^
BUILDSTDERR: src/imapcommon.c:986:35: warning: pointer targets in passing argument 2 of 'EVP_EncodeBlock' differ in signedness [-Wpointer-sign]
BUILDSTDERR:   986 |  EVP_EncodeBlock( EncodedAuthBuf, AuthBuf, AuthBufIndex + 2 );
BUILDSTDERR:       |                                   ^~~~~~~
BUILDSTDERR:       |                                   |
BUILDSTDERR:       |                                   char *
BUILDSTDERR: In file included from src/imapcommon.c:137:
BUILDSTDERR: /usr/include/openssl/evp.h:662:60: note: expected 'const unsigned char *' but argument is of type 'char *'
BUILDSTDERR:   662 | int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n);
BUILDSTDERR:       |                                       ~~~~~~~~~~~~~~~~~~~~~^
BUILDSTDERR: src/imapcommon.c:1009:47: warning: format '%d' expects argument of type 'int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Wformat=]
BUILDSTDERR:  1009 |  snprintf( SendBuf, BufLen, "A0001 LOGIN %s {%d}\r\n",
BUILDSTDERR:       |                                              ~^
BUILDSTDERR:       |                                               |
BUILDSTDERR:       |                                               int
BUILDSTDERR:       |                                              %ld
BUILDSTDERR:  1010 |     Username, strlen( Password ) );
BUILDSTDERR:       |               ~~~~~~~~~~~~~~~~~~               
BUILDSTDERR:       |               |
BUILDSTDERR:       |               size_t {aka long unsigned int}
BUILDSTDERR: src/request.c: In function 'Raw_Proxy':
BUILDSTDERR: src/request.c:1293:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
BUILDSTDERR:  1293 |   write( Tracefd, TraceBuf, strlen( TraceBuf ) );
BUILDSTDERR:       |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BUILDSTDERR: src/request.c:1294:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
BUILDSTDERR:  1294 |   write( Tracefd, Server->ReadBuf, status );
BUILDSTDERR:       |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BUILDSTDERR: src/request.c:1339:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
BUILDSTDERR:  1339 |       write( Tracefd, TraceBuf, strlen( TraceBuf ) );
BUILDSTDERR:       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BUILDSTDERR: src/request.c:1340:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
BUILDSTDERR:  1340 |       write( Tracefd, Client->ReadBuf, status );
BUILDSTDERR:       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BUILDSTDERR: src/request.c:1501:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
BUILDSTDERR:  1501 |       write( Tracefd, TraceBuf, strlen( TraceBuf ) );
BUILDSTDERR:       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BUILDSTDERR: src/request.c:1502:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
BUILDSTDERR:  1502 |       write( Tracefd, Server->ReadBuf, status );
BUILDSTDERR:       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BUILDSTDERR: src/request.c:1536:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
BUILDSTDERR:  1536 |       write( Tracefd, TraceBuf, strlen( TraceBuf ) );
BUILDSTDERR:       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BUILDSTDERR: src/request.c:1537:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
BUILDSTDERR:  1537 |       write( Tracefd, Client->ReadBuf, status );
BUILDSTDERR:       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BUILDSTDERR: src/request.c: In function 'cmd_trace':
BUILDSTDERR: src/request.c:518:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
BUILDSTDERR:   518 |  write( Tracefd, SendBuf, strlen( SendBuf ) );
BUILDSTDERR:       |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BUILDSTDERR: src/request.c:563:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
BUILDSTDERR:   563 |     write( Tracefd, SendBuf, strlen( SendBuf ) );
BUILDSTDERR:       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BUILDSTDERR: src/main.c: In function 'Daemonize':
BUILDSTDERR: src/main.c:1062:12: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result]
BUILDSTDERR:  1062 |  close(2); dup(i);
BUILDSTDERR:       |            ^~~~~~
BUILDSTDERR: src/main.c:1063:12: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result]
BUILDSTDERR:  1063 |  close(1); dup(i);
BUILDSTDERR:       |            ^~~~~~
BUILDSTDERR: src/main.c:1064:12: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result]
BUILDSTDERR:  1064 |  close(0); dup(i);
BUILDSTDERR:       |            ^~~~~~
BUILDSTDERR: At top level:
BUILDSTDERR: src/main.c:192:14: warning: 'sourceAuthor' defined but not used [-Wunused-variable]
BUILDSTDERR:   192 | static char *sourceAuthor = "$Author: pdontthink $";
BUILDSTDERR:       |              ^~~~~~~~~~~~
BUILDSTDERR: src/main.c:191:14: warning: 'sourceVersion' defined but not used [-Wunused-variable]
BUILDSTDERR:   191 | static char *sourceVersion = "$Id: main.c 14647 2017-01-27 20:53:57Z pdontthink $";
BUILDSTDERR:       |              ^~~~~~~~~~~~~
BUILDSTDERR: src/main.c:190:14: warning: 'sourceRevision' defined but not used [-Wunused-variable]
BUILDSTDERR:   190 | static char *sourceRevision = "$Revision: 14647 $";
BUILDSTDERR:       |              ^~~~~~~~~~~~~~
BUILDSTDERR: src/hash.c: In function 'Hash':
BUILDSTDERR: src/hash.c:72:85: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=]
BUILDSTDERR:    72 |     syslog(LOG_ERR, "Hash(): Maximum of %d for '%s' exceeds architectural limit of %d", Size, Input_Key, sizeof Hash_Buffer );
BUILDSTDERR:       |                                                                                    ~^                    ~~~~~~~~~~~~~~~~~~
BUILDSTDERR:       |                                                                                     |                    |
BUILDSTDERR:       |                                                                                     int                  long unsigned int
BUILDSTDERR:       |                                                                                    %ld
'/usr/lib/rpm/redhat/config.guess' -> './config.guess'
'/usr/lib/rpm/redhat/config.sub' -> './config.sub'
checking whether make sets $(MAKE)... yes
checking for riscv64-koji-linux-gnu-gcc... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
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 ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... riscv64-koji-linux-gnu
checking host system type... riscv64-koji-linux-gnu
checking target system type... riscv64-koji-linux-gnu
checking for connect... yes
checking for pthread_create in -lpthread... yes
checking for mmap... yes
checking for yp_get_default_domain in -lnsl... no
checking for EVP_DigestInit in -lcrypto... yes
checking for SSL_new in -lssl... yes
checking for initscr in -lcurses... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... 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 for unistd.h... (cached) yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for typedef nfds_t... yes
checking for an ANSI C-conforming const... yes
checking whether gcc needs -traditional... no
checking return type of signal handlers... void
checking for socket... yes
checking for poll... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing default commands
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. -I./include  -c -o src/icc.o src/icc.c
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. -I./include  -c -o src/main.o src/main.c
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. -I./include  -c -o src/imapcommon.o src/imapcommon.c
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. -I./include  -c -o src/request.o src/request.c
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. -I./include  -c -o src/hash.o src/hash.c
BUILDSTDERR: 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/resrc/imapcommon.c:988:55: warning: '%s' directive output may be truncated writing up to 8191 bytes into a region of size 8166 [-Wformat-truncation=]
BUILDSTDERR:   988 |  snprintf( SendBuf, BufLen, "A0001 AUTHENTICATE PLAIN %s\r\n", EncodedAuthBuf );
BUILDSTDERR:       |                                                       ^~       ~~~~~~~~~~~~~~
BUILDSTDERR: In file included from /usr/include/stdio.h:867,
BUILDSTDERR:                  from src/imapcommon.c:131:
BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 28 and 8219 bytes into a destination of size 8191
BUILDSTDERR:    67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
BUILDSTDERR:       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BUILDSTDERR:    68 |        __bos (__s), __fmt, __va_arg_pack ());
BUILDSTDERR:       |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BUILDSTDERR: src/request.c: In function 'HandleRequest':
BUILDSTDERR: src/request.c:1029:37: warning: '%s' directive output may be truncated writing up to 8191 bytes into a region of size between 7935 and 8190 [-Wformat-truncation=]
BUILDSTDERR:  1029 |      snprintf( SendBuf, BufLen, "%s %s\r\n", Tag, fullServerResponse );
BUILDSTDERR:       |                                     ^~            ~~~~~~~~~~~~~~~~~~
BUILDSTDERR: In file included from /usr/include/stdio.h:867,
BUILDSTDERR:                  from /usr/include/openssl/bio.h:16,
BUILDSTDERR:                  from /usr/include/openssl/evp.h:16,
BUILDSTDERR:                  from src/request.c:155:
BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 4 and 8450 bytes into a destination of size 8191
BUILDSTDERR:    67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
BUILDSTDERR:       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BUILDSTDERR:    68 |        __bos (__s), __fmt, __va_arg_pack ());
BUILDSTDERR:       |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BUILDSTDERR: src/request.c:722:35: warning: '%s' directive output may be truncated writing up to 8191 bytes into a region of size 8189 [-Wformat-truncation=]
BUILDSTDERR:   722 |     snprintf( SendBuf, BufLen, "+ %s\r\n", EncodedUsername );
BUILDSTDERR:       |                                   ^~       ~~~~~~~~~~~~~~~
BUILDSTDERR: In file included from /usr/include/stdio.h:867,
BUILDSTDERR:                  from /usr/include/openssl/bio.h:16,
BUILDSTDERR:                  from /usr/include/openssl/evp.h:16,
BUILDSTDERR:                  from src/request.c:155:
BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 5 and 8196 bytes into a destination of size 8191
BUILDSTDERR:    67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
BUILDSTDERR:       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BUILDSTDERR:    68 |        __bos (__s), __fmt, __va_arg_pack ());
BUILDSTDERR:       |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BUILDSTDERR: src/request.c:779:35: warning: '%s' directive output may be truncated writing up to 8191 bytes into a region of size 8189 [-Wformat-truncation=]
BUILDSTDERR:   779 |     snprintf( SendBuf, BufLen, "+ %s\r\n", EncodedPassword );
BUILDSTDERR:       |                                   ^~       ~~~~~~~~~~~~~~~
BUILDSTDERR: In file included from /usr/include/stdio.h:867,
BUILDSTDERR:                  from /usr/include/openssl/bio.h:16,
BUILDSTDERR:                  from /usr/include/openssl/evp.h:16,
BUILDSTDERR:                  from src/request.c:155:
BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 5 and 8196 bytes into a destination of size 8191
BUILDSTDERR:    67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
BUILDSTDERR:       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BUILDSTDERR:    68 |        __bos (__s), __fmt, __va_arg_pack ());
BUILDSTDERR:       |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BUILDSTDERR: src/request.c:858:37: warning: '%s' directive output may be truncated writing up to 8191 bytes into a region of size between 7935 and 8190 [-Wformat-truncation=]
BUILDSTDERR:   858 |      snprintf( SendBuf, BufLen, "%s %s\r\n", Tag, fullServerResponse );
BUILDSTDERR:       |                                     ^~            ~~~~~~~~~~~~~~~~~~
BUILDSTDERR: In file included from /usr/include/stdio.h:867,
BUILDSTDERR:                  from /usr/include/openssl/bio.h:16,
BUILDSTDERR:                  from /usr/include/openssl/evp.h:16,
BUILDSTDERR:                  from src/request.c:155:
BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 4 and 8450 bytes into a destination of size 8191
BUILDSTDERR:    67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
BUILDSTDERR:       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BUILDSTDERR:    68 |        __bos (__s), __fmt, __va_arg_pack ());
BUILDSTDERR:       |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BUILDSTDERR: src/request.c:659:35: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 8191 [-Wformat-truncation=]
BUILDSTDERR:   659 |     snprintf( SendBuf, BufLen, "%s%s OK Completed\r\n",Capability, Tag );
BUILDSTDERR:       |                                   ^~
BUILDSTDERR: ......
BUILDSTDERR:  1813 |      cmd_capability( &Client, S_Tag );
BUILDSTDERR:       |                               ~~~~~
BUILDSTDERR: In file included from /usr/include/stdio.h:867,
BUILDSTDERR:                  from /usr/include/openssl/bio.h:16,
BUILDSTDERR:                  from /usr/include/openssl/evp.h:16,
BUILDSTDERR:                  from src/request.c:155:
BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 16 and 8462 bytes into a destination of size 8191
BUILDSTDERR:    67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
BUILDSTDERR:       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BUILDSTDERR:    68 |        __bos (__s), __fmt, __va_arg_pack ());
BUILDSTDERR:       |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BUILDSTDERR: src/becomenonroot.c: In function 'BecomeNonRoot':
BUILDSTDERR: src/becomenonroot.c:142:170: warning: implicit declaration of function 'strerror'; did you mean 'hstrerror'? [-Wimplicit-function-declaration]
BUILDSTDERR:   142 |  syslog( LOG_WARNING, "%s: chown() failed to set ownership of file '%s' to '%s:%s': %s", fn, PC_Struct.stat_filename, PC_Struct.proc_username, PC_Struct.proc_groupname, strerror( errno ) );
BUILDSTDERR:       |                                                                                                                                                                          ^~~~~~~~
BUILDSTDERR:       |                                                                                                                                                                          hstrerror
BUILDSTDERR: src/becomenonroot.c:142:86: warning: format '%s' expects argument of type 'char *', but argument 7 has type 'int' [-Wformat=]
BUILDSTDERR:   142 |  syslog( LOG_WARNING, "%s: chown() failed to set ownership of file '%s' to '%s:%s': %s", fn, PC_Struct.stat_filename, PC_Struct.proc_username, PC_Struct.proc_groupname, strerror( errno ) );
BUILDSTDERR:       |                                                                                     ~^                                                                                   ~~~~~~~~~~~~~~~~~
BUILDSTDERR:       |                                                                                      |                                                                                   |
BUILDSTDERR:       |                                                                                      char *                                                                              int
BUILDSTDERR:       |                                                                                     %d
BUILDSTDERR: src/becomenonroot.c:159:49: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Wformat=]
BUILDSTDERR:   159 |  syslog( LOG_WARNING, "%s: setgroups() failed: %s", fn, strerror( errno ) );
BUILDSTDERR:       |                                                ~^       ~~~~~~~~~~~~~~~~~
BUILDSTDERR:       |                                                 |       |
BUILDSTDERR:       |                                                 char *  int
BUILDSTDERR:       |                                                %d
BUILDSTDERR: src/becomenonroot.c:165:47: warning: format '%s' expects argument of type 'char *', but argument 5 has type 'int' [-Wformat=]
BUILDSTDERR:   165 |  syslog(LOG_WARNING, "%s: setgid(%d) failed: %s", fn,
BUILDSTDERR:       |                                              ~^
BUILDSTDERR:       |                                               |
BUILDSTDERR:       |                                               char *
BUILDSTDERR:       |                                              %d
BUILDSTDERR:   166 |         newgid, strerror(errno));
BUILDSTDERR:       |                 ~~~~~~~~~~~~~~~                
BUILDSTDERR:       |                 |
BUILDSTDERR:       |                 int
BUILDSTDERR: src/becomenonroot.c:178:52: warning: format '%s' expects argument of type 'char *', but argument 5 has type 'int' [-Wformat=]
BUILDSTDERR:   178 |      syslog( LOG_WARNING, "%s: chroot(%s) failed: %s", fn, PC_Struct.chroot_directory, strerror( errno ) );
BUILDSTDERR:       |                                                   ~^                                   ~~~~~~~~~~~~~~~~~
BUILDSTDERR:       |                                                    |                                   |
BUILDSTDERR:       |                                                    char *                              int
BUILDSTDERR:       |                                                   %d
BUILDSTDERR: src/becomenonroot.c:187:46: warning: format '%s' expects argument of type 'char *', but argument 5 has type 'int' [-Wformat=]
BUILDSTDERR:   187 |  syslog(LOG_WARNING,"%s: setuid(%d) failed: %s", fn,
BUILDSTDERR:       |                                             ~^
BUILDSTDERR:       |                                              |
BUILDSTDERR:       |                                              char *
BUILDSTDERR:       |                                             %d
BUILDSTDERR:   188 |         newuid, strerror(errno));
BUILDSTDERR:       |                 ~~~~~~~~~~~~~~~               
BUILDSTDERR:       |                 |
BUILDSTDERR:       |                 int
BUILDSTDERR: src/becomenonroot.c:195:67: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Wformat=]
BUILDSTDERR:   195 |  syslog( LOG_WARNING, "%s: prctl(PR_SET_NO_NEW_PRIVS, 1) failed: %s",  fn,
BUILDSTDERR:       |                                                                  ~^
BUILDSTDERR:       |                                                                   |
BUILDSTDERR:       |                                                                   char *
BUILDSTDERR:       |                                                                  %d
BUILDSTDERR:   196 |      strerror(errno));
BUILDSTDERR:       |      ~~~~~~~~~~~~~~~                                               
BUILDSTDERR:       |      |
BUILDSTDERR:       |      int
BUILDSTDERR: src/threads.c:93:15: warning: 'id_function' defined but not used [-Wunused-function]
BUILDSTDERR:    93 | unsigned long id_function(void) {
BUILDSTDERR:       |               ^~~~~~~~~~~
BUILDSTDERR: src/threads.c:86:6: warning: 'locking_function' defined but not used [-Wunused-function]
BUILDSTDERR:    86 | void locking_function(int mode, int n, const char *file, int line) {
BUILDSTDERR:       |      ^~~~~~~~~~~~~~~~
BUILDSTDERR: src/select.c: In function 'Handle_Select_Command':
BUILDSTDERR: src/select.c:286:36: warning: ' BAD internal proxy server e...' directive output may be truncated writing 34 bytes into a region of size between 0 and 8191 [-Wformat-truncation=]
BUILDSTDERR:   286 |  snprintf( Buf, sizeof Buf - 1, "%s BAD internal proxy server error\r\n", Tag );
BUILDSTDERR:       |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BUILDSTDERR: In file included from /usr/include/stdio.h:867,
BUILDSTDERR:                  from src/select.c:53:
BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 35 and 8226 bytes into a destination of size 8191
BUILDSTDERR:    67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
BUILDSTDERR:       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BUILDSTDERR:    68 |        __bos (__s), __fmt, __va_arg_pack ());
BUILDSTDERR:       |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BUILDSTDERR: src/select.c:250:40: warning: ' BAD internal proxy server e...' directive output may be truncated writing 34 bytes into a region of size between 0 and 8191 [-Wformat-truncation=]
BUILDSTDERR:   250 |      snprintf( Buf, sizeof Buf - 1, "%s BAD internal proxy server error\r\n", Tag );
BUILDSTDERR:       |                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BUILDSTDERR: In file included from /usr/include/stdio.h:867,
BUILDSTDERR:                  from src/select.c:53:
BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 35 and 8226 bytes into a destination of size 8191
BUILDSTDERR:    67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
BUILDSTDERR:       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BUILDSTDERR:    68 |        __bos (__s), __fmt, __va_arg_pack ());
BUILDSTDERR:       |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BUILDSTDERR: src/select.c:216:40: warning: ' BAD internal proxy server e...' directive output may be truncated writing 34 bytes into a region of size between 0 and 8191 [-Wformat-truncation=]
BUILDSTDERR:   216 |      snprintf( Buf, sizeof Buf - 1, "%s BAD internal proxy server error\r\n", Tag );
BUILDSTDERR:       |                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BUILDSTDERR: In file included from /usr/include/stdio.h:867,
BUILDSTDERR:                  from src/select.c:53:
BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 35 and 8226 bytes into a destination of size 8191
BUILDSTDERR:    67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
BUILDSTDERR:       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BUILDSTDERR:    68 |        __bos (__s), __fmt, __va_arg_pack ());
BUILDSTDERR:       |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BUILDSTDERR: src/select.c:177:36: warning: ' BAD missing required argume...' directive output may be truncated writing 50 bytes into a region of size between 0 and 8191 [-Wformat-truncation=]
BUILDSTDERR:   177 |  snprintf( Buf, sizeof Buf - 1, "%s BAD missing required argument to SELECT command\r\n", Tag );
BUILDSTDERR:       |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BUILDSTDERR: In file included from /usr/include/stdio.h:867,
BUILDSTDERR:                  from src/select.c:53:
BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 51 and 8242 bytes into a destination of size 8191
BUILDSTDERR:    67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
BUILDSTDERR:       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BUILDSTDERR:    68 |        __bos (__s), __fmt, __va_arg_pack ());
BUILDSTDERR:       |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ RPM_EC=0
BUILDSTDERR: ++ jobs -p
+ exit 0
dhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I./include  -c -o src/becomenonroot.o src/becomenonroot.c
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. -I./include  -c -o src/config.o src/config.c
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. -I./include  -c -o src/logging.o src/logging.c
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. -I./include  -c -o src/threads.o src/threads.c
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. -I./include  -c -o src/select.o src/select.c
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. -I./include  -c -o src/pimpstat.o src/pimpstat.c
gcc -o bin/in.imapproxyd ./src/icc.o ./src/main.o ./src/imapcommon.o ./src/request.o ./src/hash.o ./src/becomenonroot.o ./src/config.o ./src/logging.o ./src/threads.o ./src/select.o -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lssl -lcrypto -lpthread 
gcc -o bin/pimpstat ./src/pimpstat.o ./src/config.o -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lcurses
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.MAepdS
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/up-imapproxy-1.2.8-0.16.20171022svn14722.fc31.riscv64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/up-imapproxy-1.2.8-0.16.20171022svn14722.fc31.riscv64
BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/up-imapproxy-1.2.8-0.16.20171022svn14722.fc31.riscv64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/up-imapproxy-1.2.8-0.16.20171022svn14722.fc31.riscv64
+ cd squirrelmail-imap_proxy-1.2.8
+ install -D -m 0644 -p scripts/imapproxy.conf /builddir/build/BUILDROOT/up-imapproxy-1.2.8-0.16.20171022svn14722.fc31.riscv64/etc/imapproxy.conf
+ install -D -m 0755 -p /builddir/build/SOURCES/imapproxy.service /builddir/build/BUILDROOT/up-imapproxy-1.2.8-0.16.20171022svn14722.fc31.riscv64/usr/lib/systemd/system/imapproxy.service
+ install -d -m 0755 /builddir/build/BUILDROOT/up-imapproxy-1.2.8-0.16.20171022svn14722.fc31.riscv64/usr/sbin
+ install -D -m 0755 bin/in.imapproxyd bin/pimpstat /builddir/build/BUILDROOT/up-imapproxy-1.2.8-0.16.20171022svn14722.fc31.riscv64/usr/sbin
+ install -d -m 0755 /builddir/build/BUILDROOT/up-imapproxy-1.2.8-0.16.20171022svn14722.fc31.riscv64/var/lib/imapproxy
+ /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.2.8-0.16.20171022svn14722.fc31 --unique-debug-suffix -1.2.8-0.16.20171022svn14722.fc31.riscv64 --unique-debug-src-base up-imapproxy-1.2.8-0.16.20171022svn14722.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/squirrelmail-imap_proxy-1.2.8
BUILDSTDERR: 492 blocks
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-ldconfig
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0
+ /usr/lib/rpm/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
BUILDSTDERR: *** WARNING: ./usr/lib/systemd/system/imapproxy.service is executable but has empty or no shebang, removing executable bit
explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/up-imapproxy-1.2.8-0.16.20171022svn14722.fc31.riscv64/usr/sbin/in.imapproxyd
explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/up-imapproxy-1.2.8-0.16.20171022svn14722.fc31.riscv64/usr/sbin/pimpstat
extracting debug info from /builddir/build/BUILDROOT/up-imapproxy-1.2.8-0.16.20171022svn14722.fc31.riscv64/usr/sbin/in.imapproxyd
extracting debug info from /builddir/build/BUILDROOT/up-imapproxy-1.2.8-0.16.20171022svn14722.fc31.riscv64/usr/sbin/pimpstat
original debug info size: 392kB, size after compression: 356kB
/usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match.
Processing files: up-imapproxy-1.2.8-0.16.20171022svn14722.fc31.riscv64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.rPqsYR
+ umask 022
+ cd /builddir/build/BUILD
+ cd squirrelmail-imap_proxy-1.2.8
+ DOCDIR=/builddir/build/BUILDROOT/up-imapproxy-1.2.8-0.16.20171022svn14722.fc31.riscv64/usr/share/doc/up-imapproxy
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/up-imapproxy-1.2.8-0.16.20171022svn14722.fc31.riscv64/usr/share/doc/up-imapproxy
+ cp -pr COPYING /builddir/build/BUILDROOT/up-imapproxy-1.2.8-0.16.20171022svn14722.fc31.riscv64/usr/share/doc/up-imapproxy
+ cp -pr ChangeLog /builddir/build/BUILDROOT/up-imapproxy-1.2.8-0.16.20171022svn14722.fc31.riscv64/usr/share/doc/up-imapproxy
+ cp -pr README /builddir/build/BUILDROOT/up-imapproxy-1.2.8-0.16.20171022svn14722.fc31.riscv64/usr/share/doc/up-imapproxy
+ cp -pr README.ssl /builddir/build/BUILDROOT/up-imapproxy-1.2.8-0.16.20171022svn14722.fc31.riscv64/usr/share/doc/up-imapproxy
+ cp -pr copyright /builddir/build/BUILDROOT/up-imapproxy-1.2.8-0.16.20171022svn14722.fc31.riscv64/usr/share/doc/up-imapproxy
+ RPM_EC=0
BUILDSTDERR: ++ jobs -p
+ exit 0
Provides: config(up-imapproxy) = 1.2.8-0.16.20171022svn14722.fc31 up-imapproxy = 1.2.8-0.16.20171022svn14722.fc31 up-imapproxy(riscv-64) = 1.2.8-0.16.20171022svn14722.fc31
Requires(interp): /bin/sh /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(pre): /bin/sh shadow-utils
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) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libncurses.so.6()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libssl.so.1.1()(64bit) libssl.so.1.1(OPENSSL_1_1_0)(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH)
Processing files: up-imapproxy-debugsource-1.2.8-0.16.20171022svn14722.fc31.riscv64
Provides: up-imapproxy-debugsource = 1.2.8-0.16.20171022svn14722.fc31 up-imapproxy-debugsource(riscv-64) = 1.2.8-0.16.20171022svn14722.fc31
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: up-imapproxy-debuginfo-1.2.8-0.16.20171022svn14722.fc31.riscv64
Provides: debuginfo(build-id) = 3b2b1c0df502a965918ab87cbe89f3d1f39e9de8 debuginfo(build-id) = f9991ef6cd1cc92fcb213d107477b781697c9c09 up-imapproxy-debuginfo = 1.2.8-0.16.20171022svn14722.fc31 up-imapproxy-debuginfo(riscv-64) = 1.2.8-0.16.20171022svn14722.fc31
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: up-imapproxy-debugsource(riscv-64) = 1.2.8-0.16.20171022svn14722.fc31
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/up-imapproxy-1.2.8-0.16.20171022svn14722.fc31.riscv64
Wrote: /builddir/build/RPMS/up-imapproxy-1.2.8-0.16.20171022svn14722.fc31.riscv64.rpm
Wrote: /builddir/build/RPMS/up-imapproxy-debuginfo-1.2.8-0.16.20171022svn14722.fc31.riscv64.rpm
Wrote: /builddir/build/RPMS/up-imapproxy-debugsource-1.2.8-0.16.20171022svn14722.fc31.riscv64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.BAixvV
+ umask 022
+ cd /builddir/build/BUILD
+ cd squirrelmail-imap_proxy-1.2.8
+ /usr/bin/rm -rf /builddir/build/BUILDROOT/up-imapproxy-1.2.8-0.16.20171022svn14722.fc31.riscv64
+ RPM_EC=0
BUILDSTDERR: ++ jobs -p
+ exit 0
Child return code was: 0