Mock Version: 2.4 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/Pound3.spec'], chrootPath='/var/lib/mock/epel-8-x86_64-1599659547.352275/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.e8o35_d6:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.e8o35_d6:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '278061a7f6eb48319788db4d75eb8964', '-D', '/var/lib/mock/epel-8-x86_64-1599659547.352275/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.e8o35_d6:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/Pound3.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/Pound3-3.0-1.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/Pound3.spec'], chrootPath='/var/lib/mock/epel-8-x86_64-1599659547.352275/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.e8o35_d6:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.e8o35_d6:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '7dbef9e33fb64cd4a9ce71ba237ca16c', '-D', '/var/lib/mock/epel-8-x86_64-1599659547.352275/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.e8o35_d6:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/Pound3.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.TlW0Zp + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Pound-3.0d + /usr/bin/gzip -dc /builddir/build/SOURCES/Pound-3.0d.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd Pound-3.0d + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.CJo2LC + umask 022 + cd /builddir/build/BUILD + cd Pound-3.0d + cd ./build + 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + /usr/bin/cmake -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON .. '-DCMAKE_C_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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' '-DCMAKE_CXX_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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' -- The C compiler identification is GNU 8.3.1 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - yes -- Found Threads: TRUE -- Looking for 35 include files stdio.h, ..., mbedtls/error.h -- Looking for 35 include files stdio.h, ..., mbedtls/error.h - found -- Looking for include file pcreposix.h -- Looking for include file pcreposix.h - found -- Looking for include file pcre/pcreposix.h -- Looking for include file pcre/pcreposix.h - not found -- Looking for include file regex.h -- Looking for include file regex.h - found -- Looking for include file stdarg.h -- Looking for include file stdarg.h - found -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/Pound-3.0d/build + /usr/lib/rpm/cmake-build . -j2 make: Entering directory '/builddir/build/BUILD/Pound-3.0d/build' /usr/bin/cmake -H/builddir/build/BUILD/Pound-3.0d -B/builddir/build/BUILD/Pound-3.0d/build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/Pound-3.0d/build/CMakeFiles /builddir/build/BUILD/Pound-3.0d/build/CMakeFiles/progress.marks /usr/bin/make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/builddir/build/BUILD/Pound-3.0d/build' /usr/bin/make -f CMakeFiles/pound.dir/build.make CMakeFiles/pound.dir/depend make[2]: Entering directory '/builddir/build/BUILD/Pound-3.0d/build' cd /builddir/build/BUILD/Pound-3.0d/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/Pound-3.0d /builddir/build/BUILD/Pound-3.0d /builddir/build/BUILD/Pound-3.0d/build /builddir/build/BUILD/Pound-3.0d/build /builddir/build/BUILD/Pound-3.0d/build/CMakeFiles/pound.dir/DependInfo.cmake --color= Dependee "/builddir/build/BUILD/Pound-3.0d/build/CMakeFiles/pound.dir/DependInfo.cmake" is newer than depender "/builddir/build/BUILD/Pound-3.0d/build/CMakeFiles/pound.dir/depend.internal". Dependee "/builddir/build/BUILD/Pound-3.0d/build/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/builddir/build/BUILD/Pound-3.0d/build/CMakeFiles/pound.dir/depend.internal". Scanning dependencies of target pound make[2]: Leaving directory '/builddir/build/BUILD/Pound-3.0d/build' /usr/bin/make -f CMakeFiles/pound.dir/build.make CMakeFiles/pound.dir/build make[2]: Entering directory '/builddir/build/BUILD/Pound-3.0d/build' [ 25%] Building C object CMakeFiles/pound.dir/src/backend.c.o [ 25%] Building C object CMakeFiles/pound.dir/src/config.c.o /usr/bin/cc -I/builddir/build/BUILD/Pound-3.0d/include -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unused-result -Wno-cast-qual -Wno-discarded-qualifiers -D_GNU_SOURCE -O2 -pthread -o CMakeFiles/pound.dir/src/config.c.o -c /builddir/build/BUILD/Pound-3.0d/src/config.c /usr/bin/cc -I/builddir/build/BUILD/Pound-3.0d/include -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unused-result -Wno-cast-qual -Wno-discarded-qualifiers -D_GNU_SOURCE -O2 -pthread -o CMakeFiles/pound.dir/src/backend.c.o -c /builddir/build/BUILD/Pound-3.0d/src/backend.c /builddir/build/BUILD/Pound-3.0d/src/config.c: In function 'get_global': /builddir/build/BUILD/Pound-3.0d/src/config.c:76:92: warning: pointer targets in passing argument 2 of 'strcasecmp' differ in signedness [-Wpointer-sign] if(!strcasecmp("User", yaml_document_get_node(document, cur_pair->key)->data.scalar.value)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/string.h:431, from /usr/include/yaml.h:20, from /builddir/build/BUILD/Pound-3.0d/include/pound.h:47, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /usr/include/strings.h:116:12: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} extern int strcasecmp (const char *__s1, const char *__s2) ^~~~~~~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:77:96: warning: pointer targets in passing argument 1 of 'getpwnam' differ in signedness [-Wpointer-sign] if((pwent = getpwnam(yaml_document_get_node(document, cur_pair->value)->data.scalar.value)) == NULL) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /builddir/build/BUILD/Pound-3.0d/include/pound.h:67, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /usr/include/pwd.h:116:23: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} extern struct passwd *getpwnam (const char *__name) __nonnull ((1)); ^~~~~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:81:100: warning: pointer targets in passing argument 2 of 'strcasecmp' differ in signedness [-Wpointer-sign] } else if(!strcasecmp("Group", yaml_document_get_node(document, cur_pair->key)->data.scalar.value)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/string.h:431, from /usr/include/yaml.h:20, from /builddir/build/BUILD/Pound-3.0d/include/pound.h:47, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /usr/include/strings.h:116:12: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} extern int strcasecmp (const char *__s1, const char *__s2) ^~~~~~~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:82:96: warning: pointer targets in passing argument 1 of 'getgrnam' differ in signedness [-Wpointer-sign] if((grent = getgrnam(yaml_document_get_node(document, cur_pair->value)->data.scalar.value)) == NULL) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /builddir/build/BUILD/Pound-3.0d/include/pound.h:68, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /usr/include/grp.h:107:22: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} extern struct group *getgrnam (const char *__name); ^~~~~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:86:103: warning: pointer targets in passing argument 2 of 'strcasecmp' differ in signedness [-Wpointer-sign] } else if(!strcasecmp("RootJail", yaml_document_get_node(document, cur_pair->key)->data.scalar.value)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/string.h:431, from /usr/include/yaml.h:20, from /builddir/build/BUILD/Pound-3.0d/include/pound.h:47, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /usr/include/strings.h:116:12: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} extern int strcasecmp (const char *__s1, const char *__s2) ^~~~~~~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:87:105: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] if((global.root_jail = strdup(yaml_document_get_node(document, cur_pair->value)->data.scalar.value)) == NULL) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/yaml.h:20, from /builddir/build/BUILD/Pound-3.0d/include/pound.h:47, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /usr/include/string.h:166:14: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} extern char *strdup (const char *__s) ^~~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:90:101: warning: pointer targets in passing argument 2 of 'strcasecmp' differ in signedness [-Wpointer-sign] } else if(!strcasecmp("Err404", yaml_document_get_node(document, cur_pair->key)->data.scalar.value)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/string.h:431, from /usr/include/yaml.h:20, from /builddir/build/BUILD/Pound-3.0d/include/pound.h:47, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /usr/include/strings.h:116:12: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} extern int strcasecmp (const char *__s1, const char *__s2) ^~~~~~~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:91:100: warning: pointer targets in passing argument 1 of 'file2str' differ in signedness [-Wpointer-sign] global.err404 = file2str(yaml_document_get_node(document, cur_pair->value)->data.scalar.value); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:50:1: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} file2str(const char *fname) ^~~~~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:93:101: warning: pointer targets in passing argument 2 of 'strcasecmp' differ in signedness [-Wpointer-sign] } else if(!strcasecmp("Err405", yaml_document_get_node(document, cur_pair->key)->data.scalar.value)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/string.h:431, from /usr/include/yaml.h:20, from /builddir/build/BUILD/Pound-3.0d/include/pound.h:47, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /usr/include/strings.h:116:12: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} extern int strcasecmp (const char *__s1, const char *__s2) ^~~~~~~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:94:100: warning: pointer targets in passing argument 1 of 'file2str' differ in signedness [-Wpointer-sign] global.err405 = file2str(yaml_document_get_node(document, cur_pair->value)->data.scalar.value); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:50:1: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} file2str(const char *fname) ^~~~~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:96:101: warning: pointer targets in passing argument 2 of 'strcasecmp' differ in signedness [-Wpointer-sign] } else if(!strcasecmp("Err500", yaml_document_get_node(document, cur_pair->key)->data.scalar.value)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/string.h:431, from /usr/include/yaml.h:20, from /builddir/build/BUILD/Pound-3.0d/include/pound.h:47, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /usr/include/strings.h:116:12: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} extern int strcasecmp (const char *__s1, const char *__s2) ^~~~~~~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:97:100: warning: pointer targets in passing argument 1 of 'file2str' differ in signedness [-Wpointer-sign] global.err500 = file2str(yaml_document_get_node(document, cur_pair->value)->data.scalar.value); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:50:1: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} file2str(const char *fname) ^~~~~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:70:26: warning: unused variable 'node' [-Wunused-variable] yaml_node_t *node; ^~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c: In function 'get_backends': /builddir/build/BUILD/Pound-3.0d/src/config.c:137:99: warning: pointer targets in passing argument 2 of 'strcasecmp' differ in signedness [-Wpointer-sign] if(!strcasecmp("Address", yaml_document_get_node(document, cur_pair->key)->data.scalar.value)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/string.h:431, from /usr/include/yaml.h:20, from /builddir/build/BUILD/Pound-3.0d/include/pound.h:47, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /usr/include/strings.h:116:12: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} extern int strcasecmp (const char *__s1, const char *__s2) ^~~~~~~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:138:93: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(addr, yaml_document_get_node(document, cur_pair->value)->data.scalar.value, NI_MAXHOST); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /builddir/build/BUILD/Pound-3.0d/include/pound.h:45, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:140:103: warning: pointer targets in passing argument 2 of 'strcasecmp' differ in signedness [-Wpointer-sign] } else if(!strcasecmp("Port", yaml_document_get_node(document, cur_pair->key)->data.scalar.value)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/string.h:431, from /usr/include/yaml.h:20, from /builddir/build/BUILD/Pound-3.0d/include/pound.h:47, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /usr/include/strings.h:116:12: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} extern int strcasecmp (const char *__s1, const char *__s2) ^~~~~~~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:141:93: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(port, yaml_document_get_node(document, cur_pair->value)->data.scalar.value, NI_MAXSERV); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /builddir/build/BUILD/Pound-3.0d/include/pound.h:45, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:143:106: warning: pointer targets in passing argument 2 of 'strcasecmp' differ in signedness [-Wpointer-sign] } else if(!strcasecmp("Timeout", yaml_document_get_node(document, cur_pair->key)->data.scalar.value)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/string.h:431, from /usr/include/yaml.h:20, from /builddir/build/BUILD/Pound-3.0d/include/pound.h:47, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /usr/include/strings.h:116:12: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} extern int strcasecmp (const char *__s1, const char *__s2) ^~~~~~~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:144:98: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] res.timeout = atoi(yaml_document_get_node(document, cur_pair->value)->data.scalar.value); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /builddir/build/BUILD/Pound-3.0d/include/pound.h:45, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} __NTH (atoi (const char *__nptr)) ^~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:146:106: warning: pointer targets in passing argument 2 of 'strcasecmp' differ in signedness [-Wpointer-sign] } else if(!strcasecmp("Threads", yaml_document_get_node(document, cur_pair->key)->data.scalar.value)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/string.h:431, from /usr/include/yaml.h:20, from /builddir/build/BUILD/Pound-3.0d/include/pound.h:47, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /usr/include/strings.h:116:12: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} extern int strcasecmp (const char *__s1, const char *__s2) ^~~~~~~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:147:98: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] res.threads = atoi(yaml_document_get_node(document, cur_pair->value)->data.scalar.value); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /builddir/build/BUILD/Pound-3.0d/include/pound.h:45, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} __NTH (atoi (const char *__nptr)) ^~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:149:106: warning: pointer targets in passing argument 2 of 'strcasecmp' differ in signedness [-Wpointer-sign] } else if(!strcasecmp("HeadAdd", yaml_document_get_node(document, cur_pair->key)->data.scalar.value)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/string.h:431, from /usr/include/yaml.h:20, from /builddir/build/BUILD/Pound-3.0d/include/pound.h:47, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /usr/include/strings.h:116:12: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} extern int strcasecmp (const char *__s1, const char *__s2) ^~~~~~~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:150:107: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] if((res.add_header = strdup(yaml_document_get_node(document, cur_pair->value)->data.scalar.value)) == NULL) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/yaml.h:20, from /builddir/build/BUILD/Pound-3.0d/include/pound.h:47, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /usr/include/string.h:166:14: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} extern char *strdup (const char *__s) ^~~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:120:61: warning: variable 'redirect' set but not used [-Wunused-but-set-variable] char addr[NI_MAXHOST], port[NI_MAXSERV], redirect[NI_MAXHOST]; ^~~~~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c: In function 'get_services': /builddir/build/BUILD/Pound-3.0d/src/config.c:222:95: warning: pointer targets in passing argument 2 of 'strcasecmp' differ in signedness [-Wpointer-sign] if(!strcasecmp("URL", yaml_document_get_node(document, map_pair->key)->data.scalar.value)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/string.h:431, from /usr/include/yaml.h:20, from /builddir/build/BUILD/Pound-3.0d/include/pound.h:47, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /usr/include/strings.h:116:12: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} extern int strcasecmp (const char *__s1, const char *__s2) ^~~~~~~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:229:106: warning: pointer targets in passing argument 2 of 'strcasecmp' differ in signedness [-Wpointer-sign] } else if(!strcasecmp("Session", yaml_document_get_node(document, map_pair->key)->data.scalar.value)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/string.h:431, from /usr/include/yaml.h:20, from /builddir/build/BUILD/Pound-3.0d/include/pound.h:47, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /usr/include/strings.h:116:12: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} extern int strcasecmp (const char *__s1, const char *__s2) ^~~~~~~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:230:99: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] svc->session = atoi(yaml_document_get_node(document, map_pair->value)->data.scalar.value); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /builddir/build/BUILD/Pound-3.0d/include/pound.h:45, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} __NTH (atoi (const char *__nptr)) ^~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:232:110: warning: pointer targets in passing argument 2 of 'strcasecmp' differ in signedness [-Wpointer-sign] } else if(!strcasecmp("HeadRequire", yaml_document_get_node(document, map_pair->key)->data.scalar.value)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/string.h:431, from /usr/include/yaml.h:20, from /builddir/build/BUILD/Pound-3.0d/include/pound.h:47, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /usr/include/strings.h:116:12: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} extern int strcasecmp (const char *__s1, const char *__s2) ^~~~~~~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:235:109: warning: pointer targets in passing argument 2 of 'regcomp' differ in signedness [-Wpointer-sign] if(regcomp(svc->head_require, yaml_document_get_node(document, map_pair->value)->data.scalar.value, REG_ICASE)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /builddir/build/BUILD/Pound-3.0d/include/pound.h:90, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /usr/include/pcreposix.h:136:24: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} PCREPOSIX_EXP_DECL int regcomp(regex_t *, const char *, int); ^~~~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:238:107: warning: pointer targets in passing argument 2 of 'strcasecmp' differ in signedness [-Wpointer-sign] } else if(!strcasecmp("HeadDeny", yaml_document_get_node(document, map_pair->key)->data.scalar.value)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/string.h:431, from /usr/include/yaml.h:20, from /builddir/build/BUILD/Pound-3.0d/include/pound.h:47, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /usr/include/strings.h:116:12: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} extern int strcasecmp (const char *__s1, const char *__s2) ^~~~~~~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:241:106: warning: pointer targets in passing argument 2 of 'regcomp' differ in signedness [-Wpointer-sign] if(regcomp(svc->head_deny, yaml_document_get_node(document, map_pair->value)->data.scalar.value, REG_ICASE)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /builddir/build/BUILD/Pound-3.0d/include/pound.h:90, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /usr/include/pcreposix.h:136:24: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} PCREPOSIX_EXP_DECL int regcomp(regex_t *, const char *, int); ^~~~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:244:107: warning: pointer targets in passing argument 2 of 'strcasecmp' differ in signedness [-Wpointer-sign] } else if(!strcasecmp("Backends", yaml_document_get_node(document, map_pair->key)->data.scalar.value)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/string.h:431, from /usr/include/yaml.h:20, from /builddir/build/BUILD/Pound-3.0d/include/pound.h:47, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /usr/include/strings.h:116:12: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} extern int strcasecmp (const char *__s1, const char *__s2) ^~~~~~~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:203:26: warning: unused variable 'be' [-Wunused-variable] BACKEND *be; ^~ /builddir/build/BUILD/Pound-3.0d/src/config.c: In function 'get_http': /builddir/build/BUILD/Pound-3.0d/src/config.c:289:100: warning: pointer targets in passing argument 2 of 'strcasecmp' differ in signedness [-Wpointer-sign] if(!strcasecmp("Address", yaml_document_get_node(document, map_pairs->key)->data.scalar.value)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/string.h:431, from /usr/include/yaml.h:20, from /builddir/build/BUILD/Pound-3.0d/include/pound.h:47, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /usr/include/strings.h:116:12: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} extern int strcasecmp (const char *__s1, const char *__s2) ^~~~~~~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:290:94: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(addr, yaml_document_get_node(document, map_pairs->value)->data.scalar.value, NI_MAXHOST); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /builddir/build/BUILD/Pound-3.0d/include/pound.h:45, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:292:104: warning: pointer targets in passing argument 2 of 'strcasecmp' differ in signedness [-Wpointer-sign] } else if(!strcasecmp("Port", yaml_document_get_node(document, map_pairs->key)->data.scalar.value)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/string.h:431, from /usr/include/yaml.h:20, from /builddir/build/BUILD/Pound-3.0d/include/pound.h:47, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /usr/include/strings.h:116:12: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} extern int strcasecmp (const char *__s1, const char *__s2) ^~~~~~~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:293:94: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(port, yaml_document_get_node(document, map_pairs->value)->data.scalar.value, NI_MAXSERV); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /builddir/build/BUILD/Pound-3.0d/include/pound.h:45, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:295:106: warning: pointer targets in passing argument 2 of 'strcasecmp' differ in signedness [-Wpointer-sign] } else if(!strcasecmp("Client", yaml_document_get_node(document, map_pairs->key)->data.scalar.value)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/string.h:431, from /usr/include/yaml.h:20, from /builddir/build/BUILD/Pound-3.0d/include/pound.h:47, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /usr/include/strings.h:116:12: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} extern int strcasecmp (const char *__s1, const char *__s2) ^~~~~~~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:296:98: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] res.client = atoi(yaml_document_get_node(document, map_pairs->value)->data.scalar.value); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /builddir/build/BUILD/Pound-3.0d/include/pound.h:45, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} __NTH (atoi (const char *__nptr)) ^~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:298:107: warning: pointer targets in passing argument 2 of 'strcasecmp' differ in signedness [-Wpointer-sign] } else if(!strcasecmp("Threads", yaml_document_get_node(document, map_pairs->key)->data.scalar.value)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/string.h:431, from /usr/include/yaml.h:20, from /builddir/build/BUILD/Pound-3.0d/include/pound.h:47, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /usr/include/strings.h:116:12: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} extern int strcasecmp (const char *__s1, const char *__s2) ^~~~~~~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:299:99: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] res.threads = atoi(yaml_document_get_node(document, map_pairs->value)->data.scalar.value); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /builddir/build/BUILD/Pound-3.0d/include/pound.h:45, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} __NTH (atoi (const char *__nptr)) ^~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:301:108: warning: pointer targets in passing argument 2 of 'strcasecmp' differ in signedness [-Wpointer-sign] } else if(!strcasecmp("Services", yaml_document_get_node(document, map_pairs->key)->data.scalar.value)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/string.h:431, from /usr/include/yaml.h:20, from /builddir/build/BUILD/Pound-3.0d/include/pound.h:47, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /usr/include/strings.h:116:12: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} extern int strcasecmp (const char *__s1, const char *__s2) ^~~~~~~~~~ /builddir/build/BUILD/Pound-3.0d/src/backend.c: In function 'thr_backend': /builddir/build/BUILD/Pound-3.0d/src/config.c: In function 'get_ciphers': /builddir/build/BUILD/Pound-3.0d/src/config.c:338:65: warning: pointer targets in passing argument 1 of 'mbedtls_ssl_get_ciphersuite_id' differ in signedness [-Wpointer-sign] if((c = mbedtls_ssl_get_ciphersuite_id(root->data.scalar.value)) <= 0) ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/Pound-3.0d/src/backend.c:493:17: warning: unused variable 'match' [-Wunused-variable] regmatch_t match[2]; ^~~~~ /builddir/build/BUILD/Pound-3.0d/src/backend.c:488:50: warning: unused variable 'saveptr' [-Wunused-variable] char *msg, client_addr[NI_MAXHOST], *cp, *saveptr; ^~~~~~~ /builddir/build/BUILD/Pound-3.0d/src/backend.c:488:45: warning: unused variable 'cp' [-Wunused-variable] char *msg, client_addr[NI_MAXHOST], *cp, *saveptr; ^~ /builddir/build/BUILD/Pound-3.0d/src/backend.c:487:31: warning: unused variable 'res' [-Wunused-variable] int s_listener, s_be, res, flags, http_ver; ^~~ In file included from /usr/include/mbedtls/net_sockets.h:76, from /builddir/build/BUILD/Pound-3.0d/include/pound.h:78, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /usr/include/mbedtls/ssl.h:1249:5: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} int mbedtls_ssl_get_ciphersuite_id( const char *ciphersuite_name ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:347:69: warning: pointer targets in passing argument 1 of 'mbedtls_ssl_get_ciphersuite_id' differ in signedness [-Wpointer-sign] if((c = mbedtls_ssl_get_ciphersuite_id(vals->data.scalar.value)) <= 0) ~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/mbedtls/net_sockets.h:76, from /builddir/build/BUILD/Pound-3.0d/include/pound.h:78, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /usr/include/mbedtls/ssl.h:1249:5: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} int mbedtls_ssl_get_ciphersuite_id( const char *ciphersuite_name ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Pound-3.0d/include/pound.h:102, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /builddir/build/BUILD/Pound-3.0d/src/config.c: In function 'get_certificates': /builddir/build/BUILD/Pound-3.0d/src/config.c:451:58: warning: pointer targets in passing argument 1 of 'get_one' differ in signedness [-Wpointer-sign] utarray_push_back(list, get_one(root->data.scalar.value)); ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/Pound-3.0d/include/utarray.h:111:68: note: in definition of macro 'utarray_push_back' if ((a)->icd.copy) { (a)->icd.copy( _utarray_eltptr(a,(a)->i++), p); } \ ^ /builddir/build/BUILD/Pound-3.0d/src/config.c:363:1: note: expected 'char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} get_one(char *filename) ^~~~~~~ In file included from /builddir/build/BUILD/Pound-3.0d/include/pound.h:102, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /builddir/build/BUILD/Pound-3.0d/src/config.c:451:58: warning: pointer targets in passing argument 1 of 'get_one' differ in signedness [-Wpointer-sign] utarray_push_back(list, get_one(root->data.scalar.value)); ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/Pound-3.0d/include/utarray.h:112:46: note: in definition of macro 'utarray_push_back' else { memcpy(_utarray_eltptr(a,(a)->i++), p, (a)->icd.sz); }; \ ^ /builddir/build/BUILD/Pound-3.0d/src/config.c:363:1: note: expected 'char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} get_one(char *filename) ^~~~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:457:44: warning: pointer targets in passing argument 1 of 'get_one' differ in signedness [-Wpointer-sign] sni = get_one(vals->data.scalar.value); ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:363:1: note: expected 'char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} get_one(char *filename) ^~~~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c: In function 'get_https': /builddir/build/BUILD/Pound-3.0d/src/config.c:504:100: warning: pointer targets in passing argument 2 of 'strcasecmp' differ in signedness [-Wpointer-sign] if(!strcasecmp("Address", yaml_document_get_node(document, map_pairs->key)->data.scalar.value)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/string.h:431, from /usr/include/yaml.h:20, from /builddir/build/BUILD/Pound-3.0d/include/pound.h:47, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /usr/include/strings.h:116:12: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} extern int strcasecmp (const char *__s1, const char *__s2) ^~~~~~~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:505:94: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(addr, yaml_document_get_node(document, map_pairs->value)->data.scalar.value, NI_MAXHOST); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /builddir/build/BUILD/Pound-3.0d/include/pound.h:45, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:507:104: warning: pointer targets in passing argument 2 of 'strcasecmp' differ in signedness [-Wpointer-sign] } else if(!strcasecmp("Port", yaml_document_get_node(document, map_pairs->key)->data.scalar.value)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/string.h:431, from /usr/include/yaml.h:20, from /builddir/build/BUILD/Pound-3.0d/include/pound.h:47, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /usr/include/strings.h:116:12: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} extern int strcasecmp (const char *__s1, const char *__s2) ^~~~~~~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:508:94: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(port, yaml_document_get_node(document, map_pairs->value)->data.scalar.value, NI_MAXSERV); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /builddir/build/BUILD/Pound-3.0d/include/pound.h:45, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:510:106: warning: pointer targets in passing argument 2 of 'strcasecmp' differ in signedness [-Wpointer-sign] } else if(!strcasecmp("Client", yaml_document_get_node(document, map_pairs->key)->data.scalar.value)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/string.h:431, from /usr/include/yaml.h:20, from /builddir/build/BUILD/Pound-3.0d/include/pound.h:47, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /usr/include/strings.h:116:12: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} extern int strcasecmp (const char *__s1, const char *__s2) ^~~~~~~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:511:98: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] res.client = atoi(yaml_document_get_node(document, map_pairs->value)->data.scalar.value); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /builddir/build/BUILD/Pound-3.0d/include/pound.h:45, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} __NTH (atoi (const char *__nptr)) ^~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:513:107: warning: pointer targets in passing argument 2 of 'strcasecmp' differ in signedness [-Wpointer-sign] } else if(!strcasecmp("Threads", yaml_document_get_node(document, map_pairs->key)->data.scalar.value)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/string.h:431, from /usr/include/yaml.h:20, from /builddir/build/BUILD/Pound-3.0d/include/pound.h:47, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /usr/include/strings.h:116:12: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} extern int strcasecmp (const char *__s1, const char *__s2) ^~~~~~~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:514:99: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] res.threads = atoi(yaml_document_get_node(document, map_pairs->value)->data.scalar.value); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /builddir/build/BUILD/Pound-3.0d/include/pound.h:45, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} __NTH (atoi (const char *__nptr)) ^~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:516:108: warning: pointer targets in passing argument 2 of 'strcasecmp' differ in signedness [-Wpointer-sign] } else if(!strcasecmp("Services", yaml_document_get_node(document, map_pairs->key)->data.scalar.value)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/string.h:431, from /usr/include/yaml.h:20, from /builddir/build/BUILD/Pound-3.0d/include/pound.h:47, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /usr/include/strings.h:116:12: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} extern int strcasecmp (const char *__s1, const char *__s2) ^~~~~~~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:518:112: warning: pointer targets in passing argument 2 of 'strcasecmp' differ in signedness [-Wpointer-sign] } else if(!strcasecmp("Certificates", yaml_document_get_node(document, map_pairs->key)->data.scalar.value)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/string.h:431, from /usr/include/yaml.h:20, from /builddir/build/BUILD/Pound-3.0d/include/pound.h:47, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /usr/include/strings.h:116:12: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} extern int strcasecmp (const char *__s1, const char *__s2) ^~~~~~~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:520:107: warning: pointer targets in passing argument 2 of 'strcasecmp' differ in signedness [-Wpointer-sign] } else if(!strcasecmp("Ciphers", yaml_document_get_node(document, map_pairs->key)->data.scalar.value)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/string.h:431, from /usr/include/yaml.h:20, from /builddir/build/BUILD/Pound-3.0d/include/pound.h:47, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /usr/include/strings.h:116:12: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} extern int strcasecmp (const char *__s1, const char *__s2) ^~~~~~~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c: In function 'get_others': /builddir/build/BUILD/Pound-3.0d/src/config.c:568:50: warning: pointer targets in passing argument 2 of 'strcasecmp' differ in signedness [-Wpointer-sign] if(strcasecmp("Global", node->data.scalar.value) ~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/string.h:431, from /usr/include/yaml.h:20, from /builddir/build/BUILD/Pound-3.0d/include/pound.h:47, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /usr/include/strings.h:116:12: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} extern int strcasecmp (const char *__s1, const char *__s2) ^~~~~~~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:569:52: warning: pointer targets in passing argument 2 of 'strcasecmp' differ in signedness [-Wpointer-sign] && strcasecmp("Backends", node->data.scalar.value) ~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/string.h:431, from /usr/include/yaml.h:20, from /builddir/build/BUILD/Pound-3.0d/include/pound.h:47, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /usr/include/strings.h:116:12: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} extern int strcasecmp (const char *__s1, const char *__s2) ^~~~~~~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:570:57: warning: pointer targets in passing argument 2 of 'strcasecmp' differ in signedness [-Wpointer-sign] && strcasecmp("HTTPListeners", node->data.scalar.value) ~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/string.h:431, from /usr/include/yaml.h:20, from /builddir/build/BUILD/Pound-3.0d/include/pound.h:47, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /usr/include/strings.h:116:12: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} extern int strcasecmp (const char *__s1, const char *__s2) ^~~~~~~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:571:58: warning: pointer targets in passing argument 2 of 'strcasecmp' differ in signedness [-Wpointer-sign] && strcasecmp("HTTPSListeners", node->data.scalar.value)) ~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/string.h:431, from /usr/include/yaml.h:20, from /builddir/build/BUILD/Pound-3.0d/include/pound.h:47, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /usr/include/strings.h:116:12: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} extern int strcasecmp (const char *__s1, const char *__s2) ^~~~~~~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c: In function 'get_base': /builddir/build/BUILD/Pound-3.0d/src/config.c:586:46: warning: pointer targets in passing argument 2 of 'strcasecmp' differ in signedness [-Wpointer-sign] if(!strcasecmp(key, node->data.scalar.value)) { ~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/string.h:431, from /usr/include/yaml.h:20, from /builddir/build/BUILD/Pound-3.0d/include/pound.h:47, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /usr/include/strings.h:116:12: note: expected 'const char *' but argument is of type 'yaml_char_t *' {aka 'unsigned char *'} extern int strcasecmp (const char *__s1, const char *__s2) ^~~~~~~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c: In function 'config': /builddir/build/BUILD/Pound-3.0d/src/config.c:598:60: warning: unused variable 'is_key' [-Wunused-variable] int c_opt, o_check = 0, o_version = 0, is_key, i; ^~~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:540:13: warning: 'ciphers' may be used uninitialized in this function [-Wmaybe-uninitialized] mbedtls_ssl_conf_ciphersuites(res.conf, ciphers); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Pound-3.0d/src/config.c:483:29: note: 'ciphers' was declared here int i, *ciphers; ^~~~~~~ In file included from /builddir/build/BUILD/Pound-3.0d/include/pound.h:102, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /builddir/build/BUILD/Pound-3.0d/include/utarray.h:130:57: warning: 'services' may be used uninitialized in this function [-Wmaybe-uninitialized] #define _utarray_eltptr(a,j) ((void*)((a)->d + ((a)->icd.sz * (j)))) ^ /builddir/build/BUILD/Pound-3.0d/src/config.c:482:26: note: 'services' was declared here UT_array *services; ^~~~~~~~ In file included from /builddir/build/BUILD/Pound-3.0d/include/pound.h:102, from /builddir/build/BUILD/Pound-3.0d/src/config.c:28: /builddir/build/BUILD/Pound-3.0d/include/utarray.h:130:57: warning: 'services' may be used uninitialized in this function [-Wmaybe-uninitialized] #define _utarray_eltptr(a,j) ((void*)((a)->d + ((a)->icd.sz * (j)))) ^ /builddir/build/BUILD/Pound-3.0d/src/config.c:274:26: note: 'services' was declared here UT_array *services; ^~~~~~~~ [ 37%] Building C object CMakeFiles/pound.dir/src/hpack.c.o /usr/bin/cc -I/builddir/build/BUILD/Pound-3.0d/include -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unused-result -Wno-cast-qual -Wno-discarded-qualifiers -D_GNU_SOURCE -O2 -pthread -o CMakeFiles/pound.dir/src/hpack.c.o -c /builddir/build/BUILD/Pound-3.0d/src/hpack.c /builddir/build/BUILD/Pound-3.0d/src/hpack.c: In function 'hpack_encode_str': /builddir/build/BUILD/Pound-3.0d/src/hpack.c:801:35: warning: pointer targets in passing argument 1 of 'hpack_huffman_encode' differ in signedness [-Wpointer-sign] if ((data = hpack_huffman_encode(str, slen, &len)) == NULL) ^~~ In file included from /builddir/build/BUILD/Pound-3.0d/include/pound.h:103, from /builddir/build/BUILD/Pound-3.0d/src/hpack.c:29: /builddir/build/BUILD/Pound-3.0d/include/hpack.h:67:3: note: expected 'unsigned char *' but argument is of type 'char *' *hpack_huffman_encode(unsigned char *, size_t, size_t *); ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Pound-3.0d/src/hpack.c:815:26: warning: pointer targets in passing argument 2 of 'hbuf_writebuf' differ in signedness [-Wpointer-sign] if (hbuf_writebuf(buf, str, slen) == -1) ^~~ /builddir/build/BUILD/Pound-3.0d/src/hpack.c:62:13: note: expected 'unsigned char *' but argument is of type 'char *' static int hbuf_writebuf(struct hbuf *, unsigned char *, size_t); ^~~~~~~~~~~~~ [ 50%] Building C object CMakeFiles/pound.dir/src/http.c.o /usr/bin/cc -I/builddir/build/BUILD/Pound-3.0d/include -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unused-result -Wno-cast-qual -Wno-discarded-qualifiers -D_GNU_SOURCE -O2 -pthread -o CMakeFiles/pound.dir/src/http.c.o -c /builddir/build/BUILD/Pound-3.0d/src/http.c /builddir/build/BUILD/Pound-3.0d/src/hpack.c: In function 'hpack_encode': /builddir/build/BUILD/Pound-3.0d/src/hpack.c:729:8: warning: 'flag' may be used uninitialized in this function [-Wmaybe-uninitialized] if (hpack_encode_int(hbuf, 0, mask, flag) == -1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Pound-3.0d/src/hpack.c:729:8: warning: 'mask' may be used uninitialized in this function [-Wmaybe-uninitialized] /builddir/build/BUILD/Pound-3.0d/src/http.c: In function 'do_request': /builddir/build/BUILD/Pound-3.0d/src/http.c:228:95: warning: unused variable 'header_found' [-Wunused-variable] int i, is_closed, close_at_end, upgrade_h2, is_chunked, is_expect, s_private, header_found; ^~~~~~~~~~~~ /builddir/build/BUILD/Pound-3.0d/src/http.c:227:49: warning: unused variable 'private_name' [-Wunused-variable] char *msg, *headers[MAXHEADERS], private_name[NI_MAXHOST], request[MAXBUF], buf[MAXBUF]; ^~~~~~~~~~~~ /builddir/build/BUILD/Pound-3.0d/src/http.c:226:22: warning: unused variable 'be' [-Wunused-variable] BACKEND *be; ^~ /builddir/build/BUILD/Pound-3.0d/src/http.c: In function 'c_read': /builddir/build/BUILD/Pound-3.0d/src/http.c:466:61: warning: pointer targets in passing argument 2 of 'mbedtls_ssl_read' differ in signedness [-Wpointer-sign] while(n_read < size && (n = mbedtls_ssl_read(c->fd, buf + n_read, size - n_read)) > 0) ~~~~^~~~~~~~ In file included from /usr/include/mbedtls/net_sockets.h:76, from /builddir/build/BUILD/Pound-3.0d/include/pound.h:78, from /builddir/build/BUILD/Pound-3.0d/src/http.c:28: /usr/include/mbedtls/ssl.h:3129:5: note: expected 'unsigned char *' but argument is of type 'char *' int mbedtls_ssl_read( mbedtls_ssl_context *ssl, unsigned char *buf, size_t len ); ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/Pound-3.0d/src/http.c: In function 'c_write': /builddir/build/BUILD/Pound-3.0d/src/http.c:477:37: warning: pointer targets in passing argument 2 of 'mbedtls_ssl_write' differ in signedness [-Wpointer-sign] return mbedtls_ssl_write(c->fd, buf, size); ^~~ In file included from /usr/include/mbedtls/net_sockets.h:76, from /builddir/build/BUILD/Pound-3.0d/include/pound.h:78, from /builddir/build/BUILD/Pound-3.0d/src/http.c:28: /usr/include/mbedtls/ssl.h:3191:5: note: expected 'const unsigned char *' but argument is of type 'char *' int mbedtls_ssl_write( mbedtls_ssl_context *ssl, const unsigned char *buf, size_t len ); ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Pound-3.0d/src/http.c: In function 'thr_http': /builddir/build/BUILD/Pound-3.0d/src/http.c:523:46: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] getpeername(sock_client, &peer_addr, &n); ^~ In file included from /builddir/build/BUILD/Pound-3.0d/include/pound.h:61, from /builddir/build/BUILD/Pound-3.0d/src/http.c:28: /usr/include/sys/socket.h:130:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' extern int getpeername (int __fd, __SOCKADDR_ARG __addr, ^~~~~~~~~~~ /builddir/build/BUILD/Pound-3.0d/src/http.c:541:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(n = mbedtls_ssl_handshake(&ssl)) { ^ /builddir/build/BUILD/Pound-3.0d/src/http.c:499:22: warning: unused variable 'be' [-Wunused-variable] BACKEND *be; ^~ [ 62%] Building C object CMakeFiles/pound.dir/src/http2.c.o /usr/bin/cc -I/builddir/build/BUILD/Pound-3.0d/include -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unused-result -Wno-cast-qual -Wno-discarded-qualifiers -D_GNU_SOURCE -O2 -pthread -o CMakeFiles/pound.dir/src/http2.c.o -c /builddir/build/BUILD/Pound-3.0d/src/http2.c /builddir/build/BUILD/Pound-3.0d/src/http.c: In function 'thr_service': /builddir/build/BUILD/Pound-3.0d/src/http.c:96:40: warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitialized] cur->be = svc->backends[i]; ^ /builddir/build/BUILD/Pound-3.0d/src/http2.c: In function 'do_http2': /builddir/build/BUILD/Pound-3.0d/src/http2.c:558:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(as->at_eos = (header.flags & 0x01)) { ^~ /builddir/build/BUILD/Pound-3.0d/src/http2.c:286:34: warning: unused variable 'h_cont' [-Wunused-variable] struct hpack_headerblock *h_cont; ^~~~~~ [ 75%] Building C object CMakeFiles/pound.dir/src/pound.c.o /usr/bin/cc -I/builddir/build/BUILD/Pound-3.0d/include -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unused-result -Wno-cast-qual -Wno-discarded-qualifiers -D_GNU_SOURCE -O2 -pthread -o CMakeFiles/pound.dir/src/pound.c.o -c /builddir/build/BUILD/Pound-3.0d/src/pound.c /builddir/build/BUILD/Pound-3.0d/src/pound.c: In function 'main': /builddir/build/BUILD/Pound-3.0d/src/pound.c:52:58: warning: unused variable 'msg' [-Wunused-variable] char name[NI_MAXHOST], port[NI_MAXSERV], *msg; ^~~ /builddir/build/BUILD/Pound-3.0d/src/pound.c:51:22: warning: unused variable 'be' [-Wunused-variable] BACKEND *be; ^~ /builddir/build/BUILD/Pound-3.0d/src/pound.c:47:36: warning: unused variable 's_listener' [-Wunused-variable] int i, j, n, s_in, s_listener; ^~~~~~~~~~ [ 87%] Building C object CMakeFiles/pound.dir/src/util.c.o /usr/bin/cc -I/builddir/build/BUILD/Pound-3.0d/include -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unused-result -Wno-cast-qual -Wno-discarded-qualifiers -D_GNU_SOURCE -O2 -pthread -o CMakeFiles/pound.dir/src/util.c.o -c /builddir/build/BUILD/Pound-3.0d/src/util.c /builddir/build/BUILD/Pound-3.0d/src/util.c: In function 'thr_resurrect': /builddir/build/BUILD/Pound-3.0d/src/util.c:75:25: warning: unused variable 't_be' [-Wunused-variable] BACKEND **dead_be, *t_be; ^~~~ /builddir/build/BUILD/Pound-3.0d/src/util.c: In function 'do_sni': /builddir/build/BUILD/Pound-3.0d/src/util.c:164:19: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(name, host_name, host_len); ^~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /builddir/build/BUILD/Pound-3.0d/include/pound.h:45, from /builddir/build/BUILD/Pound-3.0d/src/util.c:28: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'const unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ [100%] Linking C executable pound /usr/bin/cmake -E cmake_link_script CMakeFiles/pound.dir/link.txt --verbose=1 /usr/bin/cc -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unused-result -Wno-cast-qual -Wno-discarded-qualifiers -D_GNU_SOURCE -O2 -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -rdynamic CMakeFiles/pound.dir/src/backend.c.o CMakeFiles/pound.dir/src/config.c.o CMakeFiles/pound.dir/src/hpack.c.o CMakeFiles/pound.dir/src/http.c.o CMakeFiles/pound.dir/src/http2.c.o CMakeFiles/pound.dir/src/pound.c.o CMakeFiles/pound.dir/src/util.c.o -o pound -lyaml -lnanomsg -lpthread -lmbedcrypto -lmbedx509 -lmbedtls -lpcreposix -pthread make[2]: Leaving directory '/builddir/build/BUILD/Pound-3.0d/build' [100%] Built target pound make[1]: Leaving directory '/builddir/build/BUILD/Pound-3.0d/build' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/Pound-3.0d/build/CMakeFiles 0 make: Leaving directory '/builddir/build/BUILD/Pound-3.0d/build' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.LThpi0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/Pound3-3.0-1.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/Pound3-3.0-1.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/Pound3-3.0-1.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/Pound3-3.0-1.el8.x86_64 + cd Pound-3.0d + install -d /builddir/build/BUILDROOT/Pound3-3.0-1.el8.x86_64/var/lib/pound + install -p -D -m 755 /builddir/build/BUILD/Pound-3.0d/build/pound /builddir/build/BUILDROOT/Pound3-3.0-1.el8.x86_64/usr/sbin/pound3 + install -p -D -m 644 /builddir/build/SOURCES/pound3.service /builddir/build/BUILDROOT/Pound3-3.0-1.el8.x86_64/usr/lib/systemd/system/pound3.service + install -p -D -m 644 /builddir/build/SOURCES/pound.yaml /builddir/build/BUILDROOT/Pound3-3.0-1.el8.x86_64/etc/pound/pound.yaml + install -p -D -m 644 /builddir/build/BUILD/Pound-3.0d/man/pound.8 /builddir/build/BUILDROOT/Pound3-3.0-1.el8.x86_64/usr/share/man/man8/pound3.8 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/Pound3-3.0-1.el8.x86_64/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 '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.fifu3n + umask 022 + cd /builddir/build/BUILD + cd Pound-3.0d + cd . + /usr/bin/ctest --output-on-failure --force-new-ctest-process -j2 Test project /builddir/build/BUILD/Pound-3.0d No tests were found!!! + cd - /builddir/build/BUILD/Pound-3.0d + exit 0 Processing files: Pound3-3.0-1.el8.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.6zjeRL + umask 022 + cd /builddir/build/BUILD + cd Pound-3.0d + DOCDIR=/builddir/build/BUILDROOT/Pound3-3.0-1.el8.x86_64/usr/share/doc/Pound3 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/Pound3-3.0-1.el8.x86_64/usr/share/doc/Pound3 + cp -pr README.md /builddir/build/BUILDROOT/Pound3-3.0-1.el8.x86_64/usr/share/doc/Pound3 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.jEbqG9 + umask 022 + cd /builddir/build/BUILD + cd Pound-3.0d + LICENSEDIR=/builddir/build/BUILDROOT/Pound3-3.0-1.el8.x86_64/usr/share/licenses/Pound3 + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/Pound3-3.0-1.el8.x86_64/usr/share/licenses/Pound3 + cp -pr GPL.txt /builddir/build/BUILDROOT/Pound3-3.0-1.el8.x86_64/usr/share/licenses/Pound3 + exit 0 Provides: Pound3 = 3:3.0-1.el8 Pound3(x86-64) = 3:3.0-1.el8 config(Pound3) = 3:3.0-1.el8 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 /usr/sbin/groupadd /usr/sbin/useradd Requires(post): /bin/sh Requires(preun): /bin/sh Requires(postun): /bin/sh Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.25)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libmbedcrypto.so.3()(64bit) libmbedtls.so.12()(64bit) libmbedx509.so.0()(64bit) libnanomsg.so.5()(64bit) libpcreposix.so.0()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libyaml-0.so.2()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/Pound3-3.0-1.el8.x86_64 Wrote: /builddir/build/RPMS/Pound3-3.0-1.el8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.TIR5Rx + umask 022 + cd /builddir/build/BUILD + cd Pound-3.0d + /usr/bin/rm -rf /builddir/build/BUILDROOT/Pound3-3.0-1.el8.x86_64 + exit 0 Child return code was: 0