<86>Nov  5 00:04:47 userdel[3975779]: delete user 'rooter'
<86>Nov  5 00:04:47 userdel[3975779]: removed group 'rooter' owned by 'rooter'
<86>Nov  5 00:04:47 userdel[3975779]: removed shadow group 'rooter' owned by 'rooter'
<86>Nov  5 00:04:47 groupadd[3975817]: group added to /etc/group: name=rooter, GID=1805
<86>Nov  5 00:04:47 groupadd[3975817]: group added to /etc/gshadow: name=rooter
<86>Nov  5 00:04:47 groupadd[3975817]: new group: name=rooter, GID=1805
<86>Nov  5 00:04:47 useradd[3975846]: new user: name=rooter, UID=1805, GID=1805, home=/root, shell=/bin/bash, from=none
<86>Nov  5 00:04:47 userdel[3975880]: delete user 'builder'
<86>Nov  5 00:04:47 userdel[3975880]: removed group 'builder' owned by 'builder'
<86>Nov  5 00:04:47 userdel[3975880]: removed shadow group 'builder' owned by 'builder'
<86>Nov  5 00:04:47 groupadd[3975924]: group added to /etc/group: name=builder, GID=1806
<86>Nov  5 00:04:47 groupadd[3975924]: group added to /etc/gshadow: name=builder
<86>Nov  5 00:04:47 groupadd[3975924]: new group: name=builder, GID=1806
<86>Nov  5 00:04:47 useradd[3975946]: new user: name=builder, UID=1806, GID=1806, home=/usr/src, shell=/bin/bash, from=none
/usr/src/in/srpm/runit-2.1.2-alt2.src.rpm: license not found in '/usr/share/license' directory: BSD-3-clause
Building target platforms: x86_64
Building for target x86_64
Wrote: /usr/src/in/nosrpm/runit-2.1.2-alt2.nosrc.rpm (w1.gzdio)
Installing runit-2.1.2-alt2.src.rpm
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.73672
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf runit-2.1.2
+ echo 'Source #0 (runit-2.1.2.tar):'
Source #0 (runit-2.1.2.tar):
+ /bin/tar -xf /usr/src/RPM/SOURCES/runit-2.1.2.tar
+ cd runit-2.1.2
+ /bin/chmod -c -Rf u+rwX,go-w .
+ echo 'Patch #1 (runit-2.1.2-service-dir-alt.patch):'
Patch #1 (runit-2.1.2-service-dir-alt.patch):
+ /usr/bin/patch -p2
patching file man/runsv.8
patching file man/runsvchdir.8
patching file man/sv.8
patching file src/sv.c
patching file etc/2
+ echo 'Patch #2 (0002-support-etc-runit-nosync-file-to-make-sync-on-shutdow.diff):'
Patch #2 (0002-support-etc-runit-nosync-file-to-make-sync-on-shutdow.diff):
+ /usr/bin/patch -p2
patching file doc/runit.8.html
patching file man/runit.8
patching file src/runit.c
patching file src/runit.h
+ echo 'Patch #3 (0003-utmpset.c-mixes-int32_t-and-time_t.diff):'
Patch #3 (0003-utmpset.c-mixes-int32_t-and-time_t.diff):
+ /usr/bin/patch -p2
patching file src/utmpset.c
+ echo 'Patch #4 (0004-src-Makefile-don-t-use-static-to-link-runit-runit-ini.diff):'
Patch #4 (0004-src-Makefile-don-t-use-static-to-link-runit-runit-ini.diff):
+ /usr/bin/patch -p2
patching file src/Makefile
+ echo 'Patch #6 (0006-make-buildsystem-respect-CFLAGS.patch):'
Patch #6 (0006-make-buildsystem-respect-CFLAGS.patch):
+ /usr/bin/patch -p2
patching file src/print-cc.sh
patching file src/print-ld.sh
+ echo 'Patch #7 (0007-move-communication-files.patch):'
Patch #7 (0007-move-communication-files.patch):
+ /usr/bin/patch -p2
patching file etc/debian/1
patching file etc/debian/3
patching file etc/debian/ctrlaltdel
patching file man/runit-init.8
patching file man/runit.8
patching file src/runit.h
+ echo 'Patch #8 (0008-emulate-sysv-runlevel-5.patch):'
Patch #8 (0008-emulate-sysv-runlevel-5.patch):
+ /usr/bin/patch -p2
patching file etc/debian/1
+ echo 'Patch #9 (0009-fix-error-in-manpage.patch):'
Patch #9 (0009-fix-error-in-manpage.patch):
+ /usr/bin/patch -p2
patching file man/runsv.8
+ echo 'Patch #10 (runit-2.1.2-disable-chkshsgr-alt.patch):'
Patch #10 (runit-2.1.2-disable-chkshsgr-alt.patch):
+ /usr/bin/patch -p2
patching file src/Makefile
+ rm -fv doc/debian
removed 'doc/debian'
+ exit 0
Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.73672
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd runit-2.1.2
+ package/compile
Linking ./src/* into ./compile...
Compiling everything in ./compile...
+ cd compile
+ exec make
make: Entering directory '/usr/src/RPM/BUILD/runit-2.1.2/compile'
sh find-systype.sh > systype
rm -f compile
sh print-cc.sh > compile
chmod 555 compile
rm -f choose
cat warn-auto.sh choose.sh \
> choose
chmod 555 choose
./choose c trydrent direntry.h1 direntry.h2 > direntry.h
rm -f load
sh print-ld.sh > load
chmod 555 load
./choose cl tryflock hasflock.h1 hasflock.h2 > hasflock.h
./choose cl trymkffo hasmkffo.h1 hasmkffo.h2 > hasmkffo.h
./choose cl trysgact hassgact.h1 hassgact.h2 > hassgact.h
./choose cl trysgprm hassgprm.h1 hassgprm.h2 > hassgprm.h
./compile chkshsgr.c
chkshsgr.c: In function 'main':
chkshsgr.c:10:19: error: passing argument 2 of 'getgroups' from incompatible pointer type [-Wincompatible-pointer-types]
   10 |   if (getgroups(1,x) == 0) if (setgroups(1,x) == -1) _exit(1);
      |                   ^
      |                   |
      |                   short int *
In file included from /usr/include/features.h:503,
                 from /usr/include/unistd.h:25,
                 from chkshsgr.c:3:
/usr/include/bits/unistd.h:113:1: note: expected '__gid_t *' {aka 'unsigned int *'} but argument is of type 'short int *'
  113 | __NTH (getgroups (int __size, __gid_t __list[]))
      | ^~~~~
chkshsgr.c:10:32: error: implicit declaration of function 'setgroups'; did you mean 'getgroups'? [-Wimplicit-function-declaration]
   10 |   if (getgroups(1,x) == 0) if (setgroups(1,x) == -1) _exit(1);
      |                                ^~~~~~~~~
      |                                getgroups
make: *** [Makefile:177: chkshsgr.o] Error 1
make: Leaving directory '/usr/src/RPM/BUILD/runit-2.1.2/compile'
error: Bad exit status from /usr/src/tmp/rpm-tmp.73672 (%build)


RPM build errors:
    Bad exit status from /usr/src/tmp/rpm-tmp.73672 (%build)
Command exited with non-zero status 1
0.09user 0.38system 0:00.47elapsed 103%CPU (0avgtext+0avgdata 22012maxresident)k
0inputs+0outputs (0major+54521minor)pagefaults 0swaps
hsh-rebuild: rebuild of `runit-2.1.2-alt2.src.rpm' failed.
Command exited with non-zero status 1
0.55user 1.82system 0:04.89elapsed 48%CPU (0avgtext+0avgdata 12436maxresident)k
0inputs+0outputs (0major+85745minor)pagefaults 0swaps