D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/dotool-1.4-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.axlTds Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.16CZn3 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/dotool-1.4-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/dotool-1.4-build + /usr/lib/rpm/rpmuncompress -x -v /home/pterjan/rpmbuild/SOURCES/dotool-1.4.tar.gz /usr/bin/gzip -dc '/home/pterjan/rpmbuild/SOURCES/dotool-1.4.tar.gz' | /usr/bin/tar -xvvof - drwxrwxr-x root/root 0 2023-10-26 13:33 dotool-1.4/ -rw-rw-r-- root/root 8 2023-10-26 13:33 dotool-1.4/.gitignore -rw-rw-r-- root/root 151 2023-10-26 13:33 dotool-1.4/80-dotool.rules -rw-rw-r-- root/root 1374 2023-10-26 13:33 dotool-1.4/CHANGELOG.md -rw-rw-r-- root/root 35149 2023-10-26 13:33 dotool-1.4/LICENSE -rw-rw-r-- root/root 1239 2023-10-26 13:33 dotool-1.4/README.md -rwxrwxr-x root/root 760 2023-10-26 13:33 dotool-1.4/build.sh drwxrwxr-x root/root 0 2023-10-26 13:33 dotool-1.4/doc/ -rw-rw-r-- root/root 3191 2023-10-26 13:33 dotool-1.4/doc/dotool.1.scd -rw-rw-r-- root/root 11273 2023-10-26 13:33 dotool-1.4/dotool.go -rwxrwxr-x root/root 627 2023-10-26 13:33 dotool-1.4/dotoolc -rwxrwxr-x root/root 678 2023-10-26 13:33 dotool-1.4/dotoold -rw-rw-r-- root/root 140 2023-10-26 13:33 dotool-1.4/go.mod -rw-rw-r-- root/root 380 2023-10-26 13:33 dotool-1.4/go.sum -rw-rw-r-- root/root 19843 2023-10-26 13:33 dotool-1.4/keys.go -rwxrwxr-x root/root 162 2023-10-26 13:33 dotool-1.4/uninstall.sh drwxrwxr-x root/root 0 2023-10-26 13:33 dotool-1.4/xkb/ -rw-rw-r-- root/root 3443 2023-10-26 13:33 dotool-1.4/xkb/xkb.go + STATUS=0 + '[' 0 -ne 0 ']' + cd dotool-1.4 + /usr/lib/rpm/rpmuncompress -x -v /home/pterjan/rpmbuild/SOURCES/vendor-1.4.tar.xz /usr/bin/xz -dc '/home/pterjan/rpmbuild/SOURCES/vendor-1.4.tar.xz' | /usr/bin/tar -xvvof - drwxr-xr-x yves/yves 0 2023-11-09 09:49 vendor/ drwxr-xr-x yves/yves 0 2023-11-09 09:49 vendor/github.com/ drwxr-xr-x yves/yves 0 2023-11-09 09:49 vendor/github.com/bendahl/ drwxr-xr-x yves/yves 0 2023-11-09 09:49 vendor/github.com/bendahl/uinput/ -rw-r--r-- yves/yves 6565 2023-11-09 09:49 vendor/github.com/bendahl/uinput/uinput.go -rw-r--r-- yves/yves 9078 2023-11-09 09:49 vendor/github.com/bendahl/uinput/mouse.go -rw-r--r-- yves/yves 1481 2023-11-09 09:49 vendor/github.com/bendahl/uinput/uinputdefs.go -rw-r--r-- yves/yves 7849 2023-11-09 09:49 vendor/github.com/bendahl/uinput/gamepad.go -rw-r--r-- yves/yves 1085 2023-11-09 09:49 vendor/github.com/bendahl/uinput/LICENSE -rw-r--r-- yves/yves 6854 2023-11-09 09:49 vendor/github.com/bendahl/uinput/touchpad.go -rw-r--r-- yves/yves 8173 2023-11-09 09:49 vendor/github.com/bendahl/uinput/keycodes.go -rw-r--r-- yves/yves 13 2023-11-09 09:49 vendor/github.com/bendahl/uinput/.gitignore -rw-r--r-- yves/yves 9920 2023-11-09 09:49 vendor/github.com/bendahl/uinput/README.md -rw-r--r-- yves/yves 2242 2023-11-09 09:49 vendor/github.com/bendahl/uinput/dial.go -rw-r--r-- yves/yves 3915 2023-11-09 09:49 vendor/github.com/bendahl/uinput/keyboard.go -rw-r--r-- yves/yves 178 2023-11-09 09:49 vendor/modules.txt drwxr-xr-x yves/yves 0 2023-11-09 09:49 vendor/git.sr.ht/ drwxr-xr-x yves/yves 0 2023-11-09 09:49 vendor/git.sr.ht/~geb/ drwxr-xr-x yves/yves 0 2023-11-09 09:49 vendor/git.sr.ht/~geb/opt/ -rw-r--r-- yves/yves 35149 2023-11-09 09:49 vendor/git.sr.ht/~geb/opt/LICENSE -rw-r--r-- yves/yves 1372 2023-11-09 09:49 vendor/git.sr.ht/~geb/opt/README.md -rw-r--r-- yves/yves 4960 2023-11-09 09:49 vendor/git.sr.ht/~geb/opt/opt.go + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0001-udev-rule-for-uaccess-user.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ndkleQ + umask 022 + cd /home/pterjan/rpmbuild/BUILD/dotool-1.4-build + cd dotool-1.4 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export GOPATH=/home/pterjan/rpmbuild/BUILD/dotool-1.4-build/dotool-1.4/vendor:/usr/share/gocode + GOPATH=/home/pterjan/rpmbuild/BUILD/dotool-1.4-build/dotool-1.4/vendor:/usr/share/gocode + mkdir -p _build/bin + go build -o _build/bin/dotool + scdoc .\" Generated by scdoc 1.11.3 .\" Complete documentation for this program is not available as a GNU info page .ie \n(.g .ds Aq \(aq .el .ds Aq ' .nh .ad l .\" Begin generated content: .TH "dotool" "1" "2025-04-23" .PP .SH NAME .PP \fBdotool\fR - uinput tool .PP .SH SYNOPSIS .PP \fBdotool\fR < \fIactions\fR .PP .SH DESCRIPTION .PP \fBdotool\fR reads actions from stdin and simulates keyboard/mouse input using Linux'\&s uinput module.\& .PP .SH PERMISSION .PP \fBdotool\fR requires write permission to \fB/dev/uinput\fR, which is granted to users in group \fBinput\fR by a udev rule.\& .PP You can test: .PP .RS 4 \fBecho type hello | dotool\fR .PP .RE and if need be, you could add your user to group \fBinput\fR with: .PP .RS 4 \fBgroupadd -f input\fR .br \fBusermod -a -G input $USER\fR .PP .RE and then it'\&s foolproof to reboot to make the group and rule effective.\& .PP .SH KEYBOARD LAYOUTS .PP \fBdotool\fR may type gobbledygook if it'\&s simulating keycodes for a different keyboard layout than your environment is expecting.\& .PP You can specify the layout with the environment variables \fBDOTOOL_XKB_LAYOUT\fR and \fBDOTOOL_XKB_VARIANT\fR.\& For example: .PP .RS 4 \fBecho type azerty | DOTOOL_XKB_LAYOUT=fr dotool\fR .PP .RE You can also specify the name to give the virtual keyboard with the environment variable \fBDOTOOL_KEYBOARD_NAME\fR, which can be useful making rules for your environment.\& .PP Currently the \fBtype\fR action has only heuristic support for dead keys.\& .PP .SH OPTIONS .PP \fB-h\fR, \fB--help\fR .RS 4 Print help and exit.\& .PP .RE \fB--list-keys\fR .RS 4 Print the possible Linux keys and exit.\& .PP .RE \fB--list-x-keys\fR .RS 4 Print the possible XKB keys and exit.\& .PP .RE \fB--version\fR .RS 4 Print the version and exit.\& .PP .RE .SH ACTIONS .PP \fBkey\fR \fICHORD\fR.\&.\&.\& .br \fBkeydown\fR \fICHORD\fR.\&.\&.\& .br \fBkeyup\fR \fICHORD\fR.\&.\&.\& .RS 4 Press and/or release each \fICHORD\fR.\& A \fICHORD\fR is a key or a key with modifiers, such as \fBa\fR, \fBshift+a\fR or \fBctrl+shift+a\fR.\& .PP The supported modifiers are \fBsuper\fR, \fBaltgr\fR, \fBctrl\fR, \fBalt\fR and \fBshift\fR.\& .PP Keys can be specified by Linux names, XKB names prefixed with \fBx:\fR, or Linux keycodes prefixed with \fBk:\fR.\& The Linux names are case-insensitive, except uppercase character keys also simulate shift.\& This example types \fB!\&!\&!\&\fR with the \fBus\fR layout: .PP .RS 4 \fBecho key shift+1 x:exclam shift+k:2 | dotool\fR .PP .RE .RE \fBtype\fR \fITEXT\fR .RS 4 Type \fITEXT\fR.\& .PP .RE \fBclick\fR \fBleft\fR/\fBmiddle\fR/\fBright\fR .br \fBbuttondown\fR \fBleft\fR/\fBmiddle\fR/\fBright\fR .br \fBbuttonup\fR \fBleft\fR/\fBmiddle\fR/\fBright\fR .RS 4 Press and/or release a mouse button.\& .PP .RE \fBwheel\fR \fIAMOUNT\fR .br \fBhwheel\fR \fIAMOUNT\fR .RS 4 Scroll a vertical/horizontal mouse wheel by a positive or negative \fIAMOUNT\fR.\& .PP .RE \fBmouseto\fR \fIX\fR \fIY\fR .RS 4 Jump the cursor to the position \fIX\fR \fIY\fR, where \fIX\fR and \fIY\fR are percentages between 0.\&0 and 1.\&0.\& .PP .RE \fBmousemove\fR \fIX\fR \fIY\fR .RS 4 Move the cursor relative to its current position.\& .PP .RE \fBkeydelay\fR \fIMILLISECONDS\fR .br \fBkeyhold\fR \fIMILLISECONDS\fR .br \fBtypedelay\fR \fIMILLISECONDS\fR .br \fBtypehold\fR \fIMILLISECONDS\fR .RS 4 Set the delay between/holding each key with the \fBkey\fR* actions/\fBtype\fR action.\& .PP The default \fBkeydelay\fR and \fBtypedelay\fR is 2ms, and the default \fBkeyhold\fR and \fBtypehold\fR is 8ms.\& .PP .RE .SH LONG-RUNNING INSTANCE .PP Each instance of \fBdotool\fR has an initial delay registering the virtual devices, but you can keep writing actions to a long-running instance.\& The daemon and client, \fBdotoold\fR and \fBdotoolc\fR, let you do this with a pipe behind the scenes, for example: .PP .RS 4 \fBdotoold &\fR .br \fBecho type super | dotoolc\fR .br \fBecho type speedy | dotoolc\fR .PP .RE .SH EXAMPLES .PP This greets the world: .PP .RS 4 \fBecho type hi | dotool\fR .PP .RE This screams for roughly three seconds: .PP .RS 4 \fB{ echo keydown A; sleep 3; echo key H shift+1; } | dotool\fR .PP .RE .SH AUTHOR .PP John Gebbie + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.zzcslK + umask 022 + cd /home/pterjan/rpmbuild/BUILD/dotool-1.4-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/dotool-1.4-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/dotool-1.4-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/dotool-1.4-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/dotool-1.4-build + mkdir /home/pterjan/rpmbuild/BUILD/dotool-1.4-build/BUILDROOT + cd dotool-1.4 + '[' 1 -eq 1 ']' + install -m 0755 -vd /home/pterjan/rpmbuild/BUILD/dotool-1.4-build/BUILDROOT/usr/bin install: creating directory '/home/pterjan/rpmbuild/BUILD/dotool-1.4-build/BUILDROOT/usr' install: creating directory '/home/pterjan/rpmbuild/BUILD/dotool-1.4-build/BUILDROOT/usr/bin' + install -m 0755 -vp _build/bin/dotool /home/pterjan/rpmbuild/BUILD/dotool-1.4-build/BUILDROOT/usr/bin/ '_build/bin/dotool' -> '/home/pterjan/rpmbuild/BUILD/dotool-1.4-build/BUILDROOT/usr/bin/dotool' + install -m 0755 -vp dotoold /home/pterjan/rpmbuild/BUILD/dotool-1.4-build/BUILDROOT/usr/bin/ 'dotoold' -> '/home/pterjan/rpmbuild/BUILD/dotool-1.4-build/BUILDROOT/usr/bin/dotoold' + install -m 0755 -vp dotoolc /home/pterjan/rpmbuild/BUILD/dotool-1.4-build/BUILDROOT/usr/bin/ 'dotoolc' -> '/home/pterjan/rpmbuild/BUILD/dotool-1.4-build/BUILDROOT/usr/bin/dotoolc' + install -Dm644 80-dotool.rules -t /home/pterjan/rpmbuild/BUILD/dotool-1.4-build/BUILDROOT/usr/lib/udev/rules.d/ + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/dotoold from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/dotoolc from /bin/sh to #!/usr/bin/sh + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Reading /home/pterjan/rpmbuild/BUILD/dotool-1.4-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.CvUJSf + umask 022 + cd /home/pterjan/rpmbuild/BUILD/dotool-1.4-build + cd dotool-1.4 + '[' 1 -eq 1 ']' + GO_LDFLAGS=' -X git.sr.ht/~geb/dotool/version=1.4' + GO_TEST_FLAGS='-buildmode pie -compiler gc' + GO_TEST_EXT_LD_FLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + go-rpm-integration check -i git.sr.ht/~geb/dotool -b '/home/pterjan/rpmbuild/BUILD/dotool-1.4-build/%{extractdir0}/_build/bin' -s '/home/pterjan/rpmbuild/BUILD/dotool-1.4-build/%{extractdir0}/_build' -V 1.4-1.mga10 -p /home/pterjan/rpmbuild/BUILD/dotool-1.4-build/BUILDROOT -g /usr/share/gocode -r '.*example.*' Testing in: /home/pterjan/rpmbuild/BUILD/dotool-1.4-build/%{extractdir0}/_build/src PATH: /home/pterjan/rpmbuild/BUILD/dotool-1.4-build/%{extractdir0}/_build/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/pterjan/.local/bin:/home/pterjan/bin GOPATH: /home/pterjan/rpmbuild/BUILD/dotool-1.4-build/%{extractdir0}/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X git.sr.ht/~geb/dotool/version=1.4 -extldflags '-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '" testing: git.sr.ht/~geb/dotool cannot find package "git.sr.ht/~geb/dotool" in any of: /usr/lib/golang/src/git.sr.ht/~geb/dotool (from $GOROOT) /home/pterjan/rpmbuild/BUILD/dotool-1.4-build/%{extractdir0}/_build/src/git.sr.ht/~geb/dotool (from $GOPATH) + RPM_EC=0 ++ jobs -p + exit 0 Processing files: dotool-1.4-1.mga10.x86_64 Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.U8Z2CM + umask 022 + cd /home/pterjan/rpmbuild/BUILD/dotool-1.4-build + cd dotool-1.4 + DOCDIR=/home/pterjan/rpmbuild/BUILD/dotool-1.4-build/BUILDROOT/usr/share/doc/dotool + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/dotool-1.4-build/BUILDROOT/usr/share/doc/dotool + cp -pr /home/pterjan/rpmbuild/BUILD/dotool-1.4-build/dotool-1.4/README.md /home/pterjan/rpmbuild/BUILD/dotool-1.4-build/BUILDROOT/usr/share/doc/dotool + cp -pr /home/pterjan/rpmbuild/BUILD/dotool-1.4-build/dotool-1.4/CHANGELOG.md /home/pterjan/rpmbuild/BUILD/dotool-1.4-build/BUILDROOT/usr/share/doc/dotool + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.bSrUD0 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/dotool-1.4-build + cd dotool-1.4 + LICENSEDIR=/home/pterjan/rpmbuild/BUILD/dotool-1.4-build/BUILDROOT/usr/share/licenses/dotool + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/dotool-1.4-build/BUILDROOT/usr/share/licenses/dotool + cp -pr /home/pterjan/rpmbuild/BUILD/dotool-1.4-build/dotool-1.4/LICENSE /home/pterjan/rpmbuild/BUILD/dotool-1.4-build/BUILDROOT/usr/share/licenses/dotool + RPM_EC=0 ++ jobs -p + exit 0 Provides: dotool = 1.4-1.mga10 dotool(x86-64) = 1.4-1.mga10 Requires(interp): /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(64bit) libxkbcommon.so.0()(64bit) libxkbcommon.so.0(V_0.5.0)(64bit) libxkbcommon.so.0(V_1.0.0)(64bit) Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/dotool-1.4-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/dotool-1.4-1.mga10.x86_64.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.8s3Xt1 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/dotool-1.4-build + test -d /home/pterjan/rpmbuild/BUILD/dotool-1.4-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/dotool-1.4-build + rm -rf /home/pterjan/rpmbuild/BUILD/dotool-1.4-build + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!