Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/libserf.spec'], chrootPath='/var/lib/mock/dist-oc9-build-42548-14591/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/libserf.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'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/libserf-1.3.9-3.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/libserf.spec'], chrootPath='/var/lib/mock/dist-oc9-build-42548-14591/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/libserf.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'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZEkbEi + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf serf-1.3.9 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/serf-1.3.9.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd serf-1.3.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/libserf-norpath.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/libserf-python3.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/libserf-1.3.9-bio-ctrl.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/libserf-1.3.9-errgetfunc.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed -i /SHLIBVERSION/s/MAJOR/0/ SConstruct + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ZDDlsL + umask 022 + cd /builddir/build/BUILD + cd serf-1.3.9 + scons-3 'CFLAGS=-O2 -g' 'LINKFLAGS=%{__global_ldflags}' PREFIX=/usr LIBDIR=/usr/lib64 GSSAPI=/usr -j32 scons: Reading SConscript files ... Checking for GNU-compatible C compiler...yes scons: done reading SConscript files. scons: Building targets ... gcc -o context.o -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include context.c gcc -o incoming.o -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include incoming.c gcc -o outgoing.o -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include outgoing.c gcc -o ssltunnel.o -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include ssltunnel.c gcc -o buckets/aggregate_buckets.o -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include buckets/aggregate_buckets.c gcc -o buckets/allocator.o -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include buckets/allocator.c gcc -o buckets/barrier_buckets.o -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include buckets/barrier_buckets.c gcc -o buckets/buckets.o -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include buckets/buckets.c gcc -o buckets/bwtp_buckets.o -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include buckets/bwtp_buckets.c gcc -o buckets/chunk_buckets.o -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include buckets/chunk_buckets.c gcc -o buckets/dechunk_buckets.o -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include buckets/dechunk_buckets.c gcc -o buckets/deflate_buckets.o -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include buckets/deflate_buckets.c gcc -o buckets/file_buckets.o -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include buckets/file_buckets.c gcc -o buckets/headers_buckets.o -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include buckets/headers_buckets.c gcc -o buckets/iovec_buckets.o -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include buckets/iovec_buckets.c gcc -o buckets/limit_buckets.o -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include buckets/limit_buckets.c gcc -o buckets/mmap_buckets.o -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include buckets/mmap_buckets.c gcc -o buckets/request_buckets.o -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include buckets/request_buckets.c gcc -o buckets/response_body_buckets.o -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include buckets/response_body_buckets.c gcc -o buckets/response_buckets.o -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include buckets/response_buckets.c gcc -o buckets/simple_buckets.o -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include buckets/simple_buckets.c gcc -o buckets/socket_buckets.o -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include buckets/socket_buckets.c In function 'serf_headers_read', inlined from 'serf_headers_read_iovec' at buckets/headers_buckets.c:426:18: buckets/headers_buckets.c:363:8: warning: 'avail' may be used uninitialized [-Wmaybe-uninitialized] 363 | if (requested >= avail) { | ^ buckets/headers_buckets.c: In function 'serf_headers_read_iovec': buckets/headers_buckets.c:355:16: note: 'avail' was declared here 355 | apr_size_t avail; | ^~~~~ buckets/headers_buckets.c:429:39: warning: 'data' may be used uninitialized [-Wmaybe-uninitialized] 429 | vecs[*vecs_used].iov_base = (char*)data; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ buckets/headers_buckets.c:417:21: note: 'data' was declared here 417 | const char *data; | ^~~~ buckets/headers_buckets.c: In function 'serf_headers_read': buckets/headers_buckets.c:363:8: warning: 'avail' may be used uninitialized [-Wmaybe-uninitialized] 363 | if (requested >= avail) { | ^ buckets/headers_buckets.c:355:16: note: 'avail' was declared here 355 | apr_size_t avail; | ^~~~~ gcc -o buckets/ssl_buckets.o -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include buckets/ssl_buckets.c gcc -o auth/auth.o -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include auth/auth.c gcc -o auth/auth_basic.o -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include auth/auth_basic.c gcc -o auth/auth_digest.o -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include auth/auth_digest.c gcc -o auth/auth_spnego.o -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include auth/auth_spnego.c gcc -o auth/auth_spnego_gss.o -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include auth/auth_spnego_gss.c gcc -o auth/auth_spnego_sspi.o -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include auth/auth_spnego_sspi.c gcc -o context.os -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -fPIC -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include context.c gcc -o incoming.os -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -fPIC -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include incoming.c gcc -o outgoing.os -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -fPIC -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include outgoing.c gcc -o ssltunnel.os -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -fPIC -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include ssltunnel.c buckets/ssl_buckets.c: In function 'get_subject_alt_names': buckets/ssl_buckets.c:541:41: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 541 | strlen(nm->d.ia5->data) != nm->d.ia5->length) | ~~~~~~~~~^~~~~~ | | | unsigned char * In file included from /usr/include/apr-1/apr_want.h:63, from /usr/include/apr-1/apr_pools.h:47, from buckets/ssl_buckets.c:25: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ gcc -o buckets/aggregate_buckets.os -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -fPIC -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include buckets/aggregate_buckets.c gcc -o buckets/barrier_buckets.os -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -fPIC -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include buckets/barrier_buckets.c gcc -o buckets/allocator.os -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -fPIC -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include buckets/allocator.c gcc -o buckets/bwtp_buckets.os -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -fPIC -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include buckets/bwtp_buckets.c gcc -o buckets/dechunk_buckets.os -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -fPIC -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include buckets/dechunk_buckets.c gcc -o buckets/file_buckets.os -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -fPIC -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include buckets/file_buckets.c gcc -o buckets/chunk_buckets.os -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -fPIC -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include buckets/chunk_buckets.c gcc -o buckets/iovec_buckets.os -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -fPIC -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include buckets/iovec_buckets.c gcc -o buckets/mmap_buckets.os -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -fPIC -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include buckets/mmap_buckets.c gcc -o buckets/response_body_buckets.os -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -fPIC -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include buckets/response_body_buckets.c gcc -o buckets/response_buckets.os -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -fPIC -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include buckets/response_buckets.c gcc -o buckets/socket_buckets.os -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -fPIC -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include buckets/socket_buckets.c gcc -o auth/auth.os -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -fPIC -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include auth/auth.c gcc -o buckets/headers_buckets.os -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -fPIC -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include buckets/headers_buckets.c gcc -o buckets/limit_buckets.os -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -fPIC -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include buckets/limit_buckets.c gcc -o buckets/request_buckets.os -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -fPIC -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include buckets/request_buckets.c gcc -o buckets/simple_buckets.os -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -fPIC -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include buckets/simple_buckets.c gcc -o buckets/ssl_buckets.os -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -fPIC -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include buckets/ssl_buckets.c gcc -o auth/auth_digest.os -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -fPIC -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include auth/auth_digest.c gcc -o buckets/buckets.os -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -fPIC -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include buckets/buckets.c gcc -o buckets/deflate_buckets.os -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -fPIC -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include buckets/deflate_buckets.c gcc -o auth/auth_basic.os -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -fPIC -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include auth/auth_basic.c gcc -o auth/auth_spnego.os -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -fPIC -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include auth/auth_spnego.c gcc -o auth/auth_spnego_gss.os -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -fPIC -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include auth/auth_spnego_gss.c gcc -o auth/auth_spnego_sspi.os -c -O2 -g -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -fPIC -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1 -I/usr/include auth/auth_spnego_sspi.c Creating 'serf-1.pc' In function 'serf_headers_read', inlined from 'serf_headers_read_iovec' at buckets/headers_buckets.c:426:18: buckets/headers_buckets.c:363:8: warning: 'avail' may be used uninitialized [-Wmaybe-uninitialized] 363 | if (requested >= avail) { | ^ buckets/headers_buckets.c: In function 'serf_headers_read_iovec': buckets/headers_buckets.c:355:16: note: 'avail' was declared here 355 | apr_size_t avail; | ^~~~~ buckets/headers_buckets.c:429:39: warning: 'data' may be used uninitialized [-Wmaybe-uninitialized] 429 | vecs[*vecs_used].iov_base = (char*)data; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ buckets/headers_buckets.c:417:21: note: 'data' was declared here 417 | const char *data; | ^~~~ buckets/headers_buckets.c: In function 'serf_headers_read': buckets/headers_buckets.c:363:8: warning: 'avail' may be used uninitialized [-Wmaybe-uninitialized] 363 | if (requested >= avail) { | ^ buckets/headers_buckets.c:355:16: note: 'avail' was declared here 355 | apr_size_t avail; | ^~~~~ buckets/ssl_buckets.c: In function 'get_subject_alt_names': buckets/ssl_buckets.c:541:41: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 541 | strlen(nm->d.ia5->data) != nm->d.ia5->length) | ~~~~~~~~~^~~~~~ | | | unsigned char * In file included from /usr/include/apr-1/apr_want.h:63, from /usr/include/apr-1/apr_pools.h:47, from buckets/ssl_buckets.c:25: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ar rc libserf-1.a context.o incoming.o outgoing.o ssltunnel.o buckets/aggregate_buckets.o buckets/allocator.o buckets/barrier_buckets.o buckets/buckets.o buckets/bwtp_buckets.o buckets/chunk_buckets.o buckets/dechunk_buckets.o buckets/deflate_buckets.o buckets/file_buckets.o buckets/headers_buckets.o buckets/iovec_buckets.o buckets/limit_buckets.o buckets/mmap_buckets.o buckets/request_buckets.o buckets/response_body_buckets.o buckets/response_buckets.o buckets/simple_buckets.o buckets/socket_buckets.o buckets/ssl_buckets.o auth/auth.o auth/auth_basic.o auth/auth_digest.o auth/auth_spnego.o auth/auth_spnego_gss.o auth/auth_spnego_sspi.o ranlib libserf-1.a gcc -o libserf-1.so.0.3.0 %{__global_ldflags} -shared -Wl,-soname=libserf-1.so.0 context.os incoming.os outgoing.os ssltunnel.os buckets/aggregate_buckets.os buckets/allocator.os buckets/barrier_buckets.os buckets/buckets.os buckets/bwtp_buckets.os buckets/chunk_buckets.os buckets/dechunk_buckets.os buckets/deflate_buckets.os buckets/file_buckets.os buckets/headers_buckets.os buckets/iovec_buckets.os buckets/limit_buckets.os buckets/mmap_buckets.os buckets/request_buckets.os buckets/response_body_buckets.os buckets/response_buckets.os buckets/simple_buckets.os buckets/socket_buckets.os buckets/ssl_buckets.os auth/auth.os auth/auth_basic.os auth/auth_digest.os auth/auth_spnego.os auth/auth_spnego_gss.os auth/auth_spnego_sspi.os -L/usr/lib64 -L/usr/lib -lssl -lcrypto -lz -lapr-1 -lpthread -laprutil-1 -lldap -llber -lexpat -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err /bin/ld: cannot find %{__global_ldflags}: No such file or directory collect2: error: ld returned 1 exit status scons: *** [libserf-1.so.0.3.0] Error 1 scons: building terminated because of errors. error: Bad exit status from /var/tmp/rpm-tmp.ZDDlsL (%build) Bad exit status from /var/tmp/rpm-tmp.ZDDlsL (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/libserf.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/libserf.spec