[MacPorts] #71730: Fails to build Python313 on Sequoia

MacPorts noreply at macports.org
Sun Jan 5 05:39:07 UTC 2025


#71730: Fails to build Python313 on Sequoia
-------------------------+--------------------
  Reporter:  mouse07410  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  python313   |
-------------------------+--------------------

Comment (by kencu):

 Man, my M1 Mac is ripping fast.

 Anyway, more bad news for you.

 I reinstalled openssl +legacy, and rebuilt python313, and had no errors at
 all.

 {{{
 % uname -a
 Darwin MacBookPro 24.2.0 Darwin Kernel Version 24.2.0: Fri Dec  6 19:01:59
 PST 2024; root:xnu-11215.61.5~2/RELEASE_ARM64_T6000 arm64
 }}}

 {{{
 % port -v installed | grep openssl | grep active
   openssl @3_21 (active) requested_variants='' platform='darwin 24'
 archs='arm64' date='2025-01-04T21:31:49-0800'
   openssl3 @3.4.0_0+legacy (active) requested_variants='+legacy'
 platform='darwin 24' archs='arm64' date='2025-01-04T21:31:43-0800'
 }}}

 {{{
 # Next, run the profile task to generate the profile information.
 LLVM_PROFILE_FILE="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python313/python313/work/Python-3.13.1/code-%p.profclangr"
 DYLD_FRAMEWORK_PATH=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python313/python313/work/Python-3.13.1
 ./python.exe -m test --pgo --timeout=
 Using random seed: 1735919212
 0:00:00 load avg: 5.27 Run 44 tests sequentially in a single process
 0:00:00 load avg: 5.27 [ 1/44] test_array
 0:00:00 load avg: 5.27 [ 2/44] test_base64
 0:00:00 load avg: 5.27 [ 3/44] test_binascii
 0:00:00 load avg: 5.27 [ 4/44] test_binop
 0:00:00 load avg: 5.27 [ 5/44] test_bisect
 0:00:00 load avg: 5.27 [ 6/44] test_bytes
 0:00:02 load avg: 4.93 [ 7/44] test_bz2
 0:00:02 load avg: 4.93 [ 8/44] test_cmath
 0:00:02 load avg: 4.93 [ 9/44] test_codecs
 0:00:03 load avg: 4.93 [10/44] test_collections
 0:00:03 load avg: 4.93 [11/44] test_complex
 0:00:03 load avg: 4.93 [12/44] test_dataclasses
 0:00:04 load avg: 4.93 [13/44] test_datetime
 0:00:07 load avg: 4.61 [14/44] test_decimal
 ------------------------------------------------------- NOTICE
 ------------------------------------------------------
 test_decimal may generate "malloc can't allocate region"
 warnings on macOS systems. This behavior is known. Do not
 report a bug unless tests are also failing.
 See https://github.com/python/cpython/issues/85100
 ---------------------------------------------------------------------------------------------------------------------
 0:00:08 load avg: 4.61 [15/44] test_difflib
 0:00:09 load avg: 4.61 [16/44] test_embed
 0:00:13 load avg: 4.32 [17/44] test_float
 0:00:13 load avg: 4.32 [18/44] test_fstring
 0:00:15 load avg: 4.32 [19/44] test_functools
 0:00:15 load avg: 4.32 [20/44] test_generators
 0:00:15 load avg: 4.32 [21/44] test_hashlib
 0:00:15 load avg: 4.32 [22/44] test_heapq
 0:00:16 load avg: 4.06 [23/44] test_int
 0:00:16 load avg: 4.06 [24/44] test_itertools
 0:00:17 load avg: 4.06 [25/44] test_json
 0:00:19 load avg: 4.06 [26/44] test_long
 0:00:20 load avg: 4.06 [27/44] test_lzma
 0:00:21 load avg: 3.81 [28/44] test_math
 0:00:22 load avg: 3.81 [29/44] test_memoryview
 0:00:22 load avg: 3.81 [30/44] test_operator
 0:00:22 load avg: 3.81 [31/44] test_ordered_dict
 0:00:22 load avg: 3.81 [32/44] test_patma
 0:00:22 load avg: 3.81 [33/44] test_pickle
 0:00:24 load avg: 3.81 [34/44] test_pprint
 0:00:25 load avg: 3.81 [35/44] test_re
 0:00:25 load avg: 3.81 [36/44] test_set
 0:00:27 load avg: 3.59 [37/44] test_sqlite3
 0:00:27 load avg: 3.59 [38/44] test_statistics
 0:00:30 load avg: 3.59 [39/44] test_str
 0:00:30 load avg: 3.59 [40/44] test_struct
 0:00:31 load avg: 3.38 [41/44] test_tabnanny
 0:00:31 load avg: 3.38 [42/44] test_time
 0:00:33 load avg: 3.38 [43/44] test_xml_etree
 0:00:33 load avg: 3.38 [44/44] test_xml_etree_c

 Total duration: 34.2 sec
 Total tests: run=9,394 skipped=198
 Total test files: run=44/44
 Result: SUCCESS
 }}}

 So far, it's still only your system that shows this issue. Unless you're
 holding out for an M2 being different enough from my M1 to cause the error
 (a real long shot).

-- 
Ticket URL: <https://trac.macports.org/ticket/71730#comment:25>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list