Opened 3 years ago

Closed 3 years ago

#63599 closed defect (duplicate)

python310 @3.10.0 build fails, does not run profiles on macOS 10.11.6 llvm-profdata problem? Does it require system llvm?

Reported by: snowflake (Dave Evans) Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version: 2.7.99
Keywords: Cc:
Port: python310

Description

python310 is a new port today. I have been building python310-devel for many months with no problems

This error is reported after running tests:

make[1]: Entering directory `/opt/local/var/macports/build/_Users_davidevans_macports_sources_github.com_macports_macports-ports_lang_python310/python310/work/Python-3.10.0'
/opt/local/bin/llvm-profdata merge -output=code.profclangd *.profclangr
warning: code-34741.profclangr: Unsupported instrumentation profile format version
warning: code-34774.profclangr: Unsupported instrumentation profile format version
warning: code-34776.profclangr: Unsupported instrumentation profile format version
warning: code-34778.profclangr: Unsupported instrumentation profile format version
warning: code-34780.profclangr: Unsupported instrumentation profile format version
<many more deleted>
error: No profiles could be merged.
make[1]: *** [build_all_merge_profile] Error 1

The buildbot is not complaining, but there is obviously something different about my system. What could it be? llvm -versions?

port select --list llvm Available versions for llvm:

mp-llvm-10 (active)

Change History (6)

comment:1 Changed 3 years ago by snowflake (Dave Evans)

I tried mp-llvm-12 but that did not work either.

/Library/Developer/CommandLineTools/usr/bin/make build_all_merge_profile
make[1]: Entering directory `/opt/local/var/macports/build/_Users_davidevans_macports_sources_github.com_macports_macports-ports_lang_python310/python310/work/Python-3.10.0'
/opt/local/bin/llvm-profdata merge -output=code.profclangd *.profclangr
warning: ignoring unknown option: -output=code.profclangd
error: cannot parse the debug map for 'merge': No such file or directory
make[1]: *** [build_all_merge_profile] Error 1
make[1]: Leaving directory `/opt/local/var/macports/build/_Users_davidevans_macports_sources_github.com_macports_macports-ports_lang_python310/python310/work/Python-3.10.0'
make: *** [profile-run-stamp] Error 2

comment:2 Changed 3 years ago by snowflake (Dave Evans)

I set port select --set llvm none and python310 now builds.

comment:3 Changed 3 years ago by snowflake (Dave Evans)

Summary: python310 @@3.10.0 builds but does not run profiles on macOS 10.11.6 llvm-profdata problem?python310 @3.10.0 builds but does not run profiles on macOS 10.11.6 llvm-profdata problem? Does it require system llvm?

comment:4 Changed 3 years ago by snowflake (Dave Evans)

Summary: python310 @3.10.0 builds but does not run profiles on macOS 10.11.6 llvm-profdata problem? Does it require system llvm?python310 @3.10.0 fails build, does not run profiles on macOS 10.11.6 llvm-profdata problem? Does it require system llvm?

comment:5 Changed 3 years ago by snowflake (Dave Evans)

Summary: python310 @3.10.0 fails build, does not run profiles on macOS 10.11.6 llvm-profdata problem? Does it require system llvm?python310 @3.10.0 build fails, does not run profiles on macOS 10.11.6 llvm-profdata problem? Does it require system llvm?

comment:6 Changed 3 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: assignedclosed
Note: See TracTickets for help on using tickets.