Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/autorandr.spec'], chrootPath='/var/lib/mock/f40-build-1991486-43492/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/autorandr.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1702166400 Wrote: /builddir/build/SRPMS/autorandr-1.13.3-1.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/autorandr.spec'], chrootPath='/var/lib/mock/f40-build-1991486-43492/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/autorandr.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1702166400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.O5mkrk + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf autorandr-1.13.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/autorandr-1.13.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd autorandr-1.13.3 + rm -rf /builddir/build/BUILD/autorandr-1.13.3-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/autorandr-1.13.3-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + '[' -z sP ']' + shebang_flags=-kasP + /usr/bin/python3 -B /usr/lib/rpm/redhat/pathfix.py -pni /usr/bin/python3 -kasP ./autorandr.py ./autorandr.py: updating + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.SUMXCV + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/autorandr-1.13.3-1.fc40.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/autorandr-1.13.3-1.fc40.noarch ++ dirname /builddir/build/BUILDROOT/autorandr-1.13.3-1.fc40.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/autorandr-1.13.3-1.fc40.noarch + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd autorandr-1.13.3 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/autorandr-1.13.3-1.fc40.noarch 'INSTALL=/usr/bin/install -p' mkdir -p /builddir/build/BUILDROOT/autorandr-1.13.3-1.fc40.noarch/usr//bin install -m 755 autorandr.py /builddir/build/BUILDROOT/autorandr-1.13.3-1.fc40.noarch/usr//bin/autorandr mkdir -p /builddir/build/BUILDROOT/autorandr-1.13.3-1.fc40.noarch//etc/xdg/autostart install -m 644 contrib/etc/xdg/autostart/autorandr.desktop /builddir/build/BUILDROOT/autorandr-1.13.3-1.fc40.noarch//etc/xdg/autostart/autorandr.desktop # KDE-specific autostart (workaround for https://github.com/systemd/systemd/issues/18791) install -m 644 contrib/etc/xdg/autostart/autorandr.desktop /builddir/build/BUILDROOT/autorandr-1.13.3-1.fc40.noarch//etc/xdg/autostart/autorandr-kde.desktop desktop-file-edit --remove-key=X-GNOME-Autostart-Phase --add-only-show-in=KDE /builddir/build/BUILDROOT/autorandr-1.13.3-1.fc40.noarch//etc/xdg/autostart/autorandr-kde.desktop mkdir -p /builddir/build/BUILDROOT/autorandr-1.13.3-1.fc40.noarch//usr/lib/systemd/system install -m 644 contrib/systemd/autorandr.service /builddir/build/BUILDROOT/autorandr-1.13.3-1.fc40.noarch//usr/lib/systemd/system/autorandr.service install -m 644 contrib/systemd/autorandr-lid-listener.service /builddir/build/BUILDROOT/autorandr-1.13.3-1.fc40.noarch//usr/lib/systemd/system/autorandr-lid-listener.service To activate the systemd units, run this command as root: systemctl daemon-reload systemctl enable autorandr.service systemctl enable autorandr-lid-listener.service mkdir -p /builddir/build/BUILDROOT/autorandr-1.13.3-1.fc40.noarch//usr/lib/udev/rules.d/ echo 'ACTION=="change", SUBSYSTEM=="drm", RUN+="/usr//bin/autorandr --batch --change --default default"' > /builddir/build/BUILDROOT/autorandr-1.13.3-1.fc40.noarch//usr/lib/udev/rules.d/40-monitor-hotplug.rules To activate the udev rules, run this command as root: udevadm control --reload-rules mkdir -p /builddir/build/BUILDROOT/autorandr-1.13.3-1.fc40.noarch//usr//share/man/man1 cp autorandr.1 /builddir/build/BUILDROOT/autorandr-1.13.3-1.fc40.noarch//usr//share/man/man1 + install -vDm 644 README.md -t /builddir/build/BUILDROOT/autorandr-1.13.3-1.fc40.noarch/usr/share/doc/autorandr/ install: creating directory '/builddir/build/BUILDROOT/autorandr-1.13.3-1.fc40.noarch/usr/share/doc' install: creating directory '/builddir/build/BUILDROOT/autorandr-1.13.3-1.fc40.noarch/usr/share/doc/autorandr' 'README.md' -> '/builddir/build/BUILDROOT/autorandr-1.13.3-1.fc40.noarch/usr/share/doc/autorandr/README.md' + install -vDm 644 contrib/bash_completion/autorandr -t /builddir/build/BUILDROOT/autorandr-1.13.3-1.fc40.noarch/usr/share/bash-completion/completions/ install: creating directory '/builddir/build/BUILDROOT/autorandr-1.13.3-1.fc40.noarch/usr/share/bash-completion' install: creating directory '/builddir/build/BUILDROOT/autorandr-1.13.3-1.fc40.noarch/usr/share/bash-completion/completions' 'contrib/bash_completion/autorandr' -> '/builddir/build/BUILDROOT/autorandr-1.13.3-1.fc40.noarch/usr/share/bash-completion/completions/autorandr' + install -vDm 644 contrib/zsh_completion/_autorandr -t /builddir/build/BUILDROOT/autorandr-1.13.3-1.fc40.noarch/usr/share/zsh/site-functions/ install: creating directory '/builddir/build/BUILDROOT/autorandr-1.13.3-1.fc40.noarch/usr/share/zsh' install: creating directory '/builddir/build/BUILDROOT/autorandr-1.13.3-1.fc40.noarch/usr/share/zsh/site-functions' 'contrib/zsh_completion/_autorandr' -> '/builddir/build/BUILDROOT/autorandr-1.13.3-1.fc40.noarch/usr/share/zsh/site-functions/_autorandr' + install -vDm 644 autorandr.1 -t /builddir/build/BUILDROOT/autorandr-1.13.3-1.fc40.noarch/usr/share/man/man1/ removed '/builddir/build/BUILDROOT/autorandr-1.13.3-1.fc40.noarch/usr/share/man/man1/autorandr.1' 'autorandr.1' -> '/builddir/build/BUILDROOT/autorandr-1.13.3-1.fc40.noarch/usr/share/man/man1/autorandr.1' + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 1.13.3-1.fc40 --unique-debug-suffix -1.13.3-1.fc40.noarch --unique-debug-src-base autorandr-1.13.3-1.fc40.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/autorandr-1.13.3 find-debuginfo: starting Extracting debug info from 0 files Creating .debug symlinks for symlinks to ELF files find: ‘debug’: No such file or directory find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.qZu92L + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd autorandr-1.13.3 + desktop-file-validate /builddir/build/BUILDROOT/autorandr-1.13.3-1.fc40.noarch/etc/xdg/autostart/autorandr.desktop + desktop-file-validate /builddir/build/BUILDROOT/autorandr-1.13.3-1.fc40.noarch/etc/xdg/autostart/autorandr-kde.desktop + RPM_EC=0 ++ jobs -p + exit 0 Processing files: autorandr-1.13.3-1.fc40.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.m8IcMt + umask 022 + cd /builddir/build/BUILD + cd autorandr-1.13.3 + DOCDIR=/builddir/build/BUILDROOT/autorandr-1.13.3-1.fc40.noarch/usr/share/doc/autorandr + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/autorandr-1.13.3-1.fc40.noarch/usr/share/doc/autorandr + cp -pr /builddir/build/BUILD/autorandr-1.13.3/README.md /builddir/build/BUILDROOT/autorandr-1.13.3-1.fc40.noarch/usr/share/doc/autorandr + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.UyrCNU + umask 022 + cd /builddir/build/BUILD + cd autorandr-1.13.3 + LICENSEDIR=/builddir/build/BUILDROOT/autorandr-1.13.3-1.fc40.noarch/usr/share/licenses/autorandr + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/autorandr-1.13.3-1.fc40.noarch/usr/share/licenses/autorandr + cp -pr /builddir/build/BUILD/autorandr-1.13.3/gpl-3.0.txt /builddir/build/BUILDROOT/autorandr-1.13.3-1.fc40.noarch/usr/share/licenses/autorandr + RPM_EC=0 ++ jobs -p + exit 0 Provides: autorandr = 1.13.3-1.fc40 Requires(interp): /bin/sh /bin/sh /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(preun): /bin/sh Requires(postun): /bin/sh Requires: /usr/bin/python3 Processing files: autorandr-bash-completion-1.13.3-1.fc40.noarch Provides: autorandr-bash-completion = 1.13.3-1.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: autorandr-zsh-completion-1.13.3-1.fc40.noarch Provides: autorandr-zsh-completion = 1.13.3-1.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/autorandr-1.13.3-1.fc40.noarch Wrote: /builddir/build/RPMS/autorandr-zsh-completion-1.13.3-1.fc40.noarch.rpm Wrote: /builddir/build/RPMS/autorandr-bash-completion-1.13.3-1.fc40.noarch.rpm Wrote: /builddir/build/RPMS/autorandr-1.13.3-1.fc40.noarch.rpm Child return code was: 0