<86>Dec 19 00:03:26 userdel[1903417]: delete user 'rooter' <86>Dec 19 00:03:26 userdel[1903417]: removed group 'rooter' owned by 'rooter' <86>Dec 19 00:03:26 userdel[1903417]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 19 00:03:26 groupadd[1903424]: group added to /etc/group: name=rooter, GID=1802 <86>Dec 19 00:03:26 groupadd[1903424]: group added to /etc/gshadow: name=rooter <86>Dec 19 00:03:26 groupadd[1903424]: new group: name=rooter, GID=1802 <86>Dec 19 00:03:26 useradd[1903430]: new user: name=rooter, UID=1802, GID=1802, home=/root, shell=/bin/bash, from=none <86>Dec 19 00:03:26 userdel[1903440]: delete user 'builder' <86>Dec 19 00:03:26 userdel[1903440]: removed group 'builder' owned by 'builder' <86>Dec 19 00:03:26 userdel[1903440]: removed shadow group 'builder' owned by 'builder' <86>Dec 19 00:03:26 groupadd[1903450]: group added to /etc/group: name=builder, GID=1803 <86>Dec 19 00:03:26 groupadd[1903450]: group added to /etc/gshadow: name=builder <86>Dec 19 00:03:26 groupadd[1903450]: new group: name=builder, GID=1803 <86>Dec 19 00:03:26 useradd[1903456]: new user: name=builder, UID=1803, GID=1803, 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.16124 + 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.16124 + 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.16124 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.16124 (%build) Command exited with non-zero status 1 0.04user 0.04system 0:00.08elapsed 105%CPU (0avgtext+0avgdata 18432maxresident)k 0inputs+0outputs (0major+8798minor)pagefaults 0swaps hsh-rebuild: rebuild of `ttysnoop-0.12d-alt1.qa1.src.rpm' failed. Command exited with non-zero status 1 0.61user 1.66system 0:04.38elapsed 51%CPU (0avgtext+0avgdata 11264maxresident)k 0inputs+0outputs (0major+82858minor)pagefaults 0swaps