Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/snappy.spec'], chrootPath='/var/lib/mock/dist-an7-build-33568-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', 'MTR_MAX_PARALLEL': '2'}shell=Falselogger=timeout=86400uid=967gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kos5sr0d:/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.kos5sr0d:/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', 'b4f46282b810475e9d4b1ff8b0d6f59a', '-D', '/var/lib/mock/dist-an7-build-33568-16169/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kos5sr0d:/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', '--setenv=MTR_MAX_PARALLEL=2', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --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', 'MTR_MAX_PARALLEL': '2', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 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 aarch64 --nodeps /builddir/build/SPECS/snappy.spec'], chrootPath='/var/lib/mock/dist-an7-build-33568-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', 'MTR_MAX_PARALLEL': '2'}shell=Falselogger=timeout=86400uid=967gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kos5sr0d:/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.kos5sr0d:/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', '7d7f36bdfb8948d9a49d0f8ec3ed7962', '-D', '/var/lib/mock/dist-an7-build-33568-16169/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kos5sr0d:/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', '--setenv=MTR_MAX_PARALLEL=2', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --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', 'MTR_MAX_PARALLEL': '2', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.gr6WB1 + 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.GSSEHT + 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 ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' aarch64 == ppc64le ']' ++ find . -name config.guess -o -name 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' + 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' + ./configure --build=aarch64-Anolis-linux --host=aarch64-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 -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... aarch64-Anolis-linux-gnu checking host system type... aarch64-Anolis-linux-gnu checking how to print strings... printf checking for style of include used by make... GNU checking for aarch64-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 aarch64-Anolis-linux-gnu file names to aarch64-Anolis-linux-gnu format... func_convert_file_noop checking how to convert aarch64-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 aarch64-Anolis-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for aarch64-Anolis-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for aarch64-Anolis-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for aarch64-Anolis-linux-strip... no checking for strip... strip checking for aarch64-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 aarch64-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) 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 aarch64-Anolis-linux-g++... no checking for aarch64-Anolis-linux-c++... no checking for aarch64-Anolis-linux-gpp... no checking for aarch64-Anolis-linux-aCC... no checking for aarch64-Anolis-linux-CC... no checking for aarch64-Anolis-linux-cxx... no checking for aarch64-Anolis-linux-cc++... no checking for aarch64-Anolis-linux-cl.exe... no checking for aarch64-Anolis-linux-FCC... no checking for aarch64-Anolis-linux-KCC... no checking for aarch64-Anolis-linux-RCC... no checking for aarch64-Anolis-linux-xlC_r... no checking for aarch64-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 checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) 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) 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 aarch64-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 -j16 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 -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 -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 -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 -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 -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 -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 -DNDEBUG -c snappy.cc -fPIC -DPIC -o .libs/snappy.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 -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 -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 -DNDEBUG -c snappy-stubs-internal.cc -fPIC -DPIC -o .libs/snappy-stubs-internal.o 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.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-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 '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_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)); ^ 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 -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/aarch64-redhat-linux/4.8.5/../../../../lib64/crti.o /usr/lib/gcc/aarch64-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/aarch64-redhat-linux/4.8.5 -L/usr/lib/gcc/aarch64-redhat-linux/4.8.5/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/aarch64-redhat-linux/4.8.5/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/aarch64-redhat-linux/4.8.5/crtendS.o /usr/lib/gcc/aarch64-redhat-linux/4.8.5/../../../../lib64/crtn.o -O2 -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 -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 -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.NUGZku + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/snappy-1.1.0-3.an7.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/snappy-1.1.0-3.an7.aarch64 ++ dirname /builddir/build/BUILDROOT/snappy-1.1.0-3.an7.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/snappy-1.1.0-3.an7.aarch64 + cd snappy-1.1.0 + rm -rf /builddir/build/BUILDROOT/snappy-1.1.0-3.an7.aarch64 + make install DESTDIR=/builddir/build/BUILDROOT/snappy-1.1.0-3.an7.aarch64 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.aarch64/usr/lib64" /bin/sh ./libtool --mode=install /usr/bin/install -c libsnappy.la '/builddir/build/BUILDROOT/snappy-1.1.0-3.an7.aarch64/usr/lib64' libtool: install: /usr/bin/install -c .libs/libsnappy.so.1.1.4 /builddir/build/BUILDROOT/snappy-1.1.0-3.an7.aarch64/usr/lib64/libsnappy.so.1.1.4 libtool: install: (cd /builddir/build/BUILDROOT/snappy-1.1.0-3.an7.aarch64/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.aarch64/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.aarch64/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.aarch64/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.aarch64/usr/share/doc/snappy' test -z "/usr/include" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/snappy-1.1.0-3.an7.aarch64/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.aarch64/usr/include' make[1]: Leaving directory `/builddir/build/BUILD/snappy-1.1.0' + rm -rf /builddir/build/BUILDROOT/snappy-1.1.0-3.an7.aarch64/usr/share/doc/snappy/ + find /builddir/build/BUILDROOT/snappy-1.1.0-3.an7.aarch64 -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 50000000 /builddir/build/BUILD/snappy-1.1.0 extracting debug info from /builddir/build/BUILDROOT/snappy-1.1.0-3.an7.aarch64/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.1.debug symlinked /usr/lib/debug/usr/lib64/libsnappy.so.1.1.4.debug to /usr/lib/debug/usr/lib64/libsnappy.so.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.ol9ten + 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 71667 71650 2790 1.3GB/s html BM_UFlat/1 769332 769339 259 870.3MB/s urls BM_UFlat/2 11272 11272 17361 10.5GB/s jpg BM_UFlat/3 27114 27114 7254 3.2GB/s pdf BM_UFlat/4 298628 298598 668 1.3GB/s html4 BM_UFlat/5 26862 26862 7418 873.4MB/s cp BM_UFlat/6 12164 12164 16129 874.1MB/s c BM_UFlat/7 3424 3424 54644 1.0GB/s lsp BM_UFlat/8 1095331 1095254 181 896.6MB/s xls BM_UFlat/9 241420 241425 827 600.8MB/s txt1 BM_UFlat/10 212634 212637 940 561.4MB/s txt2 BM_UFlat/11 644880 644809 309 631.2MB/s txt3 BM_UFlat/12 874276 874298 228 525.6MB/s txt4 BM_UFlat/13 366715 366705 551 1.3GB/s bin BM_UFlat/14 43806 43806 4469 832.5MB/s sum BM_UFlat/15 4642 4642 41237 868.3MB/s man BM_UFlat/16 69150 69150 2899 1.6GB/s pb BM_UFlat/17 253944 253942 786 692.2MB/s gaviota BM_UValidate/0 42651 42651 4578 2.2GB/s html BM_UValidate/1 491071 491071 407 1.3GB/s urls BM_UValidate/2 207 207 740740 570.5GB/s jpg BM_UValidate/3 13250 13249 14880 6.6GB/s pdf BM_UValidate/4 176685 176684 1131 2.2GB/s html4 BM_ZFlat/0 176420 176423 1130 553.5MB/s html (22.31 %) BM_ZFlat/1 2013770 2013750 100 332.5MB/s urls (47.77 %) BM_ZFlat/2 26360 26360 7593 4.5GB/s jpg (99.87 %) BM_ZFlat/3 74286 74285 2655 1.2GB/s pdf (82.07 %) BM_ZFlat/4 711035 711035 280 549.4MB/s html4 (22.51 %) BM_ZFlat/5 75477 75477 2622 310.9MB/s cp (48.12 %) BM_ZFlat/6 29499 29499 6954 360.5MB/s c (42.40 %) BM_ZFlat/7 6972 6972 25125 508.9MB/s lsp (48.37 %) BM_ZFlat/8 1847816 1847908 109 531.4MB/s xls (41.23 %) BM_ZFlat/9 591020 591026 337 245.4MB/s txt1 (57.87 %) BM_ZFlat/10 509816 509816 392 234.2MB/s txt2 (61.93 %) BM_ZFlat/11 1600701 1600709 124 254.3MB/s txt3 (54.92 %) BM_ZFlat/12 2043640 2043690 100 224.9MB/s txt4 (66.22 %) BM_ZFlat/13 644899 644899 308 758.9MB/s bin (18.11 %) BM_ZFlat/14 113664 113667 1754 320.8MB/s sum (48.96 %) BM_ZFlat/15 9652 9651 19379 417.7MB/s man (59.36 %) BM_ZFlat/16 155710 155711 1289 726.3MB/s pb (19.64 %) BM_ZFlat/17 483442 483454 414 363.6MB/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.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.R37gRn + umask 022 + cd /builddir/build/BUILD + cd snappy-1.1.0 + DOCDIR=/builddir/build/BUILDROOT/snappy-1.1.0-3.an7.aarch64/usr/share/doc/snappy-1.1.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/snappy-1.1.0-3.an7.aarch64/usr/share/doc/snappy-1.1.0 + cp -pr AUTHORS /builddir/build/BUILDROOT/snappy-1.1.0-3.an7.aarch64/usr/share/doc/snappy-1.1.0 + cp -pr ChangeLog /builddir/build/BUILDROOT/snappy-1.1.0-3.an7.aarch64/usr/share/doc/snappy-1.1.0 + cp -pr COPYING /builddir/build/BUILDROOT/snappy-1.1.0-3.an7.aarch64/usr/share/doc/snappy-1.1.0 + cp -pr NEWS /builddir/build/BUILDROOT/snappy-1.1.0-3.an7.aarch64/usr/share/doc/snappy-1.1.0 + cp -pr README /builddir/build/BUILDROOT/snappy-1.1.0-3.an7.aarch64/usr/share/doc/snappy-1.1.0 + exit 0 Provides: libsnappy.so.1()(64bit) snappy = 1.1.0-3.an7 snappy(aarch-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: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(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.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.yBbJZp + umask 022 + cd /builddir/build/BUILD + cd snappy-1.1.0 + DOCDIR=/builddir/build/BUILDROOT/snappy-1.1.0-3.an7.aarch64/usr/share/doc/snappy-devel-1.1.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/snappy-1.1.0-3.an7.aarch64/usr/share/doc/snappy-devel-1.1.0 + cp -pr format_description.txt /builddir/build/BUILDROOT/snappy-1.1.0-3.an7.aarch64/usr/share/doc/snappy-devel-1.1.0 + cp -pr framing_format.txt /builddir/build/BUILDROOT/snappy-1.1.0-3.an7.aarch64/usr/share/doc/snappy-devel-1.1.0 + exit 0 Provides: snappy-devel = 1.1.0-3.an7 snappy-devel(aarch-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.aarch64 Provides: snappy-debuginfo = 1.1.0-3.an7 snappy-debuginfo(aarch-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.aarch64 Wrote: /builddir/build/RPMS/snappy-1.1.0-3.an7.aarch64.rpm Wrote: /builddir/build/RPMS/snappy-devel-1.1.0-3.an7.aarch64.rpm Wrote: /builddir/build/RPMS/snappy-debuginfo-1.1.0-3.an7.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Jp4axH + umask 022 + cd /builddir/build/BUILD + cd snappy-1.1.0 + rm -rf /builddir/build/BUILDROOT/snappy-1.1.0-3.an7.aarch64 + exit 0 Child return code was: 0