<86>Dec 21 00:03:59 userdel[2973850]: delete user 'rooter' <86>Dec 21 00:03:59 userdel[2973850]: removed group 'rooter' owned by 'rooter' <86>Dec 21 00:03:59 userdel[2973850]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 21 00:03:59 groupadd[2973907]: group added to /etc/group: name=rooter, GID=1226 <86>Dec 21 00:03:59 groupadd[2973907]: group added to /etc/gshadow: name=rooter <86>Dec 21 00:03:59 groupadd[2973907]: new group: name=rooter, GID=1226 <86>Dec 21 00:03:59 useradd[2973938]: new user: name=rooter, UID=1226, GID=1226, home=/root, shell=/bin/bash, from=none <86>Dec 21 00:03:59 userdel[2973964]: delete user 'builder' <86>Dec 21 00:03:59 groupadd[2973979]: group added to /etc/group: name=builder, GID=1227 <86>Dec 21 00:03:59 groupadd[2973979]: group added to /etc/gshadow: name=builder <86>Dec 21 00:03:59 groupadd[2973979]: new group: name=builder, GID=1227 <86>Dec 21 00:03:59 useradd[2973989]: new user: name=builder, UID=1227, GID=1227, home=/usr/src, shell=/bin/bash, from=none /usr/src/in/srpm/ttysnoop-0.12d-alt1.qa1.src.rpm: license not found in '/usr/share/license' directory: distributable Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/ttysnoop-0.12d-alt1.qa1.nosrc.rpm (w1.gzdio) Installing ttysnoop-0.12d-alt1.qa1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.75294 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf ttysnoop-0.12d + echo 'Source #0 (ttysnoop-0.12d.tar.gz):' Source #0 (ttysnoop-0.12d.tar.gz): + /usr/bin/gzip -dc /usr/src/RPM/SOURCES/ttysnoop-0.12d.tar.gz + /bin/tar -xf - + cd ttysnoop-0.12d + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (ttysnoop_0.12d-3.diff.gz):' Patch #0 (ttysnoop_0.12d-3.diff.gz): + /usr/bin/patch -p1 + /usr/bin/gzip -dc /usr/src/RPM/SOURCES/ttysnoop_0.12d-3.diff.gz patching file snooptab.dist patching file ttysnoops.c patching file debian/README.debian patching file debian/copyright patching file debian/dirs patching file debian/conffiles patching file debian/rules patching file debian/changelog patching file debian/control patching file logwtmp.c patching file logwtmp.h patching file Makefile + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.75294 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd ttysnoop-0.12d + make 'OPT=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' make: Entering directory '/usr/src/RPM/BUILD/ttysnoop-0.12d' gcc -O2 -DSHADOW_PWD -c -o ttysnoops.o ttysnoops.c ttysnoops.c: In function 'open_unix98_master': ttysnoops.c:159:24: error: implicit declaration of function 'ptsname'; did you mean 'ttyname'? [-Wimplicit-function-declaration] 159 | name = ptsname(fd); | ^~~~~~~ | ttyname ttysnoops.c:159:22: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 159 | name = ptsname(fd); | ^ ttysnoops.c: In function 'open_unix98_slave': ttysnoops.c:198:22: error: initialization of 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 198 | char *name = ptsname(ptyfd); | ^~~~~~~ ttysnoops.c:200:9: error: implicit declaration of function 'grantpt' [-Wimplicit-function-declaration] 200 | grantpt(ptyfd); | ^~~~~~~ ttysnoops.c:201:9: error: implicit declaration of function 'unlockpt' [-Wimplicit-function-declaration] 201 | unlockpt(ptyfd); | ^~~~~~~~ ttysnoops.c: In function 'sigchld': ttysnoops.c:455:20: error: implicit declaration of function 'wait' [-Wimplicit-function-declaration] 455 | if ((pid = wait(&status)) == authpid) | ^~~~ ttysnoops.c: In function 'main': ttysnoops.c:517:40: error: implicit declaration of function 'time' [-Wimplicit-function-declaration] 517 | utmp.ut_time = time(NULL); | ^~~~ ttysnoops.c:48:1: note: 'time' is defined in header ''; this is probably fixable by adding '#include ' 47 | #include "logwtmp.h" +++ |+#include 48 | ttysnoops.c: In function 'find_ttyxx': ttysnoops.c:219:9: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] 219 | chown (ttyname, getuid(), gid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ttysnoops.c: In function 'main': ttysnoops.c:600:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 600 | write (ptyfd, buff, n); | ^~~~~~~~~~~~~~~~~~~~~~ ttysnoops.c:620:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 620 | write (ptyfd, buff, n); | ^~~~~~~~~~~~~~~~~~~~~~ ttysnoops.c:628:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 628 | write (STDOUT_FILENO, buff, n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ttysnoops.c:630:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 630 | write (snoopfd, buff, n); | ^~~~~~~~~~~~~~~~~~~~~~~~ make: *** [Makefile:32: ttysnoops.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/ttysnoop-0.12d' error: Bad exit status from /usr/src/tmp/rpm-tmp.75294 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.75294 (%build) Command exited with non-zero status 1 0.05user 0.05system 0:00.19elapsed 54%CPU (0avgtext+0avgdata 18176maxresident)k 0inputs+0outputs (0major+8771minor)pagefaults 0swaps hsh-rebuild: rebuild of `ttysnoop-0.12d-alt1.qa1.src.rpm' failed. Command exited with non-zero status 1 0.89user 1.56system 0:06.75elapsed 36%CPU (0avgtext+0avgdata 11776maxresident)k 0inputs+0outputs (0major+83613minor)pagefaults 0swaps