Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/libftl.spec'], chrootPath='/var/lib/mock/epel-7-ppc64le-1633806958.946944/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.9xqi4bxn:/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.9xqi4bxn:/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', '468ba6ab977240d2a8a92430d712596a', '-D', '/var/lib/mock/epel-7-ppc64le-1633806958.946944/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9xqi4bxn:/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', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/libftl.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: ppc64le Building for target ppc64le Wrote: /builddir/build/SRPMS/libftl-0.9.14-8.el7.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/libftl.spec'], chrootPath='/var/lib/mock/epel-7-ppc64le-1633806958.946944/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.9xqi4bxn:/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.9xqi4bxn:/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', 'c55cbed2b2d74cfc909c56b534a48d12', '-D', '/var/lib/mock/epel-7-ppc64le-1633806958.946944/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9xqi4bxn:/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', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/libftl.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: ppc64le Building for target ppc64le Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.IT48i9 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ftl-sdk-0.9.14 + /usr/bin/gzip -dc /builddir/build/SOURCES/libftl-0.9.14.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd ftl-sdk-0.9.14 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/cmake-Use-external-jansson-if-possible.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/cmake-Install-into-standard-directories.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/cmake-Install-a-pkgconfig-file.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/refactor-remove-ftl_app-completely.patch + /usr/bin/patch -p1 -s + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ye3by1 + umask 022 + cd /builddir/build/BUILD + cd ftl-sdk-0.9.14 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + /usr/bin/cmake -S . -B ppc64le-redhat-linux-gnu -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 -DDISABLE_AUTO_INGEST=TRUE -DDISABLE_FTL_APP=TRUE -DFTL_INSTALL_INCLUDES=TRUE -- The C compiler identification is GNU 4.8.5 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- The CXX compiler identification is GNU 4.8.5 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- FTL DISABLE_AUTO_INGEST: TRUE -- FTL FTL_STATIC_COMPILE: OFF -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found PkgConfig: /usr/bin/pkg-config (found version "0.27.1") -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE DISABLE_FTL_APP FTL_INSTALL_INCLUDES INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/ftl-sdk-0.9.14/ppc64le-redhat-linux-gnu + /usr/bin/cmake --build ppc64le-redhat-linux-gnu -j2 --verbose /usr/bin/cmake -S/builddir/build/BUILD/ftl-sdk-0.9.14 -B/builddir/build/BUILD/ftl-sdk-0.9.14/ppc64le-redhat-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/ftl-sdk-0.9.14/ppc64le-redhat-linux-gnu/CMakeFiles /builddir/build/BUILD/ftl-sdk-0.9.14/ppc64le-redhat-linux-gnu//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory `/builddir/build/BUILD/ftl-sdk-0.9.14/ppc64le-redhat-linux-gnu' /usr/bin/gmake -f CMakeFiles/ftl.dir/build.make CMakeFiles/ftl.dir/depend gmake[2]: Entering directory `/builddir/build/BUILD/ftl-sdk-0.9.14/ppc64le-redhat-linux-gnu' cd /builddir/build/BUILD/ftl-sdk-0.9.14/ppc64le-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/ftl-sdk-0.9.14 /builddir/build/BUILD/ftl-sdk-0.9.14 /builddir/build/BUILD/ftl-sdk-0.9.14/ppc64le-redhat-linux-gnu /builddir/build/BUILD/ftl-sdk-0.9.14/ppc64le-redhat-linux-gnu /builddir/build/BUILD/ftl-sdk-0.9.14/ppc64le-redhat-linux-gnu/CMakeFiles/ftl.dir/DependInfo.cmake --color= Dependee "/builddir/build/BUILD/ftl-sdk-0.9.14/ppc64le-redhat-linux-gnu/CMakeFiles/ftl.dir/DependInfo.cmake" is newer than depender "/builddir/build/BUILD/ftl-sdk-0.9.14/ppc64le-redhat-linux-gnu/CMakeFiles/ftl.dir/depend.internal". Dependee "/builddir/build/BUILD/ftl-sdk-0.9.14/ppc64le-redhat-linux-gnu/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/builddir/build/BUILD/ftl-sdk-0.9.14/ppc64le-redhat-linux-gnu/CMakeFiles/ftl.dir/depend.internal". Scanning dependencies of target ftl gmake[2]: Leaving directory `/builddir/build/BUILD/ftl-sdk-0.9.14/ppc64le-redhat-linux-gnu' /usr/bin/gmake -f CMakeFiles/ftl.dir/build.make CMakeFiles/ftl.dir/build gmake[2]: Entering directory `/builddir/build/BUILD/ftl-sdk-0.9.14/ppc64le-redhat-linux-gnu' [ 16%] Building C object CMakeFiles/ftl.dir/libftl/hmac/hmac.c.o [ 16%] Building C object CMakeFiles/ftl.dir/libftl/hmac/sha2.c.o /usr/bin/cc -DDISABLE_AUTO_INGEST -Dftl_EXPORTS -I/builddir/build/BUILD/ftl-sdk-0.9.14/libftl/posix -I/builddir/build/BUILD/ftl-sdk-0.9.14/libftl -I/builddir/build/BUILD/ftl-sdk-0.9.14/libftl/gettimeofday -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -fPIC -o CMakeFiles/ftl.dir/libftl/hmac/hmac.c.o -c /builddir/build/BUILD/ftl-sdk-0.9.14/libftl/hmac/hmac.c /usr/bin/cc -DDISABLE_AUTO_INGEST -Dftl_EXPORTS -I/builddir/build/BUILD/ftl-sdk-0.9.14/libftl/posix -I/builddir/build/BUILD/ftl-sdk-0.9.14/libftl -I/builddir/build/BUILD/ftl-sdk-0.9.14/libftl/gettimeofday -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -fPIC -o CMakeFiles/ftl.dir/libftl/hmac/sha2.c.o -c /builddir/build/BUILD/ftl-sdk-0.9.14/libftl/hmac/sha2.c [ 25%] Building C object CMakeFiles/ftl.dir/libftl/gettimeofday/gettimeofday.c.o /usr/bin/cc -DDISABLE_AUTO_INGEST -Dftl_EXPORTS -I/builddir/build/BUILD/ftl-sdk-0.9.14/libftl/posix -I/builddir/build/BUILD/ftl-sdk-0.9.14/libftl -I/builddir/build/BUILD/ftl-sdk-0.9.14/libftl/gettimeofday -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -fPIC -o CMakeFiles/ftl.dir/libftl/gettimeofday/gettimeofday.c.o -c /builddir/build/BUILD/ftl-sdk-0.9.14/libftl/gettimeofday/gettimeofday.c [ 33%] Building C object CMakeFiles/ftl.dir/libftl/ftl-sdk.c.o /usr/bin/cc -DDISABLE_AUTO_INGEST -Dftl_EXPORTS -I/builddir/build/BUILD/ftl-sdk-0.9.14/libftl/posix -I/builddir/build/BUILD/ftl-sdk-0.9.14/libftl -I/builddir/build/BUILD/ftl-sdk-0.9.14/libftl/gettimeofday -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -fPIC -o CMakeFiles/ftl.dir/libftl/ftl-sdk.c.o -c /builddir/build/BUILD/ftl-sdk-0.9.14/libftl/ftl-sdk.c [ 41%] Building C object CMakeFiles/ftl.dir/libftl/handshake.c.o /usr/bin/cc -DDISABLE_AUTO_INGEST -Dftl_EXPORTS -I/builddir/build/BUILD/ftl-sdk-0.9.14/libftl/posix -I/builddir/build/BUILD/ftl-sdk-0.9.14/libftl -I/builddir/build/BUILD/ftl-sdk-0.9.14/libftl/gettimeofday -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -fPIC -o CMakeFiles/ftl.dir/libftl/handshake.c.o -c /builddir/build/BUILD/ftl-sdk-0.9.14/libftl/handshake.c /builddir/build/BUILD/ftl-sdk-0.9.14/libftl/ftl-sdk.c:10:12: warning: '_lookup_ingest_ip' declared 'static' but never defined [-Wunused-function] static int _lookup_ingest_ip(const char *ingest_location, char *ingest_ip); ^ [ 50%] Building C object CMakeFiles/ftl.dir/libftl/ingest.c.o /usr/bin/cc -DDISABLE_AUTO_INGEST -Dftl_EXPORTS -I/builddir/build/BUILD/ftl-sdk-0.9.14/libftl/posix -I/builddir/build/BUILD/ftl-sdk-0.9.14/libftl -I/builddir/build/BUILD/ftl-sdk-0.9.14/libftl/gettimeofday -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -fPIC -o CMakeFiles/ftl.dir/libftl/ingest.c.o -c /builddir/build/BUILD/ftl-sdk-0.9.14/libftl/ingest.c /builddir/build/BUILD/ftl-sdk-0.9.14/libftl/ingest.c: In function '_ping_server': /builddir/build/BUILD/ftl-sdk-0.9.14/libftl/ingest.c:34:7: warning: unused variable 'ingest_port' [-Wunused-variable] int ingest_port = INGEST_PORT; ^ /builddir/build/BUILD/ftl-sdk-0.9.14/libftl/ingest.c: In function '_ingest_get_rtt': /builddir/build/BUILD/ftl-sdk-0.9.14/libftl/ingest.c:82:41: warning: unused variable 'ftl' [-Wunused-variable] ftl_stream_configuration_private_t *ftl = thread_data->ftl; ^ /builddir/build/BUILD/ftl-sdk-0.9.14/libftl/ingest.c: In function 'ftl_find_closest_available_ingest': /builddir/build/BUILD/ftl-sdk-0.9.14/libftl/ingest.c:179:9: warning: unused variable 'ms' [-Wunused-variable] int ms = (int)timeval_to_ms(&delta); ^ /builddir/build/BUILD/ftl-sdk-0.9.14/libftl/ingest.c: At top level: /builddir/build/BUILD/ftl-sdk-0.9.14/libftl/ingest.c:8:12: warning: '_ingest_lookup_ip' declared 'static' but never defined [-Wunused-function] static int _ingest_lookup_ip(const char *ingest_location, char ***ingest_ip); ^ /builddir/build/BUILD/ftl-sdk-0.9.14/libftl/ingest.c: In function '_ingest_get_rtt': /builddir/build/BUILD/ftl-sdk-0.9.14/libftl/ingest.c:74:18: warning: 'sock' may be used uninitialized in this function [-Wmaybe-uninitialized] shutdown_socket(sock, SD_BOTH); ^ /builddir/build/BUILD/ftl-sdk-0.9.14/libftl/ingest.c:19:10: note: 'sock' was declared here SOCKET sock; ^ [ 58%] Building C object CMakeFiles/ftl.dir/libftl/ftl_helpers.c.o /usr/bin/cc -DDISABLE_AUTO_INGEST -Dftl_EXPORTS -I/builddir/build/BUILD/ftl-sdk-0.9.14/libftl/posix -I/builddir/build/BUILD/ftl-sdk-0.9.14/libftl -I/builddir/build/BUILD/ftl-sdk-0.9.14/libftl/gettimeofday -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -fPIC -o CMakeFiles/ftl.dir/libftl/ftl_helpers.c.o -c /builddir/build/BUILD/ftl-sdk-0.9.14/libftl/ftl_helpers.c /builddir/build/BUILD/ftl-sdk-0.9.14/libftl/ftl_helpers.c: In function 'recv_all': /builddir/build/BUILD/ftl-sdk-0.9.14/libftl/ftl_helpers.c:71:9: warning: unused variable 'pos' [-Wunused-variable] int pos = 0; ^ [ 66%] Building C object CMakeFiles/ftl.dir/libftl/media.c.o /usr/bin/cc -DDISABLE_AUTO_INGEST -Dftl_EXPORTS -I/builddir/build/BUILD/ftl-sdk-0.9.14/libftl/posix -I/builddir/build/BUILD/ftl-sdk-0.9.14/libftl -I/builddir/build/BUILD/ftl-sdk-0.9.14/libftl/gettimeofday -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -fPIC -o CMakeFiles/ftl.dir/libftl/media.c.o -c /builddir/build/BUILD/ftl-sdk-0.9.14/libftl/media.c /builddir/build/BUILD/ftl-sdk-0.9.14/libftl/media.c: In function 'media_speed_test': /builddir/build/BUILD/ftl-sdk-0.9.14/libftl/media.c:445:7: warning: unused variable 'rtp_hdr_len' [-Wunused-variable] int rtp_hdr_len = 0; ^ /builddir/build/BUILD/ftl-sdk-0.9.14/libftl/media.c:421:9: warning: unused variable 'packet_loss' [-Wunused-variable] float packet_loss = 0.f; ^ /builddir/build/BUILD/ftl-sdk-0.9.14/libftl/media.c:411:23: warning: unused variable 'media' [-Wunused-variable] ftl_media_config_t *media = &ftl->media; ^ /builddir/build/BUILD/ftl-sdk-0.9.14/libftl/media.c: In function 'media_send_audio': /builddir/build/BUILD/ftl-sdk-0.9.14/libftl/media.c:590:7: warning: unused variable 'retries' [-Wunused-variable] int retries = 0; ^ /builddir/build/BUILD/ftl-sdk-0.9.14/libftl/media.c:583:11: warning: unused variable 'nalu_type' [-Wunused-variable] uint8_t nalu_type = 0; ^ /builddir/build/BUILD/ftl-sdk-0.9.14/libftl/media.c: In function 'recv_thread': /builddir/build/BUILD/ftl-sdk-0.9.14/libftl/media.c:1116:56: warning: variable 'ssrcSender' set but not used [-Wunused-but-set-variable] int version, padding, feedbackType, ptype, length, ssrcSender, ssrcMedia; ^ /builddir/build/BUILD/ftl-sdk-0.9.14/libftl/media.c:1116:18: warning: variable 'padding' set but not used [-Wunused-but-set-variable] int version, padding, feedbackType, ptype, length, ssrcSender, ssrcMedia; ^ /builddir/build/BUILD/ftl-sdk-0.9.14/libftl/media.c:1116:9: warning: variable 'version' set but not used [-Wunused-but-set-variable] int version, padding, feedbackType, ptype, length, ssrcSender, ssrcMedia; ^ /builddir/build/BUILD/ftl-sdk-0.9.14/libftl/media.c: In function 'video_send_thread': /builddir/build/BUILD/ftl-sdk-0.9.14/libftl/media.c:1197:23: warning: unused variable 'media' [-Wunused-variable] ftl_media_config_t *media = &ftl->media; ^ /builddir/build/BUILD/ftl-sdk-0.9.14/libftl/media.c: In function 'ftl_adaptive_bitrate_thread': /builddir/build/BUILD/ftl-sdk-0.9.14/libftl/media.c:1622:36: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset(thread_params, 0, sizeof(thread_params)); ^ /builddir/build/BUILD/ftl-sdk-0.9.14/libftl/media.c:1625:44: warning: assignment from incompatible pointer type [enabled by default] thread_params->change_bitrate_callback = change_bitrate_callback; ^ [ 75%] Building C object CMakeFiles/ftl.dir/libftl/logging.c.o /usr/bin/cc -DDISABLE_AUTO_INGEST -Dftl_EXPORTS -I/builddir/build/BUILD/ftl-sdk-0.9.14/libftl/posix -I/builddir/build/BUILD/ftl-sdk-0.9.14/libftl -I/builddir/build/BUILD/ftl-sdk-0.9.14/libftl/gettimeofday -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -fPIC -o CMakeFiles/ftl.dir/libftl/logging.c.o -c /builddir/build/BUILD/ftl-sdk-0.9.14/libftl/logging.c [ 83%] Building C object CMakeFiles/ftl.dir/libftl/posix/socket.c.o /usr/bin/cc -DDISABLE_AUTO_INGEST -Dftl_EXPORTS -I/builddir/build/BUILD/ftl-sdk-0.9.14/libftl/posix -I/builddir/build/BUILD/ftl-sdk-0.9.14/libftl -I/builddir/build/BUILD/ftl-sdk-0.9.14/libftl/gettimeofday -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -fPIC -o CMakeFiles/ftl.dir/libftl/posix/socket.c.o -c /builddir/build/BUILD/ftl-sdk-0.9.14/libftl/posix/socket.c /builddir/build/BUILD/ftl-sdk-0.9.14/libftl/posix/socket.c: In function 'get_socket_send_buf': /builddir/build/BUILD/ftl-sdk-0.9.14/libftl/posix/socket.c:82:3: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] return getsockopt(socket, SOL_SOCKET, SO_SNDBUF, (char*)buffer_space, &len); ^ In file included from /builddir/build/BUILD/ftl-sdk-0.9.14/libftl/ftl_private.h:42:0, from /builddir/build/BUILD/ftl-sdk-0.9.14/libftl/posix/socket.c:26: /usr/include/sys/socket.h:220:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' extern int getsockopt (int __fd, int __level, int __optname, ^ /builddir/build/BUILD/ftl-sdk-0.9.14/libftl/media.c: In function 'video_send_thread': /builddir/build/BUILD/ftl-sdk-0.9.14/libftl/media.c:1258:29: warning: 'bytes_per_ms' may be used uninitialized in this function [-Wmaybe-uninitialized] _update_xmit_level(ftl, &transmit_level, &start_tv, bytes_per_ms); ^ [ 91%] Building C object CMakeFiles/ftl.dir/libftl/posix/threads.c.o /usr/bin/cc -DDISABLE_AUTO_INGEST -Dftl_EXPORTS -I/builddir/build/BUILD/ftl-sdk-0.9.14/libftl/posix -I/builddir/build/BUILD/ftl-sdk-0.9.14/libftl -I/builddir/build/BUILD/ftl-sdk-0.9.14/libftl/gettimeofday -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -fPIC -o CMakeFiles/ftl.dir/libftl/posix/threads.c.o -c /builddir/build/BUILD/ftl-sdk-0.9.14/libftl/posix/threads.c /builddir/build/BUILD/ftl-sdk-0.9.14/libftl/posix/threads.c: In function 'os_semaphore_create': /builddir/build/BUILD/ftl-sdk-0.9.14/libftl/posix/threads.c:71:7: warning: unused variable 'retval' [-Wunused-variable] int retval = 0; ^ [100%] Linking C shared library libftl.so /usr/bin/cmake -E cmake_link_script CMakeFiles/ftl.dir/link.txt --verbose=1 /usr/bin/cc -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -Wl,-z,relro -shared -Wl,-soname,libftl.so.0 -o libftl.so.0.5.0 CMakeFiles/ftl.dir/libftl/hmac/hmac.c.o CMakeFiles/ftl.dir/libftl/hmac/sha2.c.o CMakeFiles/ftl.dir/libftl/gettimeofday/gettimeofday.c.o CMakeFiles/ftl.dir/libftl/ftl-sdk.c.o CMakeFiles/ftl.dir/libftl/handshake.c.o CMakeFiles/ftl.dir/libftl/ingest.c.o CMakeFiles/ftl.dir/libftl/ftl_helpers.c.o CMakeFiles/ftl.dir/libftl/media.c.o CMakeFiles/ftl.dir/libftl/logging.c.o CMakeFiles/ftl.dir/libftl/posix/socket.c.o CMakeFiles/ftl.dir/libftl/posix/threads.c.o /usr/bin/cmake -E cmake_symlink_library libftl.so.0.5.0 libftl.so.0 libftl.so gmake[2]: Leaving directory `/builddir/build/BUILD/ftl-sdk-0.9.14/ppc64le-redhat-linux-gnu' [100%] Built target ftl gmake[1]: Leaving directory `/builddir/build/BUILD/ftl-sdk-0.9.14/ppc64le-redhat-linux-gnu' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/ftl-sdk-0.9.14/ppc64le-redhat-linux-gnu/CMakeFiles 0 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Pg39NU + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libftl-0.9.14-8.el7.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libftl-0.9.14-8.el7.ppc64le ++ dirname /builddir/build/BUILDROOT/libftl-0.9.14-8.el7.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libftl-0.9.14-8.el7.ppc64le + cd ftl-sdk-0.9.14 + DESTDIR=/builddir/build/BUILDROOT/libftl-0.9.14-8.el7.ppc64le + /usr/bin/cmake --install ppc64le-redhat-linux-gnu -- Install configuration: "" -- Installing: /builddir/build/BUILDROOT/libftl-0.9.14-8.el7.ppc64le/usr/lib64/libftl.so.0.5.0 -- Installing: /builddir/build/BUILDROOT/libftl-0.9.14-8.el7.ppc64le/usr/lib64/libftl.so.0 -- Installing: /builddir/build/BUILDROOT/libftl-0.9.14-8.el7.ppc64le/usr/lib64/libftl.so -- Installing: /builddir/build/BUILDROOT/libftl-0.9.14-8.el7.ppc64le/usr/include/libftl/ftl.h -- Installing: /builddir/build/BUILDROOT/libftl-0.9.14-8.el7.ppc64le/usr/lib64/pkgconfig/libftl.pc + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/ftl-sdk-0.9.14 extracting debug info from /builddir/build/BUILDROOT/libftl-0.9.14-8.el7.ppc64le/usr/lib64/libftl.so.0.5.0 dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. symlinked /usr/lib/debug/usr/lib64/libftl.so.0.5.0.debug to /usr/lib/debug/usr/lib64/libftl.so.debug symlinked /usr/lib/debug/usr/lib64/libftl.so.0.5.0.debug to /usr/lib/debug/usr/lib64/libftl.so.0.debug 351 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: libftl-0.9.14-8.el7.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.fT9haO + umask 022 + cd /builddir/build/BUILD + cd ftl-sdk-0.9.14 + DOCDIR=/builddir/build/BUILDROOT/libftl-0.9.14-8.el7.ppc64le/usr/share/doc/libftl-0.9.14 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libftl-0.9.14-8.el7.ppc64le/usr/share/doc/libftl-0.9.14 + cp -pr README.md /builddir/build/BUILDROOT/libftl-0.9.14-8.el7.ppc64le/usr/share/doc/libftl-0.9.14 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.vofDwH + umask 022 + cd /builddir/build/BUILD + cd ftl-sdk-0.9.14 + LICENSEDIR=/builddir/build/BUILDROOT/libftl-0.9.14-8.el7.ppc64le/usr/share/licenses/libftl-0.9.14 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libftl-0.9.14-8.el7.ppc64le/usr/share/licenses/libftl-0.9.14 + cp -pr LICENSE /builddir/build/BUILDROOT/libftl-0.9.14-8.el7.ppc64le/usr/share/licenses/libftl-0.9.14 + exit 0 Provides: libftl = 0.9.14-8.el7 libftl(ppc-64) = 0.9.14-8.el7 libftl.so.0()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) rtld(GNU_HASH) Processing files: libftl-devel-0.9.14-8.el7.ppc64le Provides: libftl-devel = 0.9.14-8.el7 libftl-devel(ppc-64) = 0.9.14-8.el7 pkgconfig(libftl) = 0.5.0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libftl.so.0()(64bit) pkgconfig(jansson) pkgconfig(libcurl) Processing files: libftl-debuginfo-0.9.14-8.el7.ppc64le Provides: libftl-debuginfo = 0.9.14-8.el7 libftl-debuginfo(ppc-64) = 0.9.14-8.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libftl-0.9.14-8.el7.ppc64le Wrote: /builddir/build/RPMS/libftl-0.9.14-8.el7.ppc64le.rpm Wrote: /builddir/build/RPMS/libftl-devel-0.9.14-8.el7.ppc64le.rpm Wrote: /builddir/build/RPMS/libftl-debuginfo-0.9.14-8.el7.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.CE1K9g + umask 022 + cd /builddir/build/BUILD + cd ftl-sdk-0.9.14 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libftl-0.9.14-8.el7.ppc64le + exit 0 Child return code was: 0