<86>Oct 29 15:22:12 userdel[737734]: delete user 'rooter' <86>Oct 29 15:22:12 userdel[737734]: removed group 'rooter' owned by 'rooter' <86>Oct 29 15:22:12 userdel[737734]: removed shadow group 'rooter' owned by 'rooter' <86>Oct 29 15:22:12 groupadd[737776]: group added to /etc/group: name=rooter, GID=1826 <86>Oct 29 15:22:12 groupadd[737776]: group added to /etc/gshadow: name=rooter <86>Oct 29 15:22:12 groupadd[737776]: new group: name=rooter, GID=1826 <86>Oct 29 15:22:12 useradd[737798]: new user: name=rooter, UID=1826, GID=1826, home=/root, shell=/bin/bash, from=none <86>Oct 29 15:22:12 userdel[737834]: delete user 'builder' <86>Oct 29 15:22:12 userdel[737834]: removed group 'builder' owned by 'builder' <86>Oct 29 15:22:12 userdel[737834]: removed shadow group 'builder' owned by 'builder' <86>Oct 29 15:22:12 groupadd[737860]: group added to /etc/group: name=builder, GID=1827 <86>Oct 29 15:22:12 groupadd[737860]: group added to /etc/gshadow: name=builder <86>Oct 29 15:22:12 groupadd[737860]: new group: name=builder, GID=1827 <86>Oct 29 15:22:12 useradd[737885]: new user: name=builder, UID=1827, GID=1827, 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.10549 + 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.10549 + 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.10549 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.10549 (%build) Command exited with non-zero status 1 0.02user 0.06system 0:00.08elapsed 105%CPU (0avgtext+0avgdata 18536maxresident)k 0inputs+0outputs (0major+8816minor)pagefaults 0swaps hsh-rebuild: rebuild of `ttysnoop-0.12d-alt1.qa1.src.rpm' failed. Command exited with non-zero status 1 0.55user 1.95system 0:04.61elapsed 54%CPU (0avgtext+0avgdata 12484maxresident)k 0inputs+0outputs (0major+82539minor)pagefaults 0swaps