Summary: | sys-apps/portage 2.2_rc12 fails to merge x11-libs/gtk+-2.14.4 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Davide <netcelli> |
Component: | [OLD] Library | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | InVCS |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 210077, 216231 | ||
Attachments: | Error message |
Description
Davide
2008-10-21 09:59:09 UTC
Created attachment 169282 [details]
Error message
File "/usr/lib64/portage/pym/portage/__init__.py", line 5975, in merge mydbapi=mydbapi, prev_mtimes=prev_mtimes) File "/usr/lib64/portage/pym/portage/dbapi/vartree.py", line 3541, in merge mydbapi=mydbapi, prev_mtimes=prev_mtimes) File "/usr/lib64/portage/pym/portage/dbapi/vartree.py", line 3549, in _merge cleanup=cleanup, mydbapi=mydbapi, prev_mtimes=prev_mtimes) File "/usr/lib64/portage/pym/portage/dbapi/vartree.py", line 3085, in treewalk if self.mergeme(srcroot, destroot, outfile, secondhand, "", cfgfiledict, mymtime): File "/usr/lib64/portage/pym/portage/dbapi/vartree.py", line 3421, in mergeme join(offset, x), cfgfiledict, thismtime): File "/usr/lib64/portage/pym/portage/dbapi/vartree.py", line 3421, in mergeme join(offset, x), cfgfiledict, thismtime): File "/usr/lib64/portage/pym/portage/dbapi/vartree.py", line 3303, in mergeme mydstat = os.lstat(mydest) OSError: [Errno 20] Not a directory: '/etc/gtk-2.0/im-multipress.conf' This error suggests that /var/tmp/portage/x11-libs/gtk+-2.14.4/image/etc/gtk-2.0/im-multipress.conf might be a directory, which might indicate some sort of filesystem corruption. Is it a directory or not? If it is a directory, does rebuilding x11-libs/gtk+-2.14.4 result in the same error? (In reply to comment #3) > This error suggests that > /var/tmp/portage/x11-libs/gtk+-2.14.4/image/etc/gtk-2.0/im-multipress.conf > might be a directory, which might indicate some sort of filesystem corruption. > Is it a directory or not? If it is a directory, does rebuilding > x11-libs/gtk+-2.14.4 result in the same error? > It is not a directory but as header file says: Configuration File for the GTK+ Multipress Input Method There's probably dome sort of problem in the merging of the /etc/gtk-2.0/ directory. Does that directory exist on you system or not? The error seems to suggest that this directory failed to be created. (In reply to comment #5) > There's probably dome sort of problem in the merging of the /etc/gtk-2.0/ > directory. Does that directory exist on you system or not? The error seems to > suggest that this directory failed to be created. > Its a file not a directory :S Maybe is that the problem? Yes, it needs to be a directory. Do you know how that file got there? You can solve the problem by removing it. Anyway, portage needs to detect cases like this and handle them more intelligently. In svn r11920 it's fixed to move broken symlinks out of the way if necessary when merging directories. This is fixed in 2.2_rc15. |