Bug #337465 - Disable EbuildIpcDaemon on FreeBSD since it doesn't v2.2_rc83
authorZac Medico <zmedico@gentoo.org>
Wed, 15 Sep 2010 11:01:22 +0000 (04:01 -0700)
committerZac Medico <zmedico@gentoo.org>
Wed, 15 Sep 2010 11:01:22 +0000 (04:01 -0700)
work yet.

pym/_emerge/AbstractEbuildProcess.py

index 37d6d74268bed54d8b277008d28f8757ed40cb6c..c5fb1d1caac2f9d52dc0298fe9b0d8052fca3eba 100644 (file)
@@ -1,6 +1,7 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
+import platform
 import stat
 import textwrap
 from _emerge.SpawnProcess import SpawnProcess
@@ -35,6 +36,13 @@ class AbstractEbuildProcess(SpawnProcess):
        # is left so we can temporarily disable it if any issues arise.
        _enable_ipc_daemon = True
 
+       # EbuildIpcDaemon does not work on these platforms yet:
+       # | Bug #  | Platform
+       # |--------|------------
+       # | 337465 | FreeBSD
+       if platform.system() in ('FreeBSD',):
+               _enable_ipc_daemon = False
+
        def __init__(self, **kwargs):
                SpawnProcess.__init__(self, **kwargs)
                if self.phase is None: