Hello, I am trying to build an RPM with Mock via a git repo. It seems like I run into an issue with the Sources option inside my spec file:
DEBUG: Initializing SCM integration... DEBUG: SCM checkout command: git clone git://gitrepo reponame DEBUG: SCM checkout post command: git checkout master DEBUG: SCM checkout directory: /tmp/tmp2178L4.mock-scm.reponame DEBUG: Executing command: ['git', 'clone', 'git://gitrepo', 'reponame'] DEBUG: Cloning into reponame... DEBUG: Child returncode was: 0 DEBUG: Executing command: ['git', 'checkout', 'master'] DEBUG: Already on 'master' DEBUG: Child returncode was: 0 DEBUG: Fetched sources from SCM DEBUG: Preparing SCM sources ERROR: iteration over non-sequence Traceback (most recent call last): File "/usr/sbin/mock", line 864, in ? main(retParams) File "/usr/sbin/mock", line 672, in main (options.sources, options.spec) = scmWorker.prepare_sources() File "/usr/lib/python2.4/site-packages/mockbuild/scm.py", line 111, in prepare_sources for (filename, num, flags) in rpm_spec.sources: TypeError: iteration over non-sequence
My spec file is a normal spec file that can be built via Mock when not attempting to use it from Git. My Mock version is 1.0.22 from EPEL.
Is this a known issue or am I doing something wrong?
Thanks, Jarod
On 10/26/2011 07:26 PM, Jarod Watkins wrote:
Hello, I am trying to build an RPM with Mock via a git repo. It seems like I run into an issue with the Sources option inside my spec file:
You might want to take this to either the EPEL list, or (even better and more appropriately ) the fedora-buildsys list.
- KB
On Wed, Oct 26, 2011 at 4:52 PM, Karanbir Singh mail-lists@karan.org wrote:
On 10/26/2011 07:26 PM, Jarod Watkins wrote:
Hello, I am trying to build an RPM with Mock via a git repo. It seems like I run into an issue with the Sources option inside my spec file:
You might want to take this to either the EPEL list, or (even better and more appropriately ) the fedora-buildsys list.
- KB
CentOS-devel mailing list CentOS-devel@centos.org http://lists.centos.org/mailman/listinfo/centos-devel
Thanks I will send it to the fedora-buildsys list.
Jarod