Last time I faced below error. And I could not understand what was happening. Now I am fine. But I would just report here because I wanted not only the error message "Error: Need to pass a list of pkgs to install", but also more.
$ mbs-build local
$ ls /var/lib/mock/module-ruby-master-20170503110007-PoolThread-twisted.internet.reactor-0/result/ build.log hw_info.log root.log state.log
$ cat /var/lib/mock/module-ruby-master-20170503110007-PoolThread-twisted.internet.reactor-0/result/state.log 2017-07-28 16:57:15,064 - Mock Version: 1.4.2 2017-07-28 16:57:15,097 - Start: dnf install
$ cat /var/lib/mock/module-ruby-master-20170503110007-PoolThread-twisted.internet.reactor-0/result/root.log ... DEBUG util.py:533: Executing command: ['/usr/bin/dnf', '--installroot', '/var/lib/mock/module-ruby-master-20170503110007-PoolThread-twisted.internet.reactor-0/root/', '--disableplugin=local', '--setopt=deltarpm=False', 'install'] with env {'TERM': 'vt100', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LC_MESSAGES': 'C.UTF-8', 'HOME': '/builddir', 'SHELL': '/bin/bash'} and shell False DEBUG util.py:450: Error: Need to pass a list of pkgs to install
$ cat /var/lib/mock/module-ruby-master-20170503110007-PoolThread-twisted.internet.reactor-0/result/build.log Mock Version: 1.4.2
might be bug in mock. what's your spec file for that package? anyhow, if you can't reproduce -- let's just close this.
It is "modules/ruby". But I can not reproduce, because I updated ruby.yaml from that time. Sorry close this. In the future, if I faced I might report again.
Metadata Update from @ignatenkobrain: - Issue close_status updated to: Insufficient data - Issue status updated to: Closed (was: Open)
This issue has been migrated to Fedora Forge: https://forge.fedoraproject.org/koji/mbs/issues/633
Please continue any further discussion there.