Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/tcplay.spec'], chrootPath='/var/lib/mock/f29-build-14779-6818/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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/tcplay.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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False BUILDSTDERR: warning: Macro expanded in comment on line 3: %global git_date 20130629 BUILDSTDERR: warning: Macro expanded in comment on line 4: %global git_hash b44b1fa BUILDSTDERR: warning: Macro expanded in comment on line 12: %{git_date}git%{git_hash}%{?dist} BUILDSTDERR: warning: Macro expanded in comment on line 18: %{git_user}/%{git_project}/tarball/%{git_hash}/%{git_project}-%{git_hash}.tar.gz Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/tcplay-2.0-12.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/tcplay.spec'], chrootPath='/var/lib/mock/f29-build-14779-6818/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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/tcplay.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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False BUILDSTDERR: warning: Macro expanded in comment on line 3: %global git_date 20130629 BUILDSTDERR: warning: Macro expanded in comment on line 4: %global git_hash b44b1fa BUILDSTDERR: warning: Macro expanded in comment on line 12: %{git_date}git%{git_hash}%{?dist} BUILDSTDERR: warning: Macro expanded in comment on line 18: %{git_user}/%{git_project}/tarball/%{git_hash}/%{git_project}-%{git_hash}.tar.gz Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.DBIvUS + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tc-play-2.0 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/v2.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd tc-play-2.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i -e s,-O3,, -e s,-fPIE,, CMakeLists.txt + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Omms1W + umask 022 + cd /builddir/build/BUILD + cd tc-play-2.0 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-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 -- The C compiler identification is GNU 8.1.1 -- The CXX compiler identification is GNU 8.1.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 -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PkgConfig: /usr/bin/pkg-config (found version "1.4.2") -- Checking for module 'devmapper' -- Found devmapper, version 1.02.147 -- Checking for module 'uuid' -- Found uuid, version 2.32.0 -- Looking for gcry_kdf_derive in gcrypt -- Looking for gcry_kdf_derive in gcrypt - found -- Configuring done -- Generating done BUILDSTDERR: CMake Warning: BUILDSTDERR: Manually-specified variables were not used by the project: BUILDSTDERR: CMAKE_CXX_FLAGS_RELEASE BUILDSTDERR: CMAKE_C_FLAGS_RELEASE BUILDSTDERR: CMAKE_Fortran_FLAGS_RELEASE BUILDSTDERR: INCLUDE_INSTALL_DIR BUILDSTDERR: LIB_INSTALL_DIR BUILDSTDERR: SHARE_INSTALL_PREFIX BUILDSTDERR: SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/tc-play-2.0 + make -j4 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' /usr/bin/cmake -H/builddir/build/BUILD/tc-play-2.0 -B/builddir/build/BUILD/tc-play-2.0 --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/tc-play-2.0/CMakeFiles /builddir/build/BUILD/tc-play-2.0/CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/builddir/build/BUILD/tc-play-2.0' make -f CMakeFiles/tcplay-so.dir/build.make CMakeFiles/tcplay-so.dir/depend make -f CMakeFiles/tcplay-bin.dir/build.make CMakeFiles/tcplay-bin.dir/depend make[2]: Entering directory '/builddir/build/BUILD/tc-play-2.0' cd /builddir/build/BUILD/tc-play-2.0 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/tc-play-2.0 /builddir/build/BUILD/tc-play-2.0 /builddir/build/BUILD/tc-play-2.0 /builddir/build/BUILD/tc-play-2.0 /builddir/build/BUILD/tc-play-2.0/CMakeFiles/tcplay-so.dir/DependInfo.cmake --color= make -f CMakeFiles/tcplay-static.dir/build.make CMakeFiles/tcplay-static.dir/depend make[2]: Entering directory '/builddir/build/BUILD/tc-play-2.0' cd /builddir/build/BUILD/tc-play-2.0 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/tc-play-2.0 /builddir/build/BUILD/tc-play-2.0 /builddir/build/BUILD/tc-play-2.0 /builddir/build/BUILD/tc-play-2.0 /builddir/build/BUILD/tc-play-2.0/CMakeFiles/tcplay-bin.dir/DependInfo.cmake --color= make[2]: Entering directory '/builddir/build/BUILD/tc-play-2.0' cd /builddir/build/BUILD/tc-play-2.0 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/tc-play-2.0 /builddir/build/BUILD/tc-play-2.0 /builddir/build/BUILD/tc-play-2.0 /builddir/build/BUILD/tc-play-2.0 /builddir/build/BUILD/tc-play-2.0/CMakeFiles/tcplay-static.dir/DependInfo.cmake --color= Scanning dependencies of target tcplay-so make[2]: Leaving directory '/builddir/build/BUILD/tc-play-2.0' make -f CMakeFiles/tcplay-so.dir/build.make CMakeFiles/tcplay-so.dir/build make[2]: Entering directory '/builddir/build/BUILD/tc-play-2.0' Scanning dependencies of target tcplay-static make[2]: Leaving directory '/builddir/build/BUILD/tc-play-2.0' make -f CMakeFiles/tcplay-static.dir/build.make CMakeFiles/tcplay-static.dir/build [ 2%] Building C object CMakeFiles/tcplay-so.dir/tcplay.c.o /usr/bin/cc -Dtcplay_so_EXPORTS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -std=c99 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wsystem-headers -Wall -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -DMAJ_VER=2 -DMIN_VER=0 -I/usr/include/uuid -o CMakeFiles/tcplay-so.dir/tcplay.c.o -c /builddir/build/BUILD/tc-play-2.0/tcplay.c Scanning dependencies of target tcplay-bin make[2]: Leaving directory '/builddir/build/BUILD/tc-play-2.0' make -f CMakeFiles/tcplay-bin.dir/build.make CMakeFiles/tcplay-bin.dir/build make[2]: Entering directory '/builddir/build/BUILD/tc-play-2.0' make[2]: Entering directory '/builddir/build/BUILD/tc-play-2.0' [ 5%] Building C object CMakeFiles/tcplay-so.dir/tcplay_api.c.o /usr/bin/cc -Dtcplay_so_EXPORTS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -std=c99 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wsystem-headers -Wall -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -DMAJ_VER=2 -DMIN_VER=0 -I/usr/include/uuid -o CMakeFiles/tcplay-so.dir/tcplay_api.c.o -c /builddir/build/BUILD/tc-play-2.0/tcplay_api.c BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/tcplay.c:31: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ [ 8%] Building C object CMakeFiles/tcplay-static.dir/tcplay_api.c.o /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 -fasynchronous-unwind-tables -fstack-clash-protection -std=c99 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wsystem-headers -Wall -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -DMAJ_VER=2 -DMIN_VER=0 -I/usr/include/uuid -o CMakeFiles/tcplay-static.dir/tcplay_api.c.o -c /builddir/build/BUILD/tc-play-2.0/tcplay_api.c [ 11%] Building C object CMakeFiles/tcplay-bin.dir/main.c.o /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 -fasynchronous-unwind-tables -fstack-clash-protection -std=c99 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wsystem-headers -Wall -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -DMAJ_VER=2 -DMIN_VER=0 -I/usr/include/uuid -o CMakeFiles/tcplay-bin.dir/main.c.o -c /builddir/build/BUILD/tc-play-2.0/main.c BUILDSTDERR: In file included from /usr/include/stdlib.h:822, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/tcplay_api.c:30: BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h: In function 'bsearch': BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:32:13: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: __p = (void *) (((const char *) __base) + (__idx * __size)); BUILDSTDERR: ^ BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:39:9: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: return (void *) __p; BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/stdlib.h:822, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/main.c:33: BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h: In function 'bsearch': BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:32:13: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: __p = (void *) (((const char *) __base) + (__idx * __size)); BUILDSTDERR: ^ BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:39:9: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: return (void *) __p; BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/stdlib.h:822, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/tcplay_api.c:30: BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h: In function 'bsearch': BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:32:13: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: __p = (void *) (((const char *) __base) + (__idx * __size)); BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/stdlib.h:822, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/tcplay.c:39: BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h: In function 'bsearch': BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:39:9: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: return (void *) __p; BUILDSTDERR: ^ BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:32:13: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: __p = (void *) (((const char *) __base) + (__idx * __size)); BUILDSTDERR: ^ BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:39:9: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: return (void *) __p; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/tcplay.c: In function 'xlate_maj_min': BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/tcplay.c:1368:14: warning: implicit declaration of function 'makedev' [-Wimplicit-function-declaration] BUILDSTDERR: dev_t dev = makedev(maj, min); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/tcplay.c:1368:14: warning: nested extern declaration of 'makedev' [-Wnested-externs] [ 13%] Building C object CMakeFiles/tcplay-bin.dir/tcplay.c.o /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 -fasynchronous-unwind-tables -fstack-clash-protection -std=c99 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wsystem-headers -Wall -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -DMAJ_VER=2 -DMIN_VER=0 -I/usr/include/uuid -o CMakeFiles/tcplay-bin.dir/tcplay.c.o -c /builddir/build/BUILD/tc-play-2.0/tcplay.c BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/tcplay.c:31: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/tcplay.c:44: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'new_info.constprop' at /builddir/build/BUILD/tc-play-2.0/tcplay.c:367:2, BUILDSTDERR: inlined from 'process_hdr' at /builddir/build/BUILD/tc-play-2.0/tcplay.c:505:14: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] BUILDSTDERR: return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdlib.h:822, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/tcplay.c:39: BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h: In function 'bsearch': BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:32:13: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: __p = (void *) (((const char *) __base) + (__idx * __size)); BUILDSTDERR: ^ BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:39:9: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: return (void *) __p; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/tcplay.c: In function 'xlate_maj_min': BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/tcplay.c:1368:14: warning: implicit declaration of function 'makedev' [-Wimplicit-function-declaration] BUILDSTDERR: dev_t dev = makedev(maj, min); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/tcplay.c:1368:14: warning: nested extern declaration of 'makedev' [-Wnested-externs] [ 16%] Building C object CMakeFiles/tcplay-so.dir/crc32.c.o /usr/bin/cc -Dtcplay_so_EXPORTS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -std=c99 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wsystem-headers -Wall -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -DMAJ_VER=2 -DMIN_VER=0 -I/usr/include/uuid -o CMakeFiles/tcplay-so.dir/crc32.c.o -c /builddir/build/BUILD/tc-play-2.0/crc32.c BUILDSTDERR: In file included from /usr/include/stdlib.h:822, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/crc32.c:40: BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h: In function 'bsearch': BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:32:13: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: __p = (void *) (((const char *) __base) + (__idx * __size)); BUILDSTDERR: ^ BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:39:9: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: return (void *) __p; BUILDSTDERR: ^ [ 19%] Building C object CMakeFiles/tcplay-static.dir/tcplay.c.o /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 -fasynchronous-unwind-tables -fstack-clash-protection -std=c99 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wsystem-headers -Wall -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -DMAJ_VER=2 -DMIN_VER=0 -I/usr/include/uuid -o CMakeFiles/tcplay-static.dir/tcplay.c.o -c /builddir/build/BUILD/tc-play-2.0/tcplay.c BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/tcplay.c:31: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ [ 22%] Building C object CMakeFiles/tcplay-so.dir/safe_mem.c.o /usr/bin/cc -Dtcplay_so_EXPORTS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -std=c99 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wsystem-headers -Wall -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -DMAJ_VER=2 -DMIN_VER=0 -I/usr/include/uuid -o CMakeFiles/tcplay-so.dir/safe_mem.c.o -c /builddir/build/BUILD/tc-play-2.0/safe_mem.c BUILDSTDERR: In file included from /usr/include/stdlib.h:822, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/tcplay.c:39: BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h: In function 'bsearch': BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:32:13: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: __p = (void *) (((const char *) __base) + (__idx * __size)); BUILDSTDERR: ^ BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:39:9: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: return (void *) __p; BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/stdlib.h:822, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/safe_mem.c:32: BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h: In function 'bsearch': BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:32:13: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: __p = (void *) (((const char *) __base) + (__idx * __size)); BUILDSTDERR: ^ BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:39:9: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: return (void *) __p; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/safe_mem.c: In function '_alloc_safe_mem': BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/safe_mem.c:73:8: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: hdr = (struct safe_mem_hdr *)mem; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/safe_mem.c: In function '_free_safe_mem': BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/safe_mem.c:107:8: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: hdr = (struct safe_mem_hdr *)mem; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/tcplay.c: In function 'xlate_maj_min': BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/tcplay.c:1368:14: warning: implicit declaration of function 'makedev' [-Wimplicit-function-declaration] BUILDSTDERR: dev_t dev = makedev(maj, min); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/tcplay.c:1368:14: warning: nested extern declaration of 'makedev' [-Wnested-externs] BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/tcplay.c:44: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'new_info.constprop' at /builddir/build/BUILD/tc-play-2.0/tcplay.c:367:2, BUILDSTDERR: inlined from 'process_hdr' at /builddir/build/BUILD/tc-play-2.0/tcplay.c:505:14: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] BUILDSTDERR: return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 25%] Building C object CMakeFiles/tcplay-so.dir/io.c.o /usr/bin/cc -Dtcplay_so_EXPORTS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -std=c99 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wsystem-headers -Wall -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -DMAJ_VER=2 -DMIN_VER=0 -I/usr/include/uuid -o CMakeFiles/tcplay-so.dir/io.c.o -c /builddir/build/BUILD/tc-play-2.0/io.c BUILDSTDERR: In file included from /usr/include/sys/uio.h:168, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/io.c:38: BUILDSTDERR: /usr/include/bits/uio-ext.h:45: warning: "RWF_HIPRI" redefined BUILDSTDERR: #define RWF_HIPRI 0x00000001 /* High priority request. */ BUILDSTDERR: BUILDSTDERR: In file included from /builddir/build/BUILD/tc-play-2.0/io.c:34: BUILDSTDERR: /usr/include/linux/fs.h:369: note: this is the location of the previous definition BUILDSTDERR: #define RWF_HIPRI ((__kernel_rwf_t)0x00000001) BUILDSTDERR: BUILDSTDERR: In file included from /usr/include/sys/uio.h:168, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/io.c:38: BUILDSTDERR: /usr/include/bits/uio-ext.h:46: warning: "RWF_DSYNC" redefined BUILDSTDERR: #define RWF_DSYNC 0x00000002 /* per-IO O_DSYNC. */ BUILDSTDERR: BUILDSTDERR: In file included from /builddir/build/BUILD/tc-play-2.0/io.c:34: BUILDSTDERR: /usr/include/linux/fs.h:372: note: this is the location of the previous definition BUILDSTDERR: #define RWF_DSYNC ((__kernel_rwf_t)0x00000002) BUILDSTDERR: BUILDSTDERR: In file included from /usr/include/sys/uio.h:168, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/io.c:38: BUILDSTDERR: /usr/include/bits/uio-ext.h:47: warning: "RWF_SYNC" redefined BUILDSTDERR: #define RWF_SYNC 0x00000004 /* per-IO O_SYNC. */ BUILDSTDERR: BUILDSTDERR: In file included from /builddir/build/BUILD/tc-play-2.0/io.c:34: BUILDSTDERR: /usr/include/linux/fs.h:375: note: this is the location of the previous definition BUILDSTDERR: #define RWF_SYNC ((__kernel_rwf_t)0x00000004) BUILDSTDERR: BUILDSTDERR: In file included from /usr/include/sys/uio.h:168, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/io.c:38: BUILDSTDERR: /usr/include/bits/uio-ext.h:48: warning: "RWF_NOWAIT" redefined BUILDSTDERR: #define RWF_NOWAIT 0x00000008 /* per-IO nonblocking mode. */ BUILDSTDERR: BUILDSTDERR: In file included from /builddir/build/BUILD/tc-play-2.0/io.c:34: BUILDSTDERR: /usr/include/linux/fs.h:378: note: this is the location of the previous definition BUILDSTDERR: #define RWF_NOWAIT ((__kernel_rwf_t)0x00000008) BUILDSTDERR: BUILDSTDERR: In file included from /usr/include/sys/uio.h:168, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/io.c:38: BUILDSTDERR: /usr/include/bits/uio-ext.h:49: warning: "RWF_APPEND" redefined BUILDSTDERR: #define RWF_APPEND 0x00000010 /* per-IO O_APPEND. */ BUILDSTDERR: BUILDSTDERR: In file included from /builddir/build/BUILD/tc-play-2.0/io.c:34: BUILDSTDERR: /usr/include/linux/fs.h:381: note: this is the location of the previous definition BUILDSTDERR: #define RWF_APPEND ((__kernel_rwf_t)0x00000010) BUILDSTDERR: BUILDSTDERR: In file included from /usr/include/stdlib.h:822, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/io.c:43: BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h: In function 'bsearch': BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:32:13: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: __p = (void *) (((const char *) __base) + (__idx * __size)); BUILDSTDERR: ^ BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:39:9: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: return (void *) __p; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/tcplay.c: In function 'dm_setup': BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/tcplay.c:1795:27: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 512 [-Wformat-truncation=] BUILDSTDERR: snprintf(params, 512, "%s 0", dev); BUILDSTDERR: ^~ ~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/tcplay.c:38: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 3 and 4098 bytes into a destination of size 512 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/tcplay.c:1810:25: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 108 and 508 [-Wformat-truncation=] BUILDSTDERR: snprintf(params, 512, "%s %s %"PRIu64 " %s %"PRIu64 " %s", BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/tcplay.c:1812:48: BUILDSTDERR: (uint64_t)INFO_TO_DM_BLOCKS(info, skip), dev, BUILDSTDERR: ~~~ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/tcplay.c:1810:43: note: format string is defined here BUILDSTDERR: snprintf(params, 512, "%s %s %"PRIu64 " %s %"PRIu64 " %s", BUILDSTDERR: ^~ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/tcplay.c:1810:25: note: directive argument in the range [0, 36028797018963967] BUILDSTDERR: snprintf(params, 512, "%s %s %"PRIu64 " %s %"PRIu64 " %s", BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/tcplay.c:38: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 8 or more bytes (assuming 4535) into a destination of size 512 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/tcplay.c:44: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'new_info.constprop' at /builddir/build/BUILD/tc-play-2.0/tcplay.c:367:2, BUILDSTDERR: inlined from 'process_hdr' at /builddir/build/BUILD/tc-play-2.0/tcplay.c:505:14: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] BUILDSTDERR: return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/tcplay.c:44: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'dm_info_map' at /builddir/build/BUILD/tc-play-2.0/tcplay.c:1551:2: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] BUILDSTDERR: return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'dm_get_table' at /builddir/build/BUILD/tc-play-2.0/tcplay.c:1461:3, BUILDSTDERR: inlined from 'dm_info_map' at /builddir/build/BUILD/tc-play-2.0/tcplay.c:1557:18: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] BUILDSTDERR: return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'dm_get_table' at /builddir/build/BUILD/tc-play-2.0/tcplay.c:1477:6, BUILDSTDERR: inlined from 'dm_info_map' at /builddir/build/BUILD/tc-play-2.0/tcplay.c:1557:18: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] BUILDSTDERR: return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 27%] Building C object CMakeFiles/tcplay-so.dir/hdr.c.o /usr/bin/cc -Dtcplay_so_EXPORTS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -std=c99 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wsystem-headers -Wall -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -DMAJ_VER=2 -DMIN_VER=0 -I/usr/include/uuid -o CMakeFiles/tcplay-so.dir/hdr.c.o -c /builddir/build/BUILD/tc-play-2.0/hdr.c BUILDSTDERR: In file included from /usr/include/stdlib.h:822, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/hdr.c:39: BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h: In function 'bsearch': BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:32:13: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: __p = (void *) (((const char *) __base) + (__idx * __size)); BUILDSTDERR: ^ BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:39:9: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: return (void *) __p; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/tcplay.c: In function 'dm_setup': BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/tcplay.c:1795:27: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 512 [-Wformat-truncation=] BUILDSTDERR: snprintf(params, 512, "%s 0", dev); BUILDSTDERR: ^~ ~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/tcplay.c:38: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 3 and 4098 bytes into a destination of size 512 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/tcplay.c:1810:25: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 108 and 508 [-Wformat-truncation=] BUILDSTDERR: snprintf(params, 512, "%s %s %"PRIu64 " %s %"PRIu64 " %s", BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/tcplay.c:1812:48: BUILDSTDERR: (uint64_t)INFO_TO_DM_BLOCKS(info, skip), dev, BUILDSTDERR: ~~~ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/tcplay.c:1810:43: note: format string is defined here BUILDSTDERR: snprintf(params, 512, "%s %s %"PRIu64 " %s %"PRIu64 " %s", BUILDSTDERR: ^~ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/tcplay.c:1810:25: note: directive argument in the range [0, 36028797018963967] BUILDSTDERR: snprintf(params, 512, "%s %s %"PRIu64 " %s %"PRIu64 " %s", BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/tcplay.c:38: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 8 or more bytes (assuming 4535) into a destination of size 512 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/tcplay.c:44: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'dm_info_map' at /builddir/build/BUILD/tc-play-2.0/tcplay.c:1551:2: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] BUILDSTDERR: return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'dm_get_table' at /builddir/build/BUILD/tc-play-2.0/tcplay.c:1461:3, BUILDSTDERR: inlined from 'dm_info_map' at /builddir/build/BUILD/tc-play-2.0/tcplay.c:1557:18: BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/tcplay.c: In function 'dm_setup': BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/tcplay.c:1795:27: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 512 [-Wformat-truncation=] BUILDSTDERR: snprintf(params, 512, "%s 0", dev); BUILDSTDERR: ^~ ~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/tcplay.c:38: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 3 and 4098 bytes into a destination of size 512 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/tcplay.c:1810:25: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 108 and 508 [-Wformat-truncation=] BUILDSTDERR: snprintf(params, 512, "%s %s %"PRIu64 " %s %"PRIu64 " %s", BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/tcplay.c:1812:48: BUILDSTDERR: (uint64_t)INFO_TO_DM_BLOCKS(info, skip), dev, BUILDSTDERR: ~~~ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/tcplay.c:1810:43: note: format string is defined here BUILDSTDERR: snprintf(params, 512, "%s %s %"PRIu64 " %s %"PRIu64 " %s", BUILDSTDERR: ^~ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/tcplay.c:1810:25: note: directive argument in the range [0, 36028797018963967] BUILDSTDERR: snprintf(params, 512, "%s %s %"PRIu64 " %s %"PRIu64 " %s", BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/tcplay.c:38: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 8 or more bytes (assuming 4535) into a destination of size 512 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] BUILDSTDERR: return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'dm_get_table' at /builddir/build/BUILD/tc-play-2.0/tcplay.c:1477:6, BUILDSTDERR: inlined from 'dm_info_map' at /builddir/build/BUILD/tc-play-2.0/tcplay.c:1557:18: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] BUILDSTDERR: return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 30%] Building C object CMakeFiles/tcplay-so.dir/humanize.c.o /usr/bin/cc -Dtcplay_so_EXPORTS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -std=c99 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wsystem-headers -Wall -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -DMAJ_VER=2 -DMIN_VER=0 -I/usr/include/uuid -o CMakeFiles/tcplay-so.dir/humanize.c.o -c /builddir/build/BUILD/tc-play-2.0/humanize.c BUILDSTDERR: In file included from /usr/include/stdlib.h:822, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/humanize.c:31: BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h: In function 'bsearch': BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:32:13: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: __p = (void *) (((const char *) __base) + (__idx * __size)); BUILDSTDERR: ^ BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:39:9: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: return (void *) __p; BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/tcplay.c:44: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'dm_info_map' at /builddir/build/BUILD/tc-play-2.0/tcplay.c:1551:2: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] BUILDSTDERR: return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'dm_get_table' at /builddir/build/BUILD/tc-play-2.0/tcplay.c:1461:3, BUILDSTDERR: inlined from 'dm_info_map' at /builddir/build/BUILD/tc-play-2.0/tcplay.c:1557:18: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] BUILDSTDERR: return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'dm_get_table' at /builddir/build/BUILD/tc-play-2.0/tcplay.c:1477:6, BUILDSTDERR: inlined from 'dm_info_map' at /builddir/build/BUILD/tc-play-2.0/tcplay.c:1557:18: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] BUILDSTDERR: return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 33%] Building C object CMakeFiles/tcplay-so.dir/crypto.c.o /usr/bin/cc -Dtcplay_so_EXPORTS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -std=c99 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wsystem-headers -Wall -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -DMAJ_VER=2 -DMIN_VER=0 -I/usr/include/uuid -o CMakeFiles/tcplay-so.dir/crypto.c.o -c /builddir/build/BUILD/tc-play-2.0/crypto.c BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/humanize.c: In function '_dehumanize_number': BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/humanize.c:93:14: warning: this statement may fall through [-Wimplicit-fallthrough=] BUILDSTDERR: multiplier *= 1024; BUILDSTDERR: ~~~~~~~~~~~^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/humanize.c:94:2: note: here BUILDSTDERR: case 'z': BUILDSTDERR: ^~~~ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/humanize.c:95:14: warning: this statement may fall through [-Wimplicit-fallthrough=] BUILDSTDERR: multiplier *= 1024; BUILDSTDERR: ~~~~~~~~~~~^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/humanize.c:96:2: note: here BUILDSTDERR: case 'e': BUILDSTDERR: ^~~~ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/humanize.c:97:14: warning: this statement may fall through [-Wimplicit-fallthrough=] BUILDSTDERR: multiplier *= 1024; BUILDSTDERR: ~~~~~~~~~~~^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/humanize.c:98:2: note: here BUILDSTDERR: case 'p': BUILDSTDERR: ^~~~ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/humanize.c:99:14: warning: this statement may fall through [-Wimplicit-fallthrough=] BUILDSTDERR: multiplier *= 1024; BUILDSTDERR: ~~~~~~~~~~~^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/humanize.c:100:2: note: here BUILDSTDERR: case 't': BUILDSTDERR: ^~~~ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/humanize.c:101:14: warning: this statement may fall through [-Wimplicit-fallthrough=] BUILDSTDERR: multiplier *= 1024; BUILDSTDERR: ~~~~~~~~~~~^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/humanize.c:102:2: note: here BUILDSTDERR: case 'g': BUILDSTDERR: ^~~~ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/humanize.c:103:14: warning: this statement may fall through [-Wimplicit-fallthrough=] BUILDSTDERR: multiplier *= 1024; BUILDSTDERR: ~~~~~~~~~~~^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/humanize.c:104:2: note: here BUILDSTDERR: case 'm': BUILDSTDERR: ^~~~ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/humanize.c:105:14: warning: this statement may fall through [-Wimplicit-fallthrough=] BUILDSTDERR: multiplier *= 1024; BUILDSTDERR: ~~~~~~~~~~~^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/humanize.c:106:2: note: here BUILDSTDERR: case 'k': BUILDSTDERR: ^~~~ [ 36%] Building C object CMakeFiles/tcplay-so.dir/generic_xts.c.o /usr/bin/cc -Dtcplay_so_EXPORTS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -std=c99 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wsystem-headers -Wall -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -DMAJ_VER=2 -DMIN_VER=0 -I/usr/include/uuid -o CMakeFiles/tcplay-so.dir/generic_xts.c.o -c /builddir/build/BUILD/tc-play-2.0/generic_xts.c [ 38%] Building C object CMakeFiles/tcplay-bin.dir/crc32.c.o /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 -fasynchronous-unwind-tables -fstack-clash-protection -std=c99 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wsystem-headers -Wall -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -DMAJ_VER=2 -DMIN_VER=0 -I/usr/include/uuid -o CMakeFiles/tcplay-bin.dir/crc32.c.o -c /builddir/build/BUILD/tc-play-2.0/crc32.c BUILDSTDERR: In file included from /usr/include/stdlib.h:822, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/crc32.c:40: BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h: In function 'bsearch': BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:32:13: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: __p = (void *) (((const char *) __base) + (__idx * __size)); BUILDSTDERR: ^ BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:39:9: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: return (void *) __p; BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/stdlib.h:822, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/generic_xts.c:23: BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h: In function 'bsearch': BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:32:13: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: __p = (void *) (((const char *) __base) + (__idx * __size)); BUILDSTDERR: ^ BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:39:9: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: return (void *) __p; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/generic_xts.c: In function 'xts_encrypt': BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/generic_xts.c:120:22: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: uint64_t sector = *((uint64_t *)iv); BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/generic_xts.c: In function 'xts_decrypt': BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/generic_xts.c:145:22: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: uint64_t sector = *((uint64_t *)iv); BUILDSTDERR: ^ [ 44%] Building C object CMakeFiles/tcplay-so.dir/crypto-gcrypt.c.o /usr/bin/cc -Dtcplay_so_EXPORTS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -std=c99 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wsystem-headers -Wall -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -DMAJ_VER=2 -DMIN_VER=0 -I/usr/include/uuid -o CMakeFiles/tcplay-so.dir/crypto-gcrypt.c.o -c /builddir/build/BUILD/tc-play-2.0/crypto-gcrypt.c [ 44%] Building C object CMakeFiles/tcplay-bin.dir/safe_mem.c.o /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 -fasynchronous-unwind-tables -fstack-clash-protection -std=c99 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wsystem-headers -Wall -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -DMAJ_VER=2 -DMIN_VER=0 -I/usr/include/uuid -o CMakeFiles/tcplay-bin.dir/safe_mem.c.o -c /builddir/build/BUILD/tc-play-2.0/safe_mem.c BUILDSTDERR: In file included from /usr/include/stdlib.h:822, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/safe_mem.c:32: BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h: In function 'bsearch': BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:32:13: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: __p = (void *) (((const char *) __base) + (__idx * __size)); BUILDSTDERR: ^ BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:39:9: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: return (void *) __p; BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/stdlib.h:822, BUILDSTDERR: from /usr/include/gcrypt.h:26, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/crypto-gcrypt.c:42: BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h: In function 'bsearch': BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:32:13: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: __p = (void *) (((const char *) __base) + (__idx * __size)); BUILDSTDERR: ^ BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:39:9: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: return (void *) __p; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/safe_mem.c: In function '_alloc_safe_mem': BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/safe_mem.c:73:8: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: hdr = (struct safe_mem_hdr *)mem; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/safe_mem.c: In function '_free_safe_mem': BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/safe_mem.c:107:8: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: hdr = (struct safe_mem_hdr *)mem; BUILDSTDERR: ^ [ 47%] Building C object CMakeFiles/tcplay-static.dir/crc32.c.o /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 -fasynchronous-unwind-tables -fstack-clash-protection -std=c99 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wsystem-headers -Wall -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -DMAJ_VER=2 -DMIN_VER=0 -I/usr/include/uuid -o CMakeFiles/tcplay-static.dir/crc32.c.o -c /builddir/build/BUILD/tc-play-2.0/crc32.c BUILDSTDERR: In file included from /usr/include/sys/socket.h:33, BUILDSTDERR: from /usr/include/gcrypt.h:43, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/crypto-gcrypt.c:42: BUILDSTDERR: /usr/include/bits/socket.h: In function '__cmsg_nxthdr': BUILDSTDERR: /usr/include/bits/socket.h:315:12: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: __cmsg = (struct cmsghdr *) ((unsigned char *) __cmsg BUILDSTDERR: ^ [ 50%] Building C object CMakeFiles/tcplay-so.dir/pbkdf2-gcrypt.c.o BUILDSTDERR: In file included from /usr/include/stdlib.h:822, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/crc32.c:40: BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h: In function 'bsearch': /usr/bin/cc -Dtcplay_so_EXPORTS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -std=c99 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wsystem-headers -Wall -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -DMAJ_VER=2 -DMIN_VER=0 -I/usr/include/uuid -o CMakeFiles/tcplay-so.dir/pbkdf2-gcrypt.c.o -c /builddir/build/BUILD/tc-play-2.0/pbkdf2-gcrypt.c BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:32:13: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: __p = (void *) (((const char *) __base) + (__idx * __size)); BUILDSTDERR: ^ BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:39:9: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: return (void *) __p; BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/stdlib.h:822, BUILDSTDERR: from /usr/include/gcrypt.h:26, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/pbkdf2-gcrypt.c:38: BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h: In function 'bsearch': BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:32:13: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: __p = (void *) (((const char *) __base) + (__idx * __size)); BUILDSTDERR: ^ BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:39:9: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: return (void *) __p; BUILDSTDERR: ^ [ 52%] Building C object CMakeFiles/tcplay-static.dir/safe_mem.c.o /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 -fasynchronous-unwind-tables -fstack-clash-protection -std=c99 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wsystem-headers -Wall -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -DMAJ_VER=2 -DMIN_VER=0 -I/usr/include/uuid -o CMakeFiles/tcplay-static.dir/safe_mem.c.o -c /builddir/build/BUILD/tc-play-2.0/safe_mem.c [ 55%] Building C object CMakeFiles/tcplay-bin.dir/io.c.o /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 -fasynchronous-unwind-tables -fstack-clash-protection -std=c99 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wsystem-headers -Wall -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -DMAJ_VER=2 -DMIN_VER=0 -I/usr/include/uuid -o CMakeFiles/tcplay-bin.dir/io.c.o -c /builddir/build/BUILD/tc-play-2.0/io.c BUILDSTDERR: In file included from /usr/include/stdlib.h:822, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/safe_mem.c:32: BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h: In function 'bsearch': BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:32:13: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: __p = (void *) (((const char *) __base) + (__idx * __size)); BUILDSTDERR: ^ BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:39:9: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: return (void *) __p; BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/sys/socket.h:33, BUILDSTDERR: from /usr/include/gcrypt.h:43, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/pbkdf2-gcrypt.c:38: BUILDSTDERR: /usr/include/bits/socket.h: In function '__cmsg_nxthdr': BUILDSTDERR: /usr/include/bits/socket.h:315:12: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: __cmsg = (struct cmsghdr *) ((unsigned char *) __cmsg BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/sys/uio.h:168, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/io.c:38: BUILDSTDERR: /usr/include/bits/uio-ext.h:45: warning: "RWF_HIPRI" redefined BUILDSTDERR: #define RWF_HIPRI 0x00000001 /* High priority request. */ BUILDSTDERR: BUILDSTDERR: In file included from /builddir/build/BUILD/tc-play-2.0/io.c:34: BUILDSTDERR: /usr/include/linux/fs.h:369: note: this is the location of the previous definition BUILDSTDERR: #define RWF_HIPRI ((__kernel_rwf_t)0x00000001) BUILDSTDERR: BUILDSTDERR: In file included from /usr/include/sys/uio.h:168, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/io.c:38: BUILDSTDERR: /usr/include/bits/uio-ext.h:46: warning: "RWF_DSYNC" redefined BUILDSTDERR: #define RWF_DSYNC 0x00000002 /* per-IO O_DSYNC. */ BUILDSTDERR: BUILDSTDERR: In file included from /builddir/build/BUILD/tc-play-2.0/io.c:34: BUILDSTDERR: /usr/include/linux/fs.h:372: note: this is the location of the previous definition BUILDSTDERR: #define RWF_DSYNC ((__kernel_rwf_t)0x00000002) BUILDSTDERR: BUILDSTDERR: In file included from /usr/include/sys/uio.h:168, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/io.c:38: BUILDSTDERR: /usr/include/bits/uio-ext.h:47: warning: "RWF_SYNC" redefined BUILDSTDERR: #define RWF_SYNC 0x00000004 /* per-IO O_SYNC. */ BUILDSTDERR: BUILDSTDERR: In file included from /builddir/build/BUILD/tc-play-2.0/io.c:34: BUILDSTDERR: /usr/include/linux/fs.h:375: note: this is the location of the previous definition BUILDSTDERR: #define RWF_SYNC ((__kernel_rwf_t)0x00000004) BUILDSTDERR: BUILDSTDERR: In file included from /usr/include/sys/uio.h:168, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/io.c:38: BUILDSTDERR: /usr/include/bits/uio-ext.h:48: warning: "RWF_NOWAIT" redefined BUILDSTDERR: #define RWF_NOWAIT 0x00000008 /* per-IO nonblocking mode. */ BUILDSTDERR: BUILDSTDERR: In file included from /builddir/build/BUILD/tc-play-2.0/io.c:34: BUILDSTDERR: /usr/include/linux/fs.h:378: note: this is the location of the previous definition BUILDSTDERR: #define RWF_NOWAIT ((__kernel_rwf_t)0x00000008) BUILDSTDERR: BUILDSTDERR: In file included from /usr/include/sys/uio.h:168, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/io.c:38: BUILDSTDERR: /usr/include/bits/uio-ext.h:49: warning: "RWF_APPEND" redefined BUILDSTDERR: #define RWF_APPEND 0x00000010 /* per-IO O_APPEND. */ BUILDSTDERR: BUILDSTDERR: In file included from /builddir/build/BUILD/tc-play-2.0/io.c:34: BUILDSTDERR: /usr/include/linux/fs.h:381: note: this is the location of the previous definition BUILDSTDERR: #define RWF_APPEND ((__kernel_rwf_t)0x00000010) BUILDSTDERR: [ 58%] Building C object CMakeFiles/tcplay-bin.dir/hdr.c.o /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 -fasynchronous-unwind-tables -fstack-clash-protection -std=c99 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wsystem-headers -Wall -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -DMAJ_VER=2 -DMIN_VER=0 -I/usr/include/uuid -o CMakeFiles/tcplay-bin.dir/hdr.c.o -c /builddir/build/BUILD/tc-play-2.0/hdr.c BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/safe_mem.c: In function '_alloc_safe_mem': BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/safe_mem.c:73:8: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: hdr = (struct safe_mem_hdr *)mem; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/safe_mem.c: In function '_free_safe_mem': BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/safe_mem.c:107:8: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: hdr = (struct safe_mem_hdr *)mem; BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/stdlib.h:822, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/io.c:43: BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h: In function 'bsearch': BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:32:13: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: __p = (void *) (((const char *) __base) + (__idx * __size)); BUILDSTDERR: ^ BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:39:9: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: return (void *) __p; BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/stdlib.h:822, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/hdr.c:39: BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h: In function 'bsearch': BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:32:13: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: __p = (void *) (((const char *) __base) + (__idx * __size)); BUILDSTDERR: ^ BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:39:9: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: return (void *) __p; BUILDSTDERR: ^ [ 61%] Linking C shared library libtcplay.so /usr/bin/cmake -E cmake_link_script CMakeFiles/tcplay-so.dir/link.txt --verbose=1 /usr/bin/cc -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,--version-script=/builddir/build/BUILD/tc-play-2.0/tcplay.map -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -Wl,-soname,libtcplay.so.2.0 -o libtcplay.so.2.0 CMakeFiles/tcplay-so.dir/tcplay_api.c.o CMakeFiles/tcplay-so.dir/tcplay.c.o CMakeFiles/tcplay-so.dir/crc32.c.o CMakeFiles/tcplay-so.dir/safe_mem.c.o CMakeFiles/tcplay-so.dir/io.c.o CMakeFiles/tcplay-so.dir/hdr.c.o CMakeFiles/tcplay-so.dir/humanize.c.o CMakeFiles/tcplay-so.dir/crypto.c.o CMakeFiles/tcplay-so.dir/generic_xts.c.o CMakeFiles/tcplay-so.dir/crypto-gcrypt.c.o CMakeFiles/tcplay-so.dir/pbkdf2-gcrypt.c.o -ldevmapper -luuid -lgcrypt -lgpg-error [ 63%] Building C object CMakeFiles/tcplay-static.dir/io.c.o /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 -fasynchronous-unwind-tables -fstack-clash-protection -std=c99 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wsystem-headers -Wall -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -DMAJ_VER=2 -DMIN_VER=0 -I/usr/include/uuid -o CMakeFiles/tcplay-static.dir/io.c.o -c /builddir/build/BUILD/tc-play-2.0/io.c BUILDSTDERR: In file included from /usr/include/sys/uio.h:168, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/io.c:38: BUILDSTDERR: /usr/include/bits/uio-ext.h:45: warning: "RWF_HIPRI" redefined BUILDSTDERR: #define RWF_HIPRI 0x00000001 /* High priority request. */ BUILDSTDERR: BUILDSTDERR: In file included from /builddir/build/BUILD/tc-play-2.0/io.c:34: BUILDSTDERR: /usr/include/linux/fs.h:369: note: this is the location of the previous definition BUILDSTDERR: #define RWF_HIPRI ((__kernel_rwf_t)0x00000001) BUILDSTDERR: BUILDSTDERR: In file included from /usr/include/sys/uio.h:168, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/io.c:38: BUILDSTDERR: /usr/include/bits/uio-ext.h:46: warning: "RWF_DSYNC" redefined BUILDSTDERR: #define RWF_DSYNC 0x00000002 /* per-IO O_DSYNC. */ BUILDSTDERR: BUILDSTDERR: In file included from /builddir/build/BUILD/tc-play-2.0/io.c:34: BUILDSTDERR: /usr/include/linux/fs.h:372: note: this is the location of the previous definition BUILDSTDERR: #define RWF_DSYNC ((__kernel_rwf_t)0x00000002) BUILDSTDERR: BUILDSTDERR: In file included from /usr/include/sys/uio.h:168, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/io.c:38: BUILDSTDERR: /usr/include/bits/uio-ext.h:47: warning: "RWF_SYNC" redefined BUILDSTDERR: #define RWF_SYNC 0x00000004 /* per-IO O_SYNC. */ BUILDSTDERR: BUILDSTDERR: In file included from /builddir/build/BUILD/tc-play-2.0/io.c:34: BUILDSTDERR: /usr/include/linux/fs.h:375: note: this is the location of the previous definition BUILDSTDERR: #define RWF_SYNC ((__kernel_rwf_t)0x00000004) BUILDSTDERR: BUILDSTDERR: In file included from /usr/include/sys/uio.h:168, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/io.c:38: BUILDSTDERR: /usr/include/bits/uio-ext.h:48: warning: "RWF_NOWAIT" redefined BUILDSTDERR: #define RWF_NOWAIT 0x00000008 /* per-IO nonblocking mode. */ BUILDSTDERR: BUILDSTDERR: In file included from /builddir/build/BUILD/tc-play-2.0/io.c:34: BUILDSTDERR: /usr/include/linux/fs.h:378: note: this is the location of the previous definition BUILDSTDERR: #define RWF_NOWAIT ((__kernel_rwf_t)0x00000008) BUILDSTDERR: BUILDSTDERR: In file included from /usr/include/sys/uio.h:168, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/io.c:38: BUILDSTDERR: /usr/include/bits/uio-ext.h:49: warning: "RWF_APPEND" redefined BUILDSTDERR: #define RWF_APPEND 0x00000010 /* per-IO O_APPEND. */ BUILDSTDERR: BUILDSTDERR: In file included from /builddir/build/BUILD/tc-play-2.0/io.c:34: BUILDSTDERR: /usr/include/linux/fs.h:381: note: this is the location of the previous definition BUILDSTDERR: #define RWF_APPEND ((__kernel_rwf_t)0x00000010) BUILDSTDERR: BUILDSTDERR: In file included from /usr/include/stdlib.h:822, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/io.c:43: BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h: In function 'bsearch': BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:32:13: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: __p = (void *) (((const char *) __base) + (__idx * __size)); BUILDSTDERR: ^ BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:39:9: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: return (void *) __p; BUILDSTDERR: ^ /usr/bin/cmake -E cmake_symlink_library libtcplay.so.2.0 libtcplay.so.2.0 libtcplay.so make[2]: Leaving directory '/builddir/build/BUILD/tc-play-2.0' [ 63%] Built target tcplay-so [ 66%] Building C object CMakeFiles/tcplay-static.dir/hdr.c.o /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 -fasynchronous-unwind-tables -fstack-clash-protection -std=c99 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wsystem-headers -Wall -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -DMAJ_VER=2 -DMIN_VER=0 -I/usr/include/uuid -o CMakeFiles/tcplay-static.dir/hdr.c.o -c /builddir/build/BUILD/tc-play-2.0/hdr.c [ 69%] Building C object CMakeFiles/tcplay-bin.dir/humanize.c.o /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 -fasynchronous-unwind-tables -fstack-clash-protection -std=c99 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wsystem-headers -Wall -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -DMAJ_VER=2 -DMIN_VER=0 -I/usr/include/uuid -o CMakeFiles/tcplay-bin.dir/humanize.c.o -c /builddir/build/BUILD/tc-play-2.0/humanize.c BUILDSTDERR: In file included from /usr/include/stdlib.h:822, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/hdr.c:39: BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h: In function 'bsearch': BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:32:13: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: __p = (void *) (((const char *) __base) + (__idx * __size)); BUILDSTDERR: ^ BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:39:9: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: return (void *) __p; BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/stdlib.h:822, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/humanize.c:31: BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h: In function 'bsearch': BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:32:13: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: __p = (void *) (((const char *) __base) + (__idx * __size)); BUILDSTDERR: ^ BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:39:9: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: return (void *) __p; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/humanize.c: In function '_dehumanize_number': BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/humanize.c:93:14: warning: this statement may fall through [-Wimplicit-fallthrough=] BUILDSTDERR: multiplier *= 1024; BUILDSTDERR: ~~~~~~~~~~~^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/humanize.c:94:2: note: here BUILDSTDERR: case 'z': BUILDSTDERR: ^~~~ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/humanize.c:95:14: warning: this statement may fall through [-Wimplicit-fallthrough=] BUILDSTDERR: multiplier *= 1024; BUILDSTDERR: ~~~~~~~~~~~^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/humanize.c:96:2: note: here BUILDSTDERR: case 'e': BUILDSTDERR: ^~~~ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/humanize.c:97:14: warning: this statement may fall through [-Wimplicit-fallthrough=] BUILDSTDERR: multiplier *= 1024; BUILDSTDERR: ~~~~~~~~~~~^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/humanize.c:98:2: note: here BUILDSTDERR: case 'p': BUILDSTDERR: ^~~~ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/humanize.c:99:14: warning: this statement may fall through [-Wimplicit-fallthrough=] BUILDSTDERR: multiplier *= 1024; BUILDSTDERR: ~~~~~~~~~~~^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/humanize.c:100:2: note: here BUILDSTDERR: case 't': BUILDSTDERR: ^~~~ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/humanize.c:101:14: warning: this statement may fall through [-Wimplicit-fallthrough=] BUILDSTDERR: multiplier *= 1024; BUILDSTDERR: ~~~~~~~~~~~^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/humanize.c:102:2: note: here BUILDSTDERR: case 'g': BUILDSTDERR: ^~~~ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/humanize.c:103:14: warning: this statement may fall through [-Wimplicit-fallthrough=] BUILDSTDERR: multiplier *= 1024; BUILDSTDERR: ~~~~~~~~~~~^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/humanize.c:104:2: note: here BUILDSTDERR: case 'm': BUILDSTDERR: ^~~~ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/humanize.c:105:14: warning: this statement may fall through [-Wimplicit-fallthrough=] BUILDSTDERR: multiplier *= 1024; BUILDSTDERR: ~~~~~~~~~~~^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/humanize.c:106:2: note: here BUILDSTDERR: case 'k': BUILDSTDERR: ^~~~ [ 72%] Building C object CMakeFiles/tcplay-static.dir/humanize.c.o /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 -fasynchronous-unwind-tables -fstack-clash-protection -std=c99 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wsystem-headers -Wall -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -DMAJ_VER=2 -DMIN_VER=0 -I/usr/include/uuid -o CMakeFiles/tcplay-static.dir/humanize.c.o -c /builddir/build/BUILD/tc-play-2.0/humanize.c [ 75%] Building C object CMakeFiles/tcplay-bin.dir/crypto.c.o /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 -fasynchronous-unwind-tables -fstack-clash-protection -std=c99 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wsystem-headers -Wall -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -DMAJ_VER=2 -DMIN_VER=0 -I/usr/include/uuid -o CMakeFiles/tcplay-bin.dir/crypto.c.o -c /builddir/build/BUILD/tc-play-2.0/crypto.c BUILDSTDERR: In file included from /usr/include/stdlib.h:822, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/humanize.c:31: BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h: In function 'bsearch': BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:32:13: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: __p = (void *) (((const char *) __base) + (__idx * __size)); BUILDSTDERR: ^ BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:39:9: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: return (void *) __p; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/humanize.c: In function '_dehumanize_number': BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/humanize.c:93:14: warning: this statement may fall through [-Wimplicit-fallthrough=] BUILDSTDERR: multiplier *= 1024; BUILDSTDERR: ~~~~~~~~~~~^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/humanize.c:94:2: note: here BUILDSTDERR: case 'z': BUILDSTDERR: ^~~~ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/humanize.c:95:14: warning: this statement may fall through [-Wimplicit-fallthrough=] BUILDSTDERR: multiplier *= 1024; BUILDSTDERR: ~~~~~~~~~~~^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/humanize.c:96:2: note: here BUILDSTDERR: case 'e': BUILDSTDERR: ^~~~ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/humanize.c:97:14: warning: this statement may fall through [-Wimplicit-fallthrough=] BUILDSTDERR: multiplier *= 1024; BUILDSTDERR: ~~~~~~~~~~~^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/humanize.c:98:2: note: here BUILDSTDERR: case 'p': BUILDSTDERR: ^~~~ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/humanize.c:99:14: warning: this statement may fall through [-Wimplicit-fallthrough=] BUILDSTDERR: multiplier *= 1024; BUILDSTDERR: ~~~~~~~~~~~^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/humanize.c:100:2: note: here BUILDSTDERR: case 't': BUILDSTDERR: ^~~~ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/humanize.c:101:14: warning: this statement may fall through [-Wimplicit-fallthrough=] BUILDSTDERR: multiplier *= 1024; BUILDSTDERR: ~~~~~~~~~~~^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/humanize.c:102:2: note: here BUILDSTDERR: case 'g': BUILDSTDERR: ^~~~ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/humanize.c:103:14: warning: this statement may fall through [-Wimplicit-fallthrough=] BUILDSTDERR: multiplier *= 1024; BUILDSTDERR: ~~~~~~~~~~~^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/humanize.c:104:2: note: here BUILDSTDERR: case 'm': BUILDSTDERR: ^~~~ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/humanize.c:105:14: warning: this statement may fall through [-Wimplicit-fallthrough=] BUILDSTDERR: multiplier *= 1024; BUILDSTDERR: ~~~~~~~~~~~^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/humanize.c:106:2: note: here BUILDSTDERR: case 'k': BUILDSTDERR: ^~~~ [ 77%] Building C object CMakeFiles/tcplay-bin.dir/generic_xts.c.o /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 -fasynchronous-unwind-tables -fstack-clash-protection -std=c99 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wsystem-headers -Wall -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -DMAJ_VER=2 -DMIN_VER=0 -I/usr/include/uuid -o CMakeFiles/tcplay-bin.dir/generic_xts.c.o -c /builddir/build/BUILD/tc-play-2.0/generic_xts.c BUILDSTDERR: In file included from /usr/include/stdlib.h:822, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/generic_xts.c:23: BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h: In function 'bsearch': BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:32:13: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: __p = (void *) (((const char *) __base) + (__idx * __size)); BUILDSTDERR: ^ BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:39:9: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: return (void *) __p; BUILDSTDERR: ^ [ 80%] Building C object CMakeFiles/tcplay-static.dir/crypto.c.o /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 -fasynchronous-unwind-tables -fstack-clash-protection -std=c99 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wsystem-headers -Wall -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -DMAJ_VER=2 -DMIN_VER=0 -I/usr/include/uuid -o CMakeFiles/tcplay-static.dir/crypto.c.o -c /builddir/build/BUILD/tc-play-2.0/crypto.c BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/generic_xts.c: In function 'xts_encrypt': BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/generic_xts.c:120:22: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: uint64_t sector = *((uint64_t *)iv); BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/generic_xts.c: In function 'xts_decrypt': BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/generic_xts.c:145:22: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: uint64_t sector = *((uint64_t *)iv); BUILDSTDERR: ^ [ 83%] Building C object CMakeFiles/tcplay-bin.dir/crypto-gcrypt.c.o /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 -fasynchronous-unwind-tables -fstack-clash-protection -std=c99 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wsystem-headers -Wall -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -DMAJ_VER=2 -DMIN_VER=0 -I/usr/include/uuid -o CMakeFiles/tcplay-bin.dir/crypto-gcrypt.c.o -c /builddir/build/BUILD/tc-play-2.0/crypto-gcrypt.c [ 86%] Building C object CMakeFiles/tcplay-bin.dir/pbkdf2-gcrypt.c.o /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 -fasynchronous-unwind-tables -fstack-clash-protection -std=c99 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wsystem-headers -Wall -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -DMAJ_VER=2 -DMIN_VER=0 -I/usr/include/uuid -o CMakeFiles/tcplay-bin.dir/pbkdf2-gcrypt.c.o -c /builddir/build/BUILD/tc-play-2.0/pbkdf2-gcrypt.c BUILDSTDERR: In file included from /usr/include/stdlib.h:822, BUILDSTDERR: from /usr/include/gcrypt.h:26, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/pbkdf2-gcrypt.c:38: BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h: In function 'bsearch': BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:32:13: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: __p = (void *) (((const char *) __base) + (__idx * __size)); BUILDSTDERR: ^ BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:39:9: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: return (void *) __p; BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/stdlib.h:822, BUILDSTDERR: from /usr/include/gcrypt.h:26, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/crypto-gcrypt.c:42: BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h: In function 'bsearch': BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:32:13: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: __p = (void *) (((const char *) __base) + (__idx * __size)); BUILDSTDERR: ^ BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:39:9: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: return (void *) __p; BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/sys/socket.h:33, BUILDSTDERR: from /usr/include/gcrypt.h:43, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/crypto-gcrypt.c:42: BUILDSTDERR: /usr/include/bits/socket.h: In function '__cmsg_nxthdr': BUILDSTDERR: /usr/include/bits/socket.h:315:12: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: __cmsg = (struct cmsghdr *) ((unsigned char *) __cmsg BUILDSTDERR: ^ [ 88%] Building C object CMakeFiles/tcplay-static.dir/generic_xts.c.o /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 -fasynchronous-unwind-tables -fstack-clash-protection -std=c99 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wsystem-headers -Wall -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -DMAJ_VER=2 -DMIN_VER=0 -I/usr/include/uuid -o CMakeFiles/tcplay-static.dir/generic_xts.c.o -c /builddir/build/BUILD/tc-play-2.0/generic_xts.c BUILDSTDERR: In file included from /usr/include/sys/socket.h:33, BUILDSTDERR: from /usr/include/gcrypt.h:43, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/pbkdf2-gcrypt.c:38: BUILDSTDERR: /usr/include/bits/socket.h: In function '__cmsg_nxthdr': BUILDSTDERR: /usr/include/bits/socket.h:315:12: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: __cmsg = (struct cmsghdr *) ((unsigned char *) __cmsg BUILDSTDERR: ^ [ 91%] Building C object CMakeFiles/tcplay-static.dir/crypto-gcrypt.c.o /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 -fasynchronous-unwind-tables -fstack-clash-protection -std=c99 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wsystem-headers -Wall -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -DMAJ_VER=2 -DMIN_VER=0 -I/usr/include/uuid -o CMakeFiles/tcplay-static.dir/crypto-gcrypt.c.o -c /builddir/build/BUILD/tc-play-2.0/crypto-gcrypt.c BUILDSTDERR: In file included from /usr/include/stdlib.h:822, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/generic_xts.c:23: BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h: In function 'bsearch': BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:32:13: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: __p = (void *) (((const char *) __base) + (__idx * __size)); BUILDSTDERR: ^ BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:39:9: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: return (void *) __p; BUILDSTDERR: ^ [ 94%] Building C object CMakeFiles/tcplay-static.dir/pbkdf2-gcrypt.c.o /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 -fasynchronous-unwind-tables -fstack-clash-protection -std=c99 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wsystem-headers -Wall -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -DMAJ_VER=2 -DMIN_VER=0 -I/usr/include/uuid -o CMakeFiles/tcplay-static.dir/pbkdf2-gcrypt.c.o -c /builddir/build/BUILD/tc-play-2.0/pbkdf2-gcrypt.c BUILDSTDERR: In file included from /usr/include/stdlib.h:822, BUILDSTDERR: from /usr/include/gcrypt.h:26, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/crypto-gcrypt.c:42: BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h: In function 'bsearch': BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:32:13: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: __p = (void *) (((const char *) __base) + (__idx * __size)); BUILDSTDERR: ^ BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:39:9: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: return (void *) __p; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/generic_xts.c: In function 'xts_encrypt': BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/generic_xts.c:120:22: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: uint64_t sector = *((uint64_t *)iv); BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/generic_xts.c: In function 'xts_decrypt': BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/generic_xts.c:145:22: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: uint64_t sector = *((uint64_t *)iv); BUILDSTDERR: ^ [ 97%] Linking C executable tcplay /usr/bin/cmake -E cmake_link_script CMakeFiles/tcplay-bin.dir/link.txt --verbose=1 BUILDSTDERR: In file included from /usr/include/sys/socket.h:33, BUILDSTDERR: from /usr/include/gcrypt.h:43, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/crypto-gcrypt.c:42: BUILDSTDERR: /usr/include/bits/socket.h: In function '__cmsg_nxthdr': BUILDSTDERR: /usr/include/bits/socket.h:315:12: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: __cmsg = (struct cmsghdr *) ((unsigned char *) __cmsg BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/stdlib.h:822, BUILDSTDERR: from /usr/include/gcrypt.h:26, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/pbkdf2-gcrypt.c:38: BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h: In function 'bsearch': /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 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -rdynamic CMakeFiles/tcplay-bin.dir/main.c.o CMakeFiles/tcplay-bin.dir/tcplay.c.o CMakeFiles/tcplay-bin.dir/crc32.c.o CMakeFiles/tcplay-bin.dir/safe_mem.c.o CMakeFiles/tcplay-bin.dir/io.c.o CMakeFiles/tcplay-bin.dir/hdr.c.o CMakeFiles/tcplay-bin.dir/humanize.c.o CMakeFiles/tcplay-bin.dir/crypto.c.o CMakeFiles/tcplay-bin.dir/generic_xts.c.o CMakeFiles/tcplay-bin.dir/crypto-gcrypt.c.o CMakeFiles/tcplay-bin.dir/pbkdf2-gcrypt.c.o -o tcplay -ldevmapper -luuid -lgcrypt -lgpg-error BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:32:13: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: __p = (void *) (((const char *) __base) + (__idx * __size)); BUILDSTDERR: ^ BUILDSTDERR: /usr/include/bits/stdlib-bsearch.h:39:9: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: return (void *) __p; BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/sys/socket.h:33, BUILDSTDERR: from /usr/include/gcrypt.h:43, BUILDSTDERR: from /builddir/build/BUILD/tc-play-2.0/pbkdf2-gcrypt.c:38: BUILDSTDERR: /usr/include/bits/socket.h: In function '__cmsg_nxthdr': BUILDSTDERR: /usr/include/bits/socket.h:315:12: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: __cmsg = (struct cmsghdr *) ((unsigned char *) __cmsg BUILDSTDERR: ^ [100%] Linking C static library libtcplay.a /usr/bin/cmake -P CMakeFiles/tcplay-static.dir/cmake_clean_target.cmake BUILDSTDERR: CMakeFiles/tcplay-bin.dir/tcplay.c.o: In function `xlate_maj_min': BUILDSTDERR: /builddir/build/BUILD/tc-play-2.0/tcplay.c:1365: undefined reference to `makedev' BUILDSTDERR: collect2: error: ld returned 1 exit status BUILDSTDERR: make[2]: *** [CMakeFiles/tcplay-bin.dir/build.make:237: tcplay] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/tc-play-2.0' BUILDSTDERR: make[1]: *** [CMakeFiles/Makefile2:108: CMakeFiles/tcplay-bin.dir/all] Error 2 BUILDSTDERR: make[1]: *** Waiting for unfinished jobs.... /usr/bin/cmake -E cmake_link_script CMakeFiles/tcplay-static.dir/link.txt --verbose=1 /usr/bin/ar qc libtcplay.a CMakeFiles/tcplay-static.dir/tcplay_api.c.o CMakeFiles/tcplay-static.dir/tcplay.c.o CMakeFiles/tcplay-static.dir/crc32.c.o CMakeFiles/tcplay-static.dir/safe_mem.c.o CMakeFiles/tcplay-static.dir/io.c.o CMakeFiles/tcplay-static.dir/hdr.c.o CMakeFiles/tcplay-static.dir/humanize.c.o CMakeFiles/tcplay-static.dir/crypto.c.o CMakeFiles/tcplay-static.dir/generic_xts.c.o CMakeFiles/tcplay-static.dir/crypto-gcrypt.c.o CMakeFiles/tcplay-static.dir/pbkdf2-gcrypt.c.o /usr/bin/ranlib libtcplay.a make[2]: Leaving directory '/builddir/build/BUILD/tc-play-2.0' [100%] Built target tcplay-static make[1]: Leaving directory '/builddir/build/BUILD/tc-play-2.0' BUILDSTDERR: make: *** [Makefile:155: all] Error 2 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.Omms1W (%build) BUILDSTDERR: Macro expanded in comment on line 3: %global git_date 20130629 BUILDSTDERR: Macro expanded in comment on line 4: %global git_hash b44b1fa BUILDSTDERR: Macro expanded in comment on line 12: %{git_date}git%{git_hash}%{?dist} BUILDSTDERR: Macro expanded in comment on line 18: %{git_user}/%{git_project}/tarball/%{git_hash}/%{git_project}-%{git_hash}.tar.gz BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.Omms1W (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do 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 --target riscv64 --nodeps /builddir/build/SPECS/tcplay.spec