Hide Forgot
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.
Default configuration is: configs/mash.conf:use_repoview = False We could add a dependency for non-default configurations, I suppose.
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.