Cook: lzham 1.0.1 ================================================================================ QA: checking package receipt... Checking build dependencies... Installing (pkg/local): cmake-common-3.17.3-any Installing (pkg/local): jsoncpp-1.8.4-i486 Installing (pkg/local): liblz4-1.8.3-i486 Installing (pkg/local): libxml2-2.9.9-i486 Installing (pkg/local): libzstd-1.3.8-i486 Installing (pkg/local): libarchive-3.3.3-i486 Installing (pkg/local): libunistring-0.9.10-i486 Installing (pkg/local): libidn2-2.1.0-i486 Installing (pkg/local): libcurl-7.63.0-i486 Installing (pkg/local): libnsl-1.2.0-i486 Installing (pkg/local): libuv-1.25.0-i486 Installing (pkg/local): cmake-3.17.3-i486 Extracting source archive "lzham-1.0.1.tar.gz" Executing: compile_rules CFLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CXXLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1 LDFLAGS : -Wl,-Os,--as-needed CMake Warning (dev) in CMakeLists.txt: No project() command is present. The top-level CMakeLists.txt file must contain a literal, direct call to the project() command. Add a line of code such as project(ProjectName) near the top of the file, but after cmake_minimum_required(). CMake is pretending there is a "project(Project)" command on the first line. This warning is for project developers. Use -Wno-dev to suppress it. -- The C compiler identification is GNU 8.2.0 -- The CXX compiler identification is GNU 8.2.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc - works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ - works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done Initial BUILD_X64=OFF Initial CMAKE_BUILD_TYPE=Release lzhamdecomp build type: Release Building 32-bit Initial BUILD_X64=OFF Initial CMAKE_BUILD_TYPE=Release lzhamcomp build type: Release Building 32-bit Initial BUILD_X64=OFF Initial CMAKE_BUILD_TYPE=Release lzhamdll build type: Release Building 32-bit Initial BUILD_X64=OFF Initial CMAKE_BUILD_TYPE=Release lzhamtest build type: Release Building 32-bit -- Configuring done -- Generating done -- Build files have been written to: /home/slitaz/wok/lzham/source/lzham-1.0.1/build Scanning dependencies of target lzhamdecomp [ 4%] Building CXX object lzhamdecomp/CMakeFiles/lzhamdecomp.dir/lzham_assert.cpp.o [ 8%] Building CXX object lzhamdecomp/CMakeFiles/lzhamdecomp.dir/lzham_huffman_codes.cpp.o [ 12%] Building CXX object lzhamdecomp/CMakeFiles/lzhamdecomp.dir/lzham_checksum.cpp.o [ 16%] Building CXX object lzhamdecomp/CMakeFiles/lzhamdecomp.dir/lzham_lzdecompbase.cpp.o [ 20%] Building CXX object lzhamdecomp/CMakeFiles/lzhamdecomp.dir/lzham_lzdecomp.cpp.o [ 25%] Building CXX object lzhamdecomp/CMakeFiles/lzhamdecomp.dir/lzham_mem.cpp.o [ 29%] Building CXX object lzhamdecomp/CMakeFiles/lzhamdecomp.dir/lzham_platform.cpp.o [ 33%] Building CXX object lzhamdecomp/CMakeFiles/lzhamdecomp.dir/lzham_prefix_coding.cpp.o [ 37%] Building CXX object lzhamdecomp/CMakeFiles/lzhamdecomp.dir/lzham_symbol_codec.cpp.o [ 41%] Building CXX object lzhamdecomp/CMakeFiles/lzhamdecomp.dir/lzham_timer.cpp.o In file included from /home/slitaz/wok/lzham/source/lzham-1.0.1/lzhamdecomp/lzham_lzdecomp.cpp:10: /home/slitaz/wok/lzham/source/lzham-1.0.1/lzhamdecomp/lzham_lzdecomp.cpp: In instantiation of 'lzham_decompress_status_t lzham::lzham_decompressor::decompress() [with bool unbuffered = true]': /home/slitaz/wok/lzham/source/lzham-1.0.1/lzhamdecomp/lzham_lzdecomp.cpp:1284:44: required from here /home/slitaz/wok/lzham/source/lzham-1.0.1/lzhamdecomp/lzham_symbol_codec.h:341:11: warning: enum constant in boolean context [-Wint-in-bool-context] result = (num_bits) ? static_cast(bit_buf >> (symbol_codec::cBitBufSize - (num_bits))) : 0; \ /home/slitaz/wok/lzham/source/lzham-1.0.1/lzhamdecomp/lzham_lzdecomp.cpp:431:10: note: in expansion of macro 'LZHAM_SYMBOL_CODEC_DECODE_GET_BITS' LZHAM_SYMBOL_CODEC_DECODE_GET_BITS(codec, m_block_type, CLZDecompBase::cBlockHeaderBits); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/slitaz/wok/lzham/source/lzham-1.0.1/lzhamdecomp/lzham_symbol_codec.h:341:11: warning: enum constant in boolean context [-Wint-in-bool-context] result = (num_bits) ? static_cast(bit_buf >> (symbol_codec::cBitBufSize - (num_bits))) : 0; \ /home/slitaz/wok/lzham/source/lzham-1.0.1/lzhamdecomp/lzham_lzdecomp.cpp:437:13: note: in expansion of macro 'LZHAM_SYMBOL_CODEC_DECODE_GET_BITS' LZHAM_SYMBOL_CODEC_DECODE_GET_BITS(codec, m_tmp, CLZDecompBase::cBlockFlushTypeBits); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/slitaz/wok/lzham/source/lzham-1.0.1/lzhamdecomp/lzham_symbol_codec.h:341:11: warning: enum constant in boolean context [-Wint-in-bool-context] result = (num_bits) ? static_cast(bit_buf >> (symbol_codec::cBitBufSize - (num_bits))) : 0; \ /home/slitaz/wok/lzham/source/lzham-1.0.1/lzhamdecomp/lzham_lzdecomp.cpp:651:39: note: in expansion of macro 'LZHAM_SYMBOL_CODEC_DECODE_GET_BITS' uint block_flush_type; LZHAM_SYMBOL_CODEC_DECODE_GET_BITS(codec, block_flush_type, CLZDecompBase::cBlockFlushTypeBits); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/slitaz/wok/lzham/source/lzham-1.0.1/lzhamdecomp/lzham_lzdecomp.cpp: In instantiation of 'lzham_decompress_status_t lzham::lzham_decompressor::decompress() [with bool unbuffered = false]': /home/slitaz/wok/lzham/source/lzham-1.0.1/lzhamdecomp/lzham_lzdecomp.cpp:1286:45: required from here /home/slitaz/wok/lzham/source/lzham-1.0.1/lzhamdecomp/lzham_symbol_codec.h:341:11: warning: enum constant in boolean context [-Wint-in-bool-context] result = (num_bits) ? static_cast(bit_buf >> (symbol_codec::cBitBufSize - (num_bits))) : 0; \ /home/slitaz/wok/lzham/source/lzham-1.0.1/lzhamdecomp/lzham_lzdecomp.cpp:431:10: note: in expansion of macro 'LZHAM_SYMBOL_CODEC_DECODE_GET_BITS' LZHAM_SYMBOL_CODEC_DECODE_GET_BITS(codec, m_block_type, CLZDecompBase::cBlockHeaderBits); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/slitaz/wok/lzham/source/lzham-1.0.1/lzhamdecomp/lzham_symbol_codec.h:341:11: warning: enum constant in boolean context [-Wint-in-bool-context] result = (num_bits) ? static_cast(bit_buf >> (symbol_codec::cBitBufSize - (num_bits))) : 0; \ /home/slitaz/wok/lzham/source/lzham-1.0.1/lzhamdecomp/lzham_lzdecomp.cpp:437:13: note: in expansion of macro 'LZHAM_SYMBOL_CODEC_DECODE_GET_BITS' LZHAM_SYMBOL_CODEC_DECODE_GET_BITS(codec, m_tmp, CLZDecompBase::cBlockFlushTypeBits); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/slitaz/wok/lzham/source/lzham-1.0.1/lzhamdecomp/lzham_symbol_codec.h:341:11: warning: enum constant in boolean context [-Wint-in-bool-context] result = (num_bits) ? static_cast(bit_buf >> (symbol_codec::cBitBufSize - (num_bits))) : 0; \ /home/slitaz/wok/lzham/source/lzham-1.0.1/lzhamdecomp/lzham_lzdecomp.cpp:651:39: note: in expansion of macro 'LZHAM_SYMBOL_CODEC_DECODE_GET_BITS' uint block_flush_type; LZHAM_SYMBOL_CODEC_DECODE_GET_BITS(codec, block_flush_type, CLZDecompBase::cBlockFlushTypeBits); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 45%] Building CXX object lzhamdecomp/CMakeFiles/lzhamdecomp.dir/lzham_vector.cpp.o In file included from /home/slitaz/wok/lzham/source/lzham-1.0.1/lzhamdecomp/lzham_core.h:264, from /home/slitaz/wok/lzham/source/lzham-1.0.1/lzhamdecomp/lzham_symbol_codec.cpp:3: /home/slitaz/wok/lzham/source/lzham-1.0.1/lzhamdecomp/lzham_vector.h: In instantiation of 'lzham::vector& lzham::vector::operator=(const lzham::vector&) [with T = lzham::adaptive_bit_model]': /home/slitaz/wok/lzham/source/lzham-1.0.1/lzhamdecomp/lzham_symbol_codec.cpp:618:23: required from here /home/slitaz/wok/lzham/source/lzham-1.0.1/lzhamdecomp/lzham_vector.h:102:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class lzham::adaptive_bit_model' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(m_p, other.m_p, other.m_size * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/slitaz/wok/lzham/source/lzham-1.0.1/lzhamdecomp/lzham_symbol_codec.cpp:4: /home/slitaz/wok/lzham/source/lzham-1.0.1/lzhamdecomp/lzham_symbol_codec.h:88:10: note: 'class lzham::adaptive_bit_model' declared here class adaptive_bit_model ^~~~~~~~~~~~~~~~~~ In file included from /home/slitaz/wok/lzham/source/lzham-1.0.1/lzhamdecomp/lzham_core.h:260, from /home/slitaz/wok/lzham/source/lzham-1.0.1/lzhamdecomp/lzham_symbol_codec.cpp:3: /home/slitaz/wok/lzham/source/lzham-1.0.1/lzhamdecomp/lzham_traits.h: In instantiation of 'void lzham::helpers::construct_array(T*, lzham::uint) [with T = lzham::adaptive_bit_model; lzham::uint = unsigned int]': /home/slitaz/wok/lzham/source/lzham-1.0.1/lzhamdecomp/lzham_traits.h:13:82: required from 'static void lzham::scalar_type::construct_array(T*, lzham::uint) [with T = lzham::adaptive_bit_model; lzham::uint = unsigned int]' /home/slitaz/wok/lzham/source/lzham-1.0.1/lzhamdecomp/lzham_vector.h:187:47: required from 'bool lzham::vector::try_resize(lzham::uint, bool) [with T = lzham::adaptive_bit_model; lzham::uint = unsigned int]' /home/slitaz/wok/lzham/source/lzham-1.0.1/lzhamdecomp/lzham_symbol_codec.cpp:652:43: required from here /home/slitaz/wok/lzham/source/lzham-1.0.1/lzhamdecomp/lzham_traits.h:119:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class lzham::adaptive_bit_model' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(p, 0, sizeof(T) * n); ~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /home/slitaz/wok/lzham/source/lzham-1.0.1/lzhamdecomp/lzham_symbol_codec.cpp:4: /home/slitaz/wok/lzham/source/lzham-1.0.1/lzhamdecomp/lzham_symbol_codec.h:88:10: note: 'class lzham::adaptive_bit_model' declared here class adaptive_bit_model ^~~~~~~~~~~~~~~~~~ [ 50%] Linking CXX shared library liblzhamdecomp.so [ 50%] Built target lzhamdecomp Scanning dependencies of target lzhamcomp [ 54%] Building CXX object lzhamcomp/CMakeFiles/lzhamcomp.dir/lzham_match_accel.cpp.o [ 58%] Building CXX object lzhamcomp/CMakeFiles/lzhamcomp.dir/lzham_lzbase.cpp.o [ 62%] Building CXX object lzhamcomp/CMakeFiles/lzhamcomp.dir/lzham_lzcomp.cpp.o [ 66%] Building CXX object lzhamcomp/CMakeFiles/lzhamcomp.dir/lzham_lzcomp_internal.cpp.o [ 70%] Building CXX object lzhamcomp/CMakeFiles/lzhamcomp.dir/lzham_lzcomp_state.cpp.o [ 75%] Building CXX object lzhamcomp/CMakeFiles/lzhamcomp.dir/lzham_pthreads_threading.cpp.o /home/slitaz/wok/lzham/source/lzham-1.0.1/lzhamcomp/lzham_lzcomp_internal.cpp: In member function 'bool lzham::lzcompressor::optimal_parse(lzham::lzcompressor::parse_thread_state&)': /home/slitaz/wok/lzham/source/lzham-1.0.1/lzhamcomp/lzham_lzcomp_internal.cpp:982:73: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'struct lzham::lzcompressor::node_state'; use assignment instead [-Wclass-memaccess] memset( &pNodes[1], 0xFF, cMaxParseGraphNodes * sizeof(node_state)); ^ In file included from /home/slitaz/wok/lzham/source/lzham-1.0.1/lzhamcomp/lzham_lzcomp_internal.cpp:4: /home/slitaz/wok/lzham/source/lzham-1.0.1/lzhamcomp/lzham_lzcomp_internal.h:360:14: note: 'struct lzham::lzcompressor::node_state' declared here struct node_state ^~~~~~~~~~ In file included from /home/slitaz/wok/lzham/source/lzham-1.0.1/lzhamcomp/../lzhamdecomp/lzham_core.h:260, from /home/slitaz/wok/lzham/source/lzham-1.0.1/lzhamcomp/lzham_lzcomp_internal.cpp:3: /home/slitaz/wok/lzham/source/lzham-1.0.1/lzhamcomp/../lzhamdecomp/lzham_traits.h: In instantiation of 'void lzham::helpers::construct_array(T*, lzham::uint) [with T = lzham::lzcompressor::lzdecision; lzham::uint = unsigned int]': /home/slitaz/wok/lzham/source/lzham-1.0.1/lzhamcomp/../lzhamdecomp/lzham_traits.h:13:82: required from 'static void lzham::scalar_type::construct_array(T*, lzham::uint) [with T = lzham::lzcompressor::lzdecision; lzham::uint = unsigned int]' /home/slitaz/wok/lzham/source/lzham-1.0.1/lzhamcomp/../lzhamdecomp/lzham_vector.h:187:47: required from 'bool lzham::vector::try_resize(lzham::uint, bool) [with T = lzham::lzcompressor::lzdecision; lzham::uint = unsigned int]' /home/slitaz/wok/lzham/source/lzham-1.0.1/lzhamcomp/lzham_lzcomp_internal.cpp:948:115: required from here /home/slitaz/wok/lzham/source/lzham-1.0.1/lzhamcomp/../lzhamdecomp/lzham_traits.h:119:19: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct lzham::lzcompressor::lzdecision'; use assignment or value-initialization instead [-Wclass-memaccess] memset(p, 0, sizeof(T) * n); ~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /home/slitaz/wok/lzham/source/lzham-1.0.1/lzhamcomp/lzham_lzcomp_internal.cpp:4: /home/slitaz/wok/lzham/source/lzham-1.0.1/lzhamcomp/lzham_lzcomp_internal.h:109:14: note: 'struct lzham::lzcompressor::lzdecision' declared here struct lzdecision ^~~~~~~~~~ In file included from /home/slitaz/wok/lzham/source/lzham-1.0.1/lzhamcomp/../lzhamdecomp/lzham_core.h:260, from /home/slitaz/wok/lzham/source/lzham-1.0.1/lzhamcomp/lzham_lzcomp_internal.cpp:3: /home/slitaz/wok/lzham/source/lzham-1.0.1/lzhamcomp/../lzhamdecomp/lzham_traits.h: In instantiation of 'void lzham::helpers::construct_array(T*, lzham::uint) [with T = lzham::lzcompressor::lzpriced_decision; lzham::uint = unsigned int]': /home/slitaz/wok/lzham/source/lzham-1.0.1/lzhamcomp/../lzhamdecomp/lzham_traits.h:13:82: required from 'static void lzham::scalar_type::construct_array(T*, lzham::uint) [with T = lzham::lzcompressor::lzpriced_decision; lzham::uint = unsigned int]' /home/slitaz/wok/lzham/source/lzham-1.0.1/lzhamcomp/../lzhamdecomp/lzham_vector.h:187:47: required from 'bool lzham::vector::try_resize(lzham::uint, bool) [with T = lzham::lzcompressor::lzpriced_decision; lzham::uint = unsigned int]' /home/slitaz/wok/lzham/source/lzham-1.0.1/lzhamcomp/lzham_lzcomp_internal.cpp:1301:37: required from here /home/slitaz/wok/lzham/source/lzham-1.0.1/lzhamcomp/../lzhamdecomp/lzham_traits.h:119:19: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct lzham::lzcompressor::lzpriced_decision'; use assignment or value-initialization instead [-Wclass-memaccess] memset(p, 0, sizeof(T) * n); ~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /home/slitaz/wok/lzham/source/lzham-1.0.1/lzhamcomp/lzham_lzcomp_internal.cpp:4: /home/slitaz/wok/lzham/source/lzham-1.0.1/lzhamcomp/lzham_lzcomp_internal.h:153:14: note: 'struct lzham::lzcompressor::lzpriced_decision' declared here struct lzpriced_decision : lzdecision ^~~~~~~~~~~~~~~~~ [ 79%] Linking CXX shared library liblzhamcomp.so [ 79%] Built target lzhamcomp Scanning dependencies of target lzhamdll [ 83%] Building CXX object lzhamdll/CMakeFiles/lzhamdll.dir/lzham_api.cpp.o [ 87%] Linking CXX shared library liblzhamdll.so [ 87%] Built target lzhamdll Scanning dependencies of target lzhamtest [ 91%] Building CXX object lzhamtest/CMakeFiles/lzhamtest.dir/lzhamtest.cpp.o [ 95%] Building CXX object lzhamtest/CMakeFiles/lzhamtest.dir/timer.cpp.o [100%] Linking CXX executable lzhamtest [100%] Built target lzhamtest [ 50%] Built target lzhamdecomp [ 79%] Built target lzhamcomp [ 87%] Built target lzhamdll [100%] Built target lzhamtest Install the project... -- Install configuration: "Release" -- Installing: /home/slitaz/wok/lzham/install/usr/include/lzham_dynamic_lib.h -- Installing: /home/slitaz/wok/lzham/install/usr/include/lzham_exports.inc -- Installing: /home/slitaz/wok/lzham/install/usr/include/lzham.h -- Installing: /home/slitaz/wok/lzham/install/usr/include/lzham_static_lib.h -- Installing: /home/slitaz/wok/lzham/install/usr/include/zlib.h -- Installing: /home/slitaz/wok/lzham/install/usr/lib/liblzhamdecomp.so -- Installing: /home/slitaz/wok/lzham/install/usr/lib/liblzhamcomp.so -- Set runtime path of "/home/slitaz/wok/lzham/install/usr/lib/liblzhamcomp.so" to "" -- Installing: /home/slitaz/wok/lzham/install/usr/lib/liblzhamdll.so -- Set runtime path of "/home/slitaz/wok/lzham/install/usr/lib/liblzhamdll.so" to "" ================================================================================ Executing strip on all files... Done Time: 0.72s. Size: 356208 B -> 314444 B. Save: 41 KB. ================================================================================ Build dependencies to remove: 12 Removing: cmake cmake-common jsoncpp libarchive libcurl libidn2 liblz4 libnsl libunistring libuv libxml2 libzstd Pack: lzham 1.0.1 ================================================================================ Executing: genpkg_rules Copying folders and files... Done Copying "receipt"... Done Determining package architecture... i486 Creating the list of files... Done Creating md5sum of files... Done Compressing the FS... Done Creating full cpio archive... Done QA: checking for empty package... Done Removing old package "lzham-1.0.1-i486.tazpkg" Done The release checksum has changed. ================================================================================ Package "lzham-1.0.1-i486.tazpkg" created Pack: lzham-dev 1.0.1 ================================================================================ Executing: genpkg_rules Copying folders and files... Done Copying "receipt"... Done Determining package architecture... any Creating the list of files... Done Creating md5sum of files... Done Compressing the FS... Done Creating full cpio archive... Done QA: checking for empty package... Done The release checksum has not changed. ================================================================================ Package "lzham-dev-1.0.1-any.tazpkg" created Post-check ================================================================================ Checking build... Done Checking 'any' arch... Done Checking libtool in source/lzham-1.0.1... Done Checking site script in source/lzham-1.0.1... Done Checking ownership in install... Done Checking permissions in install... Done Checking broken symlinks in install... Done Querying Repology... Done Updating activity log... Done ================================================================================ Summary for: lzham 1.0.1 ================================================================================ Src file : lzham-1.0.1.tar.gz Src size : 152.0K Source dir : 2.4M Produced : 404.0K Cook time : 31s Cook date : 2020-09-12 22:27 Target arch : any, i486 -------------------------------------------------------------------------------- # : Packed : Compressed : Files : Package name -------------------------------------------------------------------------------- 1 : 348.0K : 94.9K : 4 : lzham-1.0.1-i486.tazpkg 2 : 96.0K : 13.0K : 5 : lzham-dev-1.0.1-any.tazpkg ================================================================================