Summary: | dev-util/meld-1.7.5 - meld: ImportError: This platform lacks a functioning sem_open implementation, therefore, the required synchronization primitives needed will not function, see issue 3770. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Juergen Rose <rose> |
Component: | [OLD] GNOME | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | gnome, syscon780 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=482510 https://bugs.gentoo.org/show_bug.cgi?id=496328 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Juergen Rose
2013-09-13 14:54:00 UTC
Sounds like an issue in python itself, or perhaps in glibc. Is /dev/shm mounted as tmpfs? glibc uses that for POSIX shared memory and semaphores. Also, you might want to try rebuilding dev-lang/python:2.7; it might be that sem_open was mis-detected by configure when last you built it. afaik, this is a bootstrap issue. You most likely installed your system from an environment which didn't allow python to compile with detecting needed libraries/headers/whatever to enable proper threading support. Just rebuild python and you should be fine. (In reply to Gilles Dartiguelongue from comment #4) > afaik, this is a bootstrap issue. You most likely installed your system from > an environment which didn't allow python to compile with detecting needed > libraries/headers/whatever to enable proper threading support. > > Just rebuild python and you should be fine. Probably I was building python last time on a systems without systemd and udev, therefore(?) the shared memory was not recognized After rebuilding python-2.7.5-r2, python-3.2.5-r2 and python-3.3.2-r2 the issue with meld disappeared. I would bet on the old libc for some reason. I had the same problem bootstrapping a gentoo system from a debian squeeze... :) *** Bug 496332 has been marked as a duplicate of this bug. *** (In reply to Mike Gilbert from comment #3) > Also, you might want to try rebuilding dev-lang/python:2.7; it might be that > sem_open was mis-detected by configure when last you built it. I rebuild both python-2.7.5-r3 and 3.3.2-r2 but it doesn't help in my case I still get the same error: meld phone_book.txt Traceback (most recent call last): File "/usr/bin/meld", line 173, in <module> main() File "/usr/bin/meld", line 165, in main new_window = app.parse_args(sys.argv[1:]) File "/usr/lib64/meld/meld/meldapp.py", line 169, in parse_args tab = open_paths(args, options.auto_compare, options.auto_merge) File "/usr/lib64/meld/meld/meldwindow.py", line 791, in open_paths self._single_file_open(a) File "/usr/lib64/meld/meld/meldwindow.py", line 781, in _single_file_open doc.set_location(path) File "/usr/lib64/meld/meld/vcview.py", line 395, in set_location self.choose_vc(vc.get_vcs(os.path.abspath(location or "."))) File "/usr/lib64/meld/meld/vc/__init__.py", line 86, in get_vcs max_depth = max(len(vc.root) for vc in vcs if vc.VC_ROOT_WALK) ValueError: max() arg is an empty sequence (In reply to Joseph from comment #8) That's a completely different problem. |