support compress & decompress by stream(block by block) #384
Cirrus CI / main freebsd_instance:family/freebsd-14-0
failed
Aug 12, 2024 in 23s
Task Summary
Instruction main failed in 00:07
Details
✅ 00:00 clone
✅ 00:13 install
❌ 00:07 main
[ 9%] Building C object CMakeFiles/libdeflate_static.dir/lib/deflate_decompress.c.o
[ 11%] Building C object CMakeFiles/libdeflate_static.dir/lib/adler32.c.o
[ 13%] Building C object CMakeFiles/libdeflate_static.dir/lib/zlib_compress.c.o
[ 15%] Building C object CMakeFiles/libdeflate_static.dir/lib/zlib_decompress.c.o
[ 16%] Building C object CMakeFiles/libdeflate_static.dir/lib/crc32.c.o
[ 18%] Building C object CMakeFiles/libdeflate_static.dir/lib/gzip_compress.c.o
[ 20%] Building C object CMakeFiles/libdeflate_static.dir/lib/gzip_decompress.c.o
[ 22%] Linking C static library libdeflate.a
[ 22%] Built target libdeflate_static
[ 24%] Building C object CMakeFiles/libdeflate_shared.dir/lib/arm/cpu_features.c.o
[ 26%] Building C object CMakeFiles/libdeflate_shared.dir/lib/utils.c.o
[ 28%] Building C object CMakeFiles/libdeflate_shared.dir/lib/x86/cpu_features.c.o
[ 30%] Building C object CMakeFiles/libdeflate_shared.dir/lib/deflate_compress.c.o
/tmp/cirrus-ci-build/lib/deflate_compress.c:3677:20: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
const u8 * const in_max_block_end = in_next + dict_nbytes;
^
/tmp/cirrus-ci-build/lib/deflate_compress.c:4298:2: warning: no newline at end of file [-Wnewline-eof]
}
^
2 warnings generated.
[ 32%] Building C object CMakeFiles/libdeflate_shared.dir/lib/deflate_decompress.c.o
[ 33%] Building C object CMakeFiles/libdeflate_shared.dir/lib/adler32.c.o
[ 35%] Building C object CMakeFiles/libdeflate_shared.dir/lib/zlib_compress.c.o
[ 37%] Building C object CMakeFiles/libdeflate_shared.dir/lib/zlib_decompress.c.o
[ 39%] Building C object CMakeFiles/libdeflate_shared.dir/lib/crc32.c.o
[ 41%] Building C object CMakeFiles/libdeflate_shared.dir/lib/gzip_compress.c.o
[ 43%] Building C object CMakeFiles/libdeflate_shared.dir/lib/gzip_decompress.c.o
[ 45%] Linking C shared library libdeflate.so
[ 45%] Built target libdeflate_shared
[ 47%] Building C object programs/CMakeFiles/libdeflate_prog_utils.dir/prog_util.c.o
[ 49%] Building C object programs/CMakeFiles/libdeflate_prog_utils.dir/tgetopt.c.o
[ 50%] Linking C static library libdeflate_prog_utils.a
[ 50%] Built target libdeflate_prog_utils
[ 52%] Building C object programs/CMakeFiles/libdeflate-gzip.dir/gzip.c.o
/tmp/cirrus-ci-build/programs/gzip.c:292:16: error: too many arguments to function call, expected 5, have 6
NULL, NULL);
^~~~
/usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL'
#define NULL ((void *)0)
^~~~~~~~~~~
/tmp/cirrus-ci-build/programs/gzip_decompress_by_stream.h:29:5: note: 'gzips_decompress_by_stream' declared here
int gzips_decompress_by_stream(struct libdeflate_decompressor *decompressor,
^
1 error generated.
*** Error code 1
Stop.
make[2]: stopped in /tmp/cirrus-ci-build/build
*** Error code 1
Stop.
make[1]: stopped in /tmp/cirrus-ci-build/build
*** Error code 1
Stop.
make: stopped in /tmp/cirrus-ci-build/build
Loading