<86>Sep 28 01:13:36 userdel[1696593]: delete user 'rooter'
<86>Sep 28 01:13:36 userdel[1696593]: removed group 'rooter' owned by 'rooter'
<86>Sep 28 01:13:36 userdel[1696593]: removed shadow group 'rooter' owned by 'rooter'
<86>Sep 28 01:13:36 groupadd[1696604]: group added to /etc/group: name=rooter, GID=693
<86>Sep 28 01:13:36 groupadd[1696604]: group added to /etc/gshadow: name=rooter
<86>Sep 28 01:13:36 groupadd[1696604]: new group: name=rooter, GID=693
<86>Sep 28 01:13:36 useradd[1696614]: new user: name=rooter, UID=693, GID=693, home=/root, shell=/bin/bash
<86>Sep 28 01:13:36 userdel[1696632]: delete user 'builder'
<86>Sep 28 01:13:36 userdel[1696632]: removed group 'builder' owned by 'builder'
<86>Sep 28 01:13:36 userdel[1696632]: removed shadow group 'builder' owned by 'builder'
<86>Sep 28 01:13:36 groupadd[1696637]: group added to /etc/group: name=builder, GID=694
<86>Sep 28 01:13:36 groupadd[1696637]: group added to /etc/gshadow: name=builder
<86>Sep 28 01:13:36 groupadd[1696637]: new group: name=builder, GID=694
<86>Sep 28 01:13:36 useradd[1696644]: new user: name=builder, UID=694, GID=694, home=/usr/src, shell=/bin/bash
<13>Sep 28 01:13:37 rpmi: rpm-build-licenses-3.0.0-alt1 sisyphus+241804.100.1.1 1574868053 installed
Building target platforms: x86_64
Building for target x86_64
Wrote: /usr/src/in/nosrpm/rootsh-1.5.3-alt2.nosrc.rpm (w1.gzdio)
Installing rootsh-1.5.3-alt2.src.rpm
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.14616
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf rootsh-1.5.3
+ echo 'Source #0 (rootsh-1.5.3.tar):'
Source #0 (rootsh-1.5.3.tar):
+ /bin/tar -xf /usr/src/RPM/SOURCES/rootsh-1.5.3.tar
+ cd rootsh-1.5.3
+ /bin/chmod -c -Rf u+rwX,go-w .
+ echo 'Patch #0 (rootsh-1.5.3-create_file_perms.patch):'
Patch #0 (rootsh-1.5.3-create_file_perms.patch):
+ /usr/bin/patch -p0
patching file src/rootsh.c
+ /bin/mv -f -- COPYING COPYING.orig
++ relative /usr/share/license/GPL-3 /usr/share/doc/rootsh/COPYING
+ /bin/ln -s -- ../../license/GPL-3 COPYING
+ /bin/sed -e s#1.5.2#1.5.3#g -i configure
+ exit 0
Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.14616
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd rootsh-1.5.3
+ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto'
+ export CFLAGS
+ CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto'
+ export CXXFLAGS
+ FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto'
+ export FFLAGS
+ FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto'
+ export FCFLAGS
+ '[' -n '' ']'
++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto'
++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g'
+ ASFLAGS=
+ export ASFLAGS
+ export lt_cv_deplibs_check_method=pass_all
+ lt_cv_deplibs_check_method=pass_all
+ readlink -e -- ./configure
+ xargs -ri dirname -- '{}'
+ xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n'
+ sort -u
+ xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess
+ ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-alt-linux-gnu
checking host system type... x86_64-alt-linux-gnu
checking for syslog... enabled
checking for syslog facility... local5.notice
checking for syslog linenumbering... enabled
checking for username in syslog... enabled
checking for logfile... enabled
checking for logdir... /var/log/rootsh
checking for maximum logfile size... 0
checking for defaultshell... /bin/bash
checking for x86_64-alt-linux-gcc... x86_64-alt-linux-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-alt-linux-gcc accepts -g... yes
checking for x86_64-alt-linux-gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of x86_64-alt-linux-gcc... none
checking for /etc/shells... found
checking how to run the C preprocessor... x86_64-alt-linux-gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for LIBUTIL=-lutil in -lutil... no
checking for ANSI C header files... (cached) yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for string.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking stropts.h usability... no
checking stropts.h presence... no
checking for stropts.h... no
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking pty.h usability... yes
checking pty.h presence... yes
checking for pty.h... yes
checking for forkpty... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for getopt_long... yes
checking for basename... yes
checking for getusershell... yes
checking getusershell prototype... yes
checking for clearenv... yes
checking for sigset... yes
checking for sigaction... yes
checking whether supplying sigset prototypes is permitted... yes
checking return type of signal handlers... void
checking select() and fd_set in sys/select.h and sys/bsdtypes.h... not needed
checking FD_ZERO and strings.h or bstring.h... not needed
checking for master pty... checking if your system supports the ttcompat streams module... no
checking operating system... linux
checking for su... /bin/false
checking for a BSD-compatible install... /bin/install -c
checking whether make sets $(MAKE)... (cached) yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/config.h
config.status: executing depfiles commands
+ make -j8
Making all in src
make  all-am
make[2]: Entering directory '/usr/src/RPM/BUILD/rootsh-1.5.3/src'
x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.     -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wstrict-prototypes -Wmissing-declarations   -Wnested-externs -Wpointer-arith -pedantic -pedantic -Wstrict-prototypes -c write2syslog.c
make[2]: Leaving directory '/usr/src/RPM/BUILD/rootsh-1.5.3/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/rootsh-1.5.3/src'
x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.     -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wstrict-prototypes -Wmissing-declarations   -Wnested-externs -Wpointer-arith -pedantic -pedantic -Wstrict-prototypes -c rootsh.c
rootsh.c:183:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  183 | extern int errno;
      | ^~~~~~
rootsh.c: In function 'endlogging':
rootsh.c:837:29: warning: value computed is not used [-Wunused-value]
  837 |         unlink(logFileName) && rmdir(logFileName);
      |                             ^~
rootsh.c: In function 'main':
rootsh.c:542:11: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  542 |           write(STDOUT_FILENO, buf, n);
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
rootsh.c: In function 'beginlogging':
rootsh.c:705:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  705 |     write(logFile, msgbuf, msglen);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rootsh.c: In function 'dologging':
rootsh.c:748:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  748 |     write(logFile, msgbuf, msglen);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rootsh.c: In function 'endlogging':
rootsh.c:803:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  803 |     write(logFile, msgbuf, msglen);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/usr/src/RPM/BUILD/rootsh-1.5.3/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/rootsh-1.5.3/src'
x86_64-alt-linux-gcc  -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wstrict-prototypes -Wmissing-declarations   -Wnested-externs -Wpointer-arith -pedantic -pedantic -Wstrict-prototypes   -o rootsh  rootsh.o write2syslog.o  
ld: /usr/src/tmp/ccAtrjk7.ltrans0.ltrans.o: in function `main':
/usr/src/RPM/BUILD/rootsh-1.5.3/src/rootsh.c:386: undefined reference to `forkpty'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:236: rootsh] Error 1
make[2]: Leaving directory '/usr/src/RPM/BUILD/rootsh-1.5.3/src'
make[1]: *** [Makefile:161: all] Error 2
make: *** [Makefile:256: all-recursive] Error 1
error: Bad exit status from /usr/src/tmp/rpm-tmp.14616 (%build)


RPM build errors:
    Bad exit status from /usr/src/tmp/rpm-tmp.14616 (%build)
Command exited with non-zero status 1
1.71user 0.85system 0:04.00elapsed 64%CPU (0avgtext+0avgdata 27192maxresident)k
0inputs+0outputs (0major+379435minor)pagefaults 0swaps
hsh-rebuild: rebuild of `rootsh-1.5.3-alt2.src.rpm' failed.
Command exited with non-zero status 1
5.49user 3.23system 0:10.20elapsed 85%CPU (0avgtext+0avgdata 101788maxresident)k
0inputs+0outputs (0major+617079minor)pagefaults 0swaps