Skip to content

Commit

Permalink
pbuild: report correct pool if get_build() expansion fails
Browse files Browse the repository at this point in the history
  • Loading branch information
mlschroe committed Jul 11, 2023
1 parent 10d1249 commit 3e068c3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion PBuild/Checker.pm
Original file line number Diff line number Diff line change
Expand Up @@ -754,7 +754,11 @@ sub build {
@bdeps = Build::get_build($bconf, $ctx->{'subpacks'}->{$p->{'name'}}, @bdeps);
}
if (!shift(@bdeps)) {
return ('unresolvable', join(', ', @bdeps));
if ($ctx->{'bconf_host'}) {
return ('unresolvable', 'host:' . join(', ', @bdeps));
} else {
return ('unresolvable', join(', ', @bdeps));
}
}
if (@sysdeps && !shift(@sysdeps)) {
return ('unresolvable', 'sysdeps:' . join(', ', @sysdeps));
Expand Down

0 comments on commit 3e068c3

Please sign in to comment.