-
Notifications
You must be signed in to change notification settings - Fork 287
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
[ci] print out the dependencies that were unmet #468
Conversation
CI builds: |
src/vcpkg/build.cpp
Outdated
DECLARE_AND_REGISTER_MESSAGE(BuildingPackageFailed, | ||
(msg::spec, msg::build_result), | ||
"", | ||
"building package {spec} failed with: {build_result}"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"building package {spec} failed with: {build_result}"); | |
"building {spec} failed with: {build_result}"); |
As an aside, I think "package foo" can always be better replaced with just "foo". I know this is a change from the status quo so feel free to say "that's another PR Bill"
12ac658
to
fdc0062
Compare
@@ -55,10 +55,13 @@ namespace vcpkg | |||
m_data.push_back('\n'); | |||
return *this; | |||
} | |||
LocalizedString& append_indent() | |||
LocalizedString& append_indent(int indent = 1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LocalizedString& append_indent(int indent = 1) | |
LocalizedString& append_indent(size_t indent = 1) |
static const StringLiteral INDENT = " "; | ||
for (int i = 0; i < indent; ++i) | ||
{ | ||
m_data.append(INDENT.data(), INDENT.size()); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
static const StringLiteral INDENT = " "; | |
for (int i = 0; i < indent; ++i) | |
{ | |
m_data.append(INDENT.data(), INDENT.size()); | |
} | |
m_data.append(indent * 4, ' '); |
This is important because we have Very Weird Errors where, for example,
ffmpeg
fails to install withCASCADED_DUE_TO_MISSING_DEPENDENCIES
, despite all of ffmpeg's dependencies seeming to be successfully installed.This makes the results look like: