- unless (scalar run command => [ 'ebuild', $file, 'manifest' ], verbose => 0) {
- error 'ebuild manifest failed -- aborting';
+ my ($success, $errmsg, $output) = run
+ command => [ 'ebuild', $file, 'manifest' ],
+ verbose => 0;
+ unless ($success) {
+ error "$errmsg -- aborting";
+ if (defined $output and $conf->get_conf('verbose')) {
+ my $msg = join '', @$output;
+ 1 while chomp $msg;
+ error $msg;
+ }