Opened 6 months ago
Last modified 3 months ago
#71596 new defect
py312-pytorch @2.3.0_0+mps build fails on MacOS Sequoia 15.2 on M3 MacBook Pro
Reported by: | jhelm (John Helm) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.10.5 |
Keywords: | sequoia arm64 | Cc: | essandess (Steve Smith), dblark |
Port: | py-pytorch |
Description (last modified by jmroot (Joshua Root))
Shell Cmd: sudo port -c install py312-pytorch
Log extract with error:
<many messages> .... :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-pytorch/py39-pytorch/work/pytorch-2.3.0/third_party/googletest/googlemock/include/gmock/internal/gmock-internal-utils.h:405:37: error: no template named 'IndexSequence'; did you mean 'std::index_sequence'? :info:build 405 | auto ApplyImpl(F&& f, Tuple&& args, IndexSequence<Idx...>) -> decltype( :info:build | ^~~~~~~~~~~~~ :info:build | std::index_sequence <19 more errors> :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-pytorch/py39-pytorch/work/pytorch-2.3.0/third_party/googletest/googlemock/include/gmock/gmock-actions.h:1507:26: warning: unused parameter 'arg' [-Wunused-parameter] :info:build 1507 | R operator()(Args&&... arg) const { :info:build | ^ :info:build fatal error: too many errors emitted, stopping now [-ferror-limit=] :info:build 2 warnings and 20 errors generated.
Full log attached
Attachments (1)
Change History (9)
Changed 6 months ago by jhelm (John Helm)
comment:1 Changed 6 months ago by jhelm (John Helm)
Note: this fails with the same error for both p39-pytorch and p312-pytorch.
Thank you for all you people do.
comment:2 Changed 6 months ago by jmroot (Joshua Root)
Cc: | essandess added |
---|---|
Description: | modified (diff) |
Keywords: | sequoia arm64 added; pytorch MacOS Sequoia Arm MacBook Pro M3 removed |
Port: | py-pytorch added; py312-pytorch py-sentence-transformers removed |
Summary: | port -c install py312-pytorch fails on MacOS Sequoia 15.2 on M3 MacBook Pro - too many errors attempting to compile → py312-pytorch @2.3.0_0+mps build fails on MacOS Sequoia 15.2 on M3 MacBook Pro |
comment:3 Changed 6 months ago by jhelm (John Helm)
Investigating more (apologies, I'm unfamiliar with how MacPorts works)... I have observed that the three source archives for the py-pytorch archives do not have copies for py312--pytorch.
Continue? [Y/n]: ---> Fetching archive for py312-pytorch ---> Attempting to fetch py312-pytorch-2.3.0_0+mps.darwin_24.arm64.tbz2 from https://packages.macports.org/py312-pytorch ---> Attempting to fetch py312-pytorch-2.3.0_0+mps.darwin_24.arm64.tbz2 from https://mirrors.mit.edu/macports/packages/py312-pytorch ---> Attempting to fetch py312-pytorch-2.3.0_0+mps.darwin_24.arm64.tbz2 from http://bos.us.packages.macports.org/py312-pytorch
See attached screenshot for example.
Note!!! I just tried to install gnuplot and observed the same problem, the darwon_24.arm64 packages are not in these repositories.
comment:5 Changed 6 months ago by ryandesign (Ryan Carsten Schmidt)
There are no binaries for any port for macOS 15 on arm64 yet. I haven't set up that build machine yet. This shouldn't be a problem. It should be able to build from source. If that fails, it will be investigated.
comment:7 Changed 3 months ago by dblark
Same problem here. A related issue: https://github.com/ros-industrial/ros_industrial_cmake_boilerplate/issues/54
comment:8 Changed 3 months ago by dblark
Cc: | dblark added |
---|
Log file