[2015-10-20 02:07:53,184][ INFO][PID:2102] Setting up builder: 172.25.80.28 [2015-10-20 02:07:54,875][ INFO][PID:2102] marking build dir with build_id, [2015-10-20 02:07:54,878][ INFO][PID:2102] Start build: BuildJob [2015-10-20 02:07:54,879][ INFO][PID:2102] putting into minimal buildroot of epel-6-x86_64 [2015-10-20 02:07:55,431][ INFO][PID:2102] Cloning Dist Git repo petersen/ghc-7.10.2/ghc, branch a9fc9f5382bfc1b7e8eb2145602479393e6c4da1, hash el6 [2015-10-20 02:08:01,024][ INFO][PID:2102] Got srpm to build: /tmp/build_package_repo/ghc/ghc-7.10.2-7.el6.src.rpm [2015-10-20 02:08:02,148][ INFO][PID:2102] executing: /usr/bin/mockchain -r epel-6-x86_64 -l /var/tmp/mockremote-mqZo7/build/ -a https://copr-be.cloud.fedoraproject.org/results/petersen/ghc-7.10.2/epel-6-x86_64 -a https://copr-be.cloud.fedoraproject.org/results/petersen/ghc-7.10.2/epel-6-x86_64/devel -m '--define=copr_username petersen' -m '--define=copr_projectname ghc-7.10.2' -m '--define=vendor Fedora Project COPR (petersen/ghc-7.10.2)' /tmp/build_package_repo/ghc/ghc-7.10.2-7.el6.src.rpm [2015-10-20 02:09:59,983][ ERROR][PID:2102] builder.build error building pkg `ghc`: BuildError: rc 2 not in success_codes; return code: 2; stdout: starting logfile: None results dir: /var/tmp/mockremote-mqZo7/build/results/epel-6-x86_64 config dir: /var/tmp/mockremote-mqZo7/build/configs/epel-6-x86_64 Start build: /tmp/build_package_repo/ghc/ghc-7.10.2-7.el6.src.rpm building ghc-7.10.2-7.el6.src.rpm End build: /tmp/build_package_repo/ghc/ghc-7.10.2-7.el6.src.rpm Error building ghc-7.10.2-7.el6.src.rpm. See logs/results in /var/tmp/mockremote-mqZo7/build/results/epel-6-x86_64 Results out to: /var/tmp/mockremote-mqZo7/build/results/epel-6-x86_64 Pkgs built: 0; stderr: INFO: mock.py version 1.2.12 starting (python version = 2.7.8)... Start: init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: compress_logs: initialized Finish: init plugins Start: run INFO: Start(/tmp/build_package_repo/ghc/ghc-7.10.2-7.el6.src.rpm) Config(epel-6-x86_64) Start: clean chroot Finish: clean chroot Start: chroot init INFO: mounting tmpfs at /var/lib/mock/epel-6-x86_64-mockbuilder-6901/root. INFO: calling preinit hooks INFO: enabled root cache INFO: root cache aged out! cache will be rebuilt Mock Version: 1.2.12 INFO: Mock Version: 1.2.12 Start: yum install Finish: yum install Start: creating cache Finish: creating cache Finish: chroot init INFO: Installed packages: Start: build phase for ghc-7.10.2-7.el6.src.rpm Start: build setup for ghc-7.10.2-7.el6.src.rpm Finish: build setup for ghc-7.10.2-7.el6.src.rpm Start: rpmbuild ghc-7.10.2-7.el6.src.rpm ERROR: Exception(/tmp/build_package_repo/ghc/ghc-7.10.2-7.el6.src.rpm) Config(epel-6-x86_64) 1 minutes 48 seconds INFO: Results and/or logs in: /var/tmp/mockremote-mqZo7/build/results/epel-6-x86_64/ghc-7.10.2-7.el6 INFO: Cleaning up build root ('cleanup_on_failure=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot ERROR: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ghc.spec Traceback (most recent call last): File "/usr/share/copr/backend/mockremote/__init__.py", line 294, in build_pkg_and_process_results build_stdout = self.builder.build() File "/usr/share/copr/backend/mockremote/builder.py", line 324, in build check_for_ans_error(ansible_build_results, self.hostname) # on error raises AnsibleResponseError File "/usr/share/copr/backend/mockremote/builder.py", line 449, in check_for_ans_error raise AnsibleResponseError(**err_results) AnsibleResponseError: BuildError: rc 2 not in success_codes; return code: 2; stdout: starting logfile: None results dir: /var/tmp/mockremote-mqZo7/build/results/epel-6-x86_64 config dir: /var/tmp/mockremote-mqZo7/build/configs/epel-6-x86_64 Start build: /tmp/build_package_repo/ghc/ghc-7.10.2-7.el6.src.rpm building ghc-7.10.2-7.el6.src.rpm End build: /tmp/build_package_repo/ghc/ghc-7.10.2-7.el6.src.rpm Error building ghc-7.10.2-7.el6.src.rpm. See logs/results in /var/tmp/mockremote-mqZo7/build/results/epel-6-x86_64 Results out to: /var/tmp/mockremote-mqZo7/build/results/epel-6-x86_64 Pkgs built: 0; stderr: INFO: mock.py version 1.2.12 starting (python version = 2.7.8)... Start: init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: compress_logs: initialized Finish: init plugins Start: run INFO: Start(/tmp/build_package_repo/ghc/ghc-7.10.2-7.el6.src.rpm) Config(epel-6-x86_64) Start: clean chroot Finish: clean chroot Start: chroot init INFO: mounting tmpfs at /var/lib/mock/epel-6-x86_64-mockbuilder-6901/root. INFO: calling preinit hooks INFO: enabled root cache INFO: root cache aged out! cache will be rebuilt Mock Version: 1.2.12 INFO: Mock Version: 1.2.12 Start: yum install Finish: yum install Start: creating cache Finish: creating cache Finish: chroot init INFO: Installed packages: Start: build phase for ghc-7.10.2-7.el6.src.rpm Start: build setup for ghc-7.10.2-7.el6.src.rpm Finish: build setup for ghc-7.10.2-7.el6.src.rpm Start: rpmbuild ghc-7.10.2-7.el6.src.rpm ERROR: Exception(/tmp/build_package_repo/ghc/ghc-7.10.2-7.el6.src.rpm) Config(epel-6-x86_64) 1 minutes 48 seconds INFO: Results and/or logs in: /var/tmp/mockremote-mqZo7/build/results/epel-6-x86_64/ghc-7.10.2-7.el6 INFO: Cleaning up build root ('cleanup_on_failure=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot ERROR: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ghc.spec [2015-10-20 02:09:59,984][ INFO][PID:2102] Start retrieve results for: BuildJob [2015-10-20 02:10:00,274][ INFO][PID:2102] End retrieve results for: BuildJob [2015-10-20 02:10:00,277][ INFO][PID:2102] End Build: BuildJob