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

MacPorts noreply at macports.org
Fri May 7 23:49:59 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
 Keywords:              |       Port:  rav1e
------------------------+--------------------
 {{{
 port outdated; port installed legacy-support and active ; port installed
 rust and active; sudo port -kvd install rav1e
 No installed ports are outdated.
 The following ports are currently installed:
   legacy-support @1.0.1_0 (active)
 The following ports are currently installed:
   rust @1.52.0_0 (active)
 ...
 --->  Attempting to fetch rav1e-0.4.1.tar.gz from
 https://distfiles.macports.org/cargo-crates
 ...
 Compiling noop_proc_macro v0.3.0
 error: linking with `/opt/MacPorts/libexec/rust-compiler-wrap/bin/ld-rust`
 failed: exit code: 1
 ...
  = 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: could not compile `noop_proc_macro`

 To learn more, run the command again with --verbose.
 warning: build failed, waiting for other jobs to finish...
 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 with debug information'''.

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


More information about the macports-tickets mailing list