error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) INFO: mock.py version 0.9.14 starting... State Changed: init plugins State Changed: start State Changed: lock buildroot State Changed: clean State Changed: init State Changed: lock buildroot Mock Version: 0.9.14 INFO: Mock Version: 0.9.14 State Changed: running yum error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) INFO: mock.py version 0.9.14 starting... State Changed: init plugins State Changed: start INFO: Start(/tmp/koji/tasks/4285/34285/local/work/cli-build/1431991804.954792.EQShvYoQ/oss-google-apis-1.0-3.ru6.src.rpm) Config(centos6-rutgers-staging-build-4624-6954) State Changed: init State Changed: lock buildroot Mock Version: 0.9.14 INFO: Mock Version: 0.9.14 State Changed: running yum State Changed: setup ERROR: Exception(/tmp/koji/tasks/4285/34285/local/work/cli-build/1431991804.954792.EQShvYoQ/oss-google-apis-1.0-3.ru6.src.rpm) Config(centos6-rutgers-staging-build-4624-6954) 0 minutes 11 seconds INFO: Results and/or logs in: /var/lib/mock/centos6-rutgers-staging-build-4624-6954/result ERROR: Command failed: # /usr/bin/yum --installroot /var/lib/mock/centos6-rutgers-staging-build-4624-6954/root/ install 'tomcat6' 'apache-maven' error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) Error: Package: rsyslog7-7.4.10-2.el6.i686 (build) Requires: libjson-c.so.2 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest