| 1 | | |
| | 1 | Patch (coming soon), then: |
| | 2 | |
| | 3 | copy config.guess/config.sub from /boot/common/share/libtool/config/ in Python-2.5.2/Modules/_ctypes/libffi |
| | 4 | then run autoconf in that folder, then cd ../../.. and run autoconf in Python-2.5.2 root folder |
| | 5 | |
| | 6 | * ./configure --prefix=/boot/common --enable-shared --with-threads |
| | 7 | * make |
| | 8 | * make install |
| | 9 | * make test |
| | 10 | |
| | 11 | Make test errors out to a dialog box on test_resoure, exiting there it loops back to test_mailbox and would just keep looping. |
| | 12 | I'll try skipping that one and see what else fails. |
| | 13 | |
| | 14 | TODO: build again with ncurses installed, and comment out the test_resource to see what else fails. |
| | 15 | |
| | 16 | {{{ |
| | 17 | test_grammar |
| | 18 | test_opcodes |
| | 19 | test_operations |
| | 20 | test_builtin |
| | 21 | test_exceptions |
| | 22 | test_types |
| | 23 | test_unittest |
| | 24 | test_doctest |
| | 25 | test_doctest2 |
| | 26 | test_MimeWriter |
| | 27 | test_StringIO |
| | 28 | test___all__ |
| | 29 | test___future__ |
| | 30 | test__locale |
| | 31 | test__locale skipped -- cannot import name RADIXCHAR |
| | 32 | test_aepack |
| | 33 | test_aepack skipped -- No module named aepack |
| | 34 | test_al |
| | 35 | test_al skipped -- No module named al |
| | 36 | test_anydbm |
| | 37 | test_applesingle |
| | 38 | test_applesingle skipped -- No module named macostools |
| | 39 | test_array |
| | 40 | test_ast |
| | 41 | test_asynchat |
| | 42 | test_atexit |
| | 43 | test_audioop |
| | 44 | test_augassign |
| | 45 | test_base64 |
| | 46 | test_bastion |
| | 47 | test_bigaddrspace |
| | 48 | test_bigmem |
| | 49 | test_binascii |
| | 50 | test_binhex |
| | 51 | test_binop |
| | 52 | test_bisect |
| | 53 | test_bool |
| | 54 | test_bsddb |
| | 55 | test_bsddb skipped -- No module named _bsddb |
| | 56 | test_bsddb185 |
| | 57 | test_bsddb185 skipped -- No module named bsddb185 |
| | 58 | test_bsddb3 |
| | 59 | test_bsddb3 skipped -- Use of the `bsddb' resource not enabled |
| | 60 | test_bufio |
| | 61 | test_bz2 |
| | 62 | test_cProfile |
| | 63 | test_calendar |
| | 64 | test_call |
| | 65 | test_capi |
| | 66 | test_cd |
| | 67 | test_cd skipped -- No module named cd |
| | 68 | test_cfgparser |
| | 69 | test_cgi |
| | 70 | test_charmapcodec |
| | 71 | test_cl |
| | 72 | test_cl skipped -- No module named cl |
| | 73 | test_class |
| | 74 | test_cmath |
| | 75 | test_cmd_line |
| | 76 | test_code |
| | 77 | test_codeccallbacks |
| | 78 | test_codecencodings_cn |
| | 79 | test_codecencodings_hk |
| | 80 | test_codecencodings_jp |
| | 81 | test_codecencodings_kr |
| | 82 | test_codecencodings_tw |
| | 83 | test_codecmaps_cn |
| | 84 | test_codecmaps_cn skipped -- Use of the `urlfetch' resource not enabled |
| | 85 | test_codecmaps_hk |
| | 86 | test_codecmaps_hk skipped -- Use of the `urlfetch' resource not enabled |
| | 87 | test_codecmaps_jp |
| | 88 | test_codecmaps_jp skipped -- Use of the `urlfetch' resource not enabled |
| | 89 | test_codecmaps_kr |
| | 90 | test_codecmaps_kr skipped -- Use of the `urlfetch' resource not enabled |
| | 91 | test_codecmaps_tw |
| | 92 | test_codecmaps_tw skipped -- Use of the `urlfetch' resource not enabled |
| | 93 | test_codecs |
| | 94 | test_codeop |
| | 95 | test_coding |
| | 96 | test_coercion |
| | 97 | test_colorsys |
| | 98 | test_commands |
| | 99 | test_compare |
| | 100 | test_compile |
| | 101 | test_compiler |
| | 102 | test_complex |
| | 103 | test_complex_args |
| | 104 | test_contains |
| | 105 | test_contextlib |
| | 106 | test_cookie |
| | 107 | test_cookielib |
| | 108 | test_copy |
| | 109 | test_copy_reg |
| | 110 | test_cpickle |
| | 111 | test_crypt |
| | 112 | test_csv |
| | 113 | test_ctypes |
| | 114 | test_ctypes skipped -- No module named _ctypes |
| | 115 | test_curses |
| | 116 | test_curses skipped -- No module named _curses_panel |
| | 117 | test_datetime |
| | 118 | test_dbm |
| | 119 | test_dbm skipped -- No module named dbm |
| | 120 | test_decimal |
| | 121 | test_decorators |
| | 122 | test_defaultdict |
| | 123 | test_deque |
| | 124 | test_descr |
| | 125 | test_descrtut |
| | 126 | test_dict |
| | 127 | test_difflib |
| | 128 | test_dircache |
| | 129 | test test_dircache failed -- Traceback (most recent call last): |
| | 130 | File "/boot/home/Python-2.5.4-haiku-test/Lib/test/test_dircache.py", line 54, in test_listdir |
| | 131 | self.assertEquals(entries, ['test1']) |
| | 132 | AssertionError: [] != ['test1'] |
| | 133 | |
| | 134 | test_dis |
| | 135 | test_distutils |
| | 136 | test_dl |
| | 137 | test_dl skipped -- No module named dl |
| | 138 | test_dumbdbm |
| | 139 | test_dummy_thread |
| | 140 | test_dummy_threading |
| | 141 | test_email |
| | 142 | test_email_codecs |
| | 143 | test_email_renamed |
| | 144 | test_enumerate |
| | 145 | test_eof |
| | 146 | test_errno |
| | 147 | test_exception_variations |
| | 148 | test_extcall |
| | 149 | test_fcntl |
| | 150 | test_file |
| | 151 | test_filecmp |
| | 152 | test_fileinput |
| | 153 | test_float |
| | 154 | test_fnmatch |
| | 155 | test_fork1 |
| | 156 | test_format |
| | 157 | test_fpformat |
| | 158 | test_frozen |
| | 159 | test_funcattrs |
| | 160 | test_functools |
| | 161 | test_future |
| | 162 | test_gc |
| | 163 | test_gdbm |
| | 164 | test_gdbm skipped -- No module named gdbm |
| | 165 | test_generators |
| | 166 | /boot/home/Python-2.5.4-haiku-test/Lib/test/test_generators.py:1: DeprecationWarning: raising string exceptions is deprecated |
| | 167 | tutorial_tests = """ |
| | 168 | test_genexps |
| | 169 | test_getargs |
| | 170 | test_getargs2 |
| | 171 | test_getopt |
| | 172 | test_gettext |
| | 173 | test_gl |
| | 174 | test_gl skipped -- No module named gl |
| | 175 | test_glob |
| | 176 | test_global |
| | 177 | test_grp |
| | 178 | test_gzip |
| | 179 | test_hash |
| | 180 | test_hashlib |
| | 181 | test_heapq |
| | 182 | test_hexoct |
| | 183 | test_hmac |
| | 184 | test_hotshot |
| | 185 | test_htmllib |
| | 186 | test_htmlparser |
| | 187 | test_httplib |
| | 188 | test_imageop |
| | 189 | test_imaplib |
| | 190 | test_imgfile |
| | 191 | test_imgfile skipped -- No module named imgfile |
| | 192 | test_imp |
| | 193 | test_import |
| | 194 | test_importhooks |
| | 195 | test_index |
| | 196 | test_inspect |
| | 197 | test_ioctl |
| | 198 | test_isinstance |
| | 199 | test_iter |
| | 200 | test_iterlen |
| | 201 | test_itertools |
| | 202 | test_largefile |
| | 203 | test_linuxaudiodev |
| | 204 | test_linuxaudiodev skipped -- Use of the `audio' resource not enabled |
| | 205 | test_list |
| | 206 | test_locale |
| | 207 | test_locale skipped -- test locale not supported (tried en_US.UTF-8, en_US.US-ASCII, en_US) |
| | 208 | test_logging |
| | 209 | test_long |
| | 210 | test_long_future |
| | 211 | test_longexp |
| | 212 | test_macfs |
| | 213 | test_macfs skipped -- No module named macfs |
| | 214 | test_macostools |
| | 215 | test_macostools skipped -- No module named macostools |
| | 216 | test_macpath |
| | 217 | test_mailbox |
| | 218 | test test_mailbox failed -- errors occurred; run in verbose mode for details |
| | 219 | test_marshal |
| | 220 | test test_marshal failed -- Traceback (most recent call last): |
| | 221 | File "/boot/home/Python-2.5.4-haiku-test/Lib/test/test_marshal.py", line 95, in test_floats |
| | 222 | self.assertEqual(f, got) |
| | 223 | AssertionError: -7.9456894939000011e-241 != inf |
| | 224 | |
| | 225 | test_math |
| | 226 | test_md5 |
| | 227 | test_mhlib |
| | 228 | test test_mhlib failed -- Traceback (most recent call last): |
| | 229 | File "/boot/home/Python-2.5.4-haiku-test/Lib/test/test_mhlib.py", line 185, in test_listfolders |
| | 230 | eq(folders, tfolders) |
| | 231 | AssertionError: [] != ['deep', 'deep/f1', 'deep/f2', 'deep/f2/f3', 'inbox', 'wide'] |
| | 232 | |
| | 233 | test_mimetools |
| | 234 | test_mimetypes |
| | 235 | test_minidom |
| | 236 | test_mmap |
| | 237 | test_module |
| | 238 | test_multibytecodec |
| | 239 | test_multibytecodec_support |
| | 240 | test_multifile |
| | 241 | test_mutants |
| | 242 | test_netrc |
| | 243 | test_new |
| | 244 | test_nis |
| | 245 | test_nis skipped -- No module named nis |
| | 246 | test_normalization |
| | 247 | test_normalization skipped -- Use of the `urlfetch' resource not enabled |
| | 248 | test_ntpath |
| | 249 | test_old_mailbox |
| | 250 | test test_old_mailbox failed -- errors occurred; run in verbose mode for details |
| | 251 | test_openpty |
| | 252 | test_operator |
| | 253 | test_optparse |
| | 254 | test_os |
| | 255 | test_ossaudiodev |
| | 256 | test_ossaudiodev skipped -- Use of the `audio' resource not enabled |
| | 257 | test_parser |
| | 258 | test_peepholer |
| | 259 | test_pep247 |
| | 260 | test_pep263 |
| | 261 | test_pep277 |
| | 262 | test_pep277 skipped -- test works only on NT+ |
| | 263 | test_pep292 |
| | 264 | test_pep352 |
| | 265 | test_pickle |
| | 266 | test_pickletools |
| | 267 | test_pkg |
| | 268 | test_pkgimport |
| | 269 | test_platform |
| | 270 | test_plistlib |
| | 271 | test_plistlib skipped -- No module named plistlib |
| | 272 | test_poll |
| | 273 | test test_poll crashed -- <class 'select.error'>: (-2147483643, 'Invalid Argument') |
| | 274 | test_popen |
| | 275 | test_popen2 |
| | 276 | test_posix |
| | 277 | test test_posix failed -- errors occurred in test.test_posix.PosixTester |
| | 278 | test_posixpath |
| | 279 | test_pow |
| | 280 | test_pprint |
| | 281 | test_profile |
| | 282 | test_profilehooks |
| | 283 | test_pty |
| | 284 | test_pty skipped -- Pseudo-terminals (seemingly) not functional. |
| | 285 | test_pwd |
| | 286 | test_pyclbr |
| | 287 | test_pyexpat |
| | 288 | test_queue |
| | 289 | test_quopri |
| | 290 | test_random |
| | 291 | test test_random failed -- Traceback (most recent call last): |
| | 292 | File "/boot/home/Python-2.5.4-haiku-test/Lib/test/test_random.py", line 332, in test_referenceImplementation |
| | 293 | self.assertAlmostEqual(a,e,places=14) |
| | 294 | AssertionError: 0.081823493762449573 != -inf within 14 places |
| | 295 | |
| | 296 | test_re |
| | 297 | test_repr |
| | 298 | test_resource |
| | 299 | test test_mailbox failed -- errors occurred; run in verbose mode for details |
| | 300 | test_marshal |
| | 301 | test test_marshal failed -- Traceback (most recent call last): |
| | 302 | File "/boot/home/Python-2.5.4-haiku-test/Lib/test/test_marshal.py", line 95, in test_floats |
| | 303 | self.assertEqual(f, got) |
| | 304 | AssertionError: -7.9456894939000011e-241 != inf |
| | 305 | |
| | 306 | test_math |
| | 307 | test_md5 |
| | 308 | test_mhlib |
| | 309 | test test_mhlib failed -- Traceback (most recent call last): |
| | 310 | File "/boot/home/Python-2.5.4-haiku-test/Lib/test/test_mhlib.py", line 185, in test_listfolders |
| | 311 | eq(folders, tfolders) |
| | 312 | AssertionError: [] != ['deep', 'deep/f1', 'deep/f2', 'deep/f2/f3', 'inbox', 'wide'] |
| | 313 | |
| | 314 | test_mimetools |
| | 315 | test_mimetypes |
| | 316 | test_minidom |
| | 317 | test_mmap |
| | 318 | test_module |
| | 319 | test_multibytecodec |
| | 320 | test_multibytecodec_support |
| | 321 | test_multifile |
| | 322 | test_mutants |
| | 323 | test_netrc |
| | 324 | test_new |
| | 325 | test_nis |
| | 326 | test_nis skipped -- No module named nis |
| | 327 | test_normalization |
| | 328 | test_normalization skipped -- Use of the `urlfetch' resource not enabled |
| | 329 | test_ntpath |
| | 330 | test_old_mailbox |
| | 331 | test test_old_mailbox failed -- errors occurred; run in verbose mode for details |
| | 332 | test_openpty |
| | 333 | test_operator |
| | 334 | test_optparse |
| | 335 | test_os |
| | 336 | test_ossaudiodev |
| | 337 | test_ossaudiodev skipped -- Use of the `audio' resource not enabled |
| | 338 | test_parser |
| | 339 | test_peepholer |
| | 340 | test_pep247 |
| | 341 | test_pep263 |
| | 342 | test_pep277 |
| | 343 | test_pep277 skipped -- test works only on NT+ |
| | 344 | test_pep292 |
| | 345 | test_pep352 |
| | 346 | test_pickle |
| | 347 | test_pickletools |
| | 348 | test_pkg |
| | 349 | test_pkgimport |
| | 350 | test_platform |
| | 351 | test_plistlib |
| | 352 | test_plistlib skipped -- No module named plistlib |
| | 353 | test_poll |
| | 354 | test test_poll crashed -- <class 'select.error'>: (-2147483643, 'Invalid Argument') |
| | 355 | test_popen |
| | 356 | test_popen2 |
| | 357 | test_posix |
| | 358 | test test_posix failed -- errors occurred in test.test_posix.PosixTester |
| | 359 | test_posixpath |
| | 360 | test_pow |
| | 361 | test_pprint |
| | 362 | test_profile |
| | 363 | test_profilehooks |
| | 364 | test_pty |
| | 365 | test_pty skipped -- Pseudo-terminals (seemingly) not functional. |
| | 366 | test_pwd |
| | 367 | test_pyclbr |
| | 368 | test_pyexpat |
| | 369 | test_queue |
| | 370 | test_quopri |
| | 371 | test_random |
| | 372 | test test_random failed -- Traceback (most recent call last): |
| | 373 | File "/boot/home/Python-2.5.4-haiku-test/Lib/test/test_random.py", line 332, in test_referenceImplementation |
| | 374 | self.assertAlmostEqual(a,e,places=14) |
| | 375 | AssertionError: 0.081823493762449573 != -inf within 14 places |
| | 376 | |
| | 377 | test_re |
| | 378 | test_repr |
| | 379 | test_resource |
| | 380 | test test_mailbox failed -- errors occurred; run in verbose mode for details |
| | 381 | test_marshal |
| | 382 | test test_marshal failed -- Traceback (most recent call last): |
| | 383 | File "/boot/home/Python-2.5.4-haiku-test/Lib/test/test_marshal.py", line 95, in test_floats |
| | 384 | self.assertEqual(f, got) |
| | 385 | AssertionError: -7.9456894939000011e-241 != inf |
| | 386 | |
| | 387 | test_math |
| | 388 | test_md5 |
| | 389 | test_mhlib |
| | 390 | test test_mhlib failed -- Traceback (most recent call last): |
| | 391 | File "/boot/home/Python-2.5.4-haiku-test/Lib/test/test_mhlib.py", line 185, in test_listfolders |
| | 392 | eq(folders, tfolders) |
| | 393 | AssertionError: [] != ['deep', 'deep/f1', 'deep/f2', 'deep/f2/f3', 'inbox', 'wide'] |
| | 394 | |
| | 395 | test_mimetools |
| | 396 | test_mimetypes |
| | 397 | test_minidom |
| | 398 | test_mmap |
| | 399 | test_module |
| | 400 | test_multibytecodec |
| | 401 | Traceback (most recent call last): |
| | 402 | File "./Lib/test/regrtest.py", line 1384, in <module> |
| | 403 | main() |
| | 404 | File "./Lib/test/regrtest.py", line 368, in main |
| | 405 | huntrleaks) |
| | 406 | KeyboardInterrupt |
| | 407 | make: [test] Error 1 (ignored) |
| | 408 | |
| | 409 | ~/Python-2.5.4-haiku-test> |
| | 410 | }}} |
| | 411 | |