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

"Missing prebuilt package" error message is missing essential information #3621

Closed
sigiesec opened this issue Sep 26, 2018 · 2 comments
Closed

Comments

@sigiesec
Copy link
Contributor

When running conan install for a package requiring "Bar", which depends on "Foo", I got the following error message:

Foo/1.3.0-unreleased-build.1068@xxx/unstable: WARN: Can't find a 'Foo/1.3.0-unreleased-build.1068@xxx/unstable' package for the specified options and settings:
- Settings: arch=x86_64, build_type=Release, compiler=Visual Studio, compiler.version=14, os=Windows
- Options: <irrelevant here, did not change>
- Package ID: 176ce45f6be376c19c830020e1517258f4d47e2f

ERROR: Missing prebuilt package for 'Foo/1.3.0-unreleased-build.1068@xxx/unstable'
Try to build it from sources with "--build Foo"

Or read "http://docs.conan.io/en/latest/faq/troubleshooting.html#error-missing-prebuilt-package"

What changed before was that an (unnecessary) dependency of Foo on FooDependency was removed. Maybe this changed the expected Package ID of Foo?

However, this is completely non-obvious from the error message.

I know that the displayed options influence the package id, but if the (transitive) dependencies also influence it, they should also be part of the error/warning message.

@danimtb
Copy link
Member

danimtb commented Sep 26, 2018

This is a duplicated of #3316 that has already been addressed in PR #3438.
It will be fixed in next release 1.8

Thanks for reporting!

@danimtb danimtb closed this as completed Sep 26, 2018
@sigiesec
Copy link
Contributor Author

Great! Sorry for me not checking thoroughly for an existing issue.

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

2 participants