<86>Sep 23 05:20:08 userdel[576289]: delete user 'rooter' <86>Sep 23 05:20:08 userdel[576289]: removed group 'rooter' owned by 'rooter' <86>Sep 23 05:20:08 userdel[576289]: removed shadow group 'rooter' owned by 'rooter' <86>Sep 23 05:20:08 groupadd[576306]: group added to /etc/group: name=rooter, GID=1811 <86>Sep 23 05:20:08 groupadd[576306]: group added to /etc/gshadow: name=rooter <86>Sep 23 05:20:08 groupadd[576306]: new group: name=rooter, GID=1811 <86>Sep 23 05:20:08 useradd[576328]: new user: name=rooter, UID=1811, GID=1811, home=/root, shell=/bin/bash, from=none <86>Sep 23 05:20:08 userdel[576374]: delete user 'builder' <86>Sep 23 05:20:08 userdel[576374]: removed group 'builder' owned by 'builder' <86>Sep 23 05:20:08 userdel[576374]: removed shadow group 'builder' owned by 'builder' <86>Sep 23 05:20:08 groupadd[576401]: group added to /etc/group: name=builder, GID=1812 <86>Sep 23 05:20:08 groupadd[576401]: group added to /etc/gshadow: name=builder <86>Sep 23 05:20:08 groupadd[576401]: new group: name=builder, GID=1812 <86>Sep 23 05:20:08 useradd[576412]: new user: name=builder, UID=1812, GID=1812, home=/usr/src, shell=/bin/bash, from=none /usr/src/in/srpm/splitvt-1.6.6_6-alt1.qa1.src.rpm: The use of such a license name is ambiguous: GPL <13>Sep 23 05:20:11 rpmi: libncurses6-6.3.20220618-alt4 sisyphus+328055.40.2.1 1693213017 installed <13>Sep 23 05:20:11 rpmi: libtinfo-devel-6.3.20220618-alt4 sisyphus+328055.40.2.1 1693213017 installed <13>Sep 23 05:20:11 rpmi: libncurses-devel-6.3.20220618-alt4 sisyphus+328055.40.2.1 1693213017 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/splitvt-1.6.6_6-alt1.qa1.nosrc.rpm (w1.gzdio) Installing splitvt-1.6.6_6-alt1.qa1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.95901 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf splitvt-1.6.6_6 + echo 'Source #0 (splitvt-1.6.6_6.tar.bz2):' Source #0 (splitvt-1.6.6_6.tar.bz2): + /bin/bzip2 -dc /usr/src/RPM/SOURCES/splitvt-1.6.6_6.tar.bz2 + /bin/tar -xf - + cd splitvt-1.6.6_6 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.95901 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd splitvt-1.6.6_6 + ./configure Making configuration... config.c:32:1: warning: return type defaults to 'int' [-Wimplicit-int] 32 | main(argc, argv) | ^~~~ config.c: In function 'main': config.c:116:14: warning: implicit declaration of function 'grep' [-Wimplicit-function-declaration] 116 | if ( grep(INCLUDE, "utmp.h", "ut_host") ) { | ^~~~ config.c:176:15: warning: implicit declaration of function 'access' [-Wimplicit-function-declaration] 176 | if ( (access("/var/run/utmp", (R_OK|W_OK)) == 0) && getuid() ) | ^~~~~~ config.c:176:61: warning: implicit declaration of function 'getuid' [-Wimplicit-function-declaration] 176 | if ( (access("/var/run/utmp", (R_OK|W_OK)) == 0) && getuid() ) | ^~~~~~ Aha! You are running Linux! Congratulations on the choice of a GNU generation. Your utmp file uses the host field. I will use termio tty structures. I will use your sockets definition header. I will use wait4() instead of waitpid(). If installed set-uid root, this program will put entries for its windows in /var/run/utmp, and will also change ownership of the ttys it acquires to the user running this program. Done. Type 'make' to build + make make: Entering directory '/usr/src/RPM/BUILD/splitvt-1.6.6_6' gcc -Wall -O2 -DHAVE_UTHOST -DHAVE_TERMIO_H -DHAVE_UNISTD_H -DNEED_SELECT_H -DHAVE_WAIT4 -DSHELL=\"/bin/sh\" -DPTYCHAR=\"\" -DHEXDIGIT=\"\" -c -o splitvt.o splitvt.c splitvt.c: In function 'main': splitvt.c:451:57: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 451 | write(thisfd, selection, strlen(selection)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ splitvt.c: In function 'normal_input': splitvt.c:547:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 547 | read(ttyfd, &c, 1); | ^~~~~~~~~~~~~~~~~~ splitvt.c:592:35: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 592 | write(thisfd, selection, strlen(selection)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ splitvt.c:626:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 626 | write(thisfd, &c, 1); | ^~~~~~~~~~~~~~~~~~~~ gcc -Wall -O2 -DHAVE_UTHOST -DHAVE_TERMIO_H -DHAVE_UNISTD_H -DNEED_SELECT_H -DHAVE_WAIT4 -DSHELL=\"/bin/sh\" -DPTYCHAR=\"\" -DHEXDIGIT=\"\" -c -o misc.o misc.c misc.c: In function 'pty_open': misc.c:81:17: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 81 | dup(slave_fd); dup(slave_fd); dup(slave_fd); | ^~~~~~~~~~~~~ misc.c:81:32: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 81 | dup(slave_fd); dup(slave_fd); dup(slave_fd); | ^~~~~~~~~~~~~ misc.c:81:47: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 81 | dup(slave_fd); dup(slave_fd); dup(slave_fd); | ^~~~~~~~~~~~~ misc.c: In function 'safe_popen': misc.c:900:43: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 900 | close(1); dup(pipe_fds[1]); close(0); | ^~~~~~~~~~~~~~~~ misc.c:902:43: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 902 | close(0); dup(pipe_fds[0]); close(1); | ^~~~~~~~~~~~~~~~ gcc -Wall -O2 -DHAVE_UTHOST -DHAVE_TERMIO_H -DHAVE_UNISTD_H -DNEED_SELECT_H -DHAVE_WAIT4 -DSHELL=\"/bin/sh\" -DPTYCHAR=\"\" -DHEXDIGIT=\"\" -c -o utmp.o utmp.c utmp.c: In function 'delutmp': utmp.c:249:24: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] 249 | (void) chown(tty, 0, sb.st_gid); | ^~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wall -O2 -DHAVE_UTHOST -DHAVE_TERMIO_H -DHAVE_UNISTD_H -DNEED_SELECT_H -DHAVE_WAIT4 -DSHELL=\"/bin/sh\" -DPTYCHAR=\"\" -DHEXDIGIT=\"\" -c -o vt100.o vt100.c vt100.c: In function 'E_': vt100.c:364:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 364 | write(*source, "\033[?6c", 5); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vt100.c: In function 'E_brac': vt100.c:646:41: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 646 | write(*source, "\033[0n", 4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ vt100.c:652:41: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 652 | write(*source, reply, strlen(reply)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vt100.c:658:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 658 | write(*source, "\033[?6c", 5); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wall -O2 -DHAVE_UTHOST -DHAVE_TERMIO_H -DHAVE_UNISTD_H -DNEED_SELECT_H -DHAVE_WAIT4 -DSHELL=\"/bin/sh\" -DPTYCHAR=\"\" -DHEXDIGIT=\"\" -c -o videomem.o videomem.c gcc -Wall -O2 -DHAVE_UTHOST -DHAVE_TERMIO_H -DHAVE_UNISTD_H -DNEED_SELECT_H -DHAVE_WAIT4 -DSHELL=\"/bin/sh\" -DPTYCHAR=\"\" -DHEXDIGIT=\"\" -c -o terminal.o terminal.c terminal.c: In function 'vt_insertchar': terminal.c:427:6: warning: type of 'numcols' defaults to 'int' [-Wimplicit-int] 427 | void vt_insertchar(numcols) | ^~~~~~~~~~~~~ terminal.c: At top level: terminal.c:24:19: warning: 'capabilities' defined but not used [-Wunused-variable] 24 | static capability capabilities[] = { | ^~~~~~~~~~~~ gcc -Wall -O2 -DHAVE_UTHOST -DHAVE_TERMIO_H -DHAVE_UNISTD_H -DNEED_SELECT_H -DHAVE_WAIT4 -DSHELL=\"/bin/sh\" -DPTYCHAR=\"\" -DHEXDIGIT=\"\" -c -o vttest.o vttest.c vttest.c: In function 'vttest': vttest.c:85:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 85 | write(fd,"\033[c", 3); /* Vt100 test: ESC [ c */ | ^~~~~~~~~~~~~~~~~~~~~ gcc -Wall -O2 -DHAVE_UTHOST -DHAVE_TERMIO_H -DHAVE_UNISTD_H -DNEED_SELECT_H -DHAVE_WAIT4 -DSHELL=\"/bin/sh\" -DPTYCHAR=\"\" -DHEXDIGIT=\"\" -c -o vtmouse.o vtmouse.c gcc -Wall -O2 -DHAVE_UTHOST -DHAVE_TERMIO_H -DHAVE_UNISTD_H -DNEED_SELECT_H -DHAVE_WAIT4 -DSHELL=\"/bin/sh\" -DPTYCHAR=\"\" -DHEXDIGIT=\"\" -c -o parserc.o parserc.c gcc -Wall -O2 -DHAVE_UTHOST -DHAVE_TERMIO_H -DHAVE_UNISTD_H -DNEED_SELECT_H -DHAVE_WAIT4 -DSHELL=\"/bin/sh\" -DPTYCHAR=\"\" -DHEXDIGIT=\"\" -c -o lock.o lock.c gcc -Wall -O2 -DHAVE_UTHOST -DHAVE_TERMIO_H -DHAVE_UNISTD_H -DNEED_SELECT_H -DHAVE_WAIT4 -DSHELL=\"/bin/sh\" -DPTYCHAR=\"\" -DHEXDIGIT=\"\" -c -o cut-paste.o cut-paste.c In function 'extract_sel', inlined from 'vt_getsel' at cut-paste.c:286:11: cut-paste.c:95:12: warning: 'mark1.x' may be used uninitialized [-Wmaybe-uninitialized] 95 | if ( mark1->x == mark2->x ) | ^ cut-paste.c: In function 'vt_getsel': cut-paste.c:261:32: note: 'mark1.x' was declared here 261 | position here, cursor, mark1, mark2; | ^~~~~ In function 'extract_sel', inlined from 'vt_getsel' at cut-paste.c:286:11: cut-paste.c:97:20: warning: 'mark1.y' may be used uninitialized [-Wmaybe-uninitialized] 97 | if ( mark1->y == mark2->y ) { | ^ cut-paste.c: In function 'vt_getsel': cut-paste.c:261:32: note: 'mark1.y' was declared here 261 | position here, cursor, mark1, mark2; | ^~~~~ gcc -o splitvt splitvt.o misc.o utmp.o vt100.o videomem.o terminal.o vttest.o vtmouse.o parserc.o lock.o cut-paste.o make: Leaving directory '/usr/src/RPM/BUILD/splitvt-1.6.6_6' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.26563 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/splitvt-buildroot + : + /bin/rm -rf -- /usr/src/tmp/splitvt-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd splitvt-1.6.6_6 + mkdir -p /usr/src/tmp/splitvt-buildroot/usr/share/man/man1 + mkdir -p /usr/src/tmp/splitvt-buildroot/usr/bin + make 'INSTALL=/usr/libexec/rpm-build/install -p' install DESTDIR=/usr/src/tmp/splitvt-buildroot make: Entering directory '/usr/src/RPM/BUILD/splitvt-1.6.6_6' cp splitvt.man /usr/src/tmp/splitvt-buildroot/usr/share/man/man1/splitvt.1 mv splitvt /usr/src/tmp/splitvt-buildroot/usr/bin/splitvt mv examples/xsplitvt /usr/src/tmp/splitvt-buildroot/usr/bin/xsplitvt make: Leaving directory '/usr/src/RPM/BUILD/splitvt-1.6.6_6' + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/splitvt-buildroot (auto) Verifying and fixing files in /usr/src/tmp/splitvt-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/splitvt-buildroot/ (default) Compressing files in /usr/src/tmp/splitvt-buildroot (auto) 056-debuginfo.brp: WARNING: debuginfo without debug sources. Verifying ELF objects in /usr/src/tmp/splitvt-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/bin/splitvt: uses non-LFS functions: fstat lseek open stat Processing files: splitvt-1.6.6_6-alt1.qa1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.rd0JAi find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.OsUPPp find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) find-requires: FINDPACKAGE-COMMANDS: xterm Requires: /bin/sh, /lib/ld-linux.so.2, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.15), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.33), libc.so.6(GLIBC_2.34), libc.so.6(GLIBC_2.4), rtld(GNU_HASH), xterm Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.hEHzWS Creating splitvt-debuginfo package Processing files: splitvt-debuginfo-1.6.6_6-alt1.qa1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.cd6lJl find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.FrS1qu find-requires: running scripts (debuginfo) Requires: splitvt = 1.6.6_6-alt1.qa1, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libc.so.6) Wrote: /usr/src/RPM/RPMS/i586/splitvt-1.6.6_6-alt1.qa1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/splitvt-debuginfo-1.6.6_6-alt1.qa1.i586.rpm (w2.lzdio) 1.29user 0.54system 0:06.45elapsed 28%CPU (0avgtext+0avgdata 27868maxresident)k 0inputs+0outputs (0major+175108minor)pagefaults 0swaps /.out/splitvt-1.6.6_6-alt1.qa1.i586.rpm: The use of such a license name is ambiguous: GPL /.out/splitvt-debuginfo-1.6.6_6-alt1.qa1.i586.rpm: The use of such a license name is ambiguous: GPL 3.12user 1.30system 0:12.67elapsed 34%CPU (0avgtext+0avgdata 124452maxresident)k 0inputs+0outputs (0major+189605minor)pagefaults 0swaps --- splitvt-1.6.6_6-alt1.qa1.i586.rpm.repo 2013-04-17 16:27:16.000000000 +0000 +++ splitvt-1.6.6_6-alt1.qa1.i586.rpm.hasher 2023-09-23 05:20:19.844115175 +0000 @@ -2,3 +2,3 @@ /usr/bin/xsplitvt 100755 root:root -/usr/share/man/man1/splitvt.1 100644 root:root +/usr/share/man/man1/splitvt.1.xz 100644 root:root Requires: /bin/sh @@ -7,2 +7,3 @@ Requires: libc.so.6(GLIBC_2.1) +Requires: libc.so.6(GLIBC_2.1.3) Requires: libc.so.6(GLIBC_2.15) @@ -10,2 +11,4 @@ Requires: libc.so.6(GLIBC_2.3.4) +Requires: libc.so.6(GLIBC_2.33) +Requires: libc.so.6(GLIBC_2.34) Requires: libc.so.6(GLIBC_2.4) @@ -15,5 +18,5 @@ Provides: splitvt = 1.6.6_6-alt1.qa1 -File: /usr/bin/splitvt 100755 root:root d2f8e64a9b1cb4b60fb0cc5cb87345ae +File: /usr/bin/splitvt 100755 root:root 0e238196422125fc7d403d2582281374 File: /usr/bin/xsplitvt 100755 root:root 1c1190db931a2dc4440ba64cfa38538a -File: /usr/share/man/man1/splitvt.1 100644 root:root e3a04149378ce0f7b1e7aeab708eff15 -RPMIdentity: 446e9548f5849169c80b00e5bd1b5a53b7dc29c9126e2dca04fa4c52fddeacab63e709daeb84f585d27e9ae3a3c906b0a4cb0dc36ed864074c1d7598bfd115e6 +File: /usr/share/man/man1/splitvt.1.xz 100644 root:root 0b5ab537b3bd859f0d9230e574d038c7 +RPMIdentity: b7ba4b50e6134ba9b3c678d1a9b699f48fc1db5ac648f7e188f709f4bd55f794a55b5d35a13acacbd2738c1c644b3b2e83f74c78a87f3ec0c70fdeebcc7501aa --- splitvt-debuginfo-1.6.6_6-alt1.qa1.i586.rpm.repo 2013-04-17 16:27:16.000000000 +0000 +++ splitvt-debuginfo-1.6.6_6-alt1.qa1.i586.rpm.hasher 2023-09-23 05:20:19.919116534 +0000 @@ -1,4 +1,4 @@ -/usr/lib/debug/.build-id/b5 40755 root:root -/usr/lib/debug/.build-id/b5/305a0bc398d341969bd187971210d42e06727f 120777 root:root ../../../../bin/splitvt -/usr/lib/debug/.build-id/b5/305a0bc398d341969bd187971210d42e06727f.debug 120777 root:root ../../usr/bin/splitvt.debug +/usr/lib/debug/.build-id/7a 40755 root:root +/usr/lib/debug/.build-id/7a/7215d5ebc8ad12b165f1e4699d25bc3369ce7d 120777 root:root ../../../../bin/splitvt +/usr/lib/debug/.build-id/7a/7215d5ebc8ad12b165f1e4699d25bc3369ce7d.debug 120777 root:root ../../usr/bin/splitvt.debug /usr/lib/debug/usr/bin/splitvt.debug 100644 root:root @@ -9,6 +9,6 @@ Provides: splitvt-debuginfo = 1.6.6_6-alt1.qa1 -File: /usr/lib/debug/.build-id/b5 40755 root:root -File: /usr/lib/debug/.build-id/b5/305a0bc398d341969bd187971210d42e06727f 120777 root:root ../../../../bin/splitvt -File: /usr/lib/debug/.build-id/b5/305a0bc398d341969bd187971210d42e06727f.debug 120777 root:root ../../usr/bin/splitvt.debug -File: /usr/lib/debug/usr/bin/splitvt.debug 100644 root:root e334b347f9a9b4194e4060fa47c9a1bf -RPMIdentity: 8cc9c0e43ee50c8c7255aedc284144075a1b55caa020719720da9dac300970908875c261916f495a03cf8641fdec64945261e3ac2a7e90f8a1a7b432a34bfa29 +File: /usr/lib/debug/.build-id/7a 40755 root:root +File: /usr/lib/debug/.build-id/7a/7215d5ebc8ad12b165f1e4699d25bc3369ce7d 120777 root:root ../../../../bin/splitvt +File: /usr/lib/debug/.build-id/7a/7215d5ebc8ad12b165f1e4699d25bc3369ce7d.debug 120777 root:root ../../usr/bin/splitvt.debug +File: /usr/lib/debug/usr/bin/splitvt.debug 100644 root:root bcbb135548635b3ff9303ca63ebd14b4 +RPMIdentity: 9f592da0c1a318afaf9b6ba48217dfcb08bf5ea6bdc28c887de72415b02edb54ad9fe7b6ab898e04d4db920912d9107cde2cc0edcfe393fc704e99dfa59d7c0e