Skip to content

Rust project's build fails without any error message #94201

New issue

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

Closed
yurivict opened this issue Feb 21, 2022 · 7 comments
Closed

Rust project's build fails without any error message #94201

yurivict opened this issue Feb 21, 2022 · 7 comments
Labels
C-bug Category: This is a bug. O-freebsd Operating system: FreeBSD S-needs-repro Status: This issue has no reproduction and needs a reproduction to make progress.

Comments

@yurivict
Copy link

yurivict commented Feb 21, 2022

The solana project build fails, and the log doesn't have any error message:

[librocksdb-sys 6.20.3] exit status: 0
[librocksdb-sys 6.20.3] running: "ar" "s" "/wrkdirs/usr/ports/security/solana/work/target/x86_64-unknown-freebsd/release/build/librocksdb-sys-7337c7ec879bb9d0/out/liblz4.a"
[librocksdb-sys 6.20.3] exit status: 0
[librocksdb-sys 6.20.3] cargo:rustc-link-lib=static=lz4
[librocksdb-sys 6.20.3] cargo:rustc-link-search=native=/wrkdirs/usr/ports/security/solana/work/target/x86_64-unknown-freebsd/release/build/librocksdb-sys-7337c7ec879bb9d0/out
error: build failed

rust-1.58.1
FreeBSD 13

@yurivict yurivict added the C-bug Category: This is a bug. label Feb 21, 2022
@workingjubilee workingjubilee added the O-freebsd Operating system: FreeBSD label Jun 26, 2023
@workingjubilee
Copy link
Member

workingjubilee commented Jun 26, 2023

I realize this is somewhat unusual behavior but this bug lacks reproduction instructions so there's no way to verify that it is a continuing issue. I am somewhat inclined to close it outright, as there have been many small changes in FreeBSD support over the past year+ and there are about to be more, so this issue was at risk of being outmoded very quickly to begin with, but perhaps you are still available to fill us in?

@workingjubilee workingjubilee added the E-needs-mcve Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example label Jun 26, 2023
@kpreid
Copy link
Contributor

kpreid commented Dec 25, 2023

@rustbot label +S-needs-repro -E-needs-mcve

@rustbot rustbot added S-needs-repro Status: This issue has no reproduction and needs a reproduction to make progress. and removed E-needs-mcve Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example labels Dec 25, 2023
@yurivict
Copy link
Author

Solana builds now. I will reopen when there would be another reproducer.

@yurivict
Copy link
Author

@kpreid

Here is another case when the build fails without any particular error message: llm-0.1.1-build.log

The project is LLM.

@yurivict yurivict reopened this Dec 26, 2023
@yurivict
Copy link
Author

Sorry, this isn't a good case because this is caused my a missing submodule.

@yurivict
Copy link
Author

yurivict commented Jan 1, 2024

@kpreid

Here is a Rust failure without any error message on the Tauri project https://github.com/tauri-apps/tauri :

error: failed to run custom build command for `app-updater v0.1.0 (/usr/ports/devel/tauri/work/tauri-1.0.5/core/tests/app-updater)`
note: To improve backtraces for build dependencies, set the CARGO_PROFILE_RELEASE_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation.

Caused by:
  process didn't exit successfully: `/usr/ports/devel/tauri/work/target/release/build/app-updater-c9cc50f467f260d7/build-script-build` (exit status: 1)
  --- stdout
  cargo:rerun-if-env-changed=TAURI_CONFIG
  cargo:rerun-if-changed=tauri.conf.json
  The configured updater endpoint must use the `https` protocol.
warning: build failed, waiting for other jobs to finish...
warning: unused import: `bitflags`

There is no error message that explains what exactly is missing.

rust-1.74.1
FreeBSD 14.0

@yurivict yurivict reopened this Jan 1, 2024
@yurivict
Copy link
Author

Closing for now.

@yurivict yurivict closed this as not planned Won't fix, can't repro, duplicate, stale Apr 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug. O-freebsd Operating system: FreeBSD S-needs-repro Status: This issue has no reproduction and needs a reproduction to make progress.
Projects
None yet
Development

No branches or pull requests

4 participants