[TxMt] Cannot build TextMate: test_network and test_SoftwareUpdate fail

Boris Dušek me at dusek.me
Mon Sep 29 22:49:29 UTC 2014


Hello,

building latest textmate after a long time, I am hitting this error:

$ ninja TextMate
[9/36] Run test ‘/Users/dusek/build/TextMate/Frameworks/network/test_network’…
FAILED: /Users/dusek/build/TextMate/Frameworks/network/test_network && touch /Users/dusek/build/TextMate/Frameworks/network/test_network.run
test_network: 1 of 1 test failed:
/Users/dusek/Documents/Projects/Contribute/textmate/Frameworks/network/tests/t_download.cc:58: Expected (network::download(network::request_t(url, &myFilter, NULL), &error) == 200), found (0 != 200)
[9/36] Run test ‘/Users/dusek/build/TextMate/Frameworks/SoftwareUpdate/test_SoftwareUpdate’…
FAILED: /Users/dusek/build/TextMate/Frameworks/SoftwareUpdate/test_SoftwareUpdate && touch /Users/dusek/build/TextMate/Frameworks/SoftwareUpdate/test_SoftwareUpdate.run
test_SoftwareUpdate: 5 of 6 tests failed:
/Users/dusek/Documents/Projects/Contribute/textmate/Frameworks/SoftwareUpdate/tests/t_sw_update.cc:64: Expected (err == "Extracting archive."), found ("Failed to connect to localhost port 64762: Connection refused" != "Extracting archive.")
/Users/dusek/Documents/Projects/Contribute/textmate/Frameworks/SoftwareUpdate/tests/t_sw_update.cc:73: Expected (err == "Extracting archive."), found ("Failed to connect to localhost port 64762: Connection refused" != "Extracting archive.")
/Users/dusek/Documents/Projects/Contribute/textmate/Frameworks/SoftwareUpdate/tests/t_sw_update.cc:82: Expected (err == "Bad signature."), found ("Failed to connect to localhost port 64762: Connection refused" != "Bad signature.")
/Users/dusek/Documents/Projects/Contribute/textmate/Frameworks/SoftwareUpdate/tests/t_sw_update.cc:91: Expected (err == "Bad signature."), found ("Failed to connect to localhost port 64762: Connection refused" != "Bad signature.")
/Users/dusek/Documents/Projects/Contribute/textmate/Frameworks/SoftwareUpdate/tests/t_sw_update.cc:109: Expected (err == NULL_STR), found ("Failed to connect to localhost port 64762: Connection refused" != "￿")
ninja: build stopped: subcommand failed.

I tried ninja network/coerce and ninja SoftwareUpdate/coerce and they do skip the relevant tests, but these choices do not persist and after running ninja TextMate again, I hit the same failures.

System: Xcode 6.0.1 (i.e. 10.9 SDK) running on Yosemite DP8 (14A361c), happens even on a totally clean rebuild (git clean -xffd; git reset --hard HEAD; rm -rf ~/build/TextMate/; ./configure && ninja)

Is there please anything I can do to make TextMate compile?

Thanks,
Boris


More information about the textmate mailing list