Bug 229126 - mock stops with TypeError: 'NoneType' object is not iterable
mock stops with TypeError: 'NoneType' object is not iterable
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: yum (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeremy Katz
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-02-17 12:21 EST by Mamoru TASAKA
Modified: 2014-01-21 17:57 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-02-22 03:06:08 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Mock build log of xscreensaver srpm with yum-3.1.1 (6.24 KB, text/plain)
2007-02-17 12:21 EST, Mamoru TASAKA
no flags Details

  None (edit)
Description Mamoru TASAKA 2007-02-17 12:21:19 EST
Description of problem:
With yum 3.1.1 mock immediately stops with the following
error.
yum 3.1.0 causes no problem.

Version-Release number of selected component (if applicable):
yum-3.1.1-3.fc7
mock-0.6.11-1.fc7

How reproducible:
100%

Steps to Reproduce:
1. try "mock <some srpm>" with yum 3.1.1
2.
3.
  
Actual results:
DEBUG: Executing /usr/sbin/mock-helper yum --installroot
/var/lib/mock/fedora-development-i386-core/root install buildsys-build
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
No Repositories Available to Set Up
Reading repository metadata in from local files
Parsing package install arguments
Traceback (most recent call last):
  File "/usr/libexec/mock-yum", line 12, in <module>
    yummain.main(sys.argv[1:])
  File "/usr/share/yum-cli/yummain.py", line 94, in main
    result, resultmsgs = base.doCommands()
  File "/usr/share/yum-cli/cli.py", line 263, in doCommands
    return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd,
self.extcmds)
  File "/usr/share/yum-cli/yumcommands.py", line 134, in doCommand
    return base.installPkgs(extcmds)
  File "/usr/share/yum-cli/cli.py", line 436, in installPkgs
    self.pkgSack.matchPackageNames(arglist)
  File "/usr/lib/python2.5/site-packages/yum/packageSack.py", line 360, in
matchPackageNames
    unmatched = list(unmatched)
TypeError: 'NoneType' object is not iterable

Additional info:
F7T1 yum-3.1.0-2.fc7 has no problem.
Comment 1 Mamoru TASAKA 2007-02-17 12:21:19 EST
Created attachment 148270 [details]
Mock build log of xscreensaver srpm with yum-3.1.1
Comment 2 Jeremy Katz 2007-02-21 17:07:06 EST
Does this still happen with yum-3.1.2?
Comment 3 Mamoru TASAKA 2007-02-22 03:06:08 EST
mockbuild under mock-0.6.12-1.fc7 and yum-3.1.2-1.fc7
ended successfully. Thank you.

Note You need to log in before you can comment on or make changes to this bug.