Mock Version: 1.1.41 Mock Version: 1.1.41 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/perl516.spec'], False, '/var/lib/mock/sclo7-perl516-rh-el7-build-6795-6412/root/', None, 86400, True, False, 497, 135, None, False, {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/perl516.spec'] with env {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/perl516-1.1-3.el7.src.rpm error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/perl516.spec'], False, '/var/lib/mock/sclo7-perl516-rh-el7-build-6795-6412/root/', None, 86400, True, False, 497, 135, None, False, {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/perl516.spec'] with env {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.TMYf5X error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf perl516-1.1 + /usr/bin/mkdir -p perl516-1.1 + cd perl516-1.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cat + cp /builddir/build/SOURCES/LICENSE . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.PRD7VH + umask 022 + cd /builddir/build/BUILD + cd perl516-1.1 + cat + chmod a+x h2m_helper + help2man -N --section 7 ./h2m_helper -o perl516.7 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.tVVwSt + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl516-1.1-3.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl516-1.1-3.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/perl516-1.1-3.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl516-1.1-3.el7.x86_64 + cd perl516-1.1 + rm -rf /builddir/build/BUILDROOT/perl516-1.1-3.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT/perl516-1.1-3.el7.x86_64/opt/rh/perl516/root + cat + mkdir -p /builddir/build/BUILDROOT/perl516-1.1-3.el7.x86_64/etc/rpm /builddir/build/BUILDROOT/perl516-1.1-3.el7.x86_64/etc/scl/prefixes + cat + cat + set +x ~/build/BUILDROOT/perl516-1.1-3.el7.x86_64/opt/rh/perl516/root/var ~/build/BUILD/perl516-1.1 ~/build/BUILD/perl516-1.1 ~/build/BUILDROOT/perl516-1.1-3.el7.x86_64/opt/rh/perl516/root/etc ~/build/BUILD/perl516-1.1 ~/build/BUILD/perl516-1.1 ~/build/BUILDROOT/perl516-1.1-3.el7.x86_64/opt/rh/perl516/root ~/build/BUILD/perl516-1.1 + popd ~/build/BUILD/perl516-1.1 + cat /builddir/build/SOURCES/macro-build + sed -i 's|@SCL@|perl516|g' /builddir/build/BUILDROOT/perl516-1.1-3.el7.x86_64/etc/rpm/macros.perl516-config + cat + install -D -m 755 /builddir/build/SOURCES/perl.prov.stack /builddir/build/BUILDROOT/perl516-1.1-3.el7.x86_64/usr/lib/rpm/perl.prov.stack + install -D -m 755 /builddir/build/SOURCES/perl.req.stack /builddir/build/BUILDROOT/perl516-1.1-3.el7.x86_64/usr/lib/rpm/perl.req.stack + sed -i 's|__SCL_NAME__|perl516-perl|g' /builddir/build/BUILDROOT/perl516-1.1-3.el7.x86_64/usr/lib/rpm/perl.prov.stack + sed -i 's|__SCL_NAME__|perl516-perl|g' /builddir/build/BUILDROOT/perl516-1.1-3.el7.x86_64/usr/lib/rpm/perl.req.stack + mkdir -p /builddir/build/BUILDROOT/perl516-1.1-3.el7.x86_64/opt/rh/perl516/root/usr/share/man/man7/ + install -m 644 perl516.7 /builddir/build/BUILDROOT/perl516-1.1-3.el7.x86_64/opt/rh/perl516/root/usr/share/man/man7/perl516.7 + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/perl516-1.1 /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match. find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-scl-compress /opt/rh/perl516/root + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-scl-python-bytecompile /usr/bin/python 1 /opt/rh/perl516/root + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: perl516-1.1-3.el7.x86_64 Provides: scl-package(perl516) perl516 = 1.1-3.el7 perl516(x86-64) = 1.1-3.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Processing files: perl516-runtime-1.1-3.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.7V1ggk + umask 022 + cd /builddir/build/BUILD + cd perl516-1.1 + DOCDIR=/builddir/build/BUILDROOT/perl516-1.1-3.el7.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-runtime-1.1 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl516-1.1-3.el7.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-runtime-1.1 + cp -pr README /builddir/build/BUILDROOT/perl516-1.1-3.el7.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-runtime-1.1 + cp -pr LICENSE /builddir/build/BUILDROOT/perl516-1.1-3.el7.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-runtime-1.1 + exit 0 warning: File listed twice: /opt/rh/perl516/root/usr/share/man/man7/perl516.7.gz Provides: perl516-runtime = 1.1-3.el7 perl516-runtime(x86-64) = 1.1-3.el7 scl-package(perl516) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: perl516-runtime Processing files: perl516-build-1.1-3.el7.x86_64 Provides: perl516-build = 1.1-3.el7 perl516-build(x86-64) = 1.1-3.el7 scl-package(perl516) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: perl516-runtime Processing files: perl516-scldevel-1.1-3.el7.x86_64 Provides: perl516-scldevel = 1.1-3.el7 perl516-scldevel(x86-64) = 1.1-3.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/perl Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl516-1.1-3.el7.x86_64 Wrote: /builddir/build/RPMS/perl516-1.1-3.el7.x86_64.rpm Wrote: /builddir/build/RPMS/perl516-runtime-1.1-3.el7.x86_64.rpm Wrote: /builddir/build/RPMS/perl516-build-1.1-3.el7.x86_64.rpm Wrote: /builddir/build/RPMS/perl516-scldevel-1.1-3.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.d8AiTJ + umask 022 + cd /builddir/build/BUILD + cd perl516-1.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/perl516-1.1-3.el7.x86_64 + exit 0 error: Macro % has illegal name (%define) Child return code was: 0 LEAVE do -->