+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/snappy.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.V7FUez + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf snappy-1.1.4 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/snappy-1.1.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd snappy-1.1.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.PzeHpV + umask 022 + cd /builddir/build/BUILD + cd snappy-1.1.4 + ./autogen.sh libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' configure.ac:17: installing './compile' configure.ac:17: installing './config.guess' configure.ac:17: installing './config.sub' configure.ac:15: installing './install-sh' configure.ac:15: installing './missing' Makefile.am: installing './INSTALL' /usr/share/automake-1.16/am/ltlibrary.am: warning: 'libsnappy.la': linking libtool libraries using a non-POSIX /usr/share/automake-1.16/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac' Makefile.am:4: while processing Libtool library 'libsnappy.la' Makefile.am: installing './depcomp' parallel-tests: installing './test-driver' + 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 ' + 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 ' + 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 -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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -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 $(dirname ./configure) -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' + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --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 -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 -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 whether make supports nested variables... yes checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking how to print strings... printf checking whether make supports the include directive... yes (GNU style) checking for riscv64-redhat-linux-gnu-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 whether gcc understands -c and -o together... yes 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 how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-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 a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-redhat-linux-gnu-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 riscv64-redhat-linux-gnu-g++... no checking for riscv64-redhat-linux-gnu-c++... no checking for riscv64-redhat-linux-gnu-gpp... no checking for riscv64-redhat-linux-gnu-aCC... no checking for riscv64-redhat-linux-gnu-CC... no checking for riscv64-redhat-linux-gnu-cxx... no checking for riscv64-redhat-linux-gnu-cc++... no checking for riscv64-redhat-linux-gnu-cl.exe... no checking for riscv64-redhat-linux-gnu-FCC... no checking for riscv64-redhat-linux-gnu-KCC... no checking for riscv64-redhat-linux-gnu-RCC... no checking for riscv64-redhat-linux-gnu-xlC_r... no checking for riscv64-redhat-linux-gnu-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 size_t... yes checking for ssize_t... yes 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 riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-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 checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating snappy-stubs-public.h config.status: creating snappy.pc config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + make -j4 make all-am make[1]: Entering directory '/builddir/build/BUILD/snappy-1.1.4' g++ -DHAVE_CONFIG_H -I. -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 -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 -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 -DNDEBUG -c -o snappy_unittest-snappy-test.o `test -f 'snappy-test.cc' || echo './'`snappy-test.cc /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -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 -DNDEBUG -c -o snappy.lo snappy.cc /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -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 -DNDEBUG -c -o snappy-sinksource.lo snappy-sinksource.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -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 -DNDEBUG -c snappy.cc -fPIC -DPIC -o .libs/snappy.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -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 -DNDEBUG -c snappy-sinksource.cc -fPIC -DPIC -o .libs/snappy-sinksource.o /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -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 -DNDEBUG -c -o snappy-stubs-internal.lo snappy-stubs-internal.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -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 -DNDEBUG -c snappy-stubs-internal.cc -fPIC -DPIC -o .libs/snappy-stubs-internal.o snappy.cc: In member function 'void snappy::SnappySinkAllocator::Flush(size_t)': snappy.cc:1403:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < blocks_.size(); ++i) { ~~^~~~~~~~~~~~~~~~ In file included from snappy-internal.h:34:0, from snappy.cc:30: snappy.cc: In instantiation of 'bool snappy::SnappyScatteredWriter::AppendFromSelf(size_t, size_t) [with Allocator = snappy::SnappySinkAllocator; size_t = long unsigned int]': snappy.cc:715:13: required from 'void snappy::SnappyDecompressor::DecompressAllTags(Writer*) [with Writer = snappy::SnappyScatteredWriter]' snappy.cc:799:3: required from 'bool snappy::InternalUncompressAllTags(snappy::SnappyDecompressor*, Writer*, snappy::uint32) [with Writer = snappy::SnappyScatteredWriter; snappy::uint32 = unsigned int]' snappy.cc:1460:78: required from here snappy.cc:1316:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (PREDICT_TRUE(offset - 1u < op_ptr_ - op_base_ && op_end <= op_limit_)) { ~~~~~~~~~~~~^~~~~~~~~~~~~ snappy-stubs-internal.h:77:46: note: in definition of macro 'PREDICT_TRUE' #define PREDICT_TRUE(x) (__builtin_expect(!!(x), 1)) ^ In file included from snappy-test.cc:39:0: snappy-test.h:518:13: warning: 'void snappy::CompressFile(const char*)' declared 'static' but never defined [-Wunused-function] static void CompressFile(const char* fname); ^~~~~~~~~~~~ snappy-test.h:519:13: warning: 'void snappy::UncompressFile(const char*)' declared 'static' but never defined [-Wunused-function] static void UncompressFile(const char* fname); ^~~~~~~~~~~~~~ snappy-test.h:520:13: warning: 'void snappy::MeasureFile(const char*)' declared 'static' but never defined [-Wunused-function] static void MeasureFile(const char* fname); ^~~~~~~~~~~ snappy-test.h:470:13: warning: 'void RunSpecifiedBenchmarks()' defined but not used [-Wunused-function] static void RunSpecifiedBenchmarks() { ^~~~~~~~~~~~~~~~~~~~~~ snappy-test.h:164:15: warning: '{anonymous}::file::DummyStatus {anonymous}::file::SetContents(const string&, const string&, int)' defined but not used [-Wunused-function] DummyStatus SetContents(const string& filename, ^~~~~~~~~~~ snappy-test.h:130:8: warning: 'void {anonymous}::File::Init()' defined but not used [-Wunused-function] void Init() { } ^~~~ 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:587:41: 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:587:24: note: in expansion of macro 'CRASH_UNLESS' #define CHECK_EQ(a, b) CRASH_UNLESS((a) == (b)) ^~~~~~~~~~~~ snappy_unittest.cc:851:3: note: in expansion of macro 'CHECK_EQ' CHECK_EQ(length, src.size()); ^~~~~~~~ snappy_unittest.cc: In function 'void snappy::Test_Snappy_IOVecEdgeCases()': snappy_unittest.cc:870:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < ARRAYSIZE(kLengths); ++i) { snappy_unittest.cc:922:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < ARRAYSIZE(kLengths); ++i) { snappy_unittest.cc: In function 'void snappy::Test_Snappy_IOVecLiteralOverflow()': snappy_unittest.cc:931:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < ARRAYSIZE(kLengths); ++i) { snappy_unittest.cc:944:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < ARRAYSIZE(kLengths); ++i) { snappy_unittest.cc: In function 'void snappy::Test_Snappy_IOVecCopyOverflow()': snappy_unittest.cc:953:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < ARRAYSIZE(kLengths); ++i) { snappy_unittest.cc:967:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < ARRAYSIZE(kLengths); ++i) { snappy_unittest.cc: In function 'void snappy::Test_Snappy_FindMatchLengthRandom()': snappy_unittest.cc:1171:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (matched == t.size()) { ~~~~~~~~^~~~~~~~~~~ In file included from snappy_unittest.cc:38:0: snappy-internal.h: In function 'void snappy::Test_Snappy_VerifyCharTable()': snappy-internal.h:174:21: warning: unused variable 'snappy::internal::wordmask' [-Wunused-variable] static const uint32 wordmask[] = { ^~~~~~~~ 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:589:41: 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:589:24: note: in expansion of macro 'CRASH_UNLESS' #define CHECK_LT(a, b) CRASH_UNLESS((a) < (b)) ^~~~~~~~~~~~ snappy_unittest.cc:1358: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:589:41: 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:589:24: note: in expansion of macro 'CRASH_UNLESS' #define CHECK_LT(a, b) CRASH_UNLESS((a) < (b)) ^~~~~~~~~~~~ snappy_unittest.cc:1384:3: note: in expansion of macro 'CHECK_LT' CHECK_LT(arg, ARRAYSIZE(files)); ^~~~~~~~ snappy_unittest.cc: In function 'void snappy::BM_UIOVec(int, int)': snappy-test.h:589:41: 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:589:24: note: in expansion of macro 'CRASH_UNLESS' #define CHECK_LT(a, b) CRASH_UNLESS((a) < (b)) ^~~~~~~~~~~~ snappy_unittest.cc:1407:3: note: in expansion of macro 'CHECK_LT' CHECK_LT(arg, ARRAYSIZE(files)); ^~~~~~~~ snappy_unittest.cc:1421:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (used_so_far == contents.size()) { ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from snappy-internal.h:34:0, from snappy_unittest.cc:38: snappy_unittest.cc: In function 'void snappy::BM_UFlatSink(int, int)': snappy-test.h:589:41: 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:589:24: note: in expansion of macro 'CRASH_UNLESS' #define CHECK_LT(a, b) CRASH_UNLESS((a) < (b)) ^~~~~~~~~~~~ snappy_unittest.cc:1453:3: note: in expansion of macro 'CHECK_LT' CHECK_LT(arg, ARRAYSIZE(files)); ^~~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -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 -DNDEBUG -c -o snappy-c.lo snappy-c.cc snappy_unittest.cc: In function 'void snappy::BM_ZFlat(int, int)': snappy-test.h:589:41: 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:589:24: note: in expansion of macro 'CRASH_UNLESS' #define CHECK_LT(a, b) CRASH_UNLESS((a) < (b)) ^~~~~~~~~~~~ snappy_unittest.cc:1485:3: note: in expansion of macro 'CHECK_LT' CHECK_LT(arg, ARRAYSIZE(files)); ^~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -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 -DNDEBUG -c snappy-c.cc -fPIC -DPIC -o .libs/snappy-c.o In file included from snappy_unittest.cc:39:0: snappy-test.h: At global scope: snappy-test.h:130:8: warning: 'void {anonymous}::File::Init()' defined but not used [-Wunused-function] void Init() { } ^~~~ /bin/sh ./libtool --tag=CXX --mode=link g++ -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 -DNDEBUG -version-info 4:1:3 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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/riscv64-redhat-linux/7/crti.o /usr/lib/gcc/riscv64-redhat-linux/7/crtbeginS.o .libs/snappy.o .libs/snappy-sinksource.o .libs/snappy-stubs-internal.o .libs/snappy-c.o -L/usr/lib/gcc/riscv64-redhat-linux/7 -L/lib64/lp64d -L/usr/lib64/lp64d -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/riscv64-redhat-linux/7/crtendS.o /usr/lib/gcc/riscv64-redhat-linux/7/crtn.o -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -Wl,-soname -Wl,libsnappy.so.1 -o .libs/libsnappy.so.1.3.1 libtool: link: (cd ".libs" && rm -f "libsnappy.so.1" && ln -s "libsnappy.so.1.3.1" "libsnappy.so.1") libtool: link: (cd ".libs" && rm -f "libsnappy.so" && ln -s "libsnappy.so.1.3.1" "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 -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 -DNDEBUG -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o snappy_unittest snappy_unittest-snappy_unittest.o snappy_unittest-snappy-test.o libsnappy.la libtool: link: g++ -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 -DNDEBUG -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/snappy_unittest snappy_unittest-snappy_unittest.o snappy_unittest-snappy-test.o ./.libs/libsnappy.so make[1]: Leaving directory '/builddir/build/BUILD/snappy-1.1.4' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.osvt1W + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/snappy-1.1.4-5.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/snappy-1.1.4-5.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/snappy-1.1.4-5.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/snappy-1.1.4-5.fc28.riscv64 + cd snappy-1.1.4 + rm -rf /builddir/build/BUILDROOT/snappy-1.1.4-5.fc28.riscv64 + chmod 644 format_description.txt framing_format.txt AUTHORS ChangeLog COPYING NEWS README + make install DESTDIR=/builddir/build/BUILDROOT/snappy-1.1.4-5.fc28.riscv64 make[1]: Entering directory '/builddir/build/BUILD/snappy-1.1.4' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/snappy-1.1.4-5.fc28.riscv64/usr/lib64' /bin/sh ./libtool --mode=install /usr/bin/install -c libsnappy.la '/builddir/build/BUILDROOT/snappy-1.1.4-5.fc28.riscv64/usr/lib64' libtool: install: /usr/bin/install -c .libs/libsnappy.so.1.3.1 /builddir/build/BUILDROOT/snappy-1.1.4-5.fc28.riscv64/usr/lib64/libsnappy.so.1.3.1 libtool: install: (cd /builddir/build/BUILDROOT/snappy-1.1.4-5.fc28.riscv64/usr/lib64 && { ln -s -f libsnappy.so.1.3.1 libsnappy.so.1 || { rm -f libsnappy.so.1 && ln -s libsnappy.so.1.3.1 libsnappy.so.1; }; }) libtool: install: (cd /builddir/build/BUILDROOT/snappy-1.1.4-5.fc28.riscv64/usr/lib64 && { ln -s -f libsnappy.so.1.3.1 libsnappy.so || { rm -f libsnappy.so && ln -s libsnappy.so.1.3.1 libsnappy.so; }; }) libtool: install: /usr/bin/install -c .libs/libsnappy.lai /builddir/build/BUILDROOT/snappy-1.1.4-5.fc28.riscv64/usr/lib64/libsnappy.la libtool: warning: remember to run 'libtool --finish /usr/lib64' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/snappy-1.1.4-5.fc28.riscv64/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.4-5.fc28.riscv64/usr/share/doc/snappy' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/snappy-1.1.4-5.fc28.riscv64/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.4-5.fc28.riscv64/usr/include' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/snappy-1.1.4-5.fc28.riscv64/usr/lib64/pkgconfig' /usr/bin/install -c -m 644 snappy.pc '/builddir/build/BUILDROOT/snappy-1.1.4-5.fc28.riscv64/usr/lib64/pkgconfig' make[1]: Leaving directory '/builddir/build/BUILD/snappy-1.1.4' + rm -rf /builddir/build/BUILDROOT/snappy-1.1.4-5.fc28.riscv64/usr/share/doc/snappy/ + find /builddir/build/BUILDROOT/snappy-1.1.4-5.fc28.riscv64 -name '*.la' -exec rm -f '{}' ';' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: snappy-1.1.4-5.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.zbvNbH + umask 022 + cd /builddir/build/BUILD + cd snappy-1.1.4 + DOCDIR=/builddir/build/BUILDROOT/snappy-1.1.4-5.fc28.riscv64/usr/share/doc/snappy + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/snappy-1.1.4-5.fc28.riscv64/usr/share/doc/snappy + cp -pr AUTHORS /builddir/build/BUILDROOT/snappy-1.1.4-5.fc28.riscv64/usr/share/doc/snappy + cp -pr ChangeLog /builddir/build/BUILDROOT/snappy-1.1.4-5.fc28.riscv64/usr/share/doc/snappy + cp -pr COPYING /builddir/build/BUILDROOT/snappy-1.1.4-5.fc28.riscv64/usr/share/doc/snappy + cp -pr NEWS /builddir/build/BUILDROOT/snappy-1.1.4-5.fc28.riscv64/usr/share/doc/snappy + cp -pr README /builddir/build/BUILDROOT/snappy-1.1.4-5.fc28.riscv64/usr/share/doc/snappy + exit 0 Provides: libsnappy.so.1()(64bit) snappy = 1.1.4-5.fc28 snappy(riscv-64) = 1.1.4-5.fc28 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-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.4)(64bit) libm.so.6()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) rtld(GNU_HASH) Processing files: snappy-devel-1.1.4-5.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.NKNF5g + umask 022 + cd /builddir/build/BUILD + cd snappy-1.1.4 + DOCDIR=/builddir/build/BUILDROOT/snappy-1.1.4-5.fc28.riscv64/usr/share/doc/snappy-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/snappy-1.1.4-5.fc28.riscv64/usr/share/doc/snappy-devel + cp -pr format_description.txt /builddir/build/BUILDROOT/snappy-1.1.4-5.fc28.riscv64/usr/share/doc/snappy-devel + cp -pr framing_format.txt /builddir/build/BUILDROOT/snappy-1.1.4-5.fc28.riscv64/usr/share/doc/snappy-devel + exit 0 Provides: pkgconfig(snappy) = 1.1.4 snappy-devel = 1.1.4-5.fc28 snappy-devel(riscv-64) = 1.1.4-5.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libsnappy.so.1()(64bit) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/snappy-1.1.4-5.fc28.riscv64 Wrote: /builddir/build/SRPMS/snappy-1.1.4-5.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/snappy-1.1.4-5.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/snappy-devel-1.1.4-5.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.9knaf1 + umask 022 + cd /builddir/build/BUILD + cd snappy-1.1.4 + rm -rf /builddir/build/BUILDROOT/snappy-1.1.4-5.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff