* Package: app-misc/splitvt-1.6.6-r3 * Repository: gentoo * Maintainer: shell-tools@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking splitvt-1.6.6.tar.gz to /var/tmp/portage/app-misc/splitvt-1.6.6-r3/work >>> Unpacking splitvt_1.6.6-7.diff.gz to /var/tmp/portage/app-misc/splitvt-1.6.6-r3/work >>> Source unpacked in /var/tmp/portage/app-misc/splitvt-1.6.6-r3/work >>> Preparing source in /var/tmp/portage/app-misc/splitvt-1.6.6-r3/work/splitvt-1.6.6 ... * Applying splitvt_1.6.6-7.diff ... [ ok ] * Applying 1.6.6-ldflags.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-misc/splitvt-1.6.6-r3/work/splitvt-1.6.6 ... 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:7: warning: implicit declaration of function grep [-Wimplicit-function-declaration] 116 | if ( grep(INCLUDE, "utmp.h", "ut_host") ) { | ^~~~ config.c:176:8: warning: implicit declaration of function access [-Wimplicit-function-declaration] 176 | if ( (access("/var/run/utmp", (R_OK|W_OK)) == 0) && getuid() ) | ^~~~~~ config.c:176:54: 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 sed: -e expression #1, char 66: unknown option to `s' * ERROR: app-misc/splitvt-1.6.6-r3::gentoo failed (configure phase): * (no error message) * * Call stack: * ebuild.sh, line 125: Called src_configure * environment, line 1950: Called die * The specific snippet of code: * sed -i -e "s:-O2:${CFLAGS}:" -e "s:^CC = gcc:CC = $(tc-getCC):" Makefile || die * * If you need support, post the output of `emerge --info '=app-misc/splitvt-1.6.6-r3::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-misc/splitvt-1.6.6-r3::gentoo'`. * The complete build log is located at '/var/log/portage/app-misc:splitvt-1.6.6-r3:20200222-033900.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-misc/splitvt-1.6.6-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-misc/splitvt-1.6.6-r3/temp/environment'. * Working directory: '/var/tmp/portage/app-misc/splitvt-1.6.6-r3/work/splitvt-1.6.6' * S: '/var/tmp/portage/app-misc/splitvt-1.6.6-r3/work/splitvt-1.6.6'