| 1 | | |
| | 1 | [http://ports.haiku-files.org/browser/haikuports/trunk/dev-lang/python/python-2.7-svn-haiku.diff Patch] |
| | 2 | |
| | 3 | * Installed zlib, bzip2, ncurses, readline, expat and openssl |
| | 4 | * cp /boot/common/share/libtool/config/config.guess Modules/_ctypes/libffi |
| | 5 | * cp /boot/common/share/libtool/config/config.sub Modules/_ctypes/libffi |
| | 6 | * libtoolize --force --copy |
| | 7 | * aclocal |
| | 8 | * autoconf |
| | 9 | * automake |
| | 10 | * ./configure --prefix=/boot/common |
| | 11 | * make |
| | 12 | * if make erros out on h2py.py, remove /usr from line 1 and rerun make |
| | 13 | * make install |
| | 14 | * make test |
| | 15 | |
| | 16 | TODO: add gdbm and db and build again |
| | 17 | |
| | 18 | {{{ |
| | 19 | Python build finished, but the necessary bits to build these modules were not found: |
| | 20 | _bsddb _sqlite3 _tkinter |
| | 21 | bsddb185 dbm gdbm |
| | 22 | linuxaudiodev nis ossaudiodev |
| | 23 | readline sunaudiodev |
| | 24 | To find the necessary bits, look in setup.py in detect_modules() for the module's name. |
| | 25 | |
| | 26 | |
| | 27 | Failed to build these modules: |
| | 28 | _curses_panel |
| | 29 | |
| | 30 | running build_scripts |
| | 31 | LD_LIBRARY_PATH=/boot/home/develop/python: ./python -E -c 'import sys ; from distutils.util import get_platform ; print get_platform()+"-"+sys.version[0:3]' >platform |
| | 32 | find ./Lib -name '*.py[co]' -print | xargs rm -f |
| | 33 | LD_LIBRARY_PATH=/boot/home/develop/python: ./python -E -tt ./Lib/test/regrtest.py -l |
| | 34 | test_grammar |
| | 35 | test_opcodes |
| | 36 | test_dict |
| | 37 | test_builtin |
| | 38 | test_exceptions |
| | 39 | test_types |
| | 40 | test test_types failed -- errors occurred; run in verbose mode for details |
| | 41 | test_unittest |
| | 42 | test_doctest |
| | 43 | test_doctest2 |
| | 44 | test_MimeWriter |
| | 45 | test_SimpleHTTPServer |
| | 46 | test_StringIO |
| | 47 | test___all__ |
| | 48 | test___future__ |
| | 49 | test__locale |
| | 50 | test__locale skipped -- cannot import name RADIXCHAR |
| | 51 | test_abc |
| | 52 | test_abstract_numbers |
| | 53 | test_aepack |
| | 54 | test_aepack skipped -- No module named aepack |
| | 55 | test_al |
| | 56 | test_al skipped -- No module named al |
| | 57 | test_anydbm |
| | 58 | test_applesingle |
| | 59 | test_applesingle skipped -- No module named macostools |
| | 60 | test_array |
| | 61 | test_ast |
| | 62 | test_asyncore |
| | 63 | test_atexit |
| | 64 | test_audioop |
| | 65 | test_augassign |
| | 66 | test_base64 |
| | 67 | test_bastion |
| | 68 | test_bigaddrspace |
| | 69 | test_bigmem |
| | 70 | test_binascii |
| | 71 | test_binhex |
| | 72 | test_binop |
| | 73 | test_bisect |
| | 74 | test_bool |
| | 75 | test_bsddb |
| | 76 | test_bsddb skipped -- No module named _bsddb |
| | 77 | test_bsddb185 |
| | 78 | test_bsddb185 skipped -- No module named bsddb185 |
| | 79 | test_bsddb3 |
| | 80 | test_bsddb3 skipped -- Use of the `bsddb' resource not enabled |
| | 81 | test_buffer |
| | 82 | test_bufio |
| | 83 | test_bytes |
| | 84 | test_bz2 |
| | 85 | test_calendar |
| | 86 | test_call |
| | 87 | test_capi |
| | 88 | test_cd |
| | 89 | test_cd skipped -- No module named cd |
| | 90 | test_cfgparser |
| | 91 | test_cgi |
| | 92 | test_charmapcodec |
| | 93 | test_cl |
| | 94 | test_cl skipped -- No module named cl |
| | 95 | test_class |
| | 96 | test_cmath |
| | 97 | test test_cmath failed -- Traceback (most recent call last): |
| | 98 | File "/boot/home/develop/python/Lib/test/test_cmath.py", line 366, in test_specific_values |
| | 99 | self.fail(error_message) |
| | 100 | AssertionError: acos0032: acos(complex(-0.99999999999999978, 0.0)) |
| | 101 | Expected: complex(3.141592638688631, -0.0) |
| | 102 | Received: complex(3.1415926325163688, -0.0) |
| | 103 | Received value insufficiently close to expected value. |
| | 104 | |
| | 105 | test_cmd |
| | 106 | test_cmd_line |
| | 107 | test_cmd_line_script |
| | 108 | test_code |
| | 109 | test_codeccallbacks |
| | 110 | test_codecencodings_cn |
| | 111 | test_codecencodings_hk |
| | 112 | test_codecencodings_jp |
| | 113 | test_codecencodings_kr |
| | 114 | test_codecencodings_tw |
| | 115 | test_codecmaps_cn |
| | 116 | test_codecmaps_cn skipped -- Use of the `urlfetch' resource not enabled |
| | 117 | test_codecmaps_hk |
| | 118 | test_codecmaps_hk skipped -- Use of the `urlfetch' resource not enabled |
| | 119 | test_codecmaps_jp |
| | 120 | test_codecmaps_jp skipped -- Use of the `urlfetch' resource not enabled |
| | 121 | test_codecmaps_kr |
| | 122 | test_codecmaps_kr skipped -- Use of the `urlfetch' resource not enabled |
| | 123 | test_codecmaps_tw |
| | 124 | test_codecmaps_tw skipped -- Use of the `urlfetch' resource not enabled |
| | 125 | test_codecs |
| | 126 | test_codeop |
| | 127 | test_coding |
| | 128 | test_coercion |
| | 129 | test_collections |
| | 130 | test_colorsys |
| | 131 | test_commands |
| | 132 | test_compare |
| | 133 | test_compile |
| | 134 | test_compiler |
| | 135 | test_complex |
| | 136 | test_complex_args |
| | 137 | test_contains |
| | 138 | test_contextlib |
| | 139 | test_cookie |
| | 140 | test_cookielib |
| | 141 | test_copy |
| | 142 | test_copy_reg |
| | 143 | test_cpickle |
| | 144 | test_cprofile |
| | 145 | test_crypt |
| | 146 | test_csv |
| | 147 | test_ctypes |
| | 148 | test_curses |
| | 149 | test_curses skipped -- No module named _curses_panel |
| | 150 | test_datetime |
| | 151 | test_dbm |
| | 152 | test_dbm skipped -- No module named dbm |
| | 153 | test_decimal |
| | 154 | test test_decimal failed -- Traceback (most recent call last): |
| | 155 | File "/boot/home/develop/python/Lib/test/test_decimal.py", line 1386, in test_from_float |
| | 156 | self.assertEqual(x, float(MyDecimal.from_float(x))) # roundtrip |
| | 157 | AssertionError: -76.638528216551009 != -76.638528216550995 |
| | 158 | |
| | 159 | test_decorators |
| | 160 | test_defaultdict |
| | 161 | test_deque |
| | 162 | test_descr |
| | 163 | test_descrtut |
| | 164 | test_difflib |
| | 165 | test_dircache |
| | 166 | test test_dircache failed -- Traceback (most recent call last): |
| | 167 | File "/boot/home/develop/python/Lib/test/test_dircache.py", line 55, in test_listdir |
| | 168 | self.assertEquals(entries, ['test1']) |
| | 169 | AssertionError: [] != ['test1'] |
| | 170 | |
| | 171 | test_dis |
| | 172 | test_distutils |
| | 173 | test test_distutils failed -- Traceback (most recent call last): |
| | 174 | File "/boot/home/develop/python/Lib/distutils/tests/test_sdist.py", line 90, in test_prune_file_list |
| | 175 | cmd.run() |
| | 176 | File "/boot/home/develop/python/Lib/distutils/command/sdist.py", line 152, in run |
| | 177 | self.make_distribution() |
| | 178 | File "/boot/home/develop/python/Lib/distutils/command/sdist.py", line 459, in make_distribution |
| | 179 | self.make_release_tree(base_dir, self.filelist.files) |
| | 180 | File "/boot/home/develop/python/Lib/distutils/command/sdist.py", line 440, in make_release_tree |
| | 181 | self.copy_file(file, dest, link=link) |
| | 182 | File "/boot/home/develop/python/Lib/distutils/cmd.py", line 376, in copy_file |
| | 183 | dry_run=self.dry_run) |
| | 184 | File "/boot/home/develop/python/Lib/distutils/file_util.py", line 157, in copy_file |
| | 185 | os.link(src, dst) |
| | 186 | OSError: [Errno -2147454933] Operation not supported |
| | 187 | |
| | 188 | test_dl |
| | 189 | test_dl skipped -- Could not open any shared libraries |
| | 190 | test_docxmlrpc |
| | 191 | test_dumbdbm |
| | 192 | test_dummy_thread |
| | 193 | test_dummy_threading |
| | 194 | test_email |
| | 195 | test_email_codecs |
| | 196 | test_email_renamed |
| | 197 | test_enumerate |
| | 198 | test_eof |
| | 199 | test_epoll |
| | 200 | test_epoll skipped -- test works only on Linux 2.6 |
| | 201 | test_errno |
| | 202 | test_exception_variations |
| | 203 | test_extcall |
| | 204 | test_fcntl |
| | 205 | test_file |
| | 206 | test_filecmp |
| | 207 | test_fileinput |
| | 208 | test_fileio |
| | 209 | test test_fileio failed -- Traceback (most recent call last): |
| | 210 | File "/boot/home/develop/python/Lib/test/test_fileio.py", line 156, in testAbles |
| | 211 | self.assertEquals(f.seekable(), False) |
| | 212 | AssertionError: True != False |
| | 213 | |
| | 214 | test_float |
| | 215 | test test_float failed -- Traceback (most recent call last): |
| | 216 | File "/boot/home/develop/python/Lib/test/test_float.py", line 253, in test_repr |
| | 217 | self.assertEqual(v, eval(repr(v))) |
| | 218 | AssertionError: 7.9999999872500254e+153 != 7.9999999745000492e+153 |
| | 219 | |
| | 220 | test_fnmatch |
| | 221 | test_fork1 |
| | 222 | test_format |
| | 223 | test_fpformat |
| | 224 | test_fractions |
| | 225 | test_frozen |
| | 226 | test_ftplib |
| | 227 | sem_init: No space left on device |
| | 228 | sem_init: No space left on device |
| | 229 | sem_init: No space left on device |
| | 230 | sem_init: No space left on device |
| | 231 | sem_init: No space left on device |
| | 232 | sem_init: No space left on device |
| | 233 | sem_init: No space left on device |
| | 234 | sem_init: No space left on device |
| | 235 | sem_init: No space left on device |
| | 236 | sem_init: No space left on device |
| | 237 | sem_init: No space left on device |
| | 238 | test test_ftplib failed -- errors occurred; run in verbose mode for details |
| | 239 | test_funcattrs |
| | 240 | test_functools |
| | 241 | test_future |
| | 242 | test_future3 |
| | 243 | test_future4 |
| | 244 | test_future5 |
| | 245 | test_future_builtins |
| | 246 | test_gc |
| | 247 | test_gdbm |
| | 248 | test_gdbm skipped -- No module named gdbm |
| | 249 | test_generators |
| | 250 | test_genericpath |
| | 251 | test_genexps |
| | 252 | test_getargs |
| | 253 | test_getargs2 |
| | 254 | test_getopt |
| | 255 | test_gettext |
| | 256 | test_gl |
| | 257 | test_gl skipped -- No module named gl |
| | 258 | test_glob |
| | 259 | test_global |
| | 260 | test_grp |
| | 261 | test_gzip |
| | 262 | test_hash |
| | 263 | test_hashlib |
| | 264 | make: *** [test] Kill Thread |
| | 265 | LD_LIBRARY_PATH=/boot/home/develop/python: ./python -E -tt ./Lib/test/regrtest.py -l |
| | 266 | test_grammar |
| | 267 | test_opcodes |
| | 268 | test_dict |
| | 269 | test_builtin |
| | 270 | test_exceptions |
| | 271 | test_types |
| | 272 | test test_types failed -- errors occurred; run in verbose mode for details |
| | 273 | test_unittest |
| | 274 | test_doctest |
| | 275 | test_doctest2 |
| | 276 | test_MimeWriter |
| | 277 | test_SimpleHTTPServer |
| | 278 | test_StringIO |
| | 279 | test___all__ |
| | 280 | test___future__ |
| | 281 | test__locale |
| | 282 | test__locale skipped -- cannot import name RADIXCHAR |
| | 283 | test_abc |
| | 284 | test_abstract_numbers |
| | 285 | test_aepack |
| | 286 | test_aepack skipped -- No module named aepack |
| | 287 | test_al |
| | 288 | test_al skipped -- No module named al |
| | 289 | test_anydbm |
| | 290 | test_applesingle |
| | 291 | test_applesingle skipped -- No module named macostools |
| | 292 | test_array |
| | 293 | test_ast |
| | 294 | test_asyncore |
| | 295 | test_atexit |
| | 296 | test_audioop |
| | 297 | test_augassign |
| | 298 | test_base64 |
| | 299 | test_bastion |
| | 300 | test_bigaddrspace |
| | 301 | test_bigmem |
| | 302 | test_binascii |
| | 303 | test_binhex |
| | 304 | test_binop |
| | 305 | test_bisect |
| | 306 | test_bool |
| | 307 | test_bsddb |
| | 308 | test_bsddb skipped -- No module named _bsddb |
| | 309 | test_bsddb185 |
| | 310 | test_bsddb185 skipped -- No module named bsddb185 |
| | 311 | test_bsddb3 |
| | 312 | test_bsddb3 skipped -- Use of the `bsddb' resource not enabled |
| | 313 | test_buffer |
| | 314 | test_bufio |
| | 315 | test_bytes |
| | 316 | test_bz2 |
| | 317 | test_calendar |
| | 318 | test_call |
| | 319 | test_capi |
| | 320 | test_cd |
| | 321 | test_cd skipped -- No module named cd |
| | 322 | test_cfgparser |
| | 323 | test_cgi |
| | 324 | test_charmapcodec |
| | 325 | test_cl |
| | 326 | test_cl skipped -- No module named cl |
| | 327 | test_class |
| | 328 | test_cmath |
| | 329 | test test_cmath failed -- Traceback (most recent call last): |
| | 330 | File "/boot/home/develop/python/Lib/test/test_cmath.py", line 366, in test_specific_values |
| | 331 | self.fail(error_message) |
| | 332 | AssertionError: acos0032: acos(complex(-0.99999999999999978, 0.0)) |
| | 333 | Expected: complex(3.141592638688631, -0.0) |
| | 334 | Received: complex(3.1415926325163688, -0.0) |
| | 335 | Received value insufficiently close to expected value. |
| | 336 | |
| | 337 | test_cmd |
| | 338 | test_cmd_line |
| | 339 | test_cmd_line_script |
| | 340 | test_code |
| | 341 | test_codeccallbacks |
| | 342 | test_codecencodings_cn |
| | 343 | test_codecencodings_hk |
| | 344 | test_codecencodings_jp |
| | 345 | test_codecencodings_kr |
| | 346 | test_codecencodings_tw |
| | 347 | test_codecmaps_cn |
| | 348 | test_codecmaps_cn skipped -- Use of the `urlfetch' resource not enabled |
| | 349 | test_codecmaps_hk |
| | 350 | test_codecmaps_hk skipped -- Use of the `urlfetch' resource not enabled |
| | 351 | test_codecmaps_jp |
| | 352 | test_codecmaps_jp skipped -- Use of the `urlfetch' resource not enabled |
| | 353 | test_codecmaps_kr |
| | 354 | test_codecmaps_kr skipped -- Use of the `urlfetch' resource not enabled |
| | 355 | test_codecmaps_tw |
| | 356 | test_codecmaps_tw skipped -- Use of the `urlfetch' resource not enabled |
| | 357 | test_codecs |
| | 358 | test_codeop |
| | 359 | test_coding |
| | 360 | test_coercion |
| | 361 | test_collections |
| | 362 | test_colorsys |
| | 363 | test_commands |
| | 364 | test_compare |
| | 365 | test_compile |
| | 366 | test_compiler |
| | 367 | test_complex |
| | 368 | test_complex_args |
| | 369 | test_contains |
| | 370 | test_contextlib |
| | 371 | test_cookie |
| | 372 | test_cookielib |
| | 373 | test_copy |
| | 374 | test_copy_reg |
| | 375 | test_cpickle |
| | 376 | test_cprofile |
| | 377 | test_crypt |
| | 378 | test_csv |
| | 379 | test_ctypes |
| | 380 | test_curses |
| | 381 | test_curses skipped -- No module named _curses_panel |
| | 382 | test_datetime |
| | 383 | test_dbm |
| | 384 | test_dbm skipped -- No module named dbm |
| | 385 | test_decimal |
| | 386 | test test_decimal failed -- Traceback (most recent call last): |
| | 387 | File "/boot/home/develop/python/Lib/test/test_decimal.py", line 1386, in test_from_float |
| | 388 | self.assertEqual(x, float(MyDecimal.from_float(x))) # roundtrip |
| | 389 | AssertionError: 19.699111825856168 != 19.699111825856161 |
| | 390 | |
| | 391 | test_decorators |
| | 392 | test_defaultdict |
| | 393 | test_deque |
| | 394 | test_descr |
| | 395 | test_descrtut |
| | 396 | test_difflib |
| | 397 | test_dircache |
| | 398 | test test_dircache failed -- Traceback (most recent call last): |
| | 399 | File "/boot/home/develop/python/Lib/test/test_dircache.py", line 55, in test_listdir |
| | 400 | self.assertEquals(entries, ['test1']) |
| | 401 | AssertionError: [] != ['test1'] |
| | 402 | |
| | 403 | test_dis |
| | 404 | test_distutils |
| | 405 | test test_distutils failed -- Traceback (most recent call last): |
| | 406 | File "/boot/home/develop/python/Lib/distutils/tests/test_sdist.py", line 90, in test_prune_file_list |
| | 407 | cmd.run() |
| | 408 | File "/boot/home/develop/python/Lib/distutils/command/sdist.py", line 152, in run |
| | 409 | self.make_distribution() |
| | 410 | File "/boot/home/develop/python/Lib/distutils/command/sdist.py", line 459, in make_distribution |
| | 411 | self.make_release_tree(base_dir, self.filelist.files) |
| | 412 | File "/boot/home/develop/python/Lib/distutils/command/sdist.py", line 440, in make_release_tree |
| | 413 | self.copy_file(file, dest, link=link) |
| | 414 | File "/boot/home/develop/python/Lib/distutils/cmd.py", line 376, in copy_file |
| | 415 | dry_run=self.dry_run) |
| | 416 | File "/boot/home/develop/python/Lib/distutils/file_util.py", line 157, in copy_file |
| | 417 | os.link(src, dst) |
| | 418 | OSError: [Errno -2147454933] Operation not supported |
| | 419 | |
| | 420 | test_dl |
| | 421 | test_dl skipped -- Could not open any shared libraries |
| | 422 | test_docxmlrpc |
| | 423 | test_dumbdbm |
| | 424 | test_dummy_thread |
| | 425 | test_dummy_threading |
| | 426 | test_email |
| | 427 | test_email_codecs |
| | 428 | test_email_renamed |
| | 429 | test_enumerate |
| | 430 | test_eof |
| | 431 | test_epoll |
| | 432 | test_epoll skipped -- test works only on Linux 2.6 |
| | 433 | test_errno |
| | 434 | test_exception_variations |
| | 435 | test_extcall |
| | 436 | test_fcntl |
| | 437 | test_file |
| | 438 | test_filecmp |
| | 439 | test_fileinput |
| | 440 | test_fileio |
| | 441 | test test_fileio failed -- Traceback (most recent call last): |
| | 442 | File "/boot/home/develop/python/Lib/test/test_fileio.py", line 156, in testAbles |
| | 443 | self.assertEquals(f.seekable(), False) |
| | 444 | AssertionError: True != False |
| | 445 | |
| | 446 | test_float |
| | 447 | test test_float failed -- Traceback (most recent call last): |
| | 448 | File "/boot/home/develop/python/Lib/test/test_float.py", line 253, in test_repr |
| | 449 | self.assertEqual(v, eval(repr(v))) |
| | 450 | AssertionError: 7.9999999872500254e+153 != 7.9999999745000492e+153 |
| | 451 | |
| | 452 | test_fnmatch |
| | 453 | test_fork1 |
| | 454 | test test_fork1 failed -- Traceback (most recent call last): |
| | 455 | File "/boot/home/develop/python/Lib/test/fork_wait.py", line 74, in test_wait |
| | 456 | self.wait_impl(cpid) |
| | 457 | File "/boot/home/develop/python/Lib/test/test_fork1.py", line 24, in wait_impl |
| | 458 | self.assertEqual(spid, cpid) |
| | 459 | AssertionError: 0 != 44367 |
| | 460 | |
| | 461 | test_format |
| | 462 | test_fpformat |
| | 463 | test_fractions |
| | 464 | test_frozen |
| | 465 | test_ftplib |
| | 466 | Exception in thread Thread-105: |
| | 467 | Traceback (most recent call last): |
| | 468 | File "/boot/home/develop/python/Lib/threading.py", line 522, in __bootstrap_inner |
| | 469 | self.run() |
| | 470 | File "/boot/home/develop/python/Lib/test/test_ftplib.py", line 203, in run |
| | 471 | asyncore.loop(timeout=0.1, count=1) |
| | 472 | File "/boot/home/develop/python/Lib/asyncore.py", line 204, in loop |
| | 473 | poll_fun(timeout, map) |
| | 474 | File "/boot/home/develop/python/Lib/asyncore.py", line 141, in poll |
| | 475 | read(obj) |
| | 476 | File "/boot/home/develop/python/Lib/asyncore.py", line 78, in read |
| | 477 | obj.handle_error() |
| | 478 | File "/boot/home/develop/python/Lib/asyncore.py", line 74, in read |
| | 479 | obj.handle_read_event() |
| | 480 | File "/boot/home/develop/python/Lib/asyncore.py", line 413, in handle_read_event |
| | 481 | self.handle_read() |
| | 482 | File "/boot/home/develop/python/Lib/asynchat.py", line 158, in handle_read |
| | 483 | self.found_terminator() |
| | 484 | File "/boot/home/develop/python/Lib/test/test_ftplib.py", line 69, in found_terminator |
| | 485 | method(arg) |
| | 486 | File "/boot/home/develop/python/Lib/test/test_ftplib.py", line 95, in cmd_pasv |
| | 487 | conn, addr = sock.accept() |
| | 488 | File "/boot/home/develop/python/Lib/socket.py", line 195, in accept |
| | 489 | sock, addr = self._sock.accept() |
| | 490 | timeout: timed out |
| | 491 | |
| | 492 | sem_init: No space left on device |
| | 493 | sem_init: No space left on device |
| | 494 | sem_init: No space left on device |
| | 495 | sem_init: No space left on device |
| | 496 | sem_init: No space left on device |
| | 497 | sem_init: No space left on device |
| | 498 | sem_init: No space left on device |
| | 499 | sem_init: No space left on device |
| | 500 | sem_init: No space left on device |
| | 501 | sem_init: No space left on device |
| | 502 | sem_init: No space left on device |
| | 503 | test test_ftplib failed -- errors occurred; run in verbose mode for details |
| | 504 | test_funcattrs |
| | 505 | test_functools |
| | 506 | test_future |
| | 507 | test_future3 |
| | 508 | test_future4 |
| | 509 | test_future5 |
| | 510 | test_future_builtins |
| | 511 | test_gc |
| | 512 | test_gdbm |
| | 513 | test_gdbm skipped -- No module named gdbm |
| | 514 | test_generators |
| | 515 | test_genericpath |
| | 516 | test_genexps |
| | 517 | test_getargs |
| | 518 | test_getargs2 |
| | 519 | test_getopt |
| | 520 | test_gettext |
| | 521 | test_gl |
| | 522 | test_gl skipped -- No module named gl |
| | 523 | test_glob |
| | 524 | test_global |
| | 525 | test_grp |
| | 526 | test_gzip |
| | 527 | test_hash |
| | 528 | test_hashlib |
| | 529 | test_heapq |
| | 530 | test_hmac |
| | 531 | make: *** [test] Kill Thread |
| | 532 | ~/develop/python> |
| | 533 | |
| | 534 | }}} |