Bug 682436

Summary: Missing Requires: repoview
Product: [Fedora] Fedora Reporter: Peter Lemenkov <lemenkov>
Component: mashAssignee: Bill Nottingham <notting>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dcantrell, notting, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-05 20:32:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Peter Lemenkov 2011-03-05 14:05:54 UTC
I encountered the following issue during repository creating vecause of the missing runtime dependency on repoview:

2011-03-05 15:13:49 mash: createrepo: starting /mnt/heap/mash2/ppc/ppc/os/Packages...
Previous repo file missing:
2011-03-05 15:32:11 mash: createrepo: finished /mnt/heap/mash2/ppc/ppc/os/
2011-03-05 15:32:11 mash: Running repoview for /mnt/heap/mash2/ppc/ppc/os/
Traceback (most recent call last):
  File "/usr/bin/mash", line 97, in <module>
    main()
  File "/usr/bin/mash", line 77, in main
    rc = themash.doCompose()
  File "/usr/lib/python2.7/site-packages/mash/__init__.py", line 402, in doCompose
    repocache = repocache, comps = True, arch = arch)
  File "/usr/lib/python2.7/site-packages/mash/__init__.py", line 237, in _write_files
    status = self._makeMetadata(repo_path, repocache, arch, comps, previous = previous_path)
  File "/usr/lib/python2.7/site-packages/mash/__init__.py", line 135, in _makeMetadata
    os.execv("/usr/bin/repoview", repoview_cmd)
OSError: [Errno 2] No such file or directory
mash failed in /mnt/heap/mash2/ppc
[root@nostromo heap]# 

Fortunately it's easy to fix. And unfortunately I'm afraid that all branches are affected.

Comment 1 Bill Nottingham 2011-03-07 17:11:21 UTC
Default configuration is:

configs/mash.conf:use_repoview = False

We could add a dependency for non-default configurations, I suppose.

Comment 2 Bill Nottingham 2012-01-05 20:32:29 UTC
Sorry about the delay. On further consideration, adding a package dep for non-default configurations doesn't seem appropriate.

In git commit 2a4d290, I've added code to log the errors instead of crashing.