#1266 closed defect (fixed)

Windows 7 Ultimate 64-Bit Build Error pyOpenSSL

Reported by: pgrunwald Owned by: pgrunwald
Priority: major Milestone: 1.8.1
Component: packaging Version: 1.8.0
Keywords: Cc:
Launchpad Bug:

Description (last modified by zooko)

Searching for pyOpenSSL
Reading http://pypi.python.org/simple/pyOpenSSL/
Reading http://pyopenssl.sourceforge.net/
Reading http://launchpad.net/pyopenssl
Best match: pyOpenSSL 0.11
Downloading http://launchpad.net/pyopenssl/main/0.11/+download/pyOpenSSL-0.11.tar.gz
Processing pyOpenSSL-0.11.tar.gz
Running pyOpenSSL-0.11\setup.py -q bdist_egg --dist-dir c:\users\paul\appdata\local\temp\easy_install-j3loco\pyOpenSSL-0.11\egg-dist-tmp-cue999
error: Setup script exited with error: Could not find 'openssl.exe'

G:\allmydata-tahoe-1.8.0-r4803>

Change History (8)

comment:1 Changed at 2010-11-20T18:15:10Z by pgrunwald

Using: Python 2.6.6 (r266:84297, Aug 24 2010, 18:13:38) [MSC v.1500 64 bit (AMD64)] on win32

G:\allmydata-tahoe-1.8.0-r4803>gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=g:/mingw/bin/../libexec/gcc/mingw32/4.5.0/lto-wrapper.exe Target: mingw32 Configured with: ../gcc-4.5.0/configure --enable-languages=c,c++,ada,fortran,obj c,obj-c++ --disable-sjlj-exceptions --with-dwarf2 --enable-shared --enable-libgo mp --disable-win32-registry --enable-libstdcxx-debug --enable-version-specific-r untime-libs --disable-werror --build=mingw32 --prefix=/mingw Thread model: win32 gcc version 4.5.0 (GCC)

comment:2 Changed at 2010-11-27T20:34:47Z by zooko

Adding '{{{' around the initial report to escape from trac formatting.

comment:3 Changed at 2010-11-27T20:35:04Z by zooko

  • Description modified (diff)

comment:4 Changed at 2010-11-27T20:50:31Z by zooko

  • Owner changed from somebody to pgrunwald

Could you please try again now that there is a windows-x86_64 package of pyOpenSSL hosted here:

http://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-lafs-dep-eggs/README.html

comment:5 Changed at 2010-11-27T22:56:42Z by pgrunwald

Hi - Thanks - it builds now. Below are the results of "python setup.py test":

=============================================================================== [SKIPPED]: allmydata.test.test_cli.Backup.test_ignore_symlinks

Symlinks are not supported by Python on this platform. =============================================================================== [SKIPPED]: allmydata.test.test_cli.Cp.test_dangling_symlink_vs_recursion

Symlinks are not supported by Python on this platform. =============================================================================== [SKIPPED]: allmydata.test.test_encodingutil.StdlibUnicode?.test_open_unrepresenta ble

This test is not applicable to platforms that represent filenames as Unicode. =============================================================================== [SKIPPED]: allmydata.test.test_hung_server.HungServerDownloadTest?.test_2_good_8_ hung_then_1_recovers_mutable

still broken =============================================================================== [SKIPPED]: allmydata.test.test_hung_server.HungServerDownloadTest?.test_2_good_8_ hung_then_1_recovers_with_2_shares_mutable

still broken =============================================================================== [SKIPPED]: allmydata.test.test_hung_server.HungServerDownloadTest?.test_3_good_7_ hung_mutable

still broken =============================================================================== [SKIPPED]: allmydata.test.test_node.TestCase?.test_secrets_dir_protected

We don't know how to set permissions on Windows. =============================================================================== [SKIPPED]: allmydata.test.test_provisioning.Reliability.test_basic

reliability model requires NumPy? =============================================================================== [SKIPPED]: allmydata.test.test_runner.RunNode?.test_baddir

twistd does not fork under windows =============================================================================== [SKIPPED]: allmydata.test.test_runner.RunNode?.test_client

twistd does not fork under windows =============================================================================== [SKIPPED]: allmydata.test.test_runner.RunNode?.test_client_no_noise

twistd does not fork under windows =============================================================================== [SKIPPED]: allmydata.test.test_runner.RunNode?.test_introducer

twistd does not fork under windows =============================================================================== [SKIPPED]: allmydata.test.test_runner.RunNode?.test_keygen

twistd does not fork under windows =============================================================================== [SKIPPED]: allmydata.test.test_storage.Server.test_large_share

This test can spuriously fail if you have less than 4 GiB free on your filesyste m, and if your filesystem doesn't support efficient sparse files then it is very

expensive (Mac OS X and Windows don't support efficient sparse files).

=============================================================================== [SKIPPED]: allmydata.test.test_web.Web.test_reliability_tool

reliability tool requires NumPy? =============================================================================== [TODO]: allmydata.test.test_upload.EncodingParameters?.test_problem_layout_commen t_187

Reason: "this isn't fixed yet" Traceback (most recent call last):

File "g:\allmydata-tahoe-1.8.0-r4803\src\allmydata\immutable\upload.py", line

546, in _got_response

return self._loop()

File "g:\allmydata-tahoe-1.8.0-r4803\src\allmydata\immutable\upload.py", line

396, in _loop

return self._failed("%s (%s)" % (failmsg, self._get_progress_message()))

File "g:\allmydata-tahoe-1.8.0-r4803\src\allmydata\immutable\upload.py", line

561, in _failed

raise UploadUnhappinessError?(msg)

allmydata.interfaces.UploadUnhappinessError?: shares could be placed on only 2 se rver(s) such that any 2 of them have enough shares to recover the file, but we w ere asked to place shares on at least 3 such servers. (placed all 3 shares, want

to place shares on at least 3 servers such that any 2 of them have enough share

s to recover the file, sent 3 queries to 3 peers, 1 queries placed some shares, 2 placed none (of which 2 placed none due to the server being full and 0 placed none due to an error)) =============================================================================== [TODO]: allmydata.test.test_upload.EncodingParameters?.test_problem_layout_ticket _1124

Reason: 'Fix this after 1.7.1 release.' Traceback (most recent call last):

File "g:\allmydata-tahoe-1.8.0-r4803\src\allmydata\immutable\upload.py", line

546, in _got_response

return self._loop()

File "g:\allmydata-tahoe-1.8.0-r4803\src\allmydata\immutable\upload.py", line

396, in _loop

return self._failed("%s (%s)" % (failmsg, self._get_progress_message()))

File "g:\allmydata-tahoe-1.8.0-r4803\src\allmydata\immutable\upload.py", line

561, in _failed

raise UploadUnhappinessError?(msg)

allmydata.interfaces.UploadUnhappinessError?: shares could be placed on only 3 se rver(s) such that any 2 of them have enough shares to recover the file, but we w ere asked to place shares on at least 4 such servers. (placed all 4 shares, want

to place shares on at least 4 servers such that any 2 of them have enough share

s to recover the file, sent 4 queries to 4 peers, 4 queries placed some shares, 0 placed none (of which 0 placed none due to the server being full and 0 placed none due to an error)) =============================================================================== [TODO]: allmydata.test.test_upload.EncodingParameters?.test_problem_layout_ticket _1128

Reason: 'Invent a smarter uploader that uploads successfully in this case.' Traceback (most recent call last):

File "g:\allmydata-tahoe-1.8.0-r4803\src\allmydata\immutable\upload.py", line

546, in _got_response

return self._loop()

File "g:\allmydata-tahoe-1.8.0-r4803\src\allmydata\immutable\upload.py", line

396, in _loop

return self._failed("%s (%s)" % (failmsg, self._get_progress_message()))

File "g:\allmydata-tahoe-1.8.0-r4803\src\allmydata\immutable\upload.py", line

561, in _failed

raise UploadUnhappinessError?(msg)

allmydata.interfaces.UploadUnhappinessError?: shares could be placed on only 3 se rver(s) such that any 2 of them have enough shares to recover the file, but we w ere asked to place shares on at least 4 such servers. (placed all 4 shares, want

to place shares on at least 4 servers such that any 2 of them have enough share

s to recover the file, sent 4 queries to 4 peers, 4 queries placed some shares, 0 placed none (of which 0 placed none due to the server being full and 0 placed none due to an error)) =============================================================================== [FAIL]: allmydata.test.test_runner.BinTahoe?.test_path

Traceback (most recent call last):

File "g:\allmydata-tahoe-1.8.0-r4803\src\allmydata\test\test_runner.py", line

90, in _cb

self.failUnlessEqual(rc_or_sig, 0, str(res))

twisted.trial.unittest.FailTest?: (, 'Traceback (most recent call last):\r\n F ile "g:
allmydata-tahoe-1.8.0-r4803
support
Scripts
tahoe.pyscript", line 6,

in <module>\r\n from pkg_resources import load_entry_point\r\nImportError: N

o module named pkg_resources\r\n', 1) not equal: a = 1 b = 0

=============================================================================== [FAIL]: allmydata.test.test_runner.BinTahoe?.test_run_with_python_options

Traceback (most recent call last):

File "g:\allmydata-tahoe-1.8.0-r4803\src\allmydata\test\test_runner.py", line

149, in _cb

self.failUnlessEqual(rc_or_sig, 0, str(res))

twisted.trial.unittest.FailTest?: (, 'Traceback (most recent call last):\r\n F ile "g:
allmydata-tahoe-1.8.0-r4803
support
Scripts
tahoe.pyscript", line 6,

in <module>\r\n from pkg_resources import load_entry_point\r\nImportError: N

o module named pkg_resources\r\n', 1) not equal: a = 1 b = 0

=============================================================================== [FAIL]: allmydata.test.test_runner.BinTahoe?.test_unicode_arguments_and_output

Traceback (most recent call last):

File "g:\allmydata-tahoe-1.8.0-r4803\src\allmydata\test\test_runner.py", line

137, in _cb

self.failUnlessIn("Unknown command: "+tricky_out, out)

twisted.trial.unittest.FailTest?: 'Unknown command: \xe2\x98\xa1' not in =============================================================================== [FAIL]: allmydata.test.test_runner.BinTahoe?.test_version_no_noise

Traceback (most recent call last):

File "g:\allmydata-tahoe-1.8.0-r4803\src\allmydata\test\test_runner.py", line

165, in _cb

self.failUnlessEqual(rc_or_sig, 0, str(res))

twisted.trial.unittest.FailTest?: (, 'Traceback (most recent call last):\r\n F ile "g:
allmydata-tahoe-1.8.0-r4803
support
Scripts
tahoe.pyscript", line 6,

in <module>\r\n from pkg_resources import load_entry_point\r\nImportError: N

o module named pkg_resources\r\n', 1) not equal: a = 1 b = 0


Ran 828 tests in 809.711s

FAILED (skips=15, expectedFailures=3, failures=4, successes=806)

comment:6 follow-up: Changed at 2010-11-27T23:21:18Z by zooko

Please close this ticket and open a new one about those test failures. Hint: put {{{ before literal text such as output from a program and }}} after it to escape from trac formatting

Last edited at 2010-11-27T23:21:49Z by zooko (previous) (diff)

comment:7 Changed at 2010-11-27T23:24:51Z by pgrunwald

  • Resolution set to fixed
  • Status changed from new to closed

comment:8 in reply to: ↑ 6 Changed at 2011-01-01T03:11:51Z by davidsarah

Replying to zooko:

Please close this ticket and open a new one about those test failures.

That ticket was #1272, which was later closed as unreproducible with version 1.8.1.

Note: See TracTickets for help on using tickets.