Skip to content

"componentAvailableTargetStatus: impossible;" on 3.10.1.0 #9252

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

Open
jberryman opened this issue Sep 12, 2023 · 3 comments
Open

"componentAvailableTargetStatus: impossible;" on 3.10.1.0 #9252

jberryman opened this issue Sep 12, 2023 · 3 comments

Comments

@jberryman
Copy link

same error as #8719 but the referenced fix should be in 3.10 from what I can tell

This occurs with a cabal build all --enable-benchmarks --enable-tests, and I think the repro is having a cabal.project file with a source-repository-package that duplicates a package in the packages: ... list. I'll circle back if I have time to put together a repro.

@Mikolaj
Copy link
Member

Mikolaj commented Sep 12, 2023

Thanks a lot. A repro would be great, especially if you can still reproduce this with master branch (or nightly at https://github.com/haskell/cabal/releases/tag/cabal-head).

@jberryman
Copy link
Author

I think the repro is having a cabal.project file with a source-repository-package that duplicates a package in the packages: ... list.

ya this seems to have been the case as it cropped up again during rebase and was fixed by deleting the source-repository-package entry.

@Mikolaj
Copy link
Member

Mikolaj commented Sep 15, 2023

I realised, I'm not sure it's a regression (nor if it's fixed on master), so let me modify the labels.

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

No branches or pull requests

3 participants