[tahoe-dev] n00b build problems on freebsd

Francois Deppierraz francois at ctrlaltdel.ch
Fri Jun 25 01:44:05 PDT 2010


Hi,

On 06/25/2010 08:51 AM, Randy Bush wrote:

> 2010-06-25 06:43:15+0000 [-] Unhandled Error
>         Traceback (most recent call last):
>           File "/usr/local/src/net/allmydata-tahoe-1.7.0/support/lib/python2.5/site-packages/foolscap-0.5.1-py2.5.egg/foolscap/eventual.py", line 26, in _turn
>             cb(*args, **kwargs)
>           File "/usr/local/src/net/allmydata-tahoe-1.7.0/src/allmydata/node.py", line 259, in _startService
>             d.addCallback(lambda res: iputil.get_local_addresses_async())
>           File "/usr/local/src/net/allmydata-tahoe-1.7.0/Twisted-10.0.0-py2.5-freebsd-8.0-STABLE-amd64.egg/twisted/internet/defer.py", line 224, in addCallback
>             callbackKeywords=kw)
>           File "/usr/local/src/net/allmydata-tahoe-1.7.0/Twisted-10.0.0-py2.5-freebsd-8.0-STABLE-amd64.egg/twisted/internet/defer.py", line 213, in addCallbacks
>             self._runCallbacks()
>         --- <exception caught here> ---
>           File "/usr/local/src/net/allmydata-tahoe-1.7.0/Twisted-10.0.0-py2.5-freebsd-8.0-STABLE-amd64.egg/twisted/internet/defer.py", line 371, in _runCallbacks
>             self.result = callback(self.result, *args, **kw)
>           File "/usr/local/src/net/allmydata-tahoe-1.7.0/src/allmydata/node.py", line 259, in <lambda>
>             d.addCallback(lambda res: iputil.get_local_addresses_async())
>           File "/usr/local/src/net/allmydata-tahoe-1.7.0/src/allmydata/util/iputil.py", line 94, in get_local_addresses_async
>             d = _find_addresses_via_config()
>           File "/usr/local/src/net/allmydata-tahoe-1.7.0/src/allmydata/util/iputil.py", line 242, in _find_addresses_via_config
>             raise UnsupportedPlatformError(sys.platform)
>         allmydata.util.iputil.UnsupportedPlatformError: freebsd8

By looking at the code, I'm pretty confident that you could add a

  "freebsd8": "bsd",

element to the '_platform_map dictionary' in file
'src/allmydata/util/iputil.py' around line 142.

Bug report #1098¹ has been opened for this issue.

François

¹ http://allmydata.org/trac/tahoe-lafs/ticket/1098


More information about the tahoe-dev mailing list