1 |
On Fri, 2010-03-19 at 09:00 +0000, Alan Hourihane wrote: |
2 |
> But when using.... |
3 |
> |
4 |
> emerge -g vim |
5 |
> |
6 |
> it gets further, but when trying to pull in dev-util/ctags I get a large |
7 |
> backtrace as it tries to do... |
8 |
> |
9 |
> (Last few lines...) |
10 |
> File "/usr/lib/portage/pym/_emerge/BinpkgPrefetcher.py", line 38, in |
11 |
> _verifier_exit |
12 |
> File "/usr/lib/portage/pym/portage/dbapi/bintree.py", line 940, in |
13 |
> inject _movefile(filename, new_filename, mysettings=self.settings) |
14 |
> File "/usr/lib/portage/pym/portage/__init__.py", line 492, in _movefile |
15 |
> "mv '%s' '%s'" % (src, dest)) |
16 |
> PortageException: mv '/usr/portage/packages/dev-util/ctags-5.8.tbz2' |
17 |
> '/usr/portage/packages/dev-util/ctags-5.8.tbz2' |
18 |
> |
19 |
> Any ideas to both points ? |
20 |
|
21 |
This looks like a problem |
22 |
in /usr/lib/portage/pym/portage/dbapi/bintree.py that does a _movefile() |
23 |
operation without checking if the source & destination filenames are the |
24 |
same. |
25 |
|
26 |
If I put a check in that does that, it works fine. |
27 |
|
28 |
Alan. |