<86>Feb 18 08:14:33 userdel[784818]: delete user 'rooter' <86>Feb 18 08:14:33 userdel[784818]: removed group 'rooter' owned by 'rooter' <86>Feb 18 08:14:33 groupadd[784825]: group added to /etc/group: name=rooter, GID=645 <86>Feb 18 08:14:33 groupadd[784825]: group added to /etc/gshadow: name=rooter <86>Feb 18 08:14:33 groupadd[784825]: new group: name=rooter, GID=645 <86>Feb 18 08:14:33 useradd[784836]: new user: name=rooter, UID=645, GID=645, home=/root, shell=/bin/bash <86>Feb 18 08:14:33 userdel[784842]: delete user 'builder' <86>Feb 18 08:14:33 userdel[784842]: removed group 'builder' owned by 'builder' <86>Feb 18 08:14:33 userdel[784842]: removed shadow group 'builder' owned by 'builder' <86>Feb 18 08:14:33 groupadd[784847]: group added to /etc/group: name=builder, GID=646 <86>Feb 18 08:14:33 groupadd[784847]: group added to /etc/gshadow: name=builder <86>Feb 18 08:14:33 groupadd[784847]: new group: name=builder, GID=646 <86>Feb 18 08:14:33 useradd[784851]: new user: name=builder, UID=646, GID=646, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/foremost-1.5.7-alt1.src.rpm: license not found in '/usr/share/license' directory: Public /usr/src/in/srpm/foremost-1.5.7-alt1.src.rpm: license not found in '/usr/share/license' directory: Domain Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/foremost-1.5.7-alt1.nosrc.rpm (w1.gzdio) Installing foremost-1.5.7-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.44776 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf foremost-1.5.7 + echo 'Source #0 (foremost-1.5.7.tar):' Source #0 (foremost-1.5.7.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/foremost-1.5.7.tar + cd foremost-1.5.7 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (foremost-sysconfdir.patch):' Patch #0 (foremost-sysconfdir.patch): + /usr/bin/patch -p2 patching file config.c + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.44776 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd foremost-1.5.7 + make -j8 RAW_CC=gcc 'RAW_FLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DVERSION=\"1.5.7\"' BIN=/usr/bin MAN=/usr/share/man/man1 CONF=/etc make: Entering directory '/usr/src/RPM/BUILD/foremost-1.5.7' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DVERSION=\"1.5.7\" -D__UNIX -D__LINUX -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c main.c make: Leaving directory '/usr/src/RPM/BUILD/foremost-1.5.7' make: Entering directory '/usr/src/RPM/BUILD/foremost-1.5.7' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DVERSION=\"1.5.7\" -D__UNIX -D__LINUX -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c cli.c make: Leaving directory '/usr/src/RPM/BUILD/foremost-1.5.7' make: Entering directory '/usr/src/RPM/BUILD/foremost-1.5.7' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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:6: warning: value computed is not used [-Wunused-value] 27 | *rd++; | ^~~~~ config.c:32:6: warning: value computed is not used [-Wunused-value] 32 | *rd++; | ^~~~~ config.c:37:6: warning: value computed is not used [-Wunused-value] 37 | *rd++; | ^~~~~ config.c:42:6: warning: value computed is not used [-Wunused-value] 42 | *rd++; | ^~~~~ config.c:47:6: warning: value computed is not used [-Wunused-value] 47 | *rd++; | ^~~~~ config.c:52:6: warning: value computed is not used [-Wunused-value] 52 | *rd++; | ^~~~~ config.c:57:6: warning: value computed is not used [-Wunused-value] 57 | *rd++; | ^~~~~ make: Leaving directory '/usr/src/RPM/BUILD/foremost-1.5.7' make: Entering directory '/usr/src/RPM/BUILD/foremost-1.5.7' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DVERSION=\"1.5.7\" -D__UNIX -D__LINUX -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c helpers.c make: Leaving directory '/usr/src/RPM/BUILD/foremost-1.5.7' make: Entering directory '/usr/src/RPM/BUILD/foremost-1.5.7' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DVERSION=\"1.5.7\" -D__UNIX -D__LINUX -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c dir.c make: Leaving directory '/usr/src/RPM/BUILD/foremost-1.5.7' make: Entering directory '/usr/src/RPM/BUILD/foremost-1.5.7' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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:17: warning: variable 'current_pos' set but not used [-Wunused-but-set-variable] 319 | unsigned char *current_pos = NULL; | ^~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/foremost-1.5.7' make: Entering directory '/usr/src/RPM/BUILD/foremost-1.5.7' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DVERSION=\"1.5.7\" -D__UNIX -D__LINUX -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c state.c state.c: In function 'set_config_file': state.c:75:2: warning: ignoring return value of 'realpath' declared with attribute 'warn_unused_result' [-Wunused-result] 75 | realpath(fn, temp); | ^~~~~~~~~~~~~~~~~~ state.c: In function 'set_output_directory': state.c:96:2: warning: ignoring return value of 'realpath' declared with attribute 'warn_unused_result' [-Wunused-result] 96 | realpath(fn, temp); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:532, from main.h:38, from state.c:3: In function 'strncpy', inlined from 'set_input_file' at state.c:206:2: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c: In function 'set_input_file': state.c:206:35: note: length computed here 206 | strncpy(s->input_file, filename, strlen(filename) + 1); | ^~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/foremost-1.5.7' make: Entering directory '/usr/src/RPM/BUILD/foremost-1.5.7' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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:481:10: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] 481 | short unknown; | ^~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/foremost-1.5.7' make: Entering directory '/usr/src/RPM/BUILD/foremost-1.5.7' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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:556:17: warning: variable 'currentpos' set but not used [-Wunused-but-set-variable] 556 | unsigned char *currentpos = NULL; | ^~~~~~~~~~ extract.c: In function 'extract_wmv': extract.c:1157:14: warning: variable 'fileObjHeaderSize' set but not used [-Wunused-but-set-variable] 1157 | u_int64_t fileObjHeaderSize = 0; | ^~~~~~~~~~~~~~~~~ extract.c:1150:17: warning: variable 'currentpos' set but not used [-Wunused-but-set-variable] 1150 | unsigned char *currentpos = NULL; | ^~~~~~~~~~ extract.c: In function 'extract_gif': extract.c:1404:17: warning: variable 'currentpos' set but not used [-Wunused-but-set-variable] 1404 | unsigned char *currentpos = foundat; | ^~~~~~~~~~ extract.c: In function 'extract_jpeg': extract.c:1824:17: warning: variable 'currentpos' set but not used [-Wunused-but-set-variable] 1824 | unsigned char *currentpos = NULL; | ^~~~~~~~~~ extract.c: In function 'extract_exe': extract.c:2109:15: warning: variable 'align' set but not used [-Wunused-but-set-variable] 2109 | unsigned int align = 0; | ^~~~~ extract.c:2105:15: warning: variable 'size_of_headers' set but not used [-Wunused-but-set-variable] 2105 | unsigned int size_of_headers = 0; | ^~~~~~~~~~~~~~~ extract.c:2103:15: warning: variable 'sizeofimage' set but not used [-Wunused-but-set-variable] 2103 | unsigned int sizeofimage = 0; | ^~~~~~~~~~~ extract.c:2100:15: warning: variable 'rva' set but not used [-Wunused-but-set-variable] 2100 | unsigned int rva = 0; | ^~~ extract.c:2099:15: warning: variable 'SizeOfUninitializedData' set but not used [-Wunused-but-set-variable] 2099 | unsigned int SizeOfUninitializedData = 0; | ^~~~~~~~~~~~~~~~~~~~~~~ extract.c:2098:15: warning: variable 'SizeOfInitializedData' set but not used [-Wunused-but-set-variable] 2098 | unsigned int SizeOfInitializedData = 0; | ^~~~~~~~~~~~~~~~~~~~~ extract.c:2097:15: warning: variable 'SizeOfCode' set but not used [-Wunused-but-set-variable] 2097 | unsigned int SizeOfCode = 0; | ^~~~~~~~~~ extract.c: In function 'extract_rar': extract.c:2272:13: warning: variable 'file_size' set but not used [-Wunused-but-set-variable] 2272 | u_int64_t file_size = 0; | ^~~~~~~~~ extract.c: In function 'extract_exe': extract.c:2139:29: warning: ':' directive writing 1 byte into a region of size between 0 and 16 [-Wformat-overflow=] 2139 | "%02d/%02d/%04d %02d:%02d:%02d", | ^ In file included from /usr/include/stdio.h:866, from main.h:33, from extract.c:16: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 20 and 72 bytes into a destination of size 32 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/foremost-1.5.7' make: Entering directory '/usr/src/RPM/BUILD/foremost-1.5.7' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 ld: state.o:/usr/src/RPM/BUILD/foremost-1.5.7/main.h:295: multiple definition of `wildcard'; main.o:/usr/src/RPM/BUILD/foremost-1.5.7/main.h:295: first defined here ld: state.o:/usr/src/RPM/BUILD/foremost-1.5.7/main.h:347: multiple definition of `search_spec'; main.o:/usr/src/RPM/BUILD/foremost-1.5.7/main.h:347: first defined here ld: state.o:/usr/src/RPM/BUILD/foremost-1.5.7/main.h:370: multiple definition of `signal_caught'; main.o:/usr/src/RPM/BUILD/foremost-1.5.7/main.h:370: first defined here ld: helpers.o:/usr/src/RPM/BUILD/foremost-1.5.7/main.h:347: multiple definition of `search_spec'; main.o:/usr/src/RPM/BUILD/foremost-1.5.7/main.h:347: first defined here ld: helpers.o:/usr/src/RPM/BUILD/foremost-1.5.7/main.h:295: multiple definition of `wildcard'; main.o:/usr/src/RPM/BUILD/foremost-1.5.7/main.h:295: first defined here ld: helpers.o:/usr/src/RPM/BUILD/foremost-1.5.7/main.h:370: multiple definition of `signal_caught'; main.o:/usr/src/RPM/BUILD/foremost-1.5.7/main.h:370: first defined here ld: config.o:/usr/src/RPM/BUILD/foremost-1.5.7/main.h:347: multiple definition of `search_spec'; main.o:/usr/src/RPM/BUILD/foremost-1.5.7/main.h:347: first defined here ld: config.o:/usr/src/RPM/BUILD/foremost-1.5.7/main.h:295: multiple definition of `wildcard'; main.o:/usr/src/RPM/BUILD/foremost-1.5.7/main.h:295: first defined here ld: config.o:/usr/src/RPM/BUILD/foremost-1.5.7/main.h:370: multiple definition of `signal_caught'; main.o:/usr/src/RPM/BUILD/foremost-1.5.7/main.h:370: first defined here ld: cli.o:/usr/src/RPM/BUILD/foremost-1.5.7/main.h:370: multiple definition of `signal_caught'; main.o:/usr/src/RPM/BUILD/foremost-1.5.7/main.h:370: first defined here ld: cli.o:/usr/src/RPM/BUILD/foremost-1.5.7/main.h:347: multiple definition of `search_spec'; main.o:/usr/src/RPM/BUILD/foremost-1.5.7/main.h:347: first defined here ld: cli.o:/usr/src/RPM/BUILD/foremost-1.5.7/main.h:295: multiple definition of `wildcard'; main.o:/usr/src/RPM/BUILD/foremost-1.5.7/main.h:295: first defined here ld: engine.o:/usr/src/RPM/BUILD/foremost-1.5.7/main.h:347: multiple definition of `search_spec'; main.o:/usr/src/RPM/BUILD/foremost-1.5.7/main.h:347: first defined here ld: engine.o:/usr/src/RPM/BUILD/foremost-1.5.7/main.h:370: multiple definition of `signal_caught'; main.o:/usr/src/RPM/BUILD/foremost-1.5.7/main.h:370: first defined here ld: engine.o:/usr/src/RPM/BUILD/foremost-1.5.7/main.h:295: multiple definition of `wildcard'; main.o:/usr/src/RPM/BUILD/foremost-1.5.7/main.h:295: first defined here ld: dir.o:/usr/src/RPM/BUILD/foremost-1.5.7/main.h:347: multiple definition of `search_spec'; main.o:/usr/src/RPM/BUILD/foremost-1.5.7/main.h:347: first defined here ld: dir.o:/usr/src/RPM/BUILD/foremost-1.5.7/main.h:370: multiple definition of `signal_caught'; main.o:/usr/src/RPM/BUILD/foremost-1.5.7/main.h:370: first defined here ld: dir.o:/usr/src/RPM/BUILD/foremost-1.5.7/main.h:295: multiple definition of `wildcard'; main.o:/usr/src/RPM/BUILD/foremost-1.5.7/main.h:295: first defined here ld: extract.o:/usr/src/RPM/BUILD/foremost-1.5.7/main.h:370: multiple definition of `signal_caught'; main.o:/usr/src/RPM/BUILD/foremost-1.5.7/main.h:370: first defined here ld: extract.o:/usr/src/RPM/BUILD/foremost-1.5.7/main.h:347: multiple definition of `search_spec'; main.o:/usr/src/RPM/BUILD/foremost-1.5.7/main.h:347: first defined here ld: extract.o:/usr/src/RPM/BUILD/foremost-1.5.7/main.h:295: multiple definition of `wildcard'; main.o:/usr/src/RPM/BUILD/foremost-1.5.7/main.h:295: first defined here ld: api.o:/usr/src/RPM/BUILD/foremost-1.5.7/ole.h:88: multiple definition of `dirlist'; extract.o:/usr/src/RPM/BUILD/foremost-1.5.7/ole.h:88: first defined here ld: api.o:/usr/src/RPM/BUILD/foremost-1.5.7/ole.h:88: multiple definition of `dl'; extract.o:/usr/src/RPM/BUILD/foremost-1.5.7/ole.h:88: first defined here ld: api.o:/usr/src/RPM/BUILD/foremost-1.5.7/main.h:370: multiple definition of `signal_caught'; main.o:/usr/src/RPM/BUILD/foremost-1.5.7/main.h:370: first defined here ld: api.o:/usr/src/RPM/BUILD/foremost-1.5.7/main.h:347: multiple definition of `search_spec'; main.o:/usr/src/RPM/BUILD/foremost-1.5.7/main.h:347: first defined here ld: api.o:/usr/src/RPM/BUILD/foremost-1.5.7/main.h:295: multiple definition of `wildcard'; main.o:/usr/src/RPM/BUILD/foremost-1.5.7/main.h:295: first defined here collect2: error: ld returned 1 exit status make: *** [Makefile:113: foremost] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/foremost-1.5.7' error: Bad exit status from /usr/src/tmp/rpm-tmp.44776 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.44776 (%build) Command exited with non-zero status 1 2.56user 0.20system 0:01.24elapsed 222%CPU (0avgtext+0avgdata 34988maxresident)k 0inputs+0outputs (0major+70720minor)pagefaults 0swaps hsh-rebuild: rebuild of `foremost-1.5.7-alt1.src.rpm' failed. Command exited with non-zero status 1 3.69user 1.96system 0:03.84elapsed 146%CPU (0avgtext+0avgdata 34988maxresident)k 0inputs+0outputs (0major+192562minor)pagefaults 0swaps