Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/ansible-packaging.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-417614-16586/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 --target noarch --nodeps /builddir/build/SPECS/ansible-packaging.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=1674000000 Wrote: /builddir/build/SRPMS/ansible-packaging-1-9.1.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/ansible-packaging.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-417614-16586/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 --target noarch --nodeps /builddir/build/SPECS/ansible-packaging.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=1674000000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.EyEpLt + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ansible-packaging-1 + /usr/bin/mkdir -p ansible-packaging-1 + cd ansible-packaging-1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp -a /builddir/build/SOURCES/ansible-generator /builddir/build/SOURCES/ansible.attr /builddir/build/SOURCES/macros.ansible /builddir/build/SOURCES/macros.ansible-srpm /builddir/build/SOURCES/ansible_collection.py /builddir/build/SOURCES/COPYING . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6wbZ8e + umask 022 + cd /builddir/build/BUILD + CFLAGS='-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 -fstack-clash-protection -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 -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-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 -fstack-clash-protection -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 -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 -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 ansible-packaging-1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.uHbKhP + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ansible-packaging-1-9.1.fc38.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ansible-packaging-1-9.1.fc38.noarch ++ dirname /builddir/build/BUILDROOT/ansible-packaging-1-9.1.fc38.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ansible-packaging-1-9.1.fc38.noarch + CFLAGS='-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 -fstack-clash-protection -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 -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-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 -fstack-clash-protection -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 -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 -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 ansible-packaging-1 + install -Dpm0644 -t /builddir/build/BUILDROOT/ansible-packaging-1-9.1.fc38.noarch/usr/lib/rpm/fileattrs ansible.attr + install -Dpm0644 -t /builddir/build/BUILDROOT/ansible-packaging-1-9.1.fc38.noarch/usr/lib/rpm/macros.d macros.ansible + install -Dpm0644 -t /builddir/build/BUILDROOT/ansible-packaging-1-9.1.fc38.noarch/usr/lib/rpm/macros.d macros.ansible-srpm + install -Dpm0755 -t /builddir/build/BUILDROOT/ansible-packaging-1-9.1.fc38.noarch/usr/lib/rpm ansible-generator + install -Dpm0755 -t /builddir/build/BUILDROOT/ansible-packaging-1-9.1.fc38.noarch/usr/lib/rpm ansible_collection.py + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 1-9.1.fc38 --unique-debug-suffix -1-9.1.fc38.noarch --unique-debug-src-base ansible-packaging-1-9.1.fc38.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/ansible-packaging-1 find: 'debug': No such file or directory + /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.HMWEvJ + umask 022 + cd /builddir/build/BUILD + CFLAGS='-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 -fstack-clash-protection -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 -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-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 -fstack-clash-protection -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 -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 -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 ansible-packaging-1 Ensure macro fails when only collection_namespace macro is defined + echo 'Ensure macro fails when only collection_namespace macro is defined' + errors rpm_eval -D 'collection_namespace cc' -E %ansible_collection_url + error='error: %ansible_collection_url: You must pass the collection namespace as the first arg and the collection name as the second' + rpm_eval -D 'collection_namespace cc' -E %ansible_collection_url ++ grep 'Macro path' ++ awk -F ': ' '{print $2}' ++ rpm --showrc + default_macros_path='/usr/lib/rpm/macros:/usr/lib/rpm/macros.d/macros.*:/usr/lib/rpm/platform/%{_target}/macros:/usr/lib/rpm/fileattrs/*.attr:/usr/lib/rpm/redhat/macros:/etc/rpm/macros.*:/etc/rpm/macros:/etc/rpm/%{_target}/macros:~/.rpmmacros' + rpm '--macros=/usr/lib/rpm/macros:/usr/lib/rpm/macros.d/macros.*:/usr/lib/rpm/platform/%{_target}/macros:/usr/lib/rpm/fileattrs/*.attr:/usr/lib/rpm/redhat/macros:/etc/rpm/macros.*:/etc/rpm/macros:/etc/rpm/%{_target}/macros:~/.rpmmacros:/builddir/build/BUILDROOT/ansible-packaging-1-9.1.fc38.noarch/usr/lib/rpm/macros.d/macros.*' -D 'collection_namespace cc' -E %ansible_collection_url error: %ansible_collection_url: You must pass the collection namespace as the first arg and the collection name as the second error: lua script failed: [string "ansible_collection_url"]:11: error expanding macro + rpm_eval -D 'collection_namespace cc' -E %ansible_collection_url + grep -q 'error: %ansible_collection_url: You must pass the collection namespace as the first arg and the collection name as the second' Ensure macro fails when only collection_name macro is defined + echo + echo 'Ensure macro fails when only collection_name macro is defined' + errors rpm_eval -D 'collection_name cc' -E %ansible_collection_url + error='error: %ansible_collection_url: You must pass the collection namespace as the first arg and the collection name as the second' + rpm_eval -D 'collection_name cc' -E %ansible_collection_url ++ rpm --showrc ++ grep 'Macro path' ++ awk -F ': ' '{print $2}' + default_macros_path='/usr/lib/rpm/macros:/usr/lib/rpm/macros.d/macros.*:/usr/lib/rpm/platform/%{_target}/macros:/usr/lib/rpm/fileattrs/*.attr:/usr/lib/rpm/redhat/macros:/etc/rpm/macros.*:/etc/rpm/macros:/etc/rpm/%{_target}/macros:~/.rpmmacros' + rpm '--macros=/usr/lib/rpm/macros:/usr/lib/rpm/macros.d/macros.*:/usr/lib/rpm/platform/%{_target}/macros:/usr/lib/rpm/fileattrs/*.attr:/usr/lib/rpm/redhat/macros:/etc/rpm/macros.*:/etc/rpm/macros:/etc/rpm/%{_target}/macros:~/.rpmmacros:/builddir/build/BUILDROOT/ansible-packaging-1-9.1.fc38.noarch/usr/lib/rpm/macros.d/macros.*' -D 'collection_name cc' -E %ansible_collection_url error: %ansible_collection_url: You must pass the collection namespace as the first arg and the collection name as the second error: lua script failed: [string "ansible_collection_url"]:11: error expanding macro + rpm_eval -D 'collection_name cc' -E %ansible_collection_url + grep -q 'error: %ansible_collection_url: You must pass the collection namespace as the first arg and the collection name as the second' + echo + echo 'Ensure macro fails when second argument is missing' + errors rpm_eval -E '%ansible_collection_url a' Ensure macro fails when second argument is missing + error='error: %ansible_collection_url: You must pass the collection namespace as the first arg and the collection name as the second' + rpm_eval -E '%ansible_collection_url a' ++ rpm --showrc ++ grep 'Macro path' ++ awk -F ': ' '{print $2}' + default_macros_path='/usr/lib/rpm/macros:/usr/lib/rpm/macros.d/macros.*:/usr/lib/rpm/platform/%{_target}/macros:/usr/lib/rpm/fileattrs/*.attr:/usr/lib/rpm/redhat/macros:/etc/rpm/macros.*:/etc/rpm/macros:/etc/rpm/%{_target}/macros:~/.rpmmacros' + rpm '--macros=/usr/lib/rpm/macros:/usr/lib/rpm/macros.d/macros.*:/usr/lib/rpm/platform/%{_target}/macros:/usr/lib/rpm/fileattrs/*.attr:/usr/lib/rpm/redhat/macros:/etc/rpm/macros.*:/etc/rpm/macros:/etc/rpm/%{_target}/macros:~/.rpmmacros:/builddir/build/BUILDROOT/ansible-packaging-1-9.1.fc38.noarch/usr/lib/rpm/macros.d/macros.*' -E '%ansible_collection_url a' error: %ansible_collection_url: You must pass the collection namespace as the first arg and the collection name as the second error: lua script failed: [string "ansible_collection_url"]:11: error expanding macro + rpm_eval -E '%ansible_collection_url a' + grep -q 'error: %ansible_collection_url: You must pass the collection namespace as the first arg and the collection name as the second' Ensure macro fails when second argument is missing + echo + echo 'Ensure macro fails when second argument is missing' + errors rpm_eval -D 'collection_name b' -E '%ansible_collection_url a' + error='error: %ansible_collection_url: You must pass the collection namespace as the first arg and the collection name as the second' + rpm_eval -D 'collection_name b' -E '%ansible_collection_url a' ++ rpm --showrc ++ grep 'Macro path' ++ awk -F ': ' '{print $2}' + default_macros_path='/usr/lib/rpm/macros:/usr/lib/rpm/macros.d/macros.*:/usr/lib/rpm/platform/%{_target}/macros:/usr/lib/rpm/fileattrs/*.attr:/usr/lib/rpm/redhat/macros:/etc/rpm/macros.*:/etc/rpm/macros:/etc/rpm/%{_target}/macros:~/.rpmmacros' + rpm '--macros=/usr/lib/rpm/macros:/usr/lib/rpm/macros.d/macros.*:/usr/lib/rpm/platform/%{_target}/macros:/usr/lib/rpm/fileattrs/*.attr:/usr/lib/rpm/redhat/macros:/etc/rpm/macros.*:/etc/rpm/macros:/etc/rpm/%{_target}/macros:~/.rpmmacros:/builddir/build/BUILDROOT/ansible-packaging-1-9.1.fc38.noarch/usr/lib/rpm/macros.d/macros.*' -D 'collection_name b' -E '%ansible_collection_url a' error: %ansible_collection_url: You must pass the collection namespace as the first arg and the collection name as the second error: lua script failed: [string "ansible_collection_url"]:11: error expanding macro + rpm_eval -D 'collection_name b' -E '%ansible_collection_url a' + grep -q 'error: %ansible_collection_url: You must pass the collection namespace as the first arg and the collection name as the second' + echo Ensure macro fails when neither the control macros nor macro arguments are passed + echo 'Ensure macro fails when neither the control macros nor macro arguments are passed' + errors rpm_eval -E %ansible_collection_url + error='error: %ansible_collection_url: You must pass the collection namespace as the first arg and the collection name as the second' + rpm_eval -E %ansible_collection_url ++ grep 'Macro path' ++ rpm --showrc ++ awk -F ': ' '{print $2}' + default_macros_path='/usr/lib/rpm/macros:/usr/lib/rpm/macros.d/macros.*:/usr/lib/rpm/platform/%{_target}/macros:/usr/lib/rpm/fileattrs/*.attr:/usr/lib/rpm/redhat/macros:/etc/rpm/macros.*:/etc/rpm/macros:/etc/rpm/%{_target}/macros:~/.rpmmacros' + rpm '--macros=/usr/lib/rpm/macros:/usr/lib/rpm/macros.d/macros.*:/usr/lib/rpm/platform/%{_target}/macros:/usr/lib/rpm/fileattrs/*.attr:/usr/lib/rpm/redhat/macros:/etc/rpm/macros.*:/etc/rpm/macros:/etc/rpm/%{_target}/macros:~/.rpmmacros:/builddir/build/BUILDROOT/ansible-packaging-1-9.1.fc38.noarch/usr/lib/rpm/macros.d/macros.*' -E %ansible_collection_url error: %ansible_collection_url: You must pass the collection namespace as the first arg and the collection name as the second error: lua script failed: [string "ansible_collection_url"]:11: error expanding macro + rpm_eval -E %ansible_collection_url + grep -q 'error: %ansible_collection_url: You must pass the collection namespace as the first arg and the collection name as the second' + echo Ensure macro works when both arguments are passed and no control macros are set + echo + echo 'Ensure macro works when both arguments are passed and no control macros are set' ++ rpm_eval -E '%ansible_collection_url community general' +++ rpm --showrc +++ grep 'Macro path' +++ awk -F ': ' '{print $2}' ++ default_macros_path='/usr/lib/rpm/macros:/usr/lib/rpm/macros.d/macros.*:/usr/lib/rpm/platform/%{_target}/macros:/usr/lib/rpm/fileattrs/*.attr:/usr/lib/rpm/redhat/macros:/etc/rpm/macros.*:/etc/rpm/macros:/etc/rpm/%{_target}/macros:~/.rpmmacros' ++ rpm '--macros=/usr/lib/rpm/macros:/usr/lib/rpm/macros.d/macros.*:/usr/lib/rpm/platform/%{_target}/macros:/usr/lib/rpm/fileattrs/*.attr:/usr/lib/rpm/redhat/macros:/etc/rpm/macros.*:/etc/rpm/macros:/etc/rpm/%{_target}/macros:~/.rpmmacros:/builddir/build/BUILDROOT/ansible-packaging-1-9.1.fc38.noarch/usr/lib/rpm/macros.d/macros.*' -E '%ansible_collection_url community general' + [[ https://galaxy.ansible.com/community/general == \h\t\t\p\s\:\/\/\g\a\l\a\x\y\.\a\n\s\i\b\l\e\.\c\o\m\/\c\o\m\m\u\n\i\t\y\/\g\e\n\e\r\a\l ]] + echo + echo 'Ensure macro works with the control macros' Ensure macro works with the control macros ++ rpm_eval -D 'collection_namespace ansible' -D 'collection_name posix' -E %ansible_collection_url +++ rpm --showrc +++ grep 'Macro path' +++ awk -F ': ' '{print $2}' ++ default_macros_path='/usr/lib/rpm/macros:/usr/lib/rpm/macros.d/macros.*:/usr/lib/rpm/platform/%{_target}/macros:/usr/lib/rpm/fileattrs/*.attr:/usr/lib/rpm/redhat/macros:/etc/rpm/macros.*:/etc/rpm/macros:/etc/rpm/%{_target}/macros:~/.rpmmacros' ++ rpm '--macros=/usr/lib/rpm/macros:/usr/lib/rpm/macros.d/macros.*:/usr/lib/rpm/platform/%{_target}/macros:/usr/lib/rpm/fileattrs/*.attr:/usr/lib/rpm/redhat/macros:/etc/rpm/macros.*:/etc/rpm/macros:/etc/rpm/%{_target}/macros:~/.rpmmacros:/builddir/build/BUILDROOT/ansible-packaging-1-9.1.fc38.noarch/usr/lib/rpm/macros.d/macros.*' -D 'collection_namespace ansible' -D 'collection_name posix' -E %ansible_collection_url + [[ https://galaxy.ansible.com/ansible/posix == \h\t\t\p\s\:\/\/\g\a\l\a\x\y\.\a\n\s\i\b\l\e\.\c\o\m\/\a\n\s\i\b\l\e\/\p\o\s\i\x ]] Ensure macro prefers the collection namespace and name passed as an argument over the control macros + echo + echo 'Ensure macro prefers the collection namespace and name passed as an argument over the control macros' ++ rpm_eval -D 'collection_namespace ansible' -D 'collection_name posix' -E '%ansible_collection_url community general' +++ rpm --showrc +++ grep 'Macro path' +++ awk -F ': ' '{print $2}' ++ default_macros_path='/usr/lib/rpm/macros:/usr/lib/rpm/macros.d/macros.*:/usr/lib/rpm/platform/%{_target}/macros:/usr/lib/rpm/fileattrs/*.attr:/usr/lib/rpm/redhat/macros:/etc/rpm/macros.*:/etc/rpm/macros:/etc/rpm/%{_target}/macros:~/.rpmmacros' ++ rpm '--macros=/usr/lib/rpm/macros:/usr/lib/rpm/macros.d/macros.*:/usr/lib/rpm/platform/%{_target}/macros:/usr/lib/rpm/fileattrs/*.attr:/usr/lib/rpm/redhat/macros:/etc/rpm/macros.*:/etc/rpm/macros:/etc/rpm/%{_target}/macros:~/.rpmmacros:/builddir/build/BUILDROOT/ansible-packaging-1-9.1.fc38.noarch/usr/lib/rpm/macros.d/macros.*' -D 'collection_namespace ansible' -D 'collection_name posix' -E '%ansible_collection_url community general' + [[ https://galaxy.ansible.com/community/general == \h\t\t\p\s\:\/\/\g\a\l\a\x\y\.\a\n\s\i\b\l\e\.\c\o\m\/\c\o\m\m\u\n\i\t\y\/\g\e\n\e\r\a\l ]] + RPM_EC=0 ++ jobs -p + exit 0 Processing files: ansible-packaging-1-9.1.fc38.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.jXGjF4 + umask 022 + cd /builddir/build/BUILD + cd ansible-packaging-1 + LICENSEDIR=/builddir/build/BUILDROOT/ansible-packaging-1-9.1.fc38.noarch/usr/share/licenses/ansible-packaging + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ansible-packaging-1-9.1.fc38.noarch/usr/share/licenses/ansible-packaging + cp -pr COPYING /builddir/build/BUILDROOT/ansible-packaging-1-9.1.fc38.noarch/usr/share/licenses/ansible-packaging + RPM_EC=0 ++ jobs -p + exit 0 Provides: ansible-packaging = 1-9.1.fc38 rpm_macro(ansible_collection_build) rpm_macro(ansible_collection_filelist) rpm_macro(ansible_collection_files) rpm_macro(ansible_collection_install) rpm_macro(ansible_collections_dir) rpm_macro(ansible_roles_dir) rpm_macro(ansible_test_unit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 Conflicts: ansible < 2.9.27-3 ansible-core < 2.12.1-3 Processing files: ansible-srpm-macros-1-9.1.fc38.noarch Provides: ansible-srpm-macros = 1-9.1.fc38 rpm_macro(ansible_collection_url) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ansible-packaging-tests-1-9.1.fc38.noarch Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ansible-packaging-1-9.1.fc38.noarch Wrote: /builddir/build/RPMS/ansible-srpm-macros-1-9.1.fc38.noarch.rpm Wrote: /builddir/build/RPMS/ansible-packaging-tests-1-9.1.fc38.noarch.rpm Wrote: /builddir/build/RPMS/ansible-packaging-1-9.1.fc38.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.hu6XNj + umask 022 + cd /builddir/build/BUILD + cd ansible-packaging-1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ansible-packaging-1-9.1.fc38.noarch + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.wZeiMV + umask 022 + cd /builddir/build/BUILD + rm -rf ansible-packaging-1 ansible-packaging-1.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0