aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xiurt8
1 files changed, 5 insertions, 3 deletions
diff --git a/iurt b/iurt
index 877e5bd..214b443 100755
--- a/iurt
+++ b/iurt
@@ -770,6 +770,7 @@ sub rebuild_one {
plog('NOTIFY', "Build package $srpm [$done/$to_compile]");
# When rebuilding all the media, src.rpm can be removed from mirror before we work on them
unless (-f "$dir/$srpm") {
+ plog('WARNING', "$dir/$srpm missing");
$run{status}{$srpm} = 'missing';
return $srpm;
}
@@ -780,12 +781,13 @@ retry:
$urpmi->clean_urpmi_process;
if (!$run{use_old_chroot}) {
+ plog('DEBUG', 'Not reusing old chroot');
$chroot_tmp = create_temp_chroot(\%run, $config,
$chroot_tmp, $chroot_ref) or return $srpm;
}
if (!$urpmi->urpmi_command($chroot_tmp)) {
- plog('DEBUG', "Creating chroot failed.\nCommand was: $chroot_tmp");
+ plog('ERROR', "Creating chroot failed.\nCommand was: $chroot_tmp");
return $srpm;
}
$srpm =~ /(.*)-[^-]+-[^-]+\.src\.rpm$/ or return $srpm;
@@ -801,7 +803,7 @@ retry:
}
#($maintainer, $cc) = ($config->{admin},'');
- plog('DEBUG', "creating user $luser in chroot");
+ plog('DEBUG', "creating user $luser in chroot $chroot_tmp");
add_local_user($chroot_tmp, \%run, $config, $luser, $run{uid}) or return $srpm;
my $old_srpm = $srpm;
@@ -832,7 +834,7 @@ retry:
mkdir $log_dir;
-d $log_dir or die "FATAL: could not create $log_dir (check permissions and group ownerships)";
- plog('INFO', "Install build dependencies");
+ plog('INFO', "Install build dependencies for $srpm");
my $path_srpm = "$chroot_tmp/home/$luser/rpmbuild/SRPMS/";
# on x86_64 the rpm database is getting corrupted and sometimes