<86>Jul 15 02:41:19 userdel[320556]: delete user 'rooter'
<86>Jul 15 02:41:19 groupadd[320637]: group added to /etc/group: name=rooter, GID=696
<86>Jul 15 02:41:19 useradd[320656]: new user: name=rooter, UID=696, GID=696, home=/root, shell=/bin/bash
<86>Jul 15 02:41:19 userdel[320671]: delete user 'builder'
<86>Jul 15 02:41:19 userdel[320671]: removed group 'builder' owned by 'builder'
<86>Jul 15 02:41:19 userdel[320671]: removed shadow group 'builder' owned by 'builder'
<86>Jul 15 02:41:19 groupadd[320693]: group added to /etc/group: name=builder, GID=697
<86>Jul 15 02:41:19 groupadd[320693]: group added to /etc/gshadow: name=builder
<86>Jul 15 02:41:19 groupadd[320693]: new group: name=builder, GID=697
<86>Jul 15 02:41:19 useradd[320711]: new user: name=builder, UID=697, GID=697, home=/usr/src, shell=/bin/bash
/usr/src/in/srpm/foremost-1.5.7-alt2.src.rpm: license not found in '/usr/share/license' directory: Public
/usr/src/in/srpm/foremost-1.5.7-alt2.src.rpm: license not found in '/usr/share/license' directory: Domain
Building target platforms: x86_64
Building for target x86_64
Wrote: /usr/src/in/nosrpm/foremost-1.5.7-alt2.nosrc.rpm (w1.gzdio)
Installing foremost-1.5.7-alt2.src.rpm
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.58031
+ 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 #10 (foremost-sysconfdir.patch):'
Patch #10 (foremost-sysconfdir.patch):
+ /usr/bin/patch -p2
patching file config.c
+ echo 'Patch #0 (foremost-broken-jpeg.patch):'
Patch #0 (foremost-broken-jpeg.patch):
+ /usr/bin/patch -p0
patching file extract.c
+ echo 'Patch #1 (foremost-fix-permission-timestamp.patch):'
Patch #1 (foremost-fix-permission-timestamp.patch):
+ /usr/bin/patch -p2
patching file Makefile
+ echo 'Patch #2 (foremost-1.5.7-format-security.patch):'
Patch #2 (foremost-1.5.7-format-security.patch):
+ /usr/bin/patch -p1
patching file extract.c
Hunk #1 succeeded at 2115 (offset 5 lines).
Hunk #2 succeeded at 2149 (offset 5 lines).
+ echo 'Patch #3 (foremost-1.5.7-gcc10.patch):'
Patch #3 (foremost-1.5.7-gcc10.patch):
+ /usr/bin/patch -p1
patching file api.c
patching file extract.c
patching file main.h
patching file ole.h
patching file state.c
patching file main.c
+ exit 0
Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.58031
+ 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 -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 -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 -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 -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 -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 -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 -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:10: warning: variable 'unknown' set but not used [-Wunused-but-set-variable]
  482 |  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 -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:78:2: warning: ignoring return value of 'realpath' declared with attribute 'warn_unused_result' [-Wunused-result]
   78 |  realpath(fn, temp);
      |  ^~~~~~~~~~~~~~~~~~
state.c: In function 'set_output_directory':
state.c:99:2: warning: ignoring return value of 'realpath' declared with attribute 'warn_unused_result' [-Wunused-result]
   99 |  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:209: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:209:35: note: length computed here
  209 |  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 -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 -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:17: 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:14: warning: variable 'fileObjHeaderSize' set but not used [-Wunused-but-set-variable]
 1158 |  u_int64_t   fileObjHeaderSize = 0;
      |              ^~~~~~~~~~~~~~~~~
extract.c:1151:17: 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:17: 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:17: 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:15: warning: variable 'align' set but not used [-Wunused-but-set-variable]
 2115 |  unsigned int align = 0;
      |               ^~~~~
extract.c:2111:15: warning: variable 'size_of_headers' set but not used [-Wunused-but-set-variable]
 2111 |  unsigned int size_of_headers = 0;
      |               ^~~~~~~~~~~~~~~
extract.c:2109:15: warning: variable 'sizeofimage' set but not used [-Wunused-but-set-variable]
 2109 |  unsigned int sizeofimage = 0;
      |               ^~~~~~~~~~~
extract.c:2106:15: warning: variable 'rva' set but not used [-Wunused-but-set-variable]
 2106 |  unsigned int rva = 0;
      |               ^~~
extract.c:2105:15: warning: variable 'SizeOfUninitializedData' set but not used [-Wunused-but-set-variable]
 2105 |  unsigned int SizeOfUninitializedData = 0;
      |               ^~~~~~~~~~~~~~~~~~~~~~~
extract.c:2104:15: warning: variable 'SizeOfInitializedData' set but not used [-Wunused-but-set-variable]
 2104 |  unsigned int SizeOfInitializedData = 0;
      |               ^~~~~~~~~~~~~~~~~~~~~
extract.c:2103:15: warning: variable 'SizeOfCode' set but not used [-Wunused-but-set-variable]
 2103 |  unsigned int SizeOfCode = 0;
      |               ^~~~~~~~~~
extract.c: In function 'extract_rar':
extract.c:2276:13: warning: variable 'file_size' set but not used [-Wunused-but-set-variable]
 2276 |  u_int64_t  file_size = 0;
      |             ^~~~~~~~~
extract.c: In function 'extract_exe':
extract.c:2144:29: warning: ':' directive writing 1 byte into a region of size between 0 and 16 [-Wformat-overflow=]
 2144 |    "%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 -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 
make: Leaving directory '/usr/src/RPM/BUILD/foremost-1.5.7'
+ exit 0
Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.15892
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ /bin/chmod -Rf u+rwX -- /usr/src/tmp/foremost-buildroot
+ :
+ /bin/rm -rf -- /usr/src/tmp/foremost-buildroot
+ PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games
+ cd foremost-1.5.7
+ install -d /usr/src/tmp/foremost-buildroot/usr/bin /usr/src/tmp/foremost-buildroot/usr/share/man/man1 /usr/src/tmp/foremost-buildroot/etc
+ make 'INSTALL=/usr/libexec/rpm-build/install -p' install BIN=/usr/src/tmp/foremost-buildroot/usr/bin MAN=/usr/src/tmp/foremost-buildroot/usr/share/man/man1 CONF=/usr/src/tmp/foremost-buildroot/etc
make: Entering directory '/usr/src/RPM/BUILD/foremost-1.5.7'
install -p -m 755 foremost /usr/src/tmp/foremost-buildroot/usr/bin
install -p -m 644 foremost.8.gz /usr/src/tmp/foremost-buildroot/usr/share/man/man1
install -p -m 644 foremost.conf /usr/src/tmp/foremost-buildroot/etc
make: Leaving directory '/usr/src/RPM/BUILD/foremost-1.5.7'
+ /usr/lib/rpm/brp-alt
Cleaning files in /usr/src/tmp/foremost-buildroot (auto)
Verifying and fixing files in /usr/src/tmp/foremost-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig)
Checking contents of files in /usr/src/tmp/foremost-buildroot/ (default)
Compressing files in /usr/src/tmp/foremost-buildroot (auto)
Verifying ELF objects in /usr/src/tmp/foremost-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal)
Processing files: foremost-1.5.7-alt2
Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.90843
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd foremost-1.5.7
+ DOCDIR=/usr/src/tmp/foremost-buildroot/usr/share/doc/foremost-1.5.7
+ export DOCDIR
+ rm -rf /usr/src/tmp/foremost-buildroot/usr/share/doc/foremost-1.5.7
+ /bin/mkdir -p /usr/src/tmp/foremost-buildroot/usr/share/doc/foremost-1.5.7
+ cp -prL README CHANGES /usr/src/tmp/foremost-buildroot/usr/share/doc/foremost-1.5.7
+ chmod -R go-w /usr/src/tmp/foremost-buildroot/usr/share/doc/foremost-1.5.7
+ chmod -R a+rX /usr/src/tmp/foremost-buildroot/usr/share/doc/foremost-1.5.7
+ exit 0
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.0vMgxN
find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,python3,shell)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.GYOraO
find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services)
Requires: /lib64/ld-linux-x86-64.so.2, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), rtld(GNU_HASH)
Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.EGlC6L
Creating foremost-debuginfo package
Processing files: foremost-debuginfo-1.5.7-alt2
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.q00hRN
find-provides: running scripts (debuginfo)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.2QRIxN
find-requires: running scripts (debuginfo)
Requires: foremost = 1.5.7-alt2, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libc.so.6)
Adding to foremost-debuginfo a strict dependency on foremost
Wrote: /usr/src/RPM/RPMS/x86_64/foremost-1.5.7-alt2.x86_64.rpm (w2.lzdio)
Wrote: /usr/src/RPM/RPMS/x86_64/foremost-debuginfo-1.5.7-alt2.x86_64.rpm (w2.lzdio)
2.36user 0.48system 0:07.27elapsed 39%CPU (0avgtext+0avgdata 41752maxresident)k
0inputs+0outputs (0major+204584minor)pagefaults 0swaps
/.out/foremost-1.5.7-alt2.x86_64.rpm: license not found in '/usr/share/license' directory: Public
/.out/foremost-1.5.7-alt2.x86_64.rpm: license not found in '/usr/share/license' directory: Domain
/.out/foremost-debuginfo-1.5.7-alt2.x86_64.rpm: license not found in '/usr/share/license' directory: Public
/.out/foremost-debuginfo-1.5.7-alt2.x86_64.rpm: license not found in '/usr/share/license' directory: Domain
3.66user 2.59system 0:12.61elapsed 49%CPU (0avgtext+0avgdata 41752maxresident)k
0inputs+0outputs (0major+392564minor)pagefaults 0swaps
--- foremost-1.5.7-alt2.x86_64.rpm.repo	2021-02-25 22:42:29.000000000 +0000
+++ foremost-1.5.7-alt2.x86_64.rpm.hasher	2021-07-15 02:41:29.686125159 +0000
@@ -16,3 +16,3 @@
 File: /etc/foremost.conf	100644	root:root	1351b76b5043fe0d310d569484ca223e	
-File: /usr/bin/foremost	100755	root:root	3e3eba61858b852b356f103fbd67e91d	
+File: /usr/bin/foremost	100755	root:root	44e26e91e4fe54bc492ec6dc73a8bb3b	
 File: /usr/share/doc/foremost-1.5.7	40755	root:root		
@@ -21,2 +21,2 @@
 File: /usr/share/man/man1/foremost.8.xz	100644	root:root	7f237d476b2ea001cf4727fd956570ac	
-RPMIdentity: 7aa88fd91a3832e4278ec7beae7bae6a
+RPMIdentity: 69f62ec7efcd226c52618831b048c43b
--- foremost-debuginfo-1.5.7-alt2.x86_64.rpm.repo	2021-02-25 22:42:29.000000000 +0000
+++ foremost-debuginfo-1.5.7-alt2.x86_64.rpm.hasher	2021-07-15 02:41:29.817124254 +0000
@@ -1,4 +1,4 @@
-/usr/lib/debug/.build-id/2e	40755	root:root	
-/usr/lib/debug/.build-id/2e/df909d4a03a72554f804ded54395b039caadd5	120777	root:root	../../../../bin/foremost
-/usr/lib/debug/.build-id/2e/df909d4a03a72554f804ded54395b039caadd5.debug	120777	root:root	../../usr/bin/foremost.debug
+/usr/lib/debug/.build-id/3c	40755	root:root	
+/usr/lib/debug/.build-id/3c/5868092f80468374c0944d3af33beeb12df8b0	120777	root:root	../../../../bin/foremost
+/usr/lib/debug/.build-id/3c/5868092f80468374c0944d3af33beeb12df8b0.debug	120777	root:root	../../usr/bin/foremost.debug
 /usr/lib/debug/usr/bin/foremost.debug	100644	root:root	
@@ -22,6 +22,6 @@
 Provides: foremost-debuginfo = 1.5.7-alt2:sisyphus+266994.100.1.1
-File: /usr/lib/debug/.build-id/2e	40755	root:root		
-File: /usr/lib/debug/.build-id/2e/df909d4a03a72554f804ded54395b039caadd5	120777	root:root		../../../../bin/foremost
-File: /usr/lib/debug/.build-id/2e/df909d4a03a72554f804ded54395b039caadd5.debug	120777	root:root		../../usr/bin/foremost.debug
-File: /usr/lib/debug/usr/bin/foremost.debug	100644	root:root	56e92de4487bcaa76cc8d7d38efe68ad	
+File: /usr/lib/debug/.build-id/3c	40755	root:root		
+File: /usr/lib/debug/.build-id/3c/5868092f80468374c0944d3af33beeb12df8b0	120777	root:root		../../../../bin/foremost
+File: /usr/lib/debug/.build-id/3c/5868092f80468374c0944d3af33beeb12df8b0.debug	120777	root:root		../../usr/bin/foremost.debug
+File: /usr/lib/debug/usr/bin/foremost.debug	100644	root:root	76102135a4b086d5a2d31bcc6bf9f146	
 File: /usr/src/debug/foremost-1.5.7	40755	root:root		
@@ -39,2 +39,2 @@
 File: /usr/src/debug/foremost-1.5.7/state.c	100644	root:root	428de7c97a8383184d3e756e3bd57927	
-RPMIdentity: 13dc6e4a5ef8a28dac0d6544020278a8
+RPMIdentity: bf4c6338e8778a501ef0b75b5eb0047f