Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/php-league-uri.spec'], chrootPath='/var/lib/mock/fedora-35-i686-1629213325.143719/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4x1b4dte:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4x1b4dte:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '09a64f3ffa9e4bb4b1ce9af43f4a14e6', '-D', '/var/lib/mock/fedora-35-i686-1629213325.143719/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4x1b4dte:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/php-league-uri.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False error: /usr/lib/rpm/redhat/macros: line 71: Macro %cc has illegal name (%define) error: /usr/lib/rpm/redhat/macros: line 71: Macro %cc has illegal name (%define) Building target platforms: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1629158400 Wrote: /builddir/build/SRPMS/php-league-uri-6.4.0-1.fc35.src.rpm error: /usr/lib/rpm/redhat/macros: line 71: Macro %cc has illegal name (%define) error: /usr/lib/rpm/redhat/macros: line 71: Macro %cc has illegal name (%define) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/php-league-uri.spec'], chrootPath='/var/lib/mock/fedora-35-i686-1629213325.143719/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4x1b4dte:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4x1b4dte:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '8ed243e925ff4553ae4913ed842a85df', '-D', '/var/lib/mock/fedora-35-i686-1629213325.143719/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4x1b4dte:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/php-league-uri.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False error: /usr/lib/rpm/redhat/macros: line 71: Macro %cc has illegal name (%define) error: /usr/lib/rpm/redhat/macros: line 71: Macro %cc has illegal name (%define) Building target platforms: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1629158400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1XnRUR + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf uri-09da64118eaf4c5d52f9923a1e6a5be1da52fd9a + /usr/bin/gzip -dc /builddir/build/SOURCES/php-league-uri-6.4.0-09da641.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd uri-09da64118eaf4c5d52f9923a1e6a5be1da52fd9a + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.L2LOYZ + umask 022 + cd /builddir/build/BUILD + cd uri-09da64118eaf4c5d52f9923a1e6a5be1da52fd9a + : Nothing to build. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.i7AZt6 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/php-league-uri-6.4.0-1.fc35.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/php-league-uri-6.4.0-1.fc35.i386 ++ dirname /builddir/build/BUILDROOT/php-league-uri-6.4.0-1.fc35.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/php-league-uri-6.4.0-1.fc35.i386 + cd uri-09da64118eaf4c5d52f9923a1e6a5be1da52fd9a + : Create installation directory + mkdir -p /builddir/build/BUILDROOT/php-league-uri-6.4.0-1.fc35.i386/usr/share/php/League/Uri + cp -pr src/Exceptions src/Http.php src/HttpFactory.php src/Uri.php src/UriInfo.php src/UriResolver.php src/UriString.php src/UriTemplate src/UriTemplate.php /builddir/build/BUILDROOT/php-league-uri-6.4.0-1.fc35.i386/usr/share/php/League/Uri + : Generate an autoloader + tee /builddir/build/BUILDROOT/php-league-uri-6.4.0-1.fc35.i386/usr/share/php/League/Uri/autoload.php + cat = 1.0 Recommends: php-composer(psr/http-factory) php-intl Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/php-league-uri-6.4.0-1.fc35.i386 Wrote: /builddir/build/RPMS/php-league-uri-6.4.0-1.fc35.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ntYqOL + umask 022 + cd /builddir/build/BUILD + cd uri-09da64118eaf4c5d52f9923a1e6a5be1da52fd9a + /usr/bin/rm -rf /builddir/build/BUILDROOT/php-league-uri-6.4.0-1.fc35.i386 + RPM_EC=0 ++ jobs -p + exit 0 error: /usr/lib/rpm/redhat/macros: line 71: Macro %cc has illegal name (%define) error: /usr/lib/rpm/redhat/macros: line 71: Macro %cc has illegal name (%define) Child return code was: 0