Issue44998
This issue tracker has been migrated to GitHub,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2021-08-25 10:09 by jett8998, last changed 2022-04-11 14:59 by admin. This issue is now closed.
Messages (2) | |||
---|---|---|---|
msg400250 - (view) | Author: 郑之为 (jett8998) | Date: 2021-08-25 10:09 | |
running build_scripts creating build/scripts-3.11 copying and adjusting /Users/jett/cpython/Tools/scripts/pydoc3 -> build/scripts-3.11 copying and adjusting /Users/jett/cpython/Tools/scripts/idle3 -> build/scripts-3.11 copying and adjusting /Users/jett/cpython/Tools/scripts/2to3 -> build/scripts-3.11 changing mode of build/scripts-3.11/pydoc3 from 644 to 755 changing mode of build/scripts-3.11/idle3 from 644 to 755 changing mode of build/scripts-3.11/2to3 from 644 to 755 renaming build/scripts-3.11/pydoc3 to build/scripts-3.11/pydoc3.11 renaming build/scripts-3.11/idle3 to build/scripts-3.11/idle3.11 renaming build/scripts-3.11/2to3 to build/scripts-3.11/2to3-3.11 touch profile-gen-stamp # Next, run the profile task to generate the profile information. /Library/Developer/CommandLineTools/usr/bin/make run_profile_task LLVM_PROFILE_FILE="code-%p.profclangr" ./python.exe -m test --pgo --timeout=1200 || true 0:00:00 load avg: 5.31 Run tests sequentially (timeout: 20 min) 0:00:00 load avg: 5.31 [ 1/44] test_array 0:00:00 load avg: 5.31 [ 2/44] test_base64 0:00:00 load avg: 5.31 [ 3/44] test_binascii -- test_base64 failed (env changed) 0:00:00 load avg: 5.31 [ 4/44] test_binop 0:00:00 load avg: 5.31 [ 5/44] test_bisect 0:00:00 load avg: 5.31 [ 6/44] test_bytes 0:00:02 load avg: 5.31 [ 7/44] test_bz2 -- test_bytes failed (env changed) 0:00:02 load avg: 5.31 [ 8/44] test_cmath 0:00:02 load avg: 5.31 [ 9/44] test_codecs 0:00:03 load avg: 5.31 [10/44] test_collections 0:00:03 load avg: 5.31 [11/44] test_complex 0:00:04 load avg: 5.31 [12/44] test_dataclasses 0:00:04 load avg: 5.31 [13/44] test_datetime 0:00:07 load avg: 4.97 [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 bpo-40928. ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ python.exe(34042,0x100a27d40) malloc: can't allocate region :*** mach_vm_map(size=842105263157903360, flags: 100) failed (error code=3) python.exe(34042,0x100a27d40) malloc: *** set a breakpoint in malloc_error_break to debug python.exe(34042,0x100a27d40) malloc: can't allocate region :*** mach_vm_map(size=842105263157903360, flags: 100) failed (error code=3) python.exe(34042,0x100a27d40) malloc: *** set a breakpoint in malloc_error_break to debug python.exe(34042,0x100a27d40) malloc: can't allocate region :*** mach_vm_map(size=421052631578951680, flags: 100) failed (error code=3) python.exe(34042,0x100a27d40) malloc: *** set a breakpoint in malloc_error_break to debug python.exe(34042,0x100a27d40) malloc: can't allocate region :*** mach_vm_map(size=421052631578951680, flags: 100) failed (error code=3) python.exe(34042,0x100a27d40) malloc: *** set a breakpoint in malloc_error_break to debug 0:00:09 load avg: 4.73 [15/44] test_difflib 0:00:10 load avg: 4.73 [16/44] test_embed test test_embed failed 0:00:12 load avg: 4.73 [17/44] test_float -- test_embed failed (33 failures) 0:00:12 load avg: 4.73 [18/44] test_fstring 0:00:13 load avg: 4.73 [19/44] test_functools 0:00:13 load avg: 4.73 [20/44] test_generators 0:00:13 load avg: 4.73 [21/44] test_hashlib 0:00:13 load avg: 4.73 [22/44] test_heapq 0:00:14 load avg: 4.73 [23/44] test_int 0:00:14 load avg: 4.59 [24/44] test_itertools 0:00:16 load avg: 4.59 [25/44] test_json 0:00:17 load avg: 4.59 [26/44] test_long -- test_json failed (env changed) 0:00:19 load avg: 4.59 [27/44] test_lzma 0:00:19 load avg: 4.59 [28/44] test_math -- test_lzma skipped 0:00:20 load avg: 4.30 [29/44] test_memoryview 0:00:21 load avg: 4.30 [30/44] test_operator 0:00:21 load avg: 4.30 [31/44] test_ordered_dict 0:00:21 load avg: 4.30 [32/44] test_patma 0:00:22 load avg: 4.30 [33/44] test_pickle 0:00:24 load avg: 4.04 [34/44] test_pprint 0:00:24 load avg: 4.04 [35/44] test_re 0:00:25 load avg: 4.04 [36/44] test_set 0:00:26 load avg: 4.04 [37/44] test_sqlite 0:00:26 load avg: 4.04 [38/44] test_statistics -- test_sqlite skipped 0:00:27 load avg: 4.04 [39/44] test_struct 0:00:28 load avg: 4.04 [40/44] test_tabnanny -- test_struct failed (env changed) 0:00:28 load avg: 4.04 [41/44] test_time -- test_tabnanny failed (env changed) 0:00:30 load avg: 3.88 [42/44] test_unicode 0:00:31 load avg: 3.88 [43/44] test_xml_etree -- test_unicode failed (env changed) 0:00:31 load avg: 3.88 [44/44] test_xml_etree_c Total duration: 32.5 sec Tests result: FAILURE /Library/Developer/CommandLineTools/usr/bin/make build_all_merge_profile /usr/local/bin/llvm-profdata merge -output=code.profclangd *.profclangr warning: code-34042.profclangr: unsupported instrumentation profile format version warning: code-34080.profclangr: unsupported instrumentation profile format version warning: code-34092.profclangr: unsupported instrumentation profile format version warning: code-34100.profclangr: unsupported instrumentation profile format version warning: code-34109.profclangr: unsupported instrumentation profile format version warning: code-34120.profclangr: unsupported instrumentation profile format version warning: code-34128.profclangr: unsupported instrumentation profile format version warning: code-34076.profclangr: unsupported instrumentation profile format version warning: code-34084.profclangr: unsupported instrumentation profile format version warning: code-34096.profclangr: unsupported instrumentation profile format version warning: code-34104.profclangr: unsupported instrumentation profile format version warning: code-34114.profclangr: unsupported instrumentation profile format version warning: code-34124.profclangr: unsupported instrumentation profile format version warning: code-34074.profclangr: unsupported instrumentation profile format version warning: code-34082.profclangr: unsupported instrumentation profile format version warning: code-34094.profclangr: unsupported instrumentation profile format version warning: code-34102.profclangr: unsupported instrumentation profile format version warning: code-34112.profclangr: unsupported instrumentation profile format version warning: code-34122.profclangr: unsupported instrumentation profile format version warning: code-34078.profclangr: unsupported instrumentation profile format version warning: code-34087.profclangr: unsupported instrumentation profile format version warning: code-34098.profclangr: unsupported instrumentation profile format version warning: code-34106.profclangr: unsupported instrumentation profile format version warning: code-34116.profclangr: unsupported instrumentation profile format version warning: code-34126.profclangr: unsupported instrumentation profile format version warning: code-34073.profclangr: unsupported instrumentation profile format version warning: code-34081.profclangr: unsupported instrumentation profile format version warning: code-34093.profclangr: unsupported instrumentation profile format version warning: code-34101.profclangr: unsupported instrumentation profile format version warning: code-34110.profclangr: unsupported instrumentation profile format version warning: code-34121.profclangr: unsupported instrumentation profile format version warning: code-34077.profclangr: unsupported instrumentation profile format version warning: code-34085.profclangr: unsupported instrumentation profile format version warning: code-34097.profclangr: unsupported instrumentation profile format version warning: code-34105.profclangr: unsupported instrumentation profile format version warning: code-34125.profclangr: unsupported instrumentation profile format version warning: code-34115.profclangr: unsupported instrumentation profile format version warning: code-34075.profclangr: unsupported instrumentation profile format version warning: code-34083.profclangr: unsupported instrumentation profile format version warning: code-34095.profclangr: unsupported instrumentation profile format version warning: code-34103.profclangr: unsupported instrumentation profile format version warning: code-34113.profclangr: unsupported instrumentation profile format version warning: code-34123.profclangr: unsupported instrumentation profile format version warning: code-34079.profclangr: unsupported instrumentation profile format version warning: code-34088.profclangr: unsupported instrumentation profile format version warning: code-34099.profclangr: unsupported instrumentation profile format version warning: code-34107.profclangr: unsupported instrumentation profile format version warning: code-34117.profclangr: unsupported instrumentation profile format version warning: code-34127.profclangr: unsupported instrumentation profile format version error: no profile can be merged make[1]: *** [build_all_merge_profile] Error 1 make: *** [profile-run-stamp] Error 2 this is the whole log, configure options: ./configure --prefix=/Users/jett/python311 --enable-optimizations --enable-loadable-sqlite-extensions --enable-ipv6 --enable-big-digits=30 --with-lto=full --with-experimental-isolated-subinterpreters --with-static-libpython --enable-universalsdk --with-universal-archs=universal2 |
|||
msg403285 - (view) | Author: Ned Deily (ned.deily) * | Date: 2021-10-06 04:21 | |
> /Library/Developer/CommandLineTools/usr/bin/make build_all_merge_profile > /usr/local/bin/llvm-profdata merge -output=code.profclangd *.profclangr It looks like your build was trying to use a mixture of llvm tools, probably clang from the Apple-supplied Command Line Tools and llvm from /usr/local/bin, perhaps from some package manager like Homebrew. Use one or the other; we strongly recommend building with, and only test with, the Apple-supplied tool chains from either the most Xcode or Command Line Tools release for each macOS release. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:59:49 | admin | set | github: 89161 |
2021-10-06 04:21:54 | ned.deily | set | status: open -> closed resolution: works for me messages: + msg403285 stage: resolved |
2021-08-27 21:43:52 | terry.reedy | set | nosy:
+ ronaldoussoren, ned.deily components: + macOS title: tests failed -> macOS build test failure |
2021-08-25 10:09:33 | jett8998 | create |