[MacPorts] #63506: python38 @3.8.12_1 does not build on Big Sur, macOS 11.5.2, because of error: Could not read profile code.profclangd: Unsupported instrumentation profile format version

MacPorts noreply at macports.org
Sat Sep 18 15:13:22 UTC 2021


#63506: python38 @3.8.12_1 does not build on Big Sur, macOS 11.5.2, because of
error: Could not read profile code.profclangd: Unsupported instrumentation
profile format version
-----------------------+----------------------
 Reporter:  ballapete  |      Owner:  (none)
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.7.1
 Keywords:  bigsur     |       Port:  python38
-----------------------+----------------------
 {{{
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python38/python38/work/Python-3.8.12'
 # This is an expensive target to build and it does not have proper
 # makefile dependency information.  So, we create a "stamp" file
 # to record its completion and avoid re-running it.
 touch profile-run-stamp
 Rebuilding with profile guided optimizations:
 rm -f profile-clean-stamp
 /Library/Developer/CommandLineTools/usr/bin/make build_all CFLAGS_NODIST="
 -fprofile-instr-use=code.profclangd" LDFLAGS_NODIST=""
 make[1]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python38/python38/work/Python-3.8.12'
 /usr/bin/clang -c -Wno-unused-result -Wsign-compare -Wunreachable-code
 -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch
 x86_64   -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-
 missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-
 declaration -fprofile-instr-use=code.profclangd -I./Include/internal  -I.
 -I./Include -I/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk
 -DPy_BUILD_CORE -o Programs/python.o ./Programs/python.c
 /usr/bin/clang -c -Wno-unused-result -Wsign-compare -Wunreachable-code
 -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch
 x86_64   -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-
 missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-
 declaration -fprofile-instr-use=code.profclangd -I./Include/internal  -I.
 -I./Include -I/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk
 -DPy_BUILD_CORE -o Parser/acceler.o Parser/acceler.c
 /usr/bin/clang -c -Wno-unused-result -Wsign-compare -Wunreachable-code
 -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch
 x86_64   -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-
 missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-
 declaration -fprofile-instr-use=code.profclangd -I./Include/internal  -I.
 -I./Include -I/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk
 -DPy_BUILD_CORE -o Parser/grammar1.o Parser/grammar1.c
 /usr/bin/clang -c -Wno-unused-result -Wsign-compare -Wunreachable-code
 -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch
 x86_64   -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-
 missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-
 declaration -fprofile-instr-use=code.profclangd -I./Include/internal  -I.
 -I./Include -I/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk
 -DPy_BUILD_CORE -o Parser/listnode.o Parser/listnode.c
 /usr/bin/clang -c -Wno-unused-result -Wsign-compare -Wunreachable-code
 -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch
 x86_64   -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-
 missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-
 declaration -fprofile-instr-use=code.profclangd -I./Include/internal  -I.
 -I./Include -I/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk
 -DPy_BUILD_CORE -o Parser/node.o Parser/node.c
 /usr/bin/clang -c -Wno-unused-result -Wsign-compare -Wunreachable-code
 -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch
 x86_64   -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-
 missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-
 declaration -fprofile-instr-use=code.profclangd -I./Include/internal  -I.
 -I./Include -I/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk
 -DPy_BUILD_CORE -o Parser/parser.o Parser/parser.c
 /usr/bin/clang -c -Wno-unused-result -Wsign-compare -Wunreachable-code
 -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch
 x86_64   -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-
 missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-
 declaration -fprofile-instr-use=code.profclangd -I./Include/internal  -I.
 -I./Include -I/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk
 -DPy_BUILD_CORE -o Parser/token.o Parser/token.c
 /usr/bin/clang -c -Wno-unused-result -Wsign-compare -Wunreachable-code
 -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch
 x86_64   -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-
 missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-
 declaration -fprofile-instr-use=code.profclangd -I./Include/internal  -I.
 -I./Include -I/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk
 -DPy_BUILD_CORE -o Parser/myreadline.o Parser/myreadline.c
 /usr/bin/clang -c -Wno-unused-result -Wsign-compare -Wunreachable-code
 -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch
 x86_64   -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-
 missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-
 declaration -fprofile-instr-use=code.profclangd -I./Include/internal  -I.
 -I./Include -I/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk
 -DPy_BUILD_CORE -o Parser/parsetok.o Parser/parsetok.c
 /usr/bin/clang -c -Wno-unused-result -Wsign-compare -Wunreachable-code
 -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch
 x86_64   -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-
 missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-
 declaration -fprofile-instr-use=code.profclangd -I./Include/internal  -I.
 -I./Include -I/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk
 -DPy_BUILD_CORE -o Parser/tokenizer.o Parser/tokenizer.c
 /usr/bin/clang -c -Wno-unused-result -Wsign-compare -Wunreachable-code
 -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch
 x86_64   -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-
 missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-
 declaration -fprofile-instr-use=code.profclangd -I./Include/internal  -I.
 -I./Include -I/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk
 -DPy_BUILD_CORE -o Objects/abstract.o Objects/abstract.c
 /usr/bin/clang -c -Wno-unused-result -Wsign-compare -Wunreachable-code
 -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch
 x86_64   -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-
 missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-
 declaration -fprofile-instr-use=code.profclangd -I./Include/internal  -I.
 -I./Include -I/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk
 -DPy_BUILD_CORE -o Objects/accu.o Objects/accu.c
 error: Could not read profile code.profclangd: Unsupported instrumentation
 profile format version
 error: Could not read profile code.profclangd: Unsupported instrumentation
 profile format version
 error: Could not read profile code.profclangd: Unsupported instrumentation
 profile format version
 error: error: Could not read profile code.profclangd: Unsupported
 instrumentation profile format versionCould not read profile
 code.profclangd: Unsupported instrumentation profile format version

 error: Could not read profile code.profclangd: Unsupported instrumentation
 profile format version
 error: Could not read profile code.profclangd: Unsupported instrumentation
 profile format version
 error: Could not read profile code.profclangd: Unsupported instrumentation
 profile format version
 error: Could not read profile code.profclangd: Unsupported instrumentation
 profile format version
 error: Could not read profile code.profclangd: Unsupported instrumentation
 profile format version
 error: Could not read profile code.profclangd: Unsupported instrumentation
 profile format version
 error: Could not read profile code.profclangd: Unsupported instrumentation
 profile format version
 1 error generated.
 1 error generated.
 1 error generated.
 1 error generated.
 1 error generated.
 1 error generated.
 make[1]: *** [Parser/listnode.o] Error 1
 make[1]: *** Waiting for unfinished jobs....
 make[1]: *** [Parser/grammar1.o] Error 1
 1 error generated.
 make[1]: *** [Objects/accu.o] Error 1
 make[1]: *** [Parser/acceler.o] Error 1
 make[1]: *** [Parser/parsetok.o] Error 1
 make[1]: *** [Programs/python.o] Error 1
 1 error generated.
 make[1]: *** [Parser/node.o] Error 1
 make[1]: *** [Parser/myreadline.o] Error 1
 1 error generated.
 1 error generated.
 make[1]: *** [Parser/parser.o] Error 1
 1 error generated.
 make[1]: *** [Parser/token.o] Error 1
 make[1]: *** [Parser/tokenizer.o] Error 1
 1 error generated.
 make[1]: *** [Objects/abstract.o] Error 1
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python38/python38/work/Python-3.8.12'
 make: *** [profile-opt] Error 2
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python38/python38/work/Python-3.8.12'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python38/python38/work/Python-3.8.12"
 && /usr/bin/make -j12 -w all
 Exit code: 2
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/63506>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list