Skip to content
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

0.2.20231113-145254-995db0d6 regression build failure #803

Open
chenrui333 opened this issue Jan 2, 2024 · 4 comments
Open

0.2.20231113-145254-995db0d6 regression build failure #803

chenrui333 opened this issue Jan 2, 2024 · 4 comments
Assignees
Labels

Comments

@chenrui333
Copy link

While upgrading rust to 1.75.0 on the homebrew side, we found some regression build failure as below:

error: failed to select a version for `hostcaps`.
    ... required by package `configloader v0.1.0 (/private/tmp/sapling-20240101-46281-v7po5z/sapling-0.2.20231113-145254-995db0d6/eden/scm/lib/config/loader)`
    ... which satisfies path dependency `configparser` of package `hgmain v0.1.0 (/private/tmp/sapling-20240101-46281-v7po5z/sapling-0.2.20231113-145254-995db0d6/eden/scm/exec/hgmain)`
versions that meet the requirements `^0.1.0` are: 0.1.0

the package `configloader` depends on `hostcaps`, with features: `fb` but `hostcaps` does not have these features.


failed to select a version for `hostcaps` which could resolve this conflict
error: compilation of Rust target 'hgmain' failed

some build log, https://github.com/chenrui333/github-action-test/actions/runs/7381916575/job/20081016400
relates to Homebrew/homebrew-core#158492

@zzl0 zzl0 self-assigned this Jan 12, 2024
@zzl0 zzl0 added the build label Jan 12, 2024
@zzl0
Copy link
Contributor

zzl0 commented Jan 12, 2024

@chenrui333 thanks for reporting the issue, taking a look

@V0idMatr1x
Copy link

V0idMatr1x commented Jan 13, 2024

@zzl0 I can confirm that the build fails from source on Linux as well, with a similar error.

image

@zzl0
Copy link
Contributor

zzl0 commented Jan 13, 2024

It was caused by this change facebookexperimental/rust-shed@768f838, working on a fix

@zzl0
Copy link
Contributor

zzl0 commented Jan 18, 2024

Fixed forward with Homebrew/homebrew-core#160212 (comment)

We will fix the root cause separately: dependency backward incompatible change issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants