We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug RTX isn't compiling on two machines (Intel and ARM) with macOS
error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="<OMITTED>" VSLANG="1033" ZERO_AR_DATE="1" "cc" "-arch" "x86_64" "-m64" "/var/folders/q5/15y_f8td4vqf8crcbzz3qrfr0000gn/T/rustcvk9nFs/symbols.o" "/var/folders/q5/15y_f8td4vqf8crcbzz3qrfr0000gn/T/cargo-installfX8VRZ/release/build/rtx-cli-3a96238fd346257f/build_script_build-3a96238fd346257f.build_script_build.f8109a8f-cgu.0.rcgu.o" "/var/folders/q5/15y_f8td4vqf8crcbzz3qrfr0000gn/T/cargo-installfX8VRZ/release/build/rtx-cli-3a96238fd346257f/build_script_build-3a96238fd346257f.build_script_build.f8109a8f-cgu.1.rcgu.o" "/var/folders/q5/15y_f8td4vqf8crcbzz3qrfr0000gn/T/cargo-installfX8VRZ/release/build/rtx-cli-3a96238fd346257f/build_script_build-3a96238fd346257f.build_script_build.f8109a8f-cgu.2.rcgu.o" "/var/folders/q5/15y_f8td4vqf8crcbzz3qrfr0000gn/T/cargo-installfX8VRZ/release/build/rtx-cli-3a96238fd346257f/build_script_build-3a96238fd346257f.build_script_build.f8109a8f-cgu.3.rcgu.o" "/var/folders/q5/15y_f8td4vqf8crcbzz3qrfr0000gn/T/cargo-installfX8VRZ/release/build/rtx-cli-3a96238fd346257f/build_script_build-3a96238fd346257f.build_script_build.f8109a8f-cgu.4.rcgu.o" "/var/folders/q5/15y_f8td4vqf8crcbzz3qrfr0000gn/T/cargo-installfX8VRZ/release/build/rtx-cli-3a96238fd346257f/build_script_build-3a96238fd346257f.build_script_build.f8109a8f-cgu.5.rcgu.o" "/var/folders/q5/15y_f8td4vqf8crcbzz3qrfr0000gn/T/cargo-installfX8VRZ/release/build/rtx-cli-3a96238fd346257f/build_script_build-3a96238fd346257f.2z21mr1pqydh8ua8.rcgu.o" "-L" "/var/folders/q5/15y_f8td4vqf8crcbzz3qrfr0000gn/T/cargo-installfX8VRZ/release/deps" "-L" "/var/folders/q5/15y_f8td4vqf8crcbzz3qrfr0000gn/T/cargo-installfX8VRZ/release/build/libgit2-sys-7af89d5cac41f6a8/out/build" "-L" "/opt/local/lib" "-L" "/Users/mario/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "/private/var/folders/q5/15y_f8td4vqf8crcbzz3qrfr0000gn/T/cargo-installfX8VRZ/release/deps/libbuilt-9513829b3da381f1.rlib" "/private/var/folders/q5/15y_f8td4vqf8crcbzz3qrfr0000gn/T/cargo-installfX8VRZ/release/deps/libcargo_lock-6dddf05f008ad409.rlib" "/private/var/folders/q5/15y_f8td4vqf8crcbzz3qrfr0000gn/T/cargo-installfX8VRZ/release/deps/libtoml-2a36958ceafeb299.rlib" "/private/var/folders/q5/15y_f8td4vqf8crcbzz3qrfr0000gn/T/cargo-installfX8VRZ/release/deps/libsemver-a0c80b45cedbdcc7.rlib" "/private/var/folders/q5/15y_f8td4vqf8crcbzz3qrfr0000gn/T/cargo-installfX8VRZ/release/deps/libserde-6ed0d196ce81e327.rlib" "/private/var/folders/q5/15y_f8td4vqf8crcbzz3qrfr0000gn/T/cargo-installfX8VRZ/release/deps/libgit2-6820ae9bd1c339c1.rlib" "/private/var/folders/q5/15y_f8td4vqf8crcbzz3qrfr0000gn/T/cargo-installfX8VRZ/release/deps/liburl-7b60e1c6b1700847.rlib" "/private/var/folders/q5/15y_f8td4vqf8crcbzz3qrfr0000gn/T/cargo-installfX8VRZ/release/deps/libidna-42fd1c253fc5cb94.rlib" "/private/var/folders/q5/15y_f8td4vqf8crcbzz3qrfr0000gn/T/cargo-installfX8VRZ/release/deps/libunicode_normalization-c4e3122926d940d6.rlib" "/private/var/folders/q5/15y_f8td4vqf8crcbzz3qrfr0000gn/T/cargo-installfX8VRZ/release/deps/libtinyvec-db6ba5d9f46b9fb8.rlib" "/private/var/folders/q5/15y_f8td4vqf8crcbzz3qrfr0000gn/T/cargo-installfX8VRZ/release/deps/libtinyvec_macros-869889c496e8f408.rlib" "/private/var/folders/q5/15y_f8td4vqf8crcbzz3qrfr0000gn/T/cargo-installfX8VRZ/release/deps/libunicode_bidi-5d5f7164630bb451.rlib" "/private/var/folders/q5/15y_f8td4vqf8crcbzz3qrfr0000gn/T/cargo-installfX8VRZ/release/deps/libform_urlencoded-f2a19859bf301546.rlib" "/private/var/folders/q5/15y_f8td4vqf8crcbzz3qrfr0000gn/T/cargo-installfX8VRZ/release/deps/libpercent_encoding-e350ae8a19b0d609.rlib" "/private/var/folders/q5/15y_f8td4vqf8crcbzz3qrfr0000gn/T/cargo-installfX8VRZ/release/deps/liblog-63cdad11ada6bbd5.rlib" "/private/var/folders/q5/15y_f8td4vqf8crcbzz3qrfr0000gn/T/cargo-installfX8VRZ/release/deps/libcfg_if-211f7f3dc487f32b.rlib" "/private/var/folders/q5/15y_f8td4vqf8crcbzz3qrfr0000gn/T/cargo-installfX8VRZ/release/deps/liblibgit2_sys-34c024c7cc435c6b.rlib" "/private/var/folders/q5/15y_f8td4vqf8crcbzz3qrfr0000gn/T/cargo-installfX8VRZ/release/deps/liblibz_sys-2358c5324ed11ec2.rlib" "/private/var/folders/q5/15y_f8td4vqf8crcbzz3qrfr0000gn/T/cargo-installfX8VRZ/release/deps/liblibc-c8cfc278a17a46c8.rlib" "/private/var/folders/q5/15y_f8td4vqf8crcbzz3qrfr0000gn/T/cargo-installfX8VRZ/release/deps/libbitflags-cb26a9238c0feca8.rlib" "/private/var/folders/q5/15y_f8td4vqf8crcbzz3qrfr0000gn/T/cargo-installfX8VRZ/release/deps/libchrono-222efa4cf9dc2ec1.rlib" "/private/var/folders/q5/15y_f8td4vqf8crcbzz3qrfr0000gn/T/cargo-installfX8VRZ/release/deps/libiana_time_zone-0788ae68ca2daf6f.rlib" "/private/var/folders/q5/15y_f8td4vqf8crcbzz3qrfr0000gn/T/cargo-installfX8VRZ/release/deps/libcore_foundation_sys-ca47ad54bcb55666.rlib" "/private/var/folders/q5/15y_f8td4vqf8crcbzz3qrfr0000gn/T/cargo-installfX8VRZ/release/deps/libnum_integer-d4d6f65b9bc371f8.rlib" "/private/var/folders/q5/15y_f8td4vqf8crcbzz3qrfr0000gn/T/cargo-installfX8VRZ/release/deps/libnum_traits-646e4d630b5e9e5b.rlib" "/Users/mario/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libstd-8fa007cdc882403b.rlib" "/Users/mario/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libpanic_unwind-8294ffb4a69497ab.rlib" "/Users/mario/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libobject-472e943b681632d8.rlib" "/Users/mario/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libmemchr-7d8d567e92ad1dd8.rlib" "/Users/mario/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libaddr2line-ed004df1bb903adb.rlib" "/Users/mario/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libgimli-af580b13d5715ba8.rlib" "/Users/mario/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_demangle-20fb3dd872494ad9.rlib" "/Users/mario/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libstd_detect-50a89c754eac916d.rlib" "/Users/mario/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libhashbrown-9ac74abb1b852e5d.rlib" "/Users/mario/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libminiz_oxide-68f98cc52d315b53.rlib" "/Users/mario/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libadler-35546c54bc82a9ad.rlib" "/Users/mario/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_std_workspace_alloc-bd9ee649e3151af7.rlib" "/Users/mario/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libunwind-235725c3b2d78362.rlib" "/Users/mario/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcfg_if-c569d380514bde32.rlib" "/Users/mario/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liblibc-20fad06cc491dc7d.rlib" "/Users/mario/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liballoc-d6ca0a93cb563c8b.rlib" "/Users/mario/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_std_workspace_core-6f5d01ccd9a8d6da.rlib" "/Users/mario/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcore-1eef3d4aa79d6846.rlib" "/Users/mario/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-81f9fecd362517eb.rlib" "-liconv" "-framework" "Security" "-framework" "CoreFoundation" "-lz" "-liconv" "-framework" "CoreFoundation" "-lSystem" "-lc" "-lm" "-L" "/Users/mario/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "-o" "/var/folders/q5/15y_f8td4vqf8crcbzz3qrfr0000gn/T/cargo-installfX8VRZ/release/build/rtx-cli-3a96238fd346257f/build_script_build-3a96238fd346257f" "-Wl,-dead_strip" "-nodefaultlibs" = note: Undefined symbols for architecture x86_64: "_iconv", referenced from: _git_fs_path_iconv in liblibgit2_sys-34c024c7cc435c6b.rlib(fs_path.o) (maybe you meant: _git_fs_path_iconv_init_precompose, _git_fs_path_iconv_clear , _git_fs_path_iconv ) "_iconv_close", referenced from: _git_fs_path_iconv_clear in liblibgit2_sys-34c024c7cc435c6b.rlib(fs_path.o) "_iconv_open", referenced from: _git_fs_path_iconv_init_precompose in liblibgit2_sys-34c024c7cc435c6b.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 `rtx-cli` due to previous error warning: build failed, waiting for other jobs to finish... error: failed to compile `rtx-cli v1.29.7`, intermediate artifacts can be found at `/var/folders/q5/15y_f8td4vqf8crcbzz3qrfr0000gn/T/cargo-installfX8VRZ`
To Reproduce Install rtx with cargo cargo install rtx-cli
cargo install rtx-cli
Expected behavior Correct compilation
rtx doctor output
rtx doctor
rtx doctor [WARN] newer rtx version 1.29.7 available, currently on 1.29.1 rtx version: 1.29.1 macos-x64 (unknown 2023-04-23) build: Target: x86_64-apple-darwin Features: Built: Sun, 23 Apr 2023 08:20:25 +0000 Rust Version: rustc 1.68.2 (9eb3afe9e 2023-03-27) Profile: release shell: /bin/zsh zsh 5.9 (x86_64-apple-darwin22.0) rtx environment variables: RTX_SHELL=zsh settings: {"experimental": "false", "missing_runtime_behavior": "warn", "always_keep_download": "false", "legacy_version_file": "true", "plugin_autoupdate_last_check_duration": "10080", "trusted_config_paths": "[]", "verbose": "false", "asdf_compat": "false", "jobs": "4", "disable_default_shorthands": "false", "log_level": "INFO", "raw": "false"} config files: /Users/mario/.tool-versions plugins: bun https://github.com/cometkim/asdf-bun.git#fd84edd golang https://github.com/kennyp/asdf-golang.git#f006a12 grype https://github.com/poikilotherm/asdf-grype.git#d6e0ece kubectl https://github.com/asdf-community/asdf-kubectl.git#cbe6df4 kubeval https://github.com/stefansedich/asdf-kubeval.git#6ccc18f lazydocker https://github.com/comdotlinux/asdf-lazydocker.git#abb6f71 minikube https://github.com/alvarobp/asdf-minikube.git#a6adc7b mongosh https://github.com/itspngu/asdf-mongosh.git#1b24902 nim https://github.com/asdf-community/asdf-nim.git#397c14a node (core) nodejs https://github.com/jdxcode/rtx-nodejs.git#19c6dd5 ruby https://github.com/asdf-vm/asdf-ruby.git#cfc5fb1 tilt https://github.com/eaceaser/asdf-tilt.git#69eac7b v https://github.com/jthegedus/asdf-v.git#d52f965 yarn https://github.com/twuni/asdf-yarn.git#376c540 zig https://github.com/cheetah/asdf-zig.git#d88f6db toolset: [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected] 1 problem found: new rtx version 1.29.7 available, currently on 1.29.1
Additional context Both machines use MacPorts instead of Homebrew
The text was updated successfully, but these errors were encountered:
this is an upstream issue rust-lang/git2-rs#830
seems to be related to MacPorts which you mentioned.
Sorry, something went wrong.
For everyone facing the same issue.
You can deactivate libiconv:
port deactivate libiconv
Then upgrade rtx:
(it works as well for git-delta)
git-delta
And activate libiconv again:
port activate libiconv
No branches or pull requests
Describe the bug
RTX isn't compiling on two machines (Intel and ARM) with macOS
To Reproduce
Install rtx with cargo
cargo install rtx-cli
Expected behavior
Correct compilation
rtx doctor
outputAdditional context
Both machines use MacPorts instead of Homebrew
The text was updated successfully, but these errors were encountered: