[MacPorts] #62836: rav1e @0.4.1 error: Undefined symbols for architecture x86_64: "_linkat"

MacPorts noreply at macports.org
Sun May 9 15:10:03 UTC 2021


#62836: rav1e @0.4.1 error: Undefined symbols for architecture x86_64: "_linkat"
-------------------------+--------------------
  Reporter:  cave-canem  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.6.99
Resolution:              |   Keywords:
      Port:  rav1e       |
-------------------------+--------------------

Comment (by cave-canem):

 Trying to build "rav1e" with "rust-compiler-wrap @ 1.52.0_1":


 {{{
 sudo port -vd install rav1e
 ...
 DEBUG: rust-compiler-wrap 1.52.0_2 exists in the ports tree
 DEBUG: rust-compiler-wrap 1.52.0_2  is the latest installed
 DEBUG: rust-compiler-wrap 1.52.0_1  is active
 ...
 Building pkg-config file
     Building header file using cbindgen
 fatal runtime error: failed to initiate panic, error 5
 Command failed: /opt/MacPorts/bin/cargo cbuild --release --frozen --prefix
 /opt/MacPorts --destdir /opt/MacPorts/var/macports/build/_opt_macports-
 ports_multimedia_rav1e/rav1e/work/destroot
 Killed by signal: 6
 Error: Failed to build rav1e: command execution failed
 DEBUG: Error code: NONE
 DEBUG: Backtrace: command execution failed
     while executing
 "$post $targetname"
 Error: See /opt/MacPorts/var/macports/logs/_opt_macports-
 ports_multimedia_rav1e/rav1e/main.log for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 Error: Processing of port rav1e failed
 }}}

 '''See attached log file "rav1e_with_rust-compiler-
 wrap_1.52.0_1.main.log.tar.xz" with debug information'''.

 Trying to build "rav1e" with "rust-compiler-wrap @ 1.52.0_2":

 {{{
 sudo port -vd install rav1e
 ...
 DEBUG: rust-compiler-wrap 1.52.0_2 exists in the ports tree
 DEBUG: rust-compiler-wrap 1.52.0_2  is the latest installed
 DEBUG: rust-compiler-wrap 1.52.0_2  is active
 ...
  = note: Undefined symbols for architecture x86_64:
             "_linkat", referenced from:
                 std::sys::unix::fs::link::h5d728007969d6342 in libstd-
 85717d025629e453.rlib(std-85717d025629e453.std.7r7pgl85-cgu.9.rcgu.o)
           ld: symbol(s) not found for architecture x86_64
           clang: error: linker command failed with exit code 1 (use -v to
 see invocation)


 error: aborting due to previous error

 Error: CliError { error: Some(build failed), exit_code: 101 }
 Command failed: /opt/MacPorts/bin/cargo cbuild --release --frozen --prefix
 /opt/MacPorts --destdir /opt/MacPorts/var/macports/build/_opt_macports-
 ports_multimedia_rav1e/rav1e/work/destroot
 Exit code: 1
 Error: Failed to build rav1e: command execution failed
 DEBUG: Error code: NONE
 DEBUG: Backtrace: command execution failed
     while executing
 "$post $targetname"
 Error: See /opt/MacPorts/var/macports/logs/_opt_macports-
 ports_multimedia_rav1e/rav1e/main.log for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 Error: Processing of port rav1e failed
 }}}

 '''See attached log file "rav1e_with_rust-compiler-
 wrap_1.52.0_2.main.log.tar.xz" with debug information'''.

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


More information about the macports-tickets mailing list