diff options
author | Claudio Matsuoka <claudio@mandriva.com> | 2006-11-10 11:10:52 +0000 |
---|---|---|
committer | Claudio Matsuoka <claudio@mandriva.com> | 2006-11-10 11:10:52 +0000 |
commit | 339b742afa86590c0fdbab2726838f147fd54c92 (patch) | |
tree | d5a7f344020d416db2ee947b6050e653539e3c14 | |
parent | 4ac5efc6d1055aaee671549be22881309f4284d0 (diff) | |
download | iurt-339b742afa86590c0fdbab2726838f147fd54c92.tar iurt-339b742afa86590c0fdbab2726838f147fd54c92.tar.gz iurt-339b742afa86590c0fdbab2726838f147fd54c92.tar.bz2 iurt-339b742afa86590c0fdbab2726838f147fd54c92.tar.xz iurt-339b742afa86590c0fdbab2726838f147fd54c92.zip |
Cosmetic fixes: indentantion and 80-column wrap
-rwxr-xr-x | iurt2 | 22 |
1 files changed, 14 insertions, 8 deletions
@@ -710,7 +710,9 @@ retry: $run{status}{$srpm} ||= 'install_deps_failure'; next; } - # try to workarround the rpm -qa db4 error(2) from dbcursor->c_get: No such file or directory + + # try to workarround the rpm -qa db4 error(2) from dbcursor->c_get: + # No such file or directory # system("sudo chroot $chroot_tmp rm -rf /var/lib/rpm/__db* &> /dev/null"); system("$sudo chroot $chroot_tmp rpm --rebuilddb &> /dev/null"); perform_command("$sudo chroot $chroot_tmp rpm -qa", @@ -781,15 +783,19 @@ retry: # FIXME # The simple algo used here is : - # try to compile it with unionfs, if it runs out of space, compile it without the next time + # try to compile it with unionfs, if it runs out of space, + # compile it without the next time # - # This could be improved in keeping this srpm name for future version, but if we compile it - # on a new machine with more ram, or if next version compiles just fine with unionfs, we will + # This could be improved in keeping this srpm name for future + # version, but if we compile it on a new machine with more ram, + # or if next version compiles just fine with unionfs, we will # loose the unionfs advantage. # - # Maybe the right thing to do would be to first try to increase the tmpfs size (more than 50 % of the - # physical RAM), but this will lead to more swap usage, and slower compilation (and lost of the unionfs - # plus). Or to keep the faulty package a unionfs exception for some time, to save some more extra builds. + # Maybe the right thing to do would be to first try to increase + # the tmpfs size (more than 50 % of the physical RAM), but this + # will lead to more swap usage, and slower compilation (and lost + # of the unionfs plus). Or to keep the faulty package a unionfs + # exception for some time, to save some more extra builds. if (!glob "$chroot_tmp/home/$luser/rpm/RPMS/*/*.rpm") { if ($run{unionfs_tmp} && $cache->{no_unionfs}{$srpm}) { @@ -873,7 +879,7 @@ process_queue($config, \%run, \@wrong_rpm); dump_cache_par(\%run); -print {$run{LOG}} "ERROR $program_name: RPM with a wrong SRPM name\n" if @wrong_rpm; +plog("ERROR: RPM with a wrong SRPM name") if @wrong_rpm; if (@wrong_rpm && open my $file, ">$local_spool/log/wrong_srpm_names.log") { foreach (@wrong_rpm) { print $file "$_->[1] -> $_->[0] (", $cache->{rpm_srpm}{$_->[1]},")\n"; |