<86>Dec 4 00:04:05 userdel[3543644]: delete user 'rooter' <86>Dec 4 00:04:05 groupadd[3543657]: group added to /etc/group: name=rooter, GID=1235 <86>Dec 4 00:04:05 groupadd[3543657]: group added to /etc/gshadow: name=rooter <86>Dec 4 00:04:05 groupadd[3543657]: new group: name=rooter, GID=1235 <86>Dec 4 00:04:05 useradd[3543668]: new user: name=rooter, UID=1235, GID=1235, home=/root, shell=/bin/bash, from=none <86>Dec 4 00:04:05 userdel[3543682]: delete user 'builder' <86>Dec 4 00:04:05 groupadd[3543697]: group added to /etc/group: name=builder, GID=1236 <86>Dec 4 00:04:05 groupadd[3543697]: group added to /etc/gshadow: name=builder <86>Dec 4 00:04:05 groupadd[3543697]: new group: name=builder, GID=1236 <86>Dec 4 00:04:05 useradd[3543704]: new user: name=builder, UID=1236, GID=1236, 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.71137 + 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.71137 + 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.71137 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.71137 (%build) Command exited with non-zero status 1 0.05user 0.04system 0:00.09elapsed 104%CPU (0avgtext+0avgdata 18432maxresident)k 0inputs+0outputs (0major+8784minor)pagefaults 0swaps hsh-rebuild: rebuild of `ttysnoop-0.12d-alt1.qa1.src.rpm' failed. Command exited with non-zero status 1 0.82user 1.41system 0:04.42elapsed 50%CPU (0avgtext+0avgdata 12032maxresident)k 0inputs+0outputs (0major+84664minor)pagefaults 0swaps