| Summary: | app-portage/layman, the --overlays flag does not work as expected | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Nirbheek Chauhan (RETIRED) <nirbheek> |
| Component: | Current packages | Assignee: | Gunnar Wrobel (RETIRED) <wrobel> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | gentoo |
| Priority: | High | ||
| Version: | 2007.0 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Nirbheek Chauhan (RETIRED)
2007-05-28 12:32:57 UTC
Same problem here.
"strace layman -o URL" showed lines such as this:
...
...
stat("/usr/lib64/python2.4/site-packages/layman/overlays/rsync", 0x7fff3a17fd70) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.4/site-packages/layman/overlays/rsync.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.4/site-packages/layman/overlays/rsyncmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/python2.4/site-packages/layman/overlays/rsync.py", O_RDONLY) = 6
fstat(6, {st_mode=S_IFREG|0644, st_size=1909, ...}) = 0
open("/usr/lib64/python2.4/site-packages/layman/overlays/rsync.pyc", O_RDONLY) = 7
fstat(7, {st_mode=S_IFREG|0644, st_size=1482, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2af472ad6000
read(7, "m\362\r\n;\2743Fc\0\0\0\0\0\0\0\0\3\0\0\0@\0\0\0s@\0\0"..., 4096) = 1482
fstat(7, {st_mode=S_IFREG|0644, st_size=1482, ...}) = 0
read(7, "", 4096) = 0
close(7) = 0
...
...
I think this option is meant to add the overlay only temporarily ... never thought of this being permanently Oo (In reply to comment #2) > I think this option is meant to add the overlay only temporarily ... never > thought of this being permanently Oo > Well then, either the manpage needs to be changed or the application needs to be fixed :) I'd help, but I haven't the faintest clue about python. Thanks for the note. layman-1.1 is in the tree and this should be fixed in the documentation |