Opened 15 months ago

Closed 15 months ago

Last modified 15 months ago

#68098 closed defect (duplicate)

rav1e: compile fails on Big Sur with undefined _iconv symbol

Reported by: blair (Blair Zajac) Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc:
Port: rav1e

Description

I'm seeing this on Big Sur.

     Running `/opt/local/bin/rustc --crate-name build_script_build --edition=2021 build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C split-debuginfo=unpacked -C debuginfo=2 -C debug-assertions=off --cfg 'feature="asm"' --cfg 'feature="av-metrics"' --cfg 'feature="binaries"' --cfg 'feature="capi"' --cfg 'feature="cc"' --cfg 'feature="clap"' --cfg 'feature="clap_complete"' --cfg 'feature="console"' --cfg 'feature="default"' --cfg 'feature="fern"' --cfg 'feature="git_version"' --cfg 'feature="ivf"' --cfg 'feature="nasm-rs"' --cfg 'feature="nom"' --cfg 'feature="scan_fmt"' --cfg 'feature="signal-hook"' --cfg 'feature="signal_support"' --cfg 'feature="threading"' --cfg 'feature="y4m"' -C metadata=428a4cea395b00d1 -C extra-filename=-428a4cea395b00d1 --out-dir /opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/build/rav1e-428a4cea395b00d1 -C linker=/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/compwrap/ld/usr/bin/clang -C incremental=/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/incremental -L dependency=/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/deps --extern built=/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/deps/libbuilt-b2888d2248b42aa6.rlib --extern cc=/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/deps/libcc-4a788e7ca37c2cfb.rlib --extern nasm_rs=/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/deps/libnasm_rs-5a4186c37152fb74.rlib --extern rustc_version=/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/deps/librustc_version-29c9222ca34e9762.rlib -L native=/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/build/libgit2-sys-f77c15b84a35bb38/out/build -L native=/opt/local/lib`
       Fresh clap v4.0.32
       Fresh nom v7.1.3
       Fresh arrayvec v0.7.2
       Fresh num-rational v0.4.1
       Fresh signal-hook-registry v1.4.1
       Fresh lazy_static v1.4.0
       Fresh unicode-width v0.1.10
       Fresh lab v0.11.0
       Fresh bitstream-io v1.6.0
       Fresh paste v1.0.12
       Fresh clap_complete v4.0.7
       Fresh signal-hook v0.3.15
       Fresh av1-grain v0.2.2
       Fresh av-metrics v0.9.0
       Fresh console v0.15.5
       Fresh ivf v0.1.2 (/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/ivf)
       Fresh fern v0.6.2
       Fresh maybe-rayon v0.1.1
       Fresh arg_enum_proc_macro v0.3.2
       Fresh simd_helpers v0.1.0
       Fresh scan_fmt v0.2.6
       Fresh y4m v0.8.0
error: linking with `/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/compwrap/ld/usr/bin/clang` failed: exit status: 1
  |
  = note: LC_ALL="C" PATH="/opt/local/lib/rustlib/x86_64-apple-darwin/bin:/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin" VSLANG="1033" ZERO_AR_DATE="1" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/compwrap/ld/usr/bin/clang" "-arch" "x86_64" "-m64" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/.tmp/rustcAagg7l/symbols.o" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/build/rav1e-428a4cea395b00d1/build_script_build-428a4cea395b00d1.11jpv22jwq3gm1et.rcgu.o" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/build/rav1e-428a4cea395b00d1/build_script_build-428a4cea395b00d1.1o938csv9sxubisu.rcgu.o" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/build/rav1e-428a4cea395b00d1/build_script_build-428a4cea395b00d1.1vaftkda42l85q5b.rcgu.o" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/build/rav1e-428a4cea395b00d1/build_script_build-428a4cea395b00d1.1wikg0q8pieobn31.rcgu.o" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/build/rav1e-428a4cea395b00d1/build_script_build-428a4cea395b00d1.1wwndbhqonmqpcum.rcgu.o" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/build/rav1e-428a4cea395b00d1/build_script_build-428a4cea395b00d1.1ykr4lk5gze8439v.rcgu.o" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/build/rav1e-428a4cea395b00d1/build_script_build-428a4cea395b00d1.243yae0li209vxjd.rcgu.o" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/build/rav1e-428a4cea395b00d1/build_script_build-428a4cea395b00d1.28ec1wb19oui8i6n.rcgu.o" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/build/rav1e-428a4cea395b00d1/build_script_build-428a4cea395b00d1.2iy8sdsiksl78dkv.rcgu.o" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/build/rav1e-428a4cea395b00d1/build_script_build-428a4cea395b00d1.2mb09gk6gvauqo0d.rcgu.o" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/build/rav1e-428a4cea395b00d1/build_script_build-428a4cea395b00d1.2nxkvfwxepmlm1dg.rcgu.o" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/build/rav1e-428a4cea395b00d1/build_script_build-428a4cea395b00d1.2sy7k8oi2xvwbw0a.rcgu.o" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/build/rav1e-428a4cea395b00d1/build_script_build-428a4cea395b00d1.2u0bcw28enxre6jo.rcgu.o" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/build/rav1e-428a4cea395b00d1/build_script_build-428a4cea395b00d1.2xq98yxg8a7viap0.rcgu.o" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/build/rav1e-428a4cea395b00d1/build_script_build-428a4cea395b00d1.3330s6iycoiwywje.rcgu.o" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/build/rav1e-428a4cea395b00d1/build_script_build-428a4cea395b00d1.3a75ix681uej8blh.rcgu.o" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/build/rav1e-428a4cea395b00d1/build_script_build-428a4cea395b00d1.3acr0i2qmssgrgg2.rcgu.o" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/build/rav1e-428a4cea395b00d1/build_script_build-428a4cea395b00d1.3crv7dlx5yeok99z.rcgu.o" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/build/rav1e-428a4cea395b00d1/build_script_build-428a4cea395b00d1.3gf4y0a5zkp55lgu.rcgu.o" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/build/rav1e-428a4cea395b00d1/build_script_build-428a4cea395b00d1.4107p1572z64rmzi.rcgu.o" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/build/rav1e-428a4cea395b00d1/build_script_build-428a4cea395b00d1.45g0q33tl2822kun.rcgu.o" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/build/rav1e-428a4cea395b00d1/build_script_build-428a4cea395b00d1.47lzgm3pciy3rylp.rcgu.o" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/build/rav1e-428a4cea395b00d1/build_script_build-428a4cea395b00d1.4a1r6c1sv9f71n6b.rcgu.o" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/build/rav1e-428a4cea395b00d1/build_script_build-428a4cea395b00d1.4a3g1ijswpud5xx3.rcgu.o" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/build/rav1e-428a4cea395b00d1/build_script_build-428a4cea395b00d1.4krnlnxyduix07dk.rcgu.o" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/build/rav1e-428a4cea395b00d1/build_script_build-428a4cea395b00d1.4pc1pfjg9e4ufyod.rcgu.o" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/build/rav1e-428a4cea395b00d1/build_script_build-428a4cea395b00d1.58d57szfm2ebv98z.rcgu.o" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/build/rav1e-428a4cea395b00d1/build_script_build-428a4cea395b00d1.5dl773vby6dqpztw.rcgu.o" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/build/rav1e-428a4cea395b00d1/build_script_build-428a4cea395b00d1.9t7ucmoohwb1dnp.rcgu.o" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/build/rav1e-428a4cea395b00d1/build_script_build-428a4cea395b00d1.ygavqsvozqtnai.rcgu.o" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/build/rav1e-428a4cea395b00d1/build_script_build-428a4cea395b00d1.2ij9awfpihjz6nnh.rcgu.o" "-L" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/deps" "-L" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/build/libgit2-sys-f77c15b84a35bb38/out/build" "-L" "/opt/local/lib" "-L" "/opt/local/lib/rustlib/x86_64-apple-darwin/lib" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/deps/libbuilt-b2888d2248b42aa6.rlib" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/deps/libcargo_lock-5612e86303a3708e.rlib" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/deps/libtoml-d681969bc46bfde0.rlib" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/deps/libgit2-2a53ecd00575686e.rlib" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/deps/liburl-d8116d9fbafd7971.rlib" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/deps/libidna-61b91faa47c8e8e1.rlib" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/deps/libunicode_normalization-cb61bb6e6dabd625.rlib" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/deps/libtinyvec-1d95b54386af3cef.rlib" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/deps/libtinyvec_macros-7c14db655d952726.rlib" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/deps/libunicode_bidi-2f8c36c164eb7963.rlib" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/deps/libform_urlencoded-a981b70e2d44d3f1.rlib" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/deps/libpercent_encoding-d80b0068f43ec35f.rlib" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/deps/liblog-d28bb44c837e6bc4.rlib" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/deps/liblibgit2_sys-3ce22fb5726977d2.rlib" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/deps/liblibz_sys-95a90f0960744e01.rlib" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/deps/libbitflags-f36be635590a9334.rlib" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/deps/libcc-4a788e7ca37c2cfb.rlib" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/deps/libjobserver-93b84225ef59e12d.rlib" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/deps/libnasm_rs-5a4186c37152fb74.rlib" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/deps/librayon-d0644a6ed179f91e.rlib" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/deps/librayon_core-58176d5456d56af0.rlib" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/deps/libnum_cpus-1b5e3afa4ae4baea.rlib" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/deps/liblibc-a26e18e3f51ca40a.rlib" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/deps/libcrossbeam_deque-e7ed3cde3b7086e8.rlib" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/deps/libcrossbeam_epoch-b0e542d5a33644cd.rlib" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/deps/libmemoffset-d0ceead9cd2c938c.rlib" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/deps/libscopeguard-50401024b737ee64.rlib" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/deps/libcrossbeam_channel-c148aa48f64d8ab1.rlib" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/deps/libcrossbeam_utils-f975836ccca9ed26.rlib" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/deps/libcfg_if-6b6fd8c6aa77d30d.rlib" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/deps/libeither-6e470ed720a21b6e.rlib" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/deps/librustc_version-29c9222ca34e9762.rlib" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/deps/libsemver-cde57c7780002b8a.rlib" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/deps/libserde-1ac7624394dbdc10.rlib" "/opt/local/lib/rustlib/x86_64-apple-darwin/lib/libstd-6e144352e63f8e63.rlib" "/opt/local/lib/rustlib/x86_64-apple-darwin/lib/libpanic_unwind-73110a9e00b33804.rlib" "/opt/local/lib/rustlib/x86_64-apple-darwin/lib/libobject-6e0d225e0b59465b.rlib" "/opt/local/lib/rustlib/x86_64-apple-darwin/lib/libmemchr-e834f6c3318c3ae0.rlib" "/opt/local/lib/rustlib/x86_64-apple-darwin/lib/libaddr2line-0774412b31fb865b.rlib" "/opt/local/lib/rustlib/x86_64-apple-darwin/lib/libgimli-9be67039c7c0ad73.rlib" "/opt/local/lib/rustlib/x86_64-apple-darwin/lib/librustc_demangle-0c87a9cf36602268.rlib" "/opt/local/lib/rustlib/x86_64-apple-darwin/lib/libstd_detect-3e52fb7b6212a0db.rlib" "/opt/local/lib/rustlib/x86_64-apple-darwin/lib/libhashbrown-1b88a67d7ca94382.rlib" "/opt/local/lib/rustlib/x86_64-apple-darwin/lib/librustc_std_workspace_alloc-1fb680d42f087070.rlib" "/opt/local/lib/rustlib/x86_64-apple-darwin/lib/libminiz_oxide-5231a04ecbdca38e.rlib" "/opt/local/lib/rustlib/x86_64-apple-darwin/lib/libadler-f4e256bea05df849.rlib" "/opt/local/lib/rustlib/x86_64-apple-darwin/lib/libunwind-a97687f504a7f782.rlib" "/opt/local/lib/rustlib/x86_64-apple-darwin/lib/libcfg_if-4e78a3e8a42c678b.rlib" "/opt/local/lib/rustlib/x86_64-apple-darwin/lib/liblibc-d2dc713afe949f24.rlib" "/opt/local/lib/rustlib/x86_64-apple-darwin/lib/liballoc-4fbdb29213cee7ff.rlib" "/opt/local/lib/rustlib/x86_64-apple-darwin/lib/librustc_std_workspace_core-dccb84d89e450d59.rlib" "/opt/local/lib/rustlib/x86_64-apple-darwin/lib/libcore-87cd034341ab9d63.rlib" "/opt/local/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-4cfe74f3d45adfaa.rlib" "-liconv" "-framework" "Security" "-framework" "CoreFoundation" "-lz" "-liconv" "-lSystem" "-lc" "-lm" "-L" "/opt/local/lib/rustlib/x86_64-apple-darwin/lib" "-o" "/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/build/rav1e-428a4cea395b00d1/build_script_build-428a4cea395b00d1" "-Wl,-dead_strip" "-nodefaultlibs"
  = note: Undefined symbols for architecture x86_64:
            "_iconv", referenced from:
                _git_fs_path_iconv in liblibgit2_sys-3ce22fb5726977d2.rlib(fs_path.o)
               (maybe you meant: _git_fs_path_iconv_clear, _git_fs_path_iconv_init_precompose , _git_fs_path_iconv )
            "_iconv_close", referenced from:
                _git_fs_path_iconv_clear in liblibgit2_sys-3ce22fb5726977d2.rlib(fs_path.o)
            "_iconv_open", referenced from:
                _git_fs_path_iconv_init_precompose in liblibgit2_sys-3ce22fb5726977d2.rlib(fs_path.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: could not compile `rav1e` due to previous error

Caused by:
  process didn't exit successfully: `/opt/local/bin/rustc --crate-name build_script_build --edition=2021 build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C split-debuginfo=unpacked -C debuginfo=2 -C debug-assertions=off --cfg 'feature="asm"' --cfg 'feature="av-metrics"' --cfg 'feature="binaries"' --cfg 'feature="capi"' --cfg 'feature="cc"' --cfg 'feature="clap"' --cfg 'feature="clap_complete"' --cfg 'feature="console"' --cfg 'feature="default"' --cfg 'feature="fern"' --cfg 'feature="git_version"' --cfg 'feature="ivf"' --cfg 'feature="nasm-rs"' --cfg 'feature="nom"' --cfg 'feature="scan_fmt"' --cfg 'feature="signal-hook"' --cfg 'feature="signal_support"' --cfg 'feature="threading"' --cfg 'feature="y4m"' -C metadata=428a4cea395b00d1 -C extra-filename=-428a4cea395b00d1 --out-dir /opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/build/rav1e-428a4cea395b00d1 -C linker=/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/compwrap/ld/usr/bin/clang -C incremental=/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/incremental -L dependency=/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/deps --extern built=/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/deps/libbuilt-b2888d2248b42aa6.rlib --extern cc=/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/deps/libcc-4a788e7ca37c2cfb.rlib --extern nasm_rs=/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/deps/libnasm_rs-5a4186c37152fb74.rlib --extern rustc_version=/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/deps/librustc_version-29c9222ca34e9762.rlib -L native=/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/rav1e-0.6.6/target/release/build/libgit2-sys-f77c15b84a35bb38/out/build -L native=/opt/local/lib` (exit status: 1)
Error: CliError { error: Some(1 job failed), exit_code: 101 }
Command failed: env LIBRARY_PATH=/opt/local/lib MACOSX_DEPLOYMENT_TARGET=11.0 CC=/opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/compwrap/cc/usr/bin/clang /opt/local/bin/cargo cbuild --release --frozen -v -j8 --prefix /opt/local --destdir /opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/work/destroot --target x86_64-apple-darwin
Exit code: 1
Error: Failed to build rav1e: command execution failed
Error: See /opt/local/var/macports/logs/_Users_blair_Code_MacPorts_macports-ports.git_multimedia_rav1e/rav1e/main.log for details.
Error: Problem while installing rav1e
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.

Change History (2)

comment:1 Changed 15 months ago by mascguy (Christopher Nielsen)

Resolution: duplicate
Status: assignedclosed
Summary: libyuv @20230817 compile fails on Big Sur with undefined _iconv symbolrav1e: compile fails on Big Sur with undefined _iconv symbol

This is an issue with rav1e, and a duplicate of issue:68026

comment:2 Changed 15 months ago by mascguy (Christopher Nielsen)

Port: rav1e added
Version: 2.8.1
Note: See TracTickets for help on using tickets.