Pkgsubmit site shows that build is failed, but actually it is only partially failed. i586 builds ok and x86_64 fails. When trying to submit same package again with same rel, I'm getting this: Submission errors, aborting: - trustedqsl-1.13-1.mga2.src: - Newer revisions already exists for cauldron in upload queue: /var/lib/schedbot/uploads//done/cauldron/core/release/20110618214942.wally.valstar.14586_@109523:trustedqsl-1.13-1.mga2.src.rpm Same happened twice yesterday (with packages tqsllib and trustedqsl).
ping?
CC: (none) => marja11
Status: NEW => ASSIGNEDCC: (none) => boklm
Blocks: (none) => 858
ulri bug, built packages for that prefix should be moved from done to failed upon failure of the other arch.
CC: (none) => pterjan
So, the code exists: foreach my $rpm (@{$ent->{rpms}}) { my $file = "$done_dir/${prefix}_$rpm"; plog('DEBUG', "moving built rpm $file to $fail_dir/${prefix}_$rpm"); link $file, "$fail_dir/${prefix}_$rpm"; unlink $file; } But $ent->{rpms} is always empty because it gets filled by looking at files named $prefix_*.rpm and built files don't have the prefix. } elsif ($r =~ /(\d{14}\.\w+\.\w+\.\d+)_(.*\.([^.]+)\.rpm)$/) { my ($prefix, $rpm) = ($1, $2); plog('DEBUG', "found already built rpm $rpm ($prefix)"); push @{$pkg_tree{$prefix}{rpms}} , $rpm; }
Actually I am wrong, they are correctly prefixed. The bug is that it does not handle the src.rpm. Fixing.
Assignee: sysadmin-bugs => pterjan
Hmm the code to handle the src.rpm is broken and easy to fix, but it should currently work as the src.rpm is listed as a built rpm (in $ent->{rpms}) so it should be moved... There is probably another bug in addition to the two bugs I found so far which cancel each other.
CC: boklm => (none)