#784 After upgrading koji fails to build new packages
Closed: Fixed Opened by amiskell.

Since I upgraded to 1.14 on CentOS 7 (via the yum repos), it appears that all my builds are failing. Based on the logs, it's failing when it's attempting to build the environment for mock/systemd-nspawn.

Based on the logs, it's attempting to pass a parameter to systemd-nspawn that is no longer a valid flag.

INFO: Running in chroot: ['make', 'sources']
Start: chroot ['make', 'sources']
/usr/bin/systemd-nspawn: unrecognized option '--chdir=/tmp/scmroot/tomcat8'
Finish: chroot ['make', 'sources']
ERROR: Command failed:
# /usr/bin/systemd-nspawn -q -M a473ea2f9f714b2f8994ef1426fe9a1b -D /var/lib/mock/el7-build-3-7/root --chdir=/tmp/scmroot/tomcat8 --setenv=LANG=en_US.UTF-8 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOSTNAME=mock --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=HOME=/builddir --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PS1= \s-\v\$ -u mockbuild make sources


Can you help check systemd and mock version on builder?
--chdir are supported since systemd-v229
and mock uses --new-chroot by default since mock-1.3.4-1

You can currently add mock.new_chroot=False in tag extra to use old-chroot.

systemd-219-42.el7_4.4.x86_64
mock-1.4.8-1.el7.noarch

How would I add the mock.new_chroot tag?

I found the documentation on setting the tag extra. Everything appears to be working fine now in regards to building.

Metadata Update from @tkopecek:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/koji/koji/issues/784

Please continue any further discussion there.

Metadata