Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/snappy.spec'], chrootPath='/var/lib/mock/dist-an7-build-33157-16169/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=989gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.bc2hj4n8:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.bc2hj4n8:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '7489c6ecd43a437ba4b87cde636ddfa7', '-D', '/var/lib/mock/dist-an7-build-33157-16169/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.bc2hj4n8:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/snappy.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/snappy-1.1.0-3.an7.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/snappy.spec'], chrootPath='/var/lib/mock/dist-an7-build-33157-16169/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=989gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.bc2hj4n8:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.bc2hj4n8:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'c49fbd28c5ee47b5b8c68b8c83f42a3b', '-D', '/var/lib/mock/dist-an7-build-33157-16169/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.bc2hj4n8:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/snappy.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.mgw6cw + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf snappy-1.1.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/snappy-1.1.0.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd snappy-1.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.YDxGZK + umask 022 + cd /builddir/build/BUILD + cd snappy-1.1.0 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' x86_64 == ppc64le ']' ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + ./configure --build=x86_64-Anolis-linux --host=x86_64-Anolis-linux --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info 'CXXFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DNDEBUG' --disable-static checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... x86_64-Anolis-linux-gnu checking host system type... x86_64-Anolis-linux-gnu checking how to print strings... printf checking for style of include used by make... GNU checking for x86_64-Anolis-linux-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... none checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-Anolis-linux-gnu file names to x86_64-Anolis-linux-gnu format... func_convert_file_noop checking how to convert x86_64-Anolis-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-Anolis-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-Anolis-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-Anolis-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-Anolis-linux-strip... no checking for strip... strip checking for x86_64-Anolis-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for x86_64-Anolis-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for x86_64-Anolis-linux-g++... no checking for x86_64-Anolis-linux-c++... no checking for x86_64-Anolis-linux-gpp... no checking for x86_64-Anolis-linux-aCC... no checking for x86_64-Anolis-linux-CC... no checking for x86_64-Anolis-linux-cxx... no checking for x86_64-Anolis-linux-cc++... no checking for x86_64-Anolis-linux-cl.exe... no checking for x86_64-Anolis-linux-FCC... no checking for x86_64-Anolis-linux-KCC... no checking for x86_64-Anolis-linux-RCC... no checking for x86_64-Anolis-linux-xlC_r... no checking for x86_64-Anolis-linux-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether byte ordering is bigendian... no checking for stdint.h... (cached) yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking windows.h usability... no checking windows.h presence... no checking for windows.h... no checking byteswap.h usability... yes checking byteswap.h presence... yes checking for byteswap.h... yes checking sys/byteswap.h usability... no checking sys/byteswap.h presence... no checking for sys/byteswap.h... no checking sys/endian.h usability... no checking sys/endian.h presence... no checking for sys/endian.h... no checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for mmap... yes checking for 'gtest-config'... checking for gtest-config... no no checking for x86_64-Anolis-linux-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for gflags... no checking if the compiler supports __builtin_expect... yes checking if the compiler supports __builtin_ctzll... yes checking for zlibVersion in -lz... no checking for lzo1x_1_15_compress in -llzo2... no checking for lzf_compress in -llzf... no checking for fastlz_compress in -lfastlz... no checking for qlz_compress in -lquicklz... no configure: creating ./config.status config.status: creating Makefile config.status: creating snappy-stubs-public.h config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + make -j64 make all-am make[1]: Entering directory `/builddir/build/BUILD/snappy-1.1.0' /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DNDEBUG -c -o snappy.lo snappy.cc /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DNDEBUG -c -o snappy-sinksource.lo snappy-sinksource.cc /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DNDEBUG -c -o snappy-stubs-internal.lo snappy-stubs-internal.cc /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DNDEBUG -c -o snappy-c.lo snappy-c.cc g++ -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DNDEBUG -c -o snappy_unittest-snappy_unittest.o `test -f 'snappy_unittest.cc' || echo './'`snappy_unittest.cc g++ -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DNDEBUG -c -o snappy_unittest-snappy-test.o `test -f 'snappy-test.cc' || echo './'`snappy-test.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DNDEBUG -c snappy-sinksource.cc -fPIC -DPIC -o .libs/snappy-sinksource.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DNDEBUG -c snappy-stubs-internal.cc -fPIC -DPIC -o .libs/snappy-stubs-internal.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DNDEBUG -c snappy-c.cc -fPIC -DPIC -o .libs/snappy-c.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DNDEBUG -c snappy.cc -fPIC -DPIC -o .libs/snappy.o In file included from snappy_unittest.cc:39:0: snappy-test.h: In function 'int {anonymous}::file::Defaults()': snappy-test.h:135:20: warning: no return statement in function returning non-void [-Wreturn-type] int Defaults() { } ^ snappy-test.h: In function '{anonymous}::file::DummyStatus {anonymous}::file::ReadFileToString(const string&, std::string*, int)': snappy-test.h:167:3: warning: no return statement in function returning non-void [-Wreturn-type] } ^ In file included from snappy-test.cc:31:0: snappy-test.h: In function 'int {anonymous}::file::Defaults()': snappy-test.h:135:20: warning: no return statement in function returning non-void [-Wreturn-type] int Defaults() { } ^ snappy-test.h: In function '{anonymous}::file::DummyStatus {anonymous}::file::ReadFileToString(const string&, std::string*, int)': snappy-test.h:167:3: warning: no return statement in function returning non-void [-Wreturn-type] } ^ snappy_unittest.cc: In function 'void snappy::Measure(const char*, size_t, snappy::CompressorType, int, int)': snappy_unittest.cc:451:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < compressed.size(); i++) { ^ snappy_unittest.cc: In function 'void snappy::Test_CorruptedTest_VerifyCorrupted()': snappy_unittest.cc:582:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < source.length(); ++i) { ^ snappy_unittest.cc: In function 'void snappy::Test_Snappy_RandomData()': snappy_unittest.cc:727:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (x.size() < len) { ^ snappy_unittest.cc:733:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (run_len-- > 0 && x.size() < len) { ^ In file included from snappy-internal.h:34:0, from snappy_unittest.cc:38: snappy_unittest.cc: In function 'void snappy::Test_Snappy_FourByteOffset()': snappy-test.h:573:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] #define CHECK_EQ(a, b) CRASH_UNLESS((a) == (b)) ^ snappy-stubs-internal.h:77:46: note: in definition of macro 'PREDICT_TRUE' #define PREDICT_TRUE(x) (__builtin_expect(!!(x), 1)) ^ snappy-test.h:573:24: note: in expansion of macro 'CRASH_UNLESS' #define CHECK_EQ(a, b) CRASH_UNLESS((a) == (b)) ^ snappy_unittest.cc:767:3: note: in expansion of macro 'CHECK_EQ' CHECK_EQ(length, src.size()); ^ snappy.cc: In member function 'bool snappy::SnappyArrayWriter::AppendFromSelf(size_t, size_t)': snappy.cc:1012:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (op - base_ <= offset - 1u) { // -1u catches offset==0 ^ snappy_unittest.cc: In function 'void snappy::Test_Snappy_FindMatchLengthRandom()': snappy_unittest.cc:960:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (matched == t.size()) { ^ In file included from snappy-internal.h:34:0, from snappy_unittest.cc:38: snappy_unittest.cc: In function 'void snappy::BM_UFlat(int, int)': snappy-test.h:575:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] #define CHECK_LT(a, b) CRASH_UNLESS((a) < (b)) ^ snappy-stubs-internal.h:77:46: note: in definition of macro 'PREDICT_TRUE' #define PREDICT_TRUE(x) (__builtin_expect(!!(x), 1)) ^ snappy-test.h:575:24: note: in expansion of macro 'CRASH_UNLESS' #define CHECK_LT(a, b) CRASH_UNLESS((a) < (b)) ^ snappy_unittest.cc:1061:3: note: in expansion of macro 'CHECK_LT' CHECK_LT(arg, ARRAYSIZE(files)); ^ snappy_unittest.cc: In function 'void snappy::BM_UValidate(int, int)': snappy-test.h:575:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] #define CHECK_LT(a, b) CRASH_UNLESS((a) < (b)) ^ snappy-stubs-internal.h:77:46: note: in definition of macro 'PREDICT_TRUE' #define PREDICT_TRUE(x) (__builtin_expect(!!(x), 1)) ^ snappy-test.h:575:24: note: in expansion of macro 'CRASH_UNLESS' #define CHECK_LT(a, b) CRASH_UNLESS((a) < (b)) ^ snappy_unittest.cc:1086:3: note: in expansion of macro 'CHECK_LT' CHECK_LT(arg, ARRAYSIZE(files)); ^ snappy_unittest.cc: In function 'void snappy::BM_ZFlat(int, int)': snappy-test.h:575:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] #define CHECK_LT(a, b) CRASH_UNLESS((a) < (b)) ^ snappy-stubs-internal.h:77:46: note: in definition of macro 'PREDICT_TRUE' #define PREDICT_TRUE(x) (__builtin_expect(!!(x), 1)) ^ snappy-test.h:575:24: note: in expansion of macro 'CRASH_UNLESS' #define CHECK_LT(a, b) CRASH_UNLESS((a) < (b)) ^ snappy_unittest.cc:1109:3: note: in expansion of macro 'CHECK_LT' CHECK_LT(arg, ARRAYSIZE(files)); ^ snappy-test.h: In function '{anonymous}::file::DummyStatus {anonymous}::file::ReadFileToString(const char*, std::string*, int)': snappy-test.h:161:3: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from snappy_unittest.cc:39:0: snappy-test.h: In function '{anonymous}::file::DummyStatus {anonymous}::file::ReadFileToString(const char*, std::string*, int)': snappy-test.h:161:3: warning: control reaches end of non-void function [-Wreturn-type] } ^ snappy_unittest.cc: In function 'size_t snappy::MinimumRequiredOutputSpace(size_t, snappy::CompressorType)': snappy_unittest.cc:165:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from snappy_unittest.cc:39:0: snappy-test.h: In function '{anonymous}::file::DummyStatus {anonymous}::file::WriteStringToFile(const string&, const string&, int)': snappy-test.h:185:3: warning: control reaches end of non-void function [-Wreturn-type] } ^ snappy-test.h: At global scope: snappy-test.h:469:13: warning: 'void RunSpecifiedBenchmarks()' defined but not used [-Wunused-function] static void RunSpecifiedBenchmarks() { ^ snappy-test.h:515:13: warning: 'void snappy::CompressFile(const char*)' declared 'static' but never defined [-Wunused-function] static void CompressFile(const char* fname); ^ snappy-test.h:516:13: warning: 'void snappy::UncompressFile(const char*)' declared 'static' but never defined [-Wunused-function] static void UncompressFile(const char* fname); ^ snappy-test.h:517:13: warning: 'void snappy::MeasureFile(const char*)' declared 'static' but never defined [-Wunused-function] static void MeasureFile(const char* fname); ^ /bin/sh ./libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DNDEBUG -version-info 2:4:1 -Wl,-z,relro -o libsnappy.la -rpath /usr/lib64 snappy.lo snappy-sinksource.lo snappy-stubs-internal.lo snappy-c.lo libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtbeginS.o .libs/snappy.o .libs/snappy-sinksource.o .libs/snappy-stubs-internal.o .libs/snappy-c.o -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtendS.o /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crtn.o -O2 -m64 -mtune=generic -Wl,-z -Wl,relro -Wl,-soname -Wl,libsnappy.so.1 -o .libs/libsnappy.so.1.1.4 libtool: link: (cd ".libs" && rm -f "libsnappy.so.1" && ln -s "libsnappy.so.1.1.4" "libsnappy.so.1") libtool: link: (cd ".libs" && rm -f "libsnappy.so" && ln -s "libsnappy.so.1.1.4" "libsnappy.so") libtool: link: ( cd ".libs" && rm -f "libsnappy.la" && ln -s "../libsnappy.la" "libsnappy.la" ) /bin/sh ./libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DNDEBUG -Wl,-z,relro -o snappy_unittest snappy_unittest-snappy_unittest.o snappy_unittest-snappy-test.o libsnappy.la libtool: link: g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DNDEBUG -Wl,-z -Wl,relro -o .libs/snappy_unittest snappy_unittest-snappy_unittest.o snappy_unittest-snappy-test.o ./.libs/libsnappy.so -Wl,-rpath -Wl,/usr/lib64 make[1]: Leaving directory `/builddir/build/BUILD/snappy-1.1.0' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.AEnzdg + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/snappy-1.1.0-3.an7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/snappy-1.1.0-3.an7.x86_64 ++ dirname /builddir/build/BUILDROOT/snappy-1.1.0-3.an7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/snappy-1.1.0-3.an7.x86_64 + cd snappy-1.1.0 + rm -rf /builddir/build/BUILDROOT/snappy-1.1.0-3.an7.x86_64 + make install DESTDIR=/builddir/build/BUILDROOT/snappy-1.1.0-3.an7.x86_64 make[1]: Entering directory `/builddir/build/BUILD/snappy-1.1.0' test -z "/usr/lib64" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/snappy-1.1.0-3.an7.x86_64/usr/lib64" /bin/sh ./libtool --mode=install /usr/bin/install -c libsnappy.la '/builddir/build/BUILDROOT/snappy-1.1.0-3.an7.x86_64/usr/lib64' libtool: install: /usr/bin/install -c .libs/libsnappy.so.1.1.4 /builddir/build/BUILDROOT/snappy-1.1.0-3.an7.x86_64/usr/lib64/libsnappy.so.1.1.4 libtool: install: (cd /builddir/build/BUILDROOT/snappy-1.1.0-3.an7.x86_64/usr/lib64 && { ln -s -f libsnappy.so.1.1.4 libsnappy.so.1 || { rm -f libsnappy.so.1 && ln -s libsnappy.so.1.1.4 libsnappy.so.1; }; }) libtool: install: (cd /builddir/build/BUILDROOT/snappy-1.1.0-3.an7.x86_64/usr/lib64 && { ln -s -f libsnappy.so.1.1.4 libsnappy.so || { rm -f libsnappy.so && ln -s libsnappy.so.1.1.4 libsnappy.so; }; }) libtool: install: /usr/bin/install -c .libs/libsnappy.lai /builddir/build/BUILDROOT/snappy-1.1.0-3.an7.x86_64/usr/lib64/libsnappy.la libtool: install: warning: remember to run `libtool --finish /usr/lib64' test -z "/usr/share/doc/snappy" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/snappy-1.1.0-3.an7.x86_64/usr/share/doc/snappy" /usr/bin/install -c -m 644 ChangeLog COPYING INSTALL NEWS README format_description.txt framing_format.txt '/builddir/build/BUILDROOT/snappy-1.1.0-3.an7.x86_64/usr/share/doc/snappy' test -z "/usr/include" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/snappy-1.1.0-3.an7.x86_64/usr/include" /usr/bin/install -c -m 644 snappy.h snappy-sinksource.h snappy-stubs-public.h snappy-c.h '/builddir/build/BUILDROOT/snappy-1.1.0-3.an7.x86_64/usr/include' make[1]: Leaving directory `/builddir/build/BUILD/snappy-1.1.0' + rm -rf /builddir/build/BUILDROOT/snappy-1.1.0-3.an7.x86_64/usr/share/doc/snappy/ + find /builddir/build/BUILDROOT/snappy-1.1.0-3.an7.x86_64 -name '*.la' -exec rm -f '{}' ';' + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/snappy-1.1.0 extracting debug info from /builddir/build/BUILDROOT/snappy-1.1.0-3.an7.x86_64/usr/lib64/libsnappy.so.1.1.4 dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. symlinked /usr/lib/debug/usr/lib64/libsnappy.so.1.1.4.debug to /usr/lib/debug/usr/lib64/libsnappy.so.debug symlinked /usr/lib/debug/usr/lib64/libsnappy.so.1.1.4.debug to /usr/lib/debug/usr/lib64/libsnappy.so.1.debug 174 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.qdhK0L + umask 022 + cd /builddir/build/BUILD + cd snappy-1.1.0 + make check make check-TESTS make[1]: Entering directory `/builddir/build/BUILD/snappy-1.1.0' Running microbenchmarks. Benchmark Time(ns) CPU(ns) Iterations --------------------------------------------------- BM_UFlat/0 40473 40337 4752 2.4GB/s html BM_UFlat/1 524518 521910 378 1.3GB/s urls BM_UFlat/2 4035 4019 44247 29.4GB/s jpg BM_UFlat/3 12361 12316 15588 7.1GB/s pdf BM_UFlat/4 192054 191381 1039 2.0GB/s html4 BM_UFlat/5 11419 11375 16181 2.0GB/s cp BM_UFlat/6 5908 5887 32948 1.8GB/s c BM_UFlat/7 1802 1795 108695 1.9GB/s lsp BM_UFlat/8 745969 742477 266 1.3GB/s xls BM_UFlat/9 159532 158970 1249 912.4MB/s txt1 BM_UFlat/10 140955 140502 1412 849.7MB/s txt2 BM_UFlat/11 426824 425183 468 957.2MB/s txt3 BM_UFlat/12 593333 591086 336 777.4MB/s txt4 BM_UFlat/13 253040 252106 788 1.9GB/s bin BM_UFlat/14 24309 24220 7968 1.5GB/s sum BM_UFlat/15 2396 2387 81300 1.6GB/s man BM_UFlat/16 38086 37955 5094 2.9GB/s pb BM_UFlat/17 160623 160016 1247 1.1GB/s gaviota BM_UValidate/0 32236 32115 6150 3.0GB/s html BM_UValidate/1 383687 382543 521 1.7GB/s urls BM_UValidate/2 126 126 1250000 936.8GB/s jpg BM_UValidate/3 10015 9983 19569 8.8GB/s pdf BM_UValidate/4 133294 132857 1495 2.9GB/s html4 BM_ZFlat/0 114335 113947 1727 857.0MB/s html (22.31 %) BM_ZFlat/1 1474948 1465888 135 456.8MB/s urls (47.77 %) BM_ZFlat/2 14073 14026 14084 8.4GB/s jpg (99.87 %) BM_ZFlat/3 43288 43129 4464 2.0GB/s pdf (82.07 %) BM_ZFlat/4 487943 486024 409 803.7MB/s html4 (22.51 %) BM_ZFlat/5 47358 47167 4143 497.4MB/s cp (48.12 %) BM_ZFlat/6 16376 16312 11267 651.9MB/s c (42.40 %) BM_ZFlat/7 4917 4900 38240 724.1MB/s lsp (48.37 %) BM_ZFlat/8 1465808 1459389 136 672.9MB/s xls (41.23 %) BM_ZFlat/9 485744 483530 411 300.0MB/s txt1 (57.87 %) BM_ZFlat/10 431937 430041 463 277.6MB/s txt2 (61.93 %) BM_ZFlat/11 1290467 1285214 154 316.7MB/s txt3 (54.92 %) BM_ZFlat/12 1772203 1764415 113 260.4MB/s txt4 (66.22 %) BM_ZFlat/13 447156 443653 447 1.1GB/s bin (18.11 %) BM_ZFlat/14 77589 77318 2541 471.7MB/s sum (48.96 %) BM_ZFlat/15 6674 6652 28449 606.0MB/s man (59.36 %) BM_ZFlat/16 102147 101792 1926 1.1GB/s pb (19.64 %) BM_ZFlat/17 377032 375715 531 467.9MB/s gaviota (37.72 %) Running correctness tests. Crazy decompression lengths not checked on 64-bit build All tests passed. PASS: snappy_unittest ============= 1 test passed ============= make[1]: Leaving directory `/builddir/build/BUILD/snappy-1.1.0' + exit 0 Processing files: snappy-1.1.0-3.an7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ycFIDB + umask 022 + cd /builddir/build/BUILD + cd snappy-1.1.0 + DOCDIR=/builddir/build/BUILDROOT/snappy-1.1.0-3.an7.x86_64/usr/share/doc/snappy-1.1.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/snappy-1.1.0-3.an7.x86_64/usr/share/doc/snappy-1.1.0 + cp -pr AUTHORS /builddir/build/BUILDROOT/snappy-1.1.0-3.an7.x86_64/usr/share/doc/snappy-1.1.0 + cp -pr ChangeLog /builddir/build/BUILDROOT/snappy-1.1.0-3.an7.x86_64/usr/share/doc/snappy-1.1.0 + cp -pr COPYING /builddir/build/BUILDROOT/snappy-1.1.0-3.an7.x86_64/usr/share/doc/snappy-1.1.0 + cp -pr NEWS /builddir/build/BUILDROOT/snappy-1.1.0-3.an7.x86_64/usr/share/doc/snappy-1.1.0 + cp -pr README /builddir/build/BUILDROOT/snappy-1.1.0-3.an7.x86_64/usr/share/doc/snappy-1.1.0 + exit 0 Provides: libsnappy.so.1()(64bit) snappy = 1.1.0-3.an7 snappy(x86-64) = 1.1.0-3.an7 Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.4)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) rtld(GNU_HASH) Processing files: snappy-devel-1.1.0-3.an7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.0KShmr + umask 022 + cd /builddir/build/BUILD + cd snappy-1.1.0 + DOCDIR=/builddir/build/BUILDROOT/snappy-1.1.0-3.an7.x86_64/usr/share/doc/snappy-devel-1.1.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/snappy-1.1.0-3.an7.x86_64/usr/share/doc/snappy-devel-1.1.0 + cp -pr format_description.txt /builddir/build/BUILDROOT/snappy-1.1.0-3.an7.x86_64/usr/share/doc/snappy-devel-1.1.0 + cp -pr framing_format.txt /builddir/build/BUILDROOT/snappy-1.1.0-3.an7.x86_64/usr/share/doc/snappy-devel-1.1.0 + exit 0 Provides: snappy-devel = 1.1.0-3.an7 snappy-devel(x86-64) = 1.1.0-3.an7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libsnappy.so.1()(64bit) Processing files: snappy-debuginfo-1.1.0-3.an7.x86_64 Provides: snappy-debuginfo = 1.1.0-3.an7 snappy-debuginfo(x86-64) = 1.1.0-3.an7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/snappy-1.1.0-3.an7.x86_64 Wrote: /builddir/build/RPMS/snappy-1.1.0-3.an7.x86_64.rpm Wrote: /builddir/build/RPMS/snappy-devel-1.1.0-3.an7.x86_64.rpm Wrote: /builddir/build/RPMS/snappy-debuginfo-1.1.0-3.an7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.UyMPFN + umask 022 + cd /builddir/build/BUILD + cd snappy-1.1.0 + rm -rf /builddir/build/BUILDROOT/snappy-1.1.0-3.an7.x86_64 + exit 0 Child return code was: 0