[MacPorts] #67770: py310-pytorch @2.0.0_2: error: unknown token in expression (was: py310-pytorch @2.0.0_2 failed to build)

MacPorts noreply at macports.org
Wed Jul 19 20:15:11 UTC 2023


#67770: py310-pytorch @2.0.0_2: error: unknown token in expression
-------------------------+---------------------
  Reporter:  taddymack   |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.8.1
Resolution:              |   Keywords:  ventura
      Port:  py-pytorch  |
-------------------------+---------------------
Changes (by ryandesign):

 * keywords:  Ventura 13.4.1 => ventura
 * port:  py310-pytorch => py-pytorch


Old description:

> Failed to build py310-pytorch: command execution failed
> Error code: CHILDSTATUS 31344 1
> Backtrace: command execution failed
>     while executing
> "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
>     invoked from within
> "command_exec -callback portprogress::target_progress_callback build"
>     (procedure "portbuild::build_main" line 8)
>     invoked from within
> "$procedure $targetname"

New description:

 {{{
 Failed to build py310-pytorch: command execution failed
 Error code: CHILDSTATUS 31344 1
 Backtrace: command execution failed
     while executing
 "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
     invoked from within
 "command_exec -callback portprogress::target_progress_callback build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
 "$procedure $targetname"
 }}}

--

Comment:

 The errors in the log are:

 {{{
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 pytorch/py310-pytorch/work/pytorch-2.0.0/third_party/fbgemm/src/FbgemmFP16UKernelsAvx2.cc:16:8:
 error: unknown token in expression
       ".intel_syntax noprefix\t\n"
        ^
 <inline asm>:2:18: note: instantiated into assembly here
         mov [rbp - 48], %r14
                         ^
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 pytorch/py310-pytorch/work/pytorch-2.0.0/third_party/fbgemm/src/FbgemmFP16UKernelsAvx2.cc:188:8:
 error: unknown token in expression
       ".intel_syntax noprefix\t\n"
        ^
 <inline asm>:2:18: note: instantiated into assembly here
         mov [rbp - 48], %r14
                         ^
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 pytorch/py310-pytorch/work/pytorch-2.0.0/third_party/fbgemm/src/FbgemmFP16UKernelsAvx2.cc:386:8:
 error: unknown token in expression
       ".intel_syntax noprefix\t\n"
        ^
 <inline asm>:2:18: note: instantiated into assembly here
         mov [rbp - 48], %r14
                         ^
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 pytorch/py310-pytorch/work/pytorch-2.0.0/third_party/fbgemm/src/FbgemmFP16UKernelsAvx2.cc:548:8:
 error: unknown token in expression
       ".intel_syntax noprefix\t\n"
        ^
 <inline asm>:2:18: note: instantiated into assembly here
         mov [rbp - 48], %r14
                         ^
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 pytorch/py310-pytorch/work/pytorch-2.0.0/third_party/fbgemm/src/FbgemmFP16UKernelsAvx2.cc:729:8:
 error: unknown token in expression
       ".intel_syntax noprefix\t\n"
        ^
 <inline asm>:2:18: note: instantiated into assembly here
         mov [rbp - 48], %r14
                         ^
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 pytorch/py310-pytorch/work/pytorch-2.0.0/third_party/fbgemm/src/FbgemmFP16UKernelsAvx2.cc:929:8:
 error: unknown token in expression
       ".intel_syntax noprefix\t\n"
        ^
 <inline asm>:2:18: note: instantiated into assembly here
         mov [rbp - 48], %r14
                         ^
 6 errors generated.
 }}}

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


More information about the macports-tickets mailing list