The following packages will be installed: foremost Fetching README... 0%100%100%100%100%100%Done Fetching doinst.sh... 0%100%100%100%100%100%Done Fetching foremost-broken-jpeg.patch... 0%100%100%100%100%100%Done Fetching foremost.SlackBuild... 0%100%100%100%100%100%Done Fetching foremost.info... 0%100%100%100%100%100%Done Fetching gcc10.patch... 0%100%100%100%100%100%Done Fetching slack-desc... 0%100%100%100%100%100%Done foremost-1.5.7/ foremost-1.5.7/engine.c foremost-1.5.7/main.h foremost-1.5.7/main.c foremost-1.5.7/helpers.c foremost-1.5.7/config.c foremost-1.5.7/README foremost-1.5.7/foremost.conf foremost-1.5.7/foremost.8.gz foremost-1.5.7/extract.c foremost-1.5.7/ole.h foremost-1.5.7/CHANGES foremost-1.5.7/cli.c foremost-1.5.7/dir.c foremost-1.5.7/extract.h foremost-1.5.7/api.c foremost-1.5.7/state.c foremost-1.5.7/Makefile patching file api.c patching file extract.c patching file main.h patching file ole.h patching file state.c patching file main.c patching file extract.c Hunk #1 succeeded at 1869 (offset 75 lines). gcc -Wall -O2 -march=i586 -mtune=i686 -DVERSION=\"1.5.7\" -D__UNIX -D__LINUX -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c main.c gcc -Wall -O2 -march=i586 -mtune=i686 -DVERSION=\"1.5.7\" -D__UNIX -D__LINUX -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c state.c gcc -Wall -O2 -march=i586 -mtune=i686 -DVERSION=\"1.5.7\" -D__UNIX -D__LINUX -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c helpers.c gcc -Wall -O2 -march=i586 -mtune=i686 -DVERSION=\"1.5.7\" -D__UNIX -D__LINUX -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c config.c config.c: In function ‘translate’: config.c:27:41: warning: value computed is not used [-Wunused-value] 27 | *rd++; | ^~~~~ config.c:32:41: warning: value computed is not used [-Wunused-value] 32 | *rd++; | ^~~~~ config.c:37:41: warning: value computed is not used [-Wunused-value] 37 | *rd++; | ^~~~~ config.c:42:41: warning: value computed is not used [-Wunused-value] 42 | *rd++; | ^~~~~ config.c:47:41: warning: value computed is not used [-Wunused-value] 47 | *rd++; | ^~~~~ config.c:52:41: warning: value computed is not used [-Wunused-value] 52 | *rd++; | ^~~~~ config.c:57:41: warning: value computed is not used [-Wunused-value] 57 | *rd++; | ^~~~~ gcc -Wall -O2 -march=i586 -mtune=i686 -DVERSION=\"1.5.7\" -D__UNIX -D__LINUX -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c cli.c gcc -Wall -O2 -march=i586 -mtune=i686 -DVERSION=\"1.5.7\" -D__UNIX -D__LINUX -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c engine.c engine.c: In function ‘search_chunk’: engine.c:319:26: warning: variable ‘current_pos’ set but not used [-Wunused-but-set-variable] 319 | unsigned char *current_pos = NULL; | ^~~~~~~~~~~ gcc -Wall -O2 -march=i586 -mtune=i686 -DVERSION=\"1.5.7\" -D__UNIX -D__LINUX -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c dir.c gcc -Wall -O2 -march=i586 -mtune=i686 -DVERSION=\"1.5.7\" -D__UNIX -D__LINUX -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c extract.c extract.c: In function ‘extract_htm’: extract.c:557:26: warning: variable ‘currentpos’ set but not used [-Wunused-but-set-variable] 557 | unsigned char *currentpos = NULL; | ^~~~~~~~~~ extract.c: In function ‘extract_wmv’: extract.c:1158:41: warning: variable ‘fileObjHeaderSize’ set but not used [-Wunused-but-set-variable] 1158 | u_int64_t fileObjHeaderSize = 0; | ^~~~~~~~~~~~~~~~~ extract.c:1151:26: warning: variable ‘currentpos’ set but not used [-Wunused-but-set-variable] 1151 | unsigned char *currentpos = NULL; | ^~~~~~~~~~ extract.c: In function ‘extract_gif’: extract.c:1405:26: warning: variable ‘currentpos’ set but not used [-Wunused-but-set-variable] 1405 | unsigned char *currentpos = foundat; | ^~~~~~~~~~ extract.c: In function ‘extract_jpeg’: extract.c:1825:26: warning: variable ‘currentpos’ set but not used [-Wunused-but-set-variable] 1825 | unsigned char *currentpos = NULL; | ^~~~~~~~~~ extract.c: In function ‘extract_exe’: extract.c:2115:25: warning: variable ‘align’ set but not used [-Wunused-but-set-variable] 2115 | unsigned int align = 0; | ^~~~~ extract.c:2111:25: warning: variable ‘size_of_headers’ set but not used [-Wunused-but-set-variable] 2111 | unsigned int size_of_headers = 0; | ^~~~~~~~~~~~~~~ extract.c:2109:25: warning: variable ‘sizeofimage’ set but not used [-Wunused-but-set-variable] 2109 | unsigned int sizeofimage = 0; | ^~~~~~~~~~~ extract.c:2106:25: warning: variable ‘rva’ set but not used [-Wunused-but-set-variable] 2106 | unsigned int rva = 0; | ^~~ extract.c:2105:25: warning: variable ‘SizeOfUninitializedData’ set but not used [-Wunused-but-set-variable] 2105 | unsigned int SizeOfUninitializedData = 0; | ^~~~~~~~~~~~~~~~~~~~~~~ extract.c:2104:25: warning: variable ‘SizeOfInitializedData’ set but not used [-Wunused-but-set-variable] 2104 | unsigned int SizeOfInitializedData = 0; | ^~~~~~~~~~~~~~~~~~~~~ extract.c:2103:25: warning: variable ‘SizeOfCode’ set but not used [-Wunused-but-set-variable] 2103 | unsigned int SizeOfCode = 0; | ^~~~~~~~~~ extract.c: In function ‘extract_rar’: extract.c:2278:33: warning: variable ‘file_size’ set but not used [-Wunused-but-set-variable] 2278 | u_int64_t file_size = 0; | ^~~~~~~~~ extract.c: In function ‘extract_exe’: extract.c:2145:50: warning: ‘:’ directive writing 1 byte into a region of size between 0 and 16 [-Wformat-overflow=] 2145 | "%02d/%02d/%04d %02d:%02d:%02d", | ^ extract.c:2144:9: note: ‘sprintf’ output between 20 and 72 bytes into a destination of size 32 2144 | sprintf(ascii_time, | ^~~~~~~~~~~~~~~~~~~ 2145 | "%02d/%02d/%04d %02d:%02d:%02d", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2146 | ret_time->tm_mon + 1, | ~~~~~~~~~~~~~~~~~~~~~ 2147 | ret_time->tm_mday, | ~~~~~~~~~~~~~~~~~~ 2148 | ret_time->tm_year + 1900, | ~~~~~~~~~~~~~~~~~~~~~~~~~ 2149 | ret_time->tm_hour, | ~~~~~~~~~~~~~~~~~~ 2150 | ret_time->tm_min, | ~~~~~~~~~~~~~~~~~ 2151 | ret_time->tm_sec); | ~~~~~~~~~~~~~~~~~ gcc -Wall -O2 -march=i586 -mtune=i686 -DVERSION=\"1.5.7\" -D__UNIX -D__LINUX -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c api.c api.c: In function ‘dump_dirent’: api.c:482:33: warning: variable ‘unknown’ set but not used [-Wunused-but-set-variable] 482 | short unknown; | ^~~~~~~ gcc -Wall -O2 -march=i586 -mtune=i686 -DVERSION=\"1.5.7\" -D__UNIX -D__LINUX -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 main.o state.o helpers.o config.o cli.o engine.o dir.o extract.o api.o -o foremost install -m 755 foremost /usr/src/slapt-src-i486/system/foremost/package-foremost/usr/bin install -m 444 foremost.8.gz /usr/src/slapt-src-i486/system/foremost/package-foremost/usr/man/man8 install -m 444 foremost.conf /usr/src/slapt-src-i486/system/foremost/package-foremost/etc Slackware package maker, version 3.14159265. Searching for symbolic links: No symbolic links were found, so we won't make an installation script. You can make your own later in ./install/doinst.sh and rebuild the package if you like. This next step is optional - you can set the directories in your package to some sane permissions. If any of the directories in your package have special permissions, then DO NOT reset them here! Would you like to reset all directory permissions to 755 (drwxr-xr-x) and directory ownerships to root.root ([y]es, [n]o)? n Creating Slackware package: /usr/src/slapt-src-i486/system/foremost/foremost-1.5.7-i586-1salix15.0.txz ./ etc/ etc/foremost.conf.new install/ install/doinst.sh install/slack-desc usr/ usr/bin/ usr/bin/foremost usr/doc/ usr/doc/foremost-1.5.7/ usr/doc/foremost-1.5.7/CHANGES usr/doc/foremost-1.5.7/README usr/doc/foremost-1.5.7/foremost.SlackBuild usr/man/ usr/man/man8/ usr/man/man8/foremost.8.gz Slackware package /usr/src/slapt-src-i486/system/foremost/foremost-1.5.7-i586-1salix15.0.txz created. Installing package foremost-1.5.7-i586-1salix15.0... | foremost (recover files based on their headers and footers) | | Foremost is a Linux program to recover files based on their headers | and footers. Foremost can work on image files, such as those | generated by dd, Safeback, Encase, etc, or directly on a drive. The | headers and footers are specified by a configuration file, so you can | pick and choose which headers you want to look for. | | Homepage: http://foremost.sourceforge.net/ | | | |