Opened 4 years ago

Last modified 2 years ago

#62836 closed defect

rav1e @0.4.1 error: Undefined symbols for architecture x86_64: "_linkat" — at Initial Version

Reported by: cave-canem Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.99
Keywords: Cc: cjones051073 (Chris Jones), MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: rav1e

Description

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.

Change History (1)

Changed 4 years ago by cave-canem

Attachment: main.log.tar.xz added

main.log

Note: See TracTickets for help on using tickets.