D: [iurt_root_command] chroot
Building target platforms: i686
Building for target i686
Installing /home/iurt/rpmbuild/SRPMS/@2195552:sysvinit-legacy-2.87-33.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.lFm4Xx
Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.LCKcNN
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build
+ rm -rf sysvinit-2.87dsf
+ /usr/lib/rpm/rpmuncompress -x /home/iurt/rpmbuild/SOURCES/sysvinit-2.87.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd sysvinit-2.87dsf
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (sysvinit-2.87-prefix.patch):'
Patch #0 (sysvinit-2.87-prefix.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .prefix --fuzz=0
patching file src/Makefile
Hunk #1 succeeded at 129 (offset 2 lines).
+ echo 'Patch #1 (sysvinit-2.78-man.patch):'
Patch #1 (sysvinit-2.78-man.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .manpatch --fuzz=0
patching file man/last.1
Hunk #1 succeeded at 62 (offset 2 lines).
patching file man/init.8
Hunk #1 succeeded at 67 (offset 3 lines).
patching file man/sulogin.8
+ echo 'Patch #4 (sysvinit-2.86-autofsck.patch):'
Patch #4 (sysvinit-2.86-autofsck.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .autofsck --fuzz=0
patching file src/shutdown.c
+ echo 'Patch #5 (sysvinit-2.86-loginshell.patch):'
Patch #5 (sysvinit-2.86-loginshell.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .loginshell --fuzz=0
patching file src/init.c
Hunk #1 succeeded at 1164 (offset 11 lines).
+ echo 'Patch #8 (sysvinit-2.86-inittab.patch):'
Patch #8 (sysvinit-2.86-inittab.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .inittabdocs --fuzz=0
patching file man/inittab.5
+ echo 'Patch #10 (sysvinit-2.87-pidof.patch):'
Patch #10 (sysvinit-2.87-pidof.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .pidof --fuzz=0
patching file src/killall5.c
+ echo 'Patch #13 (sysvinit-2.86-single.patch):'
Patch #13 (sysvinit-2.86-single.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .single --fuzz=0
patching file src/init.c
Hunk #1 succeeded at 1162 (offset 9 lines).
+ echo 'Patch #16 (sysvinit-2.86-quiet.patch):'
Patch #16 (sysvinit-2.86-quiet.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .quiet --fuzz=0
patching file src/init.c
Hunk #1 succeeded at 120 (offset 3 lines).
Hunk #2 succeeded at 1683 (offset 9 lines).
Hunk #3 succeeded at 2435 (offset 9 lines).
Hunk #4 succeeded at 2672 (offset 14 lines).
+ echo 'Patch #23 (sysvinit-2.86-pidof-man.patch):'
Patch #23 (sysvinit-2.86-pidof-man.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .pidof --fuzz=0
patching file man/pidof.8
Hunk #1 succeeded at 50 (offset 7 lines).
+ echo 'Patch #24 (sysvinit-2.87-sulogin.patch):'
Patch #24 (sysvinit-2.87-sulogin.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .sulogin --fuzz=0
patching file src/sulogin.c
+ echo 'Patch #25 (sysvinit-2.87-wide.patch):'
Patch #25 (sysvinit-2.87-wide.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .wide --fuzz=0
patching file man/last.1
patching file src/last.c
+ echo 'Patch #26 (sysvinit-2.87-ipv6.patch):'
Patch #26 (sysvinit-2.87-ipv6.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .ipv6 --fuzz=0
patching file src/last.c
+ echo 'Patch #27 (sysvinit-2.87-omit.patch):'
Patch #27 (sysvinit-2.87-omit.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .omit --fuzz=0
patching file man/pidof.8
patching file src/killall5.c
+ echo 'Patch #100 (sysvinit-2.86-shutdown.patch):'
Patch #100 (sysvinit-2.86-shutdown.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .shutdown --fuzz=0
patching file src/shutdown.c
Hunk #3 succeeded at 536 (offset 6 lines).
+ echo 'Patch #101 (sysvinit-2.87-libcrypt.patch):'
Patch #101 (sysvinit-2.87-libcrypt.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .libcrypt --fuzz=0
patching file src/Makefile
+ echo 'Patch #104 (sysvinit-2.85-walltty.patch):'
Patch #104 (sysvinit-2.85-walltty.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .wall --fuzz=0
patching file src/dowall.c
Hunk #1 succeeded at 207 (offset 18 lines).
+ echo 'Patch #105 (sysvinit-disable-respawn-more-quickly.patch):'
Patch #105 (sysvinit-disable-respawn-more-quickly.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .disable-respawn-more-quickly --fuzz=0
patching file man/init.8
Hunk #1 succeeded at 270 (offset 12 lines).
patching file src/init.h
+ echo 'Patch #106 (sysvinit-2.87-speedboot-ioctl.patch):'
Patch #106 (sysvinit-2.87-speedboot-ioctl.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .speedboot-ioctl --fuzz=0
patching file src/init.c
+ echo 'Patch #200 (50_bootlogd_devsubdir.patch):'
Patch #200 (50_bootlogd_devsubdir.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .bootlogd_devsubdir --fuzz=0
patching file src/bootlogd.c
+ echo 'Patch #201 (54_bootlogd_findptyfail.patch):'
Patch #201 (54_bootlogd_findptyfail.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .bootlogd_findptyfail --fuzz=0
patching file src/bootlogd.c
+ echo 'Patch #202 (55_bootlogd_flush.patch):'
Patch #202 (55_bootlogd_flush.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .bootlogd_flush --fuzz=0
patching file src/bootlogd.c
Hunk #1 succeeded at 366 (offset 28 lines).
Hunk #2 succeeded at 398 (offset 28 lines).
+ echo 'Patch #203 (sysvinit-2.87dsf-fix-ioctl.patch):'
Patch #203 (sysvinit-2.87dsf-fix-ioctl.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .ioctl --fuzz=0
patching file src/bootlogd.c
+ echo 'Patch #300 (sysvinit-2.88-sysmacros.patch):'
Patch #300 (sysvinit-2.88-sysmacros.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .sysmacros --fuzz=0
patching file src/bootlogd.c
Hunk #1 succeeded at 23 (offset -9 lines).
patching file src/mountpoint.c
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.pqnXke
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd sysvinit-2.87dsf
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ /usr/bin/make -O -j24 V=1 VERBOSE=1 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE' 'LDFLAGS=-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' -C src
make: Entering directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE   -c -o runlevel.o runlevel.c
runlevel.c: In function 'main':
runlevel.c:20:5: warning: old-style function definition [-Wold-style-definition]
   20 | int main(argc, argv)
      |     ^~~~
make: Leaving directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src'
make: Entering directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE   -c -o shutdown.o shutdown.c
shutdown.c: In function 'main':
shutdown.c:441:33: error: conflicting types for 'getopt'; have 'int(void)'
  441 |         extern int              getopt();
      |                                 ^~~~~~
In file included from /usr/include/bits/getopt_posix.h:27,
                 from /usr/include/unistd.h:903,
                 from /usr/include/bits/sigstksz.h:24,
                 from /usr/include/signal.h:328,
                 from /usr/include/sys/wait.h:36,
                 from shutdown.c:33:
/usr/include/bits/getopt_core.h:91:12: note: previous declaration of 'getopt' with type 'int(int,  char * const*, const char *)'
   91 | extern int getopt (int ___argc, char *const *___argv, const char *__shortopts)
      |            ^~~~~~
shutdown.c:477:20: error: too many arguments to function 'getopt'; expected 0, have 3
  477 |         while((c = getopt(argc, argv, "HPacqkrhnfFyt:g:i:")) != EOF) {
      |                    ^~~~~~ ~~~~
shutdown.c:441:33: note: declared here
  441 |         extern int              getopt();
      |                                 ^~~~~~
shutdown.c: In function 'spawn':
shutdown.c:261:9: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result]
  261 |         chdir("/");
      |         ^~~~~~~~~~
shutdown.c: In function 'main':
shutdown.c:467:9: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result]
  467 |         setuid(geteuid());
      |         ^~~~~~~~~~~~~~~~~
shutdown.c:595:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
  595 |                 fscanf(fp, "%d", &pid);
      |                 ^~~~~~~~~~~~~~~~~~~~~~
shutdown.c:684:9: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result]
  684 |         chdir("/");
      |         ^~~~~~~~~~
make: *** [<builtin>: shutdown.o] Error 1
make: Leaving directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src'
make: *** Waiting for unfinished jobs....
make: Entering directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src'
gcc -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o runlevel runlevel.o
make: Leaving directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src'
make: Entering directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE   -c -o last.o last.c
last.c: In function 'quit_handler':
last.c:286:25: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types]
  286 |         signal(SIGQUIT, quit_handler);
      |                         ^~~~~~~~~~~~
      |                         |
      |                         void (*)(void)
In file included from last.c:32:
/usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)'
   88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler)
      |                                          ~~~~~~~~~~~~~~~^~~~~~~~~
last.c:283:6: note: 'quit_handler' declared here
  283 | void quit_handler()
      |      ^~~~~~~~~~~~
/usr/include/signal.h:72:16: note: '__sighandler_t' declared here
   72 | typedef void (*__sighandler_t) (int);
      |                ^~~~~~~~~~~~~~
last.c: In function 'main':
last.c:682:18: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types]
  682 |   signal(SIGINT, int_handler);
      |                  ^~~~~~~~~~~
      |                  |
      |                  void (*)(void)
/usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)'
   88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler)
      |                                          ~~~~~~~~~~~~~~~^~~~~~~~~
last.c:274:6: note: 'int_handler' declared here
  274 | void int_handler()
      |      ^~~~~~~~~~~
/usr/include/signal.h:72:16: note: '__sighandler_t' declared here
   72 | typedef void (*__sighandler_t) (int);
      |                ^~~~~~~~~~~~~~
last.c:683:19: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types]
  683 |   signal(SIGQUIT, quit_handler);
      |                   ^~~~~~~~~~~~
      |                   |
      |                   void (*)(void)
/usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)'
   88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler)
      |                                          ~~~~~~~~~~~~~~~^~~~~~~~~
last.c:283:6: note: 'quit_handler' declared here
  283 | void quit_handler()
      |      ^~~~~~~~~~~~
/usr/include/signal.h:72:16: note: '__sighandler_t' declared here
   72 | typedef void (*__sighandler_t) (int);
      |                ^~~~~~~~~~~~~~
make: *** [<builtin>: last.o] Error 1
make: Leaving directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src'
make: Entering directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src'
gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE  sulogin.c
sulogin.c: In function 'getpasswd':
sulogin.c:277:23: error: assignment to '__sighandler_t' {aka 'void (*)(int)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types]
  277 |         sa.sa_handler = alrm_handler;
      |                       ^
sulogin.c:97:6: note: 'alrm_handler' declared here
   97 | void alrm_handler()
      |      ^~~~~~~~~~~~
In file included from sulogin.c:22:
/usr/include/signal.h:72:16: note: '__sighandler_t' declared here
   72 | typedef void (*__sighandler_t) (int);
      |                ^~~~~~~~~~~~~~
sulogin.c: In function 'sushell':
sulogin.c:311:15: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result]
  311 |         (void)chdir(pwd->pw_dir);
      |               ^~~~~~~~~~~~~~~~~~
sulogin.c:331:9: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result]
  331 |         getcwd(home, sizeof(home));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
sulogin.c: In function 'main':
sulogin.c:453:33: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result]
  453 |                                 dup(fd);
      |                                 ^~~~~~~
sulogin.c:454:33: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result]
  454 |                                 dup(fd);
      |                                 ^~~~~~~
make: *** [Makefile:105: sulogin.o] Error 1
make: Leaving directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src'
make: Entering directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src'
gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE utmp.c
make: Leaving directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src'
make: Entering directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src'
gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE -DINIT_MAIN utmp.c -o init_utmp.o
make: Leaving directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src'
make: Entering directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE   -c -o halt.o halt.c
halt.c: In function 'main':
halt.c:232:15: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result]
  232 |         (void)chdir("/");
      |               ^~~~~~~~~~
make: Leaving directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src'
make: Entering directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src'
gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE   init.c
init.c: In function 'init_main':
init.c:82:39: error: assignment to '__sighandler_t' {aka 'void (*)(int)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types]
   82 |                         sa.sa_handler = fun; \
      |                                       ^
init.c:2406:3: note: in expansion of macro 'SETSIG'
 2406 |   SETSIG(sa, SIGCHLD,  chld_handler, SA_RESTART);
      |   ^~~~~~
init.c:563:6: note: 'chld_handler' declared here
  563 | void chld_handler()
      |      ^~~~~~~~~~~~
In file included from /usr/include/sys/wait.h:36,
                 from init.c:26:
/usr/include/signal.h:72:16: note: '__sighandler_t' declared here
   72 | typedef void (*__sighandler_t) (int);
      |                ^~~~~~~~~~~~~~
init.c:82:39: error: assignment to '__sighandler_t' {aka 'void (*)(int)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types]
   82 |                         sa.sa_handler = fun; \
      |                                       ^
init.c:2410:3: note: in expansion of macro 'SETSIG'
 2410 |   SETSIG(sa, SIGSTOP,  stop_handler, SA_RESTART);
      |   ^~~~~~
init.c:675:6: note: 'stop_handler' declared here
  675 | void stop_handler()
      |      ^~~~~~~~~~~~
/usr/include/signal.h:72:16: note: '__sighandler_t' declared here
   72 | typedef void (*__sighandler_t) (int);
      |                ^~~~~~~~~~~~~~
init.c:82:39: error: assignment to '__sighandler_t' {aka 'void (*)(int)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types]
   82 |                         sa.sa_handler = fun; \
      |                                       ^
init.c:2411:3: note: in expansion of macro 'SETSIG'
 2411 |   SETSIG(sa, SIGTSTP,  stop_handler, SA_RESTART);
      |   ^~~~~~
init.c:675:6: note: 'stop_handler' declared here
  675 | void stop_handler()
      |      ^~~~~~~~~~~~
/usr/include/signal.h:72:16: note: '__sighandler_t' declared here
   72 | typedef void (*__sighandler_t) (int);
      |                ^~~~~~~~~~~~~~
init.c:82:39: error: assignment to '__sighandler_t' {aka 'void (*)(int)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types]
   82 |                         sa.sa_handler = fun; \
      |                                       ^
init.c:2412:3: note: in expansion of macro 'SETSIG'
 2412 |   SETSIG(sa, SIGCONT,  cont_handler, SA_RESTART);
      |   ^~~~~~
init.c:603:6: note: 'cont_handler' declared here
  603 | void cont_handler()
      |      ^~~~~~~~~~~~
/usr/include/signal.h:72:16: note: '__sighandler_t' declared here
   72 | typedef void (*__sighandler_t) (int);
      |                ^~~~~~~~~~~~~~
init.c:82:39: error: assignment to '__sighandler_t' {aka 'void (*)(int)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types]
   82 |                         sa.sa_handler = fun; \
      |                                       ^
init.c:2452:17: note: in expansion of macro 'SETSIG'
 2452 |                 SETSIG(sa, SIGCHLD,  chld_handler, SA_RESTART);
      |                 ^~~~~~
init.c:563:6: note: 'chld_handler' declared here
  563 | void chld_handler()
      |      ^~~~~~~~~~~~
/usr/include/signal.h:72:16: note: '__sighandler_t' declared here
   72 | typedef void (*__sighandler_t) (int);
      |                ^~~~~~~~~~~~~~
init.c: In function 'main':
init.c:2706:9: error: too many arguments to function 'init_main'; expected 0, have 1
 2706 |         init_main(dfl_level);
      |         ^~~~~~~~~ ~~~~~~~~~
init.c:2357:5: note: declared here
 2357 | int init_main()
      |     ^~~~~~~~~
init.c: In function 'get_record':
init.c:358:33: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
  358 |                                 fscanf(f, "%c\n", &runlevel);
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
init.c:361:33: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
  361 |                                 fscanf(f, "%c\n", &thislevel);
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init.c:364:33: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
  364 |                                 fscanf(f, "%c\n", &prevlevel);
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init.c:367:33: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
  367 |                                 fscanf(f, "%u\n", &got_signals);
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init.c:370:33: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
  370 |                                 fscanf(f, "%d\n", &wrote_wtmp_reboot);
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init.c:373:33: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
  373 |                                 fscanf(f, "%d\n", &wrote_utmp_reboot);
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init.c:376:33: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
  376 |                                 fscanf(f, "%d\n", &sltime);
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
init.c:379:33: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
  379 |                                 fscanf(f, "%d\n", &did_boot);
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
init.c:398:25: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
  398 |                         fscanf(f, "%d\n", &(p->pid));
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
init.c:401:25: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
  401 |                         fscanf(f, "%u\n", &(p->exstat));
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init.c: In function 'coredump':
init.c:628:9: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result]
  628 |         chdir("/");
      |         ^~~~~~~~~~
init.c: In function 'print':
init.c:739:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  739 |                 write(fd, s, strlen(s));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~
init.c: In function 'spawn':
init.c:978:33: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result]
  978 |                                 dup(f);
      |                                 ^~~~~~
init.c:979:33: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result]
  979 |                                 dup(f);
      |                                 ^~~~~~
init.c:1038:25: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result]
 1038 |                         dup(f);
      |                         ^~~~~~
init.c:1039:25: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result]
 1039 |                         dup(f);
      |                         ^~~~~~
init.c: In function 'ask_runlevel':
init.c:1560:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
 1560 |                 write(fd, prompt, sizeof(prompt) - 1);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init.c:1562:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
 1562 |                 read(fd, buf, sizeof(buf));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
init.c: In function 'make_pipe':
init.c:1831:9: warning: ignoring return value of 'pipe' declared with attribute 'warn_unused_result' [-Wunused-result]
 1831 |         pipe(fds);
      |         ^~~~~~~~~
init.c:1836:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
 1836 |         write(fds[1], Signature, 8);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
init.c: In function 'process_signals':
init.c:2266:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
 2266 |                 read(fd, &c, 1);
      |                 ^~~~~~~~~~~~~~~
make: *** [Makefile:108: init.o] Error 1
make: Leaving directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src'
make: Entering directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE   -c -o mesg.o mesg.c
make: Leaving directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src'
make: Entering directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE   -c -o ifdown.o ifdown.c
make: Leaving directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src'
make: Entering directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE   -c -o mountpoint.o mountpoint.c
make: Leaving directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src'
make: Entering directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE   -c -o wall.o wall.c
make: Leaving directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src'
make: Entering directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE   -c -o hddown.o hddown.c
make: Leaving directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src'
make: Entering directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE   -c -o dowall.o dowall.c
dowall.c: In function 'wall':
dowall.c:171:60: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 54 [-Wformat-truncation=]
  171 |                         "\007\r\nBroadcast message from %s@%s %s(%s):\r\n\r\n",
      |                                                            ^~
  172 |                         user, hostname, tty, date);
      |                               ~~~~~~~~                      
In file included from /usr/include/stdio.h:970,
                 from dowall.c:24:
In function 'snprintf',
    inlined from 'wall' at dowall.c:170:3:
/usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 36 or more bytes (assuming 291) into a destination of size 81
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
In file included from /usr/include/string.h:548,
                 from dowall.c:21:
In function 'strncat',
    inlined from 'wall' at dowall.c:194:4:
/usr/include/bits/string_fortified.h:149:10: warning: '__builtin___strncat_chk' argument 2 declared attribute 'nonstring' [-Wstringop-overread]
  149 |   return __builtin___strncat_chk (__dest, __src, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  150 |                                   __glibc_objsize (__dest));
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/utmp.h:29,
                 from dowall.c:25:
/usr/include/bits/utmp.h: In function 'wall':
/usr/include/bits/utmp.h:62:8: note: argument 'ut_line' declared here
   62 |   char ut_line[UT_LINESIZE]
      |        ^~~~~~~
make: Leaving directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src'
make: Entering directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE   -c -o utmpdump.o utmpdump.c
make: Leaving directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src'
make: Entering directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE   -c -o bootlogd.o bootlogd.c
bootlogd.c: In function 'findtty':
bootlogd.c:117:17: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result]
  117 |                 chdir(olddir);
      |                 ^~~~~~~~~~~~~
bootlogd.c:132:33: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result]
  132 |                                 chdir(olddir);
      |                                 ^~~~~~~~~~~~~
bootlogd.c:143:33: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result]
  143 |                                 chdir(olddir);
      |                                 ^~~~~~~~~~~~~
bootlogd.c:148:33: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result]
  148 |                                 chdir(olddir);
      |                                 ^~~~~~~~~~~~~
bootlogd.c:155:9: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result]
  155 |         chdir(olddir);
      |         ^~~~~~~~~~~~~
make: Leaving directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src'
make: Entering directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE  -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld  killall5.c   -o killall5
killall5.c: In function 'readproc':
killall5.c:226:25: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  226 |                         fgets(buf, sizeof(buf), fp);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
killall5.c:221:49: warning: '/stat' directive output may be truncated writing 5 bytes into a region of size between 1 and 256 [-Wformat-truncation=]
  221 |                 snprintf(path, sizeof(path), "%s/stat", d->d_name);
      |                                                 ^~~~~
In file included from /usr/include/stdio.h:970,
                 from killall5.c:31:
In function 'snprintf',
    inlined from 'readproc' at killall5.c:221:3:
/usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 6 and 261 bytes into a destination of size 256
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
killall5.c: In function 'readproc':
killall5.c:276:49: warning: '/cmdline' directive output may be truncated writing 8 bytes into a region of size between 1 and 256 [-Wformat-truncation=]
  276 |                 snprintf(path, sizeof(path), "%s/cmdline", d->d_name);
      |                                                 ^~~~~~~~
In function 'snprintf',
    inlined from 'readproc' at killall5.c:276:3:
/usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 9 and 264 bytes into a destination of size 256
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
killall5.c: In function 'readproc':
killall5.c:322:53: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 250 [-Wformat-truncation=]
  322 |                 snprintf(path, sizeof(path), "/proc/%s/exe", d->d_name);
      |                                                     ^~
In function 'snprintf',
    inlined from 'readproc' at killall5.c:322:3:
/usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 11 and 266 bytes into a destination of size 256
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
make: Leaving directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src'
error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.pqnXke (%build)

RPM build errors:
    Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.pqnXke (%build)
I: [iurt_root_command] ERROR: chroot