[tahoe-dev] n00b build problems on freebsd

Randy Bush randy at psg.com
Fri Jun 25 05:54:44 UTC 2010


ok, on freebsd, there are pieces one needs from the ports tree before
running `python setup.py build`

    /usr/ports/security/py-pycrypto
    /usr/ports/security/py-pycryptopp
    /usr/ports/devel/py-pyutil
    /usr/ports/devel/py-twisted

and these, of course brought their cousins and their aunts, e.g. twisted
brought in
    py25-twistedFlow-8.2.0
    py25-twistedNews-9.0.0
    py25-twistedPair-9.0.0
    py25-twistedRunner-9.0.0
    py25-twistedLore-9.0.0
    py25-twistedWeb2-8.1.0
    py25-twisted-9.0.0
but nowhere near as bad as darcs's ohana.

probably i should also have used the freebsd port of other things.  but
it's insane how much cruft this seems to need.

but this is not a panacea.  

it seems to build, though with non-terminal errors.  see
    http://archive.psg.com/setup.log
for the build log

but `python setup.py test` fails see appended for excerpt, and see 
    http://archive.psg.com/setup-test.log 
for the whole story.

randy

---

Installed /usr/local/src/net/allmydata-tahoe-1.7.0/mock-0.7.0b2-py2.5.egg
running build_ext
allmydata.test.test_backupdb
  BackupDB
    test_basic ...                                                      [ERROR]
    test_check ...                                                      [ERROR]
    test_directory ...                                                  [ERROR]
    test_fail ...                                                       [ERROR]
    test_unicode ...                                                  [SKIPPED]
    test_upgrade_v1_v2 ...                                              [ERROR]
    test_wrong_version ...                                              [ERROR]
allmydata.test.test_base62
  T
    test_ende_0x00 ...                                                     [OK]
    test_ende_0x000000 ...                                                 [OK]
    test_ende_0x01 ...                                                     [OK]
    test_ende_0x0100 ...                                                   [OK]
    test_ende_0x010000 ...                                                 [OK]
    test_ende_longrandstr ...                                              [OK]
    test_ende_randstr ...                                                  [OK]
    test_num_octets_that_encode_to_this_many_chars ...                     [OK]
    test_odd_sizes ...                                                     [OK]
allmydata.test.test_checker
  AddLease
    test_875 ...                                                           [OK]
  WebResultsRendering
    test_check ...                                                         [OK]
    test_check_and_repair ...                                              [OK]
    test_literal ...                                                       [OK]
allmydata.test.test_cli
  Backup
    test_backup ...                                                     [ERROR]
    test_backup_with_nonexistent_alias ...                              [ERROR]
    test_backup_without_alias ...                                       [ERROR]
    test_exclude_options ...                                               [OK]
    test_exclude_options_unicode ...                                  [SKIPPED]
    test_ignore_symlinks ...                                            [ERROR]
    test_ignore_unreadable_directory ...                                   [OK]
    test_ignore_unreadable_file ...                                        [OK]
  CLI
    test_alias ...                                                         [OK]
    test_catalog_shares_error ...                                          [OK]
    test_dump_cap_chk ...                                                  [OK]
    test_dump_cap_directory ...                                            [OK]
    test_dump_cap_lit ...                                                  [OK]
    test_dump_cap_ssk ...                                                  [OK]
    test_listdir_unicode_good ...                                     [SKIPPED]
    test_options ...                                                       [OK]
  Check
    test_check ...                                                         [OK]
    test_check_with_nonexistent_alias ...                                  [OK]
    test_check_without_alias ...                                           [OK]
    test_deep_check ...                                                    [OK]
  Cp
    test_copy_using_filecap ...                                            [OK]
    test_cp_with_nonexistent_alias ...                                     [OK]
    test_dangling_symlink_vs_recursion ...                                 [OK]
    test_not_enough_args ...                                               [OK]
    test_unicode_filename ...                                         [SKIPPED]
  CreateAlias
    test_create ...                                                        [OK]
    test_create_unicode ...                                           [SKIPPED]
  Errors
    test_get ...                                                           [OK]
  Get
    test_get_with_nonexistent_alias ...                                    [OK]
    test_get_without_alias ...                                             [OK]
  Help
    test_add_aliases ...                                                   [OK]
    test_backup ...                                                        [OK]
    test_check ...                                                         [OK]
    test_create_alias ...                                                  [OK]
    test_deep_check ...                                                    [OK]
    test_get ...                                                           [OK]
    test_ln ...                                                            [OK]
    test_manifest ...                                                      [OK]
    test_mv ...                                                            [OK]
    test_put ...                                                           [OK]
    test_rm ...                                                            [OK]
    test_stats ...                                                         [OK]
    test_webopen ...                                                       [OK]
  List
    test_list ...                                                          [OK]
    test_list_with_nonexistent_alias ...                                   [OK]
    test_list_without_alias ...                                            [OK]
  Ln
    test_ln_with_nonexistent_alias ...                                     [OK]
    test_ln_without_alias ...                                              [OK]
  Manifest
    test_manifest_with_nonexistent_alias ...                               [OK]
    test_manifest_without_alias ...                                        [OK]
  Mkdir
    test_mkdir ...                                                         [OK]
    test_mkdir_unicode ...                                            [SKIPPED]
    test_mkdir_with_nonexistent_alias ...                                  [OK]
  Mv
    test_mv_behavior ...                                                   [OK]
    test_mv_with_nonexistent_alias ...                                     [OK]
    test_mv_without_alias ...                                              [OK]
  Put
    test_immutable_from_file ...                                           [OK]
    test_immutable_from_file_unicode ...                              [SKIPPED]
    test_mutable ...                                                       [OK]
    test_mutable_unlinked ...                                              [OK]
    test_put_with_nonexistent_alias ...                                    [OK]
    test_unlinked_immutable_from_file ...                                  [OK]
    test_unlinked_immutable_stdin ...                                      [OK]
  Rm
    test_rm_with_nonexistent_alias ...                                     [OK]
    test_rm_without_alias ...                                              [OK]
  Stats
    test_empty_directory ...                                               [OK]
    test_stats_with_nonexistent_alias ...                                  [OK]
    test_stats_without_alias ...                                           [OK]
  Webopen
    test_webopen_with_nonexistent_alias ...                                [OK]
allmydata.test.test_client
  Basic
    test_loadable ...                                                      [OK]
    test_loadable_old_config_bits ...                                      [OK]
    test_loadable_old_storage_config_bits ...                              [OK]
    test_permute ...                                                       [OK]
    test_reserved_1 ...                                                    [OK]
    test_reserved_2 ...                                                    [OK]
    test_reserved_3 ...                                                    [OK]
    test_reserved_4 ...                                                    [OK]
    test_reserved_bad ...                                                  [OK]
    test_secrets ...                                                       [OK]
    test_versions ...                                                      [OK]
  NodeMaker
    test_maker ...                                                         [OK]
  Run
    test_loadable ...                                                      [OK]
    test_reloadable ... Node._startService failed, aborting
[Failure instance: Traceback: <class 'allmydata.util.iputil.UnsupportedPlatformError'>: freebsd8
build/bdist.freebsd-8.0-STABLE-amd64/egg/foolscap/eventual.py:26:_turn
/usr/local/src/net/allmydata-tahoe-1.7.0/src/allmydata/node.py:259:_startService
/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:224:addCallback
/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:213:addCallbacks
--- <exception caught here> ---
/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:371:_runCallbacks
/usr/local/src/net/allmydata-tahoe-1.7.0/src/allmydata/node.py:259:<lambda>
/usr/local/src/net/allmydata-tahoe-1.7.0/src/allmydata/util/iputil.py:94:get_local_addresses_async
/usr/local/src/net/allmydata-tahoe-1.7.0/src/allmydata/util/iputil.py:242:_find_addresses_via_config
]
calling os.abort()



More information about the tahoe-dev mailing list