<86>Dec 25 00:03:25 userdel[3695592]: delete user 'rooter' <86>Dec 25 00:03:25 userdel[3695592]: removed group 'rooter' owned by 'rooter' <86>Dec 25 00:03:25 userdel[3695592]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 25 00:03:25 groupadd[3695600]: group added to /etc/group: name=rooter, GID=1799 <86>Dec 25 00:03:25 groupadd[3695600]: group added to /etc/gshadow: name=rooter <86>Dec 25 00:03:25 groupadd[3695600]: new group: name=rooter, GID=1799 <86>Dec 25 00:03:25 useradd[3695609]: new user: name=rooter, UID=1799, GID=1799, home=/root, shell=/bin/bash, from=none <86>Dec 25 00:03:25 userdel[3695622]: delete user 'builder' <86>Dec 25 00:03:25 userdel[3695622]: removed group 'builder' owned by 'builder' <86>Dec 25 00:03:25 userdel[3695622]: removed shadow group 'builder' owned by 'builder' <86>Dec 25 00:03:25 groupadd[3695630]: group added to /etc/group: name=builder, GID=1800 <86>Dec 25 00:03:25 groupadd[3695630]: group added to /etc/gshadow: name=builder <86>Dec 25 00:03:25 groupadd[3695630]: new group: name=builder, GID=1800 <86>Dec 25 00:03:25 useradd[3695636]: new user: name=builder, UID=1800, GID=1800, 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.10163 + 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/gzip -dc /usr/src/RPM/SOURCES/ttysnoop_0.12d-3.diff.gz + /usr/bin/patch -p1 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.10163 + 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.10163 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.10163 (%build) Command exited with non-zero status 1 0.03user 0.04system 0:00.07elapsed 104%CPU (0avgtext+0avgdata 19692maxresident)k 0inputs+0outputs (0major+7741minor)pagefaults 0swaps hsh-rebuild: rebuild of `ttysnoop-0.12d-alt1.qa1.src.rpm' failed. Command exited with non-zero status 1 0.59user 1.51system 0:04.47elapsed 47%CPU (0avgtext+0avgdata 11424maxresident)k 0inputs+0outputs (0major+91285minor)pagefaults 0swaps