Bug 682436 - Missing Requires: repoview
Summary: Missing Requires: repoview
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: mash
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-05 14:05 UTC by Peter Lemenkov
Modified: 2014-03-17 03:26 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-05 20:32:29 UTC
Type: ---


Attachments (Terms of Use)

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.


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