Cook: hfsprescue 1.1 ================================================================================ QA: checking package receipt... Checking build dependencies... Installing (pkg/local): zlib-dev-1.2.11-any Extracting source archive "hfsprescue-1.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 configure: loading site script /etc/slitaz/cook.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /home/slitaz/wok/hfsprescue/source/hfsprescue-1.1/missing: Unknown `--is-lightweight' option Try `/home/slitaz/wok/hfsprescue/source/hfsprescue-1.1/missing --help' for more information configure: WARNING: 'missing' script is too old or missing checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for i486-slitaz-linux-gcc... i486-slitaz-linux-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 i486-slitaz-linux-gcc accepts -g... yes checking for i486-slitaz-linux-gcc option to accept ISO C89... none needed checking whether i486-slitaz-linux-gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of i486-slitaz-linux-gcc... gcc3 checking for i486-slitaz-linux-g++... i486-slitaz-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether i486-slitaz-linux-g++ accepts -g... yes checking dependency style of i486-slitaz-linux-g++... gcc3 checking for i486-slitaz-linux-ranlib... i486-slitaz-linux-ranlib checking for gzopen in -lz... yes checking how to run the C preprocessor... i486-slitaz-linux-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -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 fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for inline... inline checking for off_t... yes checking for size_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for uint8_t... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for bzero... yes checking for mkdir... yes checking for rmdir... yes checking for strtoull... yes checking for utime... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating man/Makefile config.status: creating config.h config.status: executing depfiles commands make all-recursive make[1]: Entering directory '/home/slitaz/wok/hfsprescue/source/hfsprescue-1.1' Making all in src make[2]: Entering directory '/home/slitaz/wok/hfsprescue/source/hfsprescue-1.1/src' g++ -Wuninitialized -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -MT hfsprescue.o -MD -MP -MF .deps/hfsprescue.Tpo -c -o hfsprescue.o hfsprescue.c g++ -Wuninitialized -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -MT bytescan.o -MD -MP -MF .deps/bytescan.Tpo -c -o bytescan.o bytescan.c g++ -Wuninitialized -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -MT tools.o -MD -MP -MF .deps/tools.Tpo -c -o tools.o tools.c g++ -Wuninitialized -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -MT decompress.o -MD -MP -MF .deps/decompress.Tpo -c -o decompress.o decompress.c decompress.c:21:21: warning: built-in function 'log' declared as non-function [-Wbuiltin-declaration-mismatch] extern char log[1024]; ^ bytescan.c:24:21: warning: built-in function 'log' declared as non-function [-Wbuiltin-declaration-mismatch] extern char log[1024]; ^ tools.c:30:21: warning: built-in function 'log' declared as non-function [-Wbuiltin-declaration-mismatch] extern char log[1024]; ^ bytescan.c: In function 'void ByteScan(char*, char*, char*, int, long long unsigned int)': bytescan.c:80:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread (buffer_file, num_bytes, 1, pf); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/decompress.Tpo .deps/decompress.Po mv -f .deps/bytescan.Tpo .deps/bytescan.Po mv -f .deps/tools.Tpo .deps/tools.Po hfsprescue.c:64:14: warning: built-in function 'log' declared as non-function [-Wbuiltin-declaration-mismatch] char log[1024]; ^ hfsprescue.c: In function 'void RestoreDirectories()': hfsprescue.c:1143:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'std::vector<_dir_restore>::size_type' {aka 'unsigned int'} [-Wformat=] printf ("%lu id's\n", entries.size()); ^~~~~~~~~~~~ ~~~~~~~~~~~~~~ hfsprescue.c:1145:19: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector<_dir_restore>::size_type' {aka 'unsigned int'} [-Wformat=] sprintf (log, "%lu id's\n", entries.size()); ^~~~~~~~~~~~ ~~~~~~~~~~~~~~ hfsprescue.c: In function 'void WriteFileBytes(int, FILE*, long long unsigned int, long long unsigned int)': hfsprescue.c:647:14: warning: ignoring return value of 'ssize_t pread64(int, void*, size_t, __off64_t)', declared with attribute warn_unused_result [-Wunused-result] pread64 (fd, file_buffer, sizeof (file_buffer), (unsigned long long int)file_offset); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hfsprescue.c:654:14: warning: ignoring return value of 'ssize_t pread64(int, void*, size_t, __off64_t)', declared with attribute warn_unused_result [-Wunused-result] pread64 (fd, file_buffer, bytes, (unsigned long long int)file_offset); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hfsprescue.c: In function 'void RestoreFiles(int, int)': hfsprescue.c:840:12: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets (line, sizeof (line), pf); // number ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ hfsprescue.c:841:12: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets (line, sizeof (line), pf); // catalog id ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ hfsprescue.c:842:12: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets (line, sizeof (line), pf); // file size ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ hfsprescue.c:846:12: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets (line, sizeof (line), pf); // parent id ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ hfsprescue.c:850:12: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets (line, sizeof (line), pf); // date (human readable) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ hfsprescue.c:851:12: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets (line, sizeof (line), pf); // rawtime ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ hfsprescue.c:854:12: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets (line, sizeof (line), pf); // uid ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ hfsprescue.c:855:12: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets (line, sizeof (line), pf); // gid ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ hfsprescue.c:856:12: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets (line, sizeof (line), pf); // type ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ hfsprescue.c:857:12: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets (line, sizeof (line), pf); // creator ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ hfsprescue.c:858:12: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets (line, sizeof (line), pf); // compressed ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ hfsprescue.c:861:12: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets (line, sizeof (line), pf); // fork size ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ hfsprescue.c:864:12: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets (line, sizeof (line), pf); // fork block ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ hfsprescue.c:867:12: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets (line, sizeof (line), pf); // fork num blocks ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ hfsprescue.c:870:12: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets (line, sizeof (line), pf); // entry info ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ hfsprescue.c:871:12: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets (line, sizeof (line), pf); // ######################## ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ hfsprescue.c:878:9: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets (line, sizeof (line), pf); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ hfsprescue.c:885:9: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets (line, sizeof (line), pf); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ hfsprescue.c:891:9: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets (line, sizeof (line), pf); // dummy ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ hfsprescue.c:892:9: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets (line, sizeof (line), pf); // dummy ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ hfsprescue.c: In function 'void RestoreDirectories()': hfsprescue.c:1176:12: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system ("sh restored/mkdir.sh"); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ hfsprescue.c: In function 'void MoveFiles(const char*, const char*)': hfsprescue.c:1261:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets (str_id, sizeof (str_id), pf); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hfsprescue.c: In function 'void Cleanup(bool)': hfsprescue.c:1343:9: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system ("find restored -iname hfsprescue_dir_id.tmp -exec rm {} \\;"); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hfsprescue.c: In function 'int main(int, char**)': hfsprescue.c:1601:13: warning: ignoring return value of 'ssize_t pread64(int, void*, size_t, __off64_t)', declared with attribute warn_unused_result [-Wunused-result] pread64 (fd, vh, sizeof (HFSPlusVolumeHeader), 1024); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/hfsprescue.Tpo .deps/hfsprescue.Po g++ -Wuninitialized -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o hfsprescue hfsprescue.o bytescan.o tools.o decompress.o -L/usr/lib -L/lib -lz make[2]: Leaving directory '/home/slitaz/wok/hfsprescue/source/hfsprescue-1.1/src' Making all in man make[2]: Entering directory '/home/slitaz/wok/hfsprescue/source/hfsprescue-1.1/man' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/slitaz/wok/hfsprescue/source/hfsprescue-1.1/man' make[2]: Entering directory '/home/slitaz/wok/hfsprescue/source/hfsprescue-1.1' make[2]: Leaving directory '/home/slitaz/wok/hfsprescue/source/hfsprescue-1.1' make[1]: Leaving directory '/home/slitaz/wok/hfsprescue/source/hfsprescue-1.1' Making install in src make[1]: Entering directory '/home/slitaz/wok/hfsprescue/source/hfsprescue-1.1/src' make[2]: Entering directory '/home/slitaz/wok/hfsprescue/source/hfsprescue-1.1/src' make[2]: Nothing to be done for 'install-data-am'. .././install-sh -c -d '/home/slitaz/wok/hfsprescue/install/usr/bin' /usr/bin/install -c hfsprescue '/home/slitaz/wok/hfsprescue/install/usr/bin' make[2]: Leaving directory '/home/slitaz/wok/hfsprescue/source/hfsprescue-1.1/src' make[1]: Leaving directory '/home/slitaz/wok/hfsprescue/source/hfsprescue-1.1/src' Making install in man make[1]: Entering directory '/home/slitaz/wok/hfsprescue/source/hfsprescue-1.1/man' make[2]: Entering directory '/home/slitaz/wok/hfsprescue/source/hfsprescue-1.1/man' make[2]: Nothing to be done for 'install-exec-am'. .././install-sh -c -d '/home/slitaz/wok/hfsprescue/install/usr/share/man/man1' /usr/bin/install -c -m 644 hfsprescue.1 '/home/slitaz/wok/hfsprescue/install/usr/share/man/man1' make[2]: Leaving directory '/home/slitaz/wok/hfsprescue/source/hfsprescue-1.1/man' make[1]: Leaving directory '/home/slitaz/wok/hfsprescue/source/hfsprescue-1.1/man' make[1]: Entering directory '/home/slitaz/wok/hfsprescue/source/hfsprescue-1.1' make[2]: Entering directory '/home/slitaz/wok/hfsprescue/source/hfsprescue-1.1' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/slitaz/wok/hfsprescue/source/hfsprescue-1.1' make[1]: Leaving directory '/home/slitaz/wok/hfsprescue/source/hfsprescue-1.1' ================================================================================ Executing strip on all files... Done Time: 0.35s. Size: 42124 B -> 34136 B. Save: 8 KB. Installing (pkg/local): advancecomp-static-2.1-i486 Compressing man pages... Done Time: 1.79s. Size: 4814 B -> 1683 B. Save: 3 KB. Cache hit: 1/1. ================================================================================ Build dependencies to remove: 2 Removing: advancecomp-static zlib-dev Pack: hfsprescue 1.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 "hfsprescue-1.1-i486.tazpkg" Done The release checksum has changed. ================================================================================ Package "hfsprescue-1.1-i486.tazpkg" created Post-check ================================================================================ Checking build... Done Checking 'any' arch... Done Checking libtool in source/hfsprescue-1.1... Done Checking site script in source/hfsprescue-1.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: hfsprescue 1.1 ================================================================================ Src file : hfsprescue-1.1.tar.gz Src size : 120.0K Source dir : 800.0K Produced : 64.0K Cook time : 14s Cook date : 2020-07-07 11:11 Target arch : i486 -------------------------------------------------------------------------------- # : Packed : Compressed : Files : Package name -------------------------------------------------------------------------------- 1 : 64.0K : 13.5K : 1 : hfsprescue-1.1-i486.tazpkg ================================================================================