[Collab-qa-commits] r1195 - in archive-rebuilds: . 2007 2007/2007-03-13-unstable-i386 2007/2007-04-16-unstable-i386 2007/2007-05-01-unstable-main-i386 2007/2007-05-13-unstable-main-i386 2007/2007-05-22-unstable-main-i386 2007/2007-06-01-unstable-main-i386 2007/2007-06-04-unstable-main-i386 2007/2007-06-14-unstable-main-i386 2007/2007-06-25-unstable-main-i386 2007/2007-07-08-unstable-main-i386 2007/2007-07-17-unstable-main-i386 2007/2007-08-06-unstable-main-i386 2007/2007-08-23-unstable-main-i386 2007/2007-09-05-doublebuild-unstable-main-i386 2007/2007-09-05-unstable-main-i386 2007/2007-09-17-unstable-main-i386 2007/2007-09-28-unstable-main-i386 2007/2007-10-07-unstable-main-i386 2007/2007-10-19-unstable-main-i386 2007/2007-11-06-unstable-main-i386 2007/2007-11-26-unstable-main-i386 2007/2007-11-30-unstable-main-i386 2007/2007-12-17-sid32-i386

lucas at alioth.debian.org lucas at alioth.debian.org
Tue Sep 2 08:01:59 UTC 2008


Author: lucas
Date: 2008-09-02 08:01:58 +0000 (Tue, 02 Sep 2008)
New Revision: 1195

Added:
   archive-rebuilds/2007/
   archive-rebuilds/2007/2007-03-13-unstable-i386/
   archive-rebuilds/2007/2007-04-16-unstable-i386/
   archive-rebuilds/2007/2007-05-01-unstable-main-i386/
   archive-rebuilds/2007/2007-05-13-unstable-main-i386/
   archive-rebuilds/2007/2007-05-22-unstable-main-i386/
   archive-rebuilds/2007/2007-06-01-unstable-main-i386/
   archive-rebuilds/2007/2007-06-04-unstable-main-i386/
   archive-rebuilds/2007/2007-06-14-unstable-main-i386/
   archive-rebuilds/2007/2007-06-25-unstable-main-i386/
   archive-rebuilds/2007/2007-07-08-unstable-main-i386/
   archive-rebuilds/2007/2007-07-17-unstable-main-i386/
   archive-rebuilds/2007/2007-08-06-unstable-main-i386/
   archive-rebuilds/2007/2007-08-23-unstable-main-i386/
   archive-rebuilds/2007/2007-09-05-doublebuild-unstable-main-i386/
   archive-rebuilds/2007/2007-09-05-unstable-main-i386/
   archive-rebuilds/2007/2007-09-17-unstable-main-i386/
   archive-rebuilds/2007/2007-09-28-unstable-main-i386/
   archive-rebuilds/2007/2007-10-07-unstable-main-i386/
   archive-rebuilds/2007/2007-10-19-unstable-main-i386/
   archive-rebuilds/2007/2007-11-06-unstable-main-i386/
   archive-rebuilds/2007/2007-11-26-unstable-main-i386/
   archive-rebuilds/2007/2007-11-30-unstable-main-i386/
   archive-rebuilds/2007/2007-12-17-sid32-i386/
Removed:
   archive-rebuilds/2007-03-13-unstable-i386/
   archive-rebuilds/2007-04-16-unstable-i386/
   archive-rebuilds/2007-05-01-unstable-main-i386/
   archive-rebuilds/2007-05-13-unstable-main-i386/
   archive-rebuilds/2007-05-22-unstable-main-i386/
   archive-rebuilds/2007-06-01-unstable-main-i386/
   archive-rebuilds/2007-06-04-unstable-main-i386/
   archive-rebuilds/2007-06-14-unstable-main-i386/
   archive-rebuilds/2007-06-25-unstable-main-i386/
   archive-rebuilds/2007-07-08-unstable-main-i386/
   archive-rebuilds/2007-07-17-unstable-main-i386/
   archive-rebuilds/2007-08-06-unstable-main-i386/
   archive-rebuilds/2007-08-23-unstable-main-i386/
   archive-rebuilds/2007-09-05-doublebuild-unstable-main-i386/
   archive-rebuilds/2007-09-05-unstable-main-i386/
   archive-rebuilds/2007-09-17-unstable-main-i386/
   archive-rebuilds/2007-09-28-unstable-main-i386/
   archive-rebuilds/2007-10-07-unstable-main-i386/
   archive-rebuilds/2007-10-19-unstable-main-i386/
   archive-rebuilds/2007-11-06-unstable-main-i386/
   archive-rebuilds/2007-11-26-unstable-main-i386/
   archive-rebuilds/2007-11-30-unstable-main-i386/
   archive-rebuilds/2007-12-17-sid32-i386/
   archive-rebuilds/diff-usertags
   archive-rebuilds/log-summary.rb
   archive-rebuilds/ma.rb
   archive-rebuilds/mb.rb
   archive-rebuilds/md.rb
   archive-rebuilds/sb.rb
Log:
remove obsolete scripts, move 2007 results to 2007/

Copied: archive-rebuilds/2007/2007-03-13-unstable-i386 (from rev 1193, archive-rebuilds/2007-03-13-unstable-i386)


Property changes on: archive-rebuilds/2007/2007-03-13-unstable-i386
___________________________________________________________________
Name: svn:mergeinfo
   + 

Copied: archive-rebuilds/2007/2007-04-16-unstable-i386 (from rev 1193, archive-rebuilds/2007-04-16-unstable-i386)


Property changes on: archive-rebuilds/2007/2007-04-16-unstable-i386
___________________________________________________________________
Name: svn:mergeinfo
   + 

Copied: archive-rebuilds/2007/2007-05-01-unstable-main-i386 (from rev 1193, archive-rebuilds/2007-05-01-unstable-main-i386)


Property changes on: archive-rebuilds/2007/2007-05-01-unstable-main-i386
___________________________________________________________________
Name: svn:mergeinfo
   + 

Copied: archive-rebuilds/2007/2007-05-13-unstable-main-i386 (from rev 1193, archive-rebuilds/2007-05-13-unstable-main-i386)


Property changes on: archive-rebuilds/2007/2007-05-13-unstable-main-i386
___________________________________________________________________
Name: svn:mergeinfo
   + 

Copied: archive-rebuilds/2007/2007-05-22-unstable-main-i386 (from rev 1193, archive-rebuilds/2007-05-22-unstable-main-i386)


Property changes on: archive-rebuilds/2007/2007-05-22-unstable-main-i386
___________________________________________________________________
Name: svn:mergeinfo
   + 

Copied: archive-rebuilds/2007/2007-06-01-unstable-main-i386 (from rev 1193, archive-rebuilds/2007-06-01-unstable-main-i386)


Property changes on: archive-rebuilds/2007/2007-06-01-unstable-main-i386
___________________________________________________________________
Name: svn:mergeinfo
   + 

Copied: archive-rebuilds/2007/2007-06-04-unstable-main-i386 (from rev 1193, archive-rebuilds/2007-06-04-unstable-main-i386)


Property changes on: archive-rebuilds/2007/2007-06-04-unstable-main-i386
___________________________________________________________________
Name: svn:mergeinfo
   + 

Copied: archive-rebuilds/2007/2007-06-14-unstable-main-i386 (from rev 1193, archive-rebuilds/2007-06-14-unstable-main-i386)


Property changes on: archive-rebuilds/2007/2007-06-14-unstable-main-i386
___________________________________________________________________
Name: svn:mergeinfo
   + 

Copied: archive-rebuilds/2007/2007-06-25-unstable-main-i386 (from rev 1193, archive-rebuilds/2007-06-25-unstable-main-i386)


Property changes on: archive-rebuilds/2007/2007-06-25-unstable-main-i386
___________________________________________________________________
Name: svn:mergeinfo
   + 

Copied: archive-rebuilds/2007/2007-07-08-unstable-main-i386 (from rev 1193, archive-rebuilds/2007-07-08-unstable-main-i386)


Property changes on: archive-rebuilds/2007/2007-07-08-unstable-main-i386
___________________________________________________________________
Name: svn:mergeinfo
   + 

Copied: archive-rebuilds/2007/2007-07-17-unstable-main-i386 (from rev 1193, archive-rebuilds/2007-07-17-unstable-main-i386)


Property changes on: archive-rebuilds/2007/2007-07-17-unstable-main-i386
___________________________________________________________________
Name: svn:mergeinfo
   + 

Copied: archive-rebuilds/2007/2007-08-06-unstable-main-i386 (from rev 1193, archive-rebuilds/2007-08-06-unstable-main-i386)


Property changes on: archive-rebuilds/2007/2007-08-06-unstable-main-i386
___________________________________________________________________
Name: svn:mergeinfo
   + 

Copied: archive-rebuilds/2007/2007-08-23-unstable-main-i386 (from rev 1193, archive-rebuilds/2007-08-23-unstable-main-i386)


Property changes on: archive-rebuilds/2007/2007-08-23-unstable-main-i386
___________________________________________________________________
Name: svn:mergeinfo
   + 

Copied: archive-rebuilds/2007/2007-09-05-doublebuild-unstable-main-i386 (from rev 1193, archive-rebuilds/2007-09-05-doublebuild-unstable-main-i386)


Property changes on: archive-rebuilds/2007/2007-09-05-doublebuild-unstable-main-i386
___________________________________________________________________
Name: svn:mergeinfo
   + 

Copied: archive-rebuilds/2007/2007-09-05-unstable-main-i386 (from rev 1193, archive-rebuilds/2007-09-05-unstable-main-i386)


Property changes on: archive-rebuilds/2007/2007-09-05-unstable-main-i386
___________________________________________________________________
Name: svn:mergeinfo
   + 

Copied: archive-rebuilds/2007/2007-09-17-unstable-main-i386 (from rev 1193, archive-rebuilds/2007-09-17-unstable-main-i386)


Property changes on: archive-rebuilds/2007/2007-09-17-unstable-main-i386
___________________________________________________________________
Name: svn:mergeinfo
   + 

Copied: archive-rebuilds/2007/2007-09-28-unstable-main-i386 (from rev 1193, archive-rebuilds/2007-09-28-unstable-main-i386)


Property changes on: archive-rebuilds/2007/2007-09-28-unstable-main-i386
___________________________________________________________________
Name: svn:mergeinfo
   + 

Copied: archive-rebuilds/2007/2007-10-07-unstable-main-i386 (from rev 1193, archive-rebuilds/2007-10-07-unstable-main-i386)


Property changes on: archive-rebuilds/2007/2007-10-07-unstable-main-i386
___________________________________________________________________
Name: svn:mergeinfo
   + 

Copied: archive-rebuilds/2007/2007-10-19-unstable-main-i386 (from rev 1193, archive-rebuilds/2007-10-19-unstable-main-i386)


Property changes on: archive-rebuilds/2007/2007-10-19-unstable-main-i386
___________________________________________________________________
Name: svn:mergeinfo
   + 

Copied: archive-rebuilds/2007/2007-11-06-unstable-main-i386 (from rev 1193, archive-rebuilds/2007-11-06-unstable-main-i386)


Property changes on: archive-rebuilds/2007/2007-11-06-unstable-main-i386
___________________________________________________________________
Name: svn:mergeinfo
   + 

Copied: archive-rebuilds/2007/2007-11-26-unstable-main-i386 (from rev 1193, archive-rebuilds/2007-11-26-unstable-main-i386)


Property changes on: archive-rebuilds/2007/2007-11-26-unstable-main-i386
___________________________________________________________________
Name: svn:mergeinfo
   + 

Copied: archive-rebuilds/2007/2007-11-30-unstable-main-i386 (from rev 1193, archive-rebuilds/2007-11-30-unstable-main-i386)


Property changes on: archive-rebuilds/2007/2007-11-30-unstable-main-i386
___________________________________________________________________
Name: svn:mergeinfo
   + 

Copied: archive-rebuilds/2007/2007-12-17-sid32-i386 (from rev 1193, archive-rebuilds/2007-12-17-sid32-i386)


Property changes on: archive-rebuilds/2007/2007-12-17-sid32-i386
___________________________________________________________________
Name: svn:mergeinfo
   + 

Deleted: archive-rebuilds/diff-usertags
===================================================================
--- archive-rebuilds/diff-usertags	2008-09-02 07:55:32 UTC (rev 1194)
+++ archive-rebuilds/diff-usertags	2008-09-02 08:01:58 UTC (rev 1195)
@@ -1,58 +0,0 @@
-#! /usr/bin/ruby1.8 -w
-require 'soap/rpc/driver'
-require 'pp'
-bts = SOAP::RPC::Driver::new('http://bugs.debian.org/cgi-bin/soap.cgi', '/Debbugs/SOAP')
-bts.add_method('get_status', 'bugs')
-bts.add_method('get_bugs', 'params')
-bts.add_method('get_bug_log', 'params')
-bts.add_method('get_usertag', 'email', 'tag')
-bts.add_method('newest_bugs', 'num')
-
-# E: not serious: 470440 sbuild (important) sbuild doesn't cope with Checksums-Sha1 and Checksums-Sha256 headers
-# E: not serious: 395271 sbuild (important) sbuild: incorrectly handles versioned provides
-# E: not serious: 474902 gnumach (important) gnumach: FTBFS: bad_user_access_length
-# E: not serious: 473951 gtk-doc (important) gtk-doc: FTBFS: Unsatisfiable build-dependency: openjade(still installed)
-# E: not serious: 395260 sablevm (important) sablevm: cannot create VM when run into a i386 chroot on a AMD64 system.
-# E: not serious: 458879 debian-edu-doc (important) FTBFS in sid, builds fine in etch
-# E: not serious: 441159 9base (important) FTBFS in i386 chroot on amd64
-# E: not serious: 474894 newlib (normal) newlib: FTBFS: Nonexistent build-dependency: binutils-spu [package only for ppc/ppc64]
-NOT_SERIOUS = [ 470440, 395271, 474902, 473951, 395260, 458879, 441159, 474894 ]
-
-# E: only in first set: 474888 gnat-4.3 gnat-4.3: FTBFS: Bootstrap comparison failure!
-# E: only in first set: 471614 gnat-4.1 gnat-4.1: FTBFS: b~gnatfind.adb:(.text+0x225): undefined reference to `xr_tabls___elabs'
-# E: only in first set: 458634 glib2.0 glib2.0: FTBFS: undefined reference to `g_type_module_register_type'
-RANDOM_FAIL = [ 474888, 471614, 458634, 470337, 458874, 476070 ]
-
-IGNORE_DONE = true
-bugs1 = bts.get_usertag(ARGV[0], ARGV[1])
-bs1 = bts.get_status(bugs1[ARGV[1]].sort.uniq)
-
-bs1.delete_if { |k, v| v.pending == "done" } if IGNORE_DONE
-
-bugs2 = bts.get_usertag(ARGV[2], ARGV[3])
-bs2 = bts.get_status(bugs2[ARGV[3]].sort.uniq)
-
-pkgs = []
-bs2.each_pair do |k,v|
-  if v.pending == 'done'
-    modif = Time::at(v.log_modified.to_i)
-    if Time::now - modif < 86400*2
-      modif = " [MODIFIED: #{modif}]"
-    else
-      modif = ""
-    end
-    puts "E: marked as done#{modif}: #{k} #{v.package} #{v.subject}"
-  end
-  if v.severity != 'serious' and not NOT_SERIOUS.include?(k.to_i)
-    puts "E: not serious: #{k} #{v.package} (#{v.severity}) #{v.subject}"
-  end
-  pkgs << v.package
-end
-
-bs2.delete_if { |k, v| v.pending == "done" } if IGNORE_DONE
-
-(bs1.keys - bs2.keys).each do |b|
-  next if pkgs.include?(bs1[b].package) # another bug from the same package is tagged, possibly hiding this one.
-  next if RANDOM_FAIL.include?(b) # random failure, skipping anyway
-  puts "E: only in first set: #{b} #{bs1[b].package} #{bs1[b].subject}"
-end

Deleted: archive-rebuilds/log-summary.rb
===================================================================
--- archive-rebuilds/log-summary.rb	2008-09-02 07:55:32 UTC (rev 1194)
+++ archive-rebuilds/log-summary.rb	2008-09-02 08:01:58 UTC (rev 1195)
@@ -1,121 +0,0 @@
-#!/usr/bin/ruby -w
-# Parse log files and extract info about packages that failed to build
-# because of dependancies problems.
-#
-# Usage:
-# (in the directory containing all the logs:)
-# agf.rb <aptgf|ld> <file with TODO lines>
-
-def gcc_getlines(lines, file)
-  g = lines.grep(/\d: error: /)
-  ig = lines.index(g[0])
-  ih = ig - 1
-  while (ih > 0)
-    if lines[ih] =~ /^\s+from / or
-      lines[ih] =~ /^In file included from / or
-      lines[ih] =~ /: In (member )?function / or
-      lines[ih] =~ /: warning: / or
-      lines[ih] =~ /: In constructor / or
-      lines[ih] =~ /^\s*\^+\s*$/ or
-      lines[ih] =~ / is deprecated. Use/ or
-      lines[ih] =~ /: At global scope:/
-      ih -= 1
-    else
-      if lines[ih] !~ /^\s*(gcc|cc|g\+\+|c\+\+|nasm)/
-#         puts "FNML: #{lines[ih]}"
-      end
-      ih += 1
-      break
-    end
-  end
-  return lines[ih..ig]
-end
-
-def ld_getlines(lines, file)
-  g = lines.grep(/ld returned 1 exit status$/)
-  ig = lines.index(g[0])
-  ih = ig - 1
-  while (ih > 0)
-    if lines[ih] =~ /undefined reference to/ or 
-      lines[ih] =~ / In function / or 
-      lines[ih] =~ / final link failed:/ or 
-      lines[ih] =~ /: first defined here/ or
-      lines[ih] =~ /: cannot find / or
-      lines[ih] =~ /: unknown architecture of input file/ or
-      lines[ih] =~ /: hidden symbol / or
-      lines[ih] =~ /: multiple definition of / or
-      lines[ih] =~ /: warning: .* is deprecated; use .* instead/ or
-      lines[ih] =~ / cannot be preloaded: ignored./
-      ih -= 1
-    else
-      if lines[ih] !~ /^(gcc|cc|g\+\+|ld|c\+\+)/
-#        puts "FNML: #{lines[ih]}"
-      end
-      ih = ih += 1
-      break
-    end
-  end
-  if ih == ig
-    puts "NO LINES FOUND #{file}"
-    exit 1
-  end
-  return lines[ih...ig]
-end
-
-def aptgf_getlines(lines, file)
-  if not (g = lines.grep(/^The following packages have unmet dependencies:$/)).empty?
-    bps = lines.index(g[0]) + 1
-    g = lines.grep(/^E: Broken packages$/)
-    agf = lines.index(g[0]) - 1
-    buglog = lines[bps..agf]
-    return buglog
-  elsif not (g = lines.grep(/^E: Couldn't find package /)).empty?
-             return g 
-  elsif not (g = lines.grep(/^E: Package .* has no installation candidate$/)).empty?
-             return g 
-  elsif not (g = lines.grep(/^Errors were encountered while processing:$/)).empty?
-    bps = lines.index(g[0])
-    g = lines.grep(/^apt-get failed.$/)
-    agf = lines.index(g[0]) - 1
-    buglog = lines[bps..agf]
-    return buglog
-  else
-    puts "NO LINES FOUND #{file}"
-    exit 1
-  end
-end
-
-type = ARGV[0]
-todo = ' TODO'
-#todo = '' # for debugging
-regexp = {
-  'aptgf' => / APT_GET_FAILED.*#{todo}/,
-  'ld' => /LD_ERROR.*#{todo}/,
-  'gcc' => /GCC_ERROR.*#{todo}/
-}
-IO::read(ARGV[1]).split(/\n/).grep(regexp[type]).each do |l|
-  pkg, rest = l.split(' ')
-  lst = Dir::glob("#{pkg}_*")
-  if lst.length == 0
-    puts "No matching logfile."
-    exit 1
-  elsif lst.length > 1
-    lst2 = lst.join("\n  ")
-    puts "Several matching logfiles:\n  #{lst2}"
-    exit 1
-  else
-    file = lst[0]
-  end
-  flines = IO::read(file).split(/\n/)
-  case type
-  when 'aptgf' then
-    lines = aptgf_getlines(flines, file)
-  when 'ld' then
-    lines = ld_getlines(flines, file)
-  when 'gcc' then
-    lines = gcc_getlines(flines, file)
-  end
-  lines.each do |l2|
-    printf "%-20s %s\n" % [pkg, l2]
-  end
-end

Deleted: archive-rebuilds/ma.rb
===================================================================
--- archive-rebuilds/ma.rb	2008-09-02 07:55:32 UTC (rev 1194)
+++ archive-rebuilds/ma.rb	2008-09-02 08:01:58 UTC (rev 1195)
@@ -1,143 +0,0 @@
-#!/usr/bin/ruby -w
-# mb - prepares a mail for a bug report
-
-DATE='2008/01/03'
-SDATE=DATE.gsub('/', '')
-
-# max number of lines to include in the bug report
-$maxlines=20
-
-if ARGV.length > 1
-  $maxlines = ARGV[1].to_i * $maxlines
-end
-
-# fetch the error from a build that failed during the build phase
-def get_buglog_build(log, lines)
-  if $idxbuildfinished - $idxbuilding < $maxlines
-    STDERR.puts "Log is short enough, sending everything"
-    return lines[$idxbuilding..$idxbuildfinished]
-  end
-  # get the last "entering" message
-#  p lines.grep(/^make.*: Entering directory `/)
-  if not (l = lines.grep(/^make.*: Entering directory `/)).empty?
-    idxent = lines.rindex(l[-1])
-    puts l[-1]
-    if $idxbuildfinished - idxent < $maxlines
-      STDERR.puts "Cutting from last 'Entering directory'"
-      return lines[idxent..$idxbuildfinished]
-    end
-  end
-  STDERR.puts "Cutting last #{$maxlines} lines"
-  return lines[($idxbuildfinished - $maxlines)..$idxbuildfinished]
-end
-
-# guess the log filename
-file = ARGV[0]
-if not File::exists?(file)
-  lst = Dir::glob("#{file}*")
-  if lst.length == 0
-    puts "No matching logfile."
-    exit 1
-  elsif lst.length > 1
-    lst2 = lst.join("\n  ")
-    puts "Several matching logfiles:\n  #{lst2}"
-    exit 1
-  else
-    file = lst[0]
-  end
-end
-
-$log = IO::read(file)
-$lines = $log.split(/\n/)
-
-# gets the important stuff
-dbh = $lines.grep(/^DC-Build-Header:/)[0]
-dbs = $lines.grep(/^DC-Build-Status:/)[0]
-junk, $package, $version, rest = dbh.split(' ', 4)
-junk, $result, $time = dbs.split(' ', 3)
-
-STDERR.puts "P:#{$package} V:#{$version} R:#{$result} T:#{$time}"
-
-if (g = $lines.grep(/^Build finished at /)).empty?
-  # didn't display the "Build finished" message
-  if not (g = $lines.grep(/^Source-dependencies not satisfied; /)).empty?
-    
-    STDERR.puts "Failed during build-deps phase ..."
-    # failed to install build dep.
-    $idxfailedbuilddeps = $lines.index(g[0])
-    g = $lines.grep(/^\*\* Using build dependencies supplied by package:/)
-    $idxstartbd = $lines.index(g[0])
-    $buglog = $lines[$idxstartbd..$idxfailedbuilddeps]
-   else
-     puts "UNKNOWN CASE"
-     exit 1
-   end
-else
-  $idxbuildfinished = $lines.index(g[0]) - 2
-  if not (l = $lines.grep(/^dpkg-source: building.*\.dsc$/)).empty?
-    STDERR.puts "Failed during build phase ..."
-    $idxbuilding = $lines.index(l[0])
-    $buglog = get_buglog_build($log, $lines)
-
-  elsif not (l = $lines.grep(/^ \/usr\/bin\/fakeroot debian\/rules clean/)).empty?
-    STDERR.puts "Failed during cleaning phase ..."
-    $idxstartbd = $lines.index(l[0])
-    $buglog = $lines[$idxstartbd..$idxbuildfinished]
-  elsif not (l = $lines.grep(/^dpkg-checkbuilddeps: Unmet build dependencies:/)).empty? or not (l = $lines.grep(/^dpkg-buildpackage: warning: Build dependencies\/conflicts unsatisfied; aborting.$/)).empty?
-    STDERR.puts "Failed during check for build deps phase ..."
-    g = $lines.grep(/^\*\* Using build dependencies supplied by package:/)
-    $idxstartbd = $lines.index(g[0])
-    $buglog = $lines[$idxstartbd..$idxbuildfinished]
-  else
-    STDERR.puts "Failed BEFORE build phase, dunno what to do."
-    exit 1
-  end
-end
-
-versions = `apt-cache showsrc #{$package} |grep "^Version:" | awk '{print $2}'`.split
-versions.each do |v|
-  if `dpkg --compare-versions #{v} gt #{$version} ; echo $?`.to_i == 0
-    puts "There's a newer version available: #{v} (vs: #{$version})."
-    STDIN.getc
-  end
-end
-
-File::open("mutt.#{$package}", "w") do |f|
-  f.puts "From: #{ENV['DEBFULLNAME']} <#{ENV['DEBEMAIL']}>"
-  f.puts "To: submit at bugs.debian.org"
-  f.puts "Subject: #{$package}: FTBFS: XXX"
-  f.puts
-  f.puts "Package: #{$package}"
-  f.puts "version: #{$version}"
-  f.puts "Severity: serious"
-  f.puts "User: debian-qa at lists.debian.org"
-  f.puts "Usertags: qa-ftbfs-#{SDATE} qa-ftbfs"
-  f.puts "Justification: FTBFS on amd64"
-  f.puts
-  f.puts <<-EOF
-Hi,
-
-During a rebuild of all packages in sid, your package failed to build on amd64.
-
-Relevant part:
-
-  EOF
-  f.puts " > " + $buglog.join("\n > ")
-  f.puts <<-EOF
-
-The full build log is available from:
-	http://people.debian.org/~lucas/logs/#{DATE}
-
-A list of current common problems and possible solutions is available at 
-http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
-
-About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
-of the Grid'5000 platform, using a clean chroot containing a sid
-environment.  Internet was not accessible from the build systems.
-  EOF
-end
-STDERR.puts
-cmd = "mutt -H mutt.#{$package}"
-STDERR.puts cmd
-STDIN.getc
-system(cmd)

Deleted: archive-rebuilds/mb.rb
===================================================================
--- archive-rebuilds/mb.rb	2008-09-02 07:55:32 UTC (rev 1194)
+++ archive-rebuilds/mb.rb	2008-09-02 08:01:58 UTC (rev 1195)
@@ -1,153 +0,0 @@
-#!/usr/bin/ruby -w
-# mb - prepares a mail for a bug report
-
-DATE='2008/02/05'
-SDATE=DATE.gsub('/', '')
-
-# max number of lines to include in the bug report
-$maxlines=20
-
-if ARGV.length > 1
-  $maxlines = ARGV[1].to_i * $maxlines
-end
-
-# fetch the error from a build that failed during the build phase
-def get_buglog_build(log, lines)
-  if $idxbuildfinished - $idxbuilding < $maxlines
-    STDERR.puts "Log is short enough, sending everything"
-    return lines[$idxbuilding..$idxbuildfinished]
-  end
-  # get the last "entering" message
-#  p lines.grep(/^make.*: Entering directory `/)
-  if not (l = lines.grep(/^make.*: Entering directory `/)).empty?
-    idxent = lines.rindex(l[-1])
-    puts l[-1]
-    if $idxbuildfinished - idxent < $maxlines
-      STDERR.puts "Cutting from last 'Entering directory'"
-      return lines[idxent..$idxbuildfinished]
-    end
-  end
-  STDERR.puts "Cutting last #{$maxlines} lines"
-  return lines[($idxbuildfinished - $maxlines)..$idxbuildfinished]
-end
-
-# guess the log filename
-file = ARGV[0]
-if not File::exists?(file)
-  lst = Dir::glob("#{file}*log")
-  if lst.length == 0
-    puts "No matching logfile."
-    exit 1
-  elsif lst.length > 1
-    lst2 = lst.join("\n  ")
-    puts "Several matching logfiles:\n  #{lst2}"
-    exit 1
-  else
-    file = lst[0]
-  end
-end
-
-$log = IO::read(file)
-$lines = $log.split(/\n/)
-
-# gets the important stuff
-dbh = $lines.grep(/^DC-Build-Header:/)[0]
-dbs = $lines.grep(/^DC-Build-Status:/)[0]
-junk, $package, $version, rest = dbh.split(' ', 4)
-junk, $result, $time = dbs.split(' ', 3)
-
-STDERR.puts "P:#{$package} V:#{$version} R:#{$result} T:#{$time}"
-
-if not File::exists?("#{$package}.bugs")
-  puts "NO BUGS FILE"
-  STDIN.getc
-else
-  s = IO::read("#{$package}.bugs")
-  if s.length > 0
-    puts "BUGS:"
-    puts s
-    STDIN.getc
-  end
-end
-
-versions = `apt-cache showsrc #{$package} |grep "^Version:" | awk '{print $2}'`.split
-versions.each do |v|
-  if `dpkg --compare-versions #{v} gt #{$version} ; echo $?`.to_i == 0
-    puts "There's a newer version available: #{v} (vs: #{$version})."
-    STDIN.getc
-  end
-end
-
-if (g = $lines.grep(/^Build finished at /)).empty?
-  # didn't display the "Build finished" message
-  if not (g = $lines.grep(/^Source-dependencies not satisfied; /)).empty?
-    
-    STDERR.puts "Failed during build-deps phase ..."
-    # failed to install build dep.
-    $idxfailedbuilddeps = $lines.index(g[0])
-    g = $lines.grep(/^\*\* Using build dependencies supplied by package:/)
-    $idxstartbd = $lines.index(g[0])
-    $buglog = $lines[$idxstartbd..$idxfailedbuilddeps]
-   else
-     puts "UNKNOWN CASE"
-     exit 1
-   end
-else
-  $idxbuildfinished = $lines.index(g[0]) - 2
-  if not (l = $lines.grep(/^dpkg-source: building.*\.dsc$/)).empty?
-    STDERR.puts "Failed during build phase ..."
-    $idxbuilding = $lines.index(l[0])
-    $buglog = get_buglog_build($log, $lines)
-
-  elsif not (l = $lines.grep(/^ \/usr\/bin\/fakeroot debian\/rules clean/)).empty?
-    STDERR.puts "Failed during cleaning phase ..."
-    $idxstartbd = $lines.index(l[0])
-    $buglog = $lines[$idxstartbd..$idxbuildfinished]
-  elsif not (l = $lines.grep(/^dpkg-checkbuilddeps: Unmet build dependencies:/)).empty? or not (l = $lines.grep(/^dpkg-buildpackage: warning: Build dependencies\/conflicts unsatisfied; aborting.$/)).empty?
-    STDERR.puts "Failed during check for build deps phase ..."
-    g = $lines.grep(/^\*\* Using build dependencies supplied by package:/)
-    $idxstartbd = $lines.index(g[0])
-    $buglog = $lines[$idxstartbd..$idxbuildfinished]
-  else
-    STDERR.puts "Failed BEFORE build phase, dunno what to do."
-    exit 1
-  end
-end
-
-File::open("mutt.#{$package}", "w") do |f|
-  f.puts "From: #{ENV['DEBFULLNAME']} <#{ENV['DEBEMAIL']}>"
-  f.puts "To: submit at bugs.debian.org"
-  f.puts "Subject: #{$package}: FTBFS: XXX"
-  f.puts
-  f.puts "Package: #{$package}"
-  f.puts "version: #{$version}"
-  f.puts "Severity: serious"
-  f.puts "User: debian-qa at lists.debian.org"
-  f.puts "Usertags: qa-ftbfs-#{SDATE} qa-ftbfs"
-  f.puts "Justification: FTBFS on i386"
-  f.puts
-  f.puts <<-EOF
-Hi,
-
-During a rebuild of all packages in sid, your package failed to build on i386.
-
-Relevant part:
-
-  EOF
-  f.puts " > " + $buglog.join("\n > ")
-  f.puts <<-EOF
-
-The full build log is available from:
-	http://people.debian.org/~lucas/logs/#{DATE}
-
-A list of current common problems and possible solutions is available at 
-http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
-
-About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
-of the Grid'5000 platform, using a clean chroot containing a sid i386
-environment.  Internet was not accessible from the build systems.
-  EOF
-end
-STDERR.puts
-cmd = "/usr/bin/mutt -e 'set autoedit' -H mutt.#{$package}"
-system(cmd)

Deleted: archive-rebuilds/md.rb
===================================================================
--- archive-rebuilds/md.rb	2008-09-02 07:55:32 UTC (rev 1194)
+++ archive-rebuilds/md.rb	2008-09-02 08:01:58 UTC (rev 1195)
@@ -1,141 +0,0 @@
-#!/usr/bin/ruby -w
-# mb - prepares a mail for a bug report
-
-DATE='2008/01/03'
-SDATE=DATE.gsub('/', '')
-
-# max number of lines to include in the bug report
-$maxlines=20
-
-if ARGV.length > 1
-  $maxlines = ARGV[1].to_i * $maxlines
-end
-
-# fetch the error from a build that failed during the build phase
-def get_buglog_build(log, lines)
-  if $idxbuildfinished - $idxbuilding < $maxlines
-    STDERR.puts "Log is short enough, sending everything"
-    return lines[$idxbuilding..$idxbuildfinished]
-  end
-  # get the last "entering" message
-#  p lines.grep(/^make.*: Entering directory `/)
-  if not (l = lines.grep(/^make.*: Entering directory `/)).empty?
-    idxent = lines.rindex(l[-1])
-    puts l[-1]
-    if $idxbuildfinished - idxent < $maxlines
-      STDERR.puts "Cutting from last 'Entering directory'"
-      return lines[idxent..$idxbuildfinished]
-    end
-  end
-  STDERR.puts "Cutting last #{$maxlines} lines"
-  return lines[($idxbuildfinished - $maxlines)..$idxbuildfinished]
-end
-
-# guess the log filename
-file = ARGV[0]
-if not File::exists?(file)
-  lst = Dir::glob("#{file}*")
-  if lst.length == 0
-    puts "No matching logfile."
-    exit 1
-  elsif lst.length > 1
-    lst2 = lst.join("\n  ")
-    puts "Several matching logfiles:\n  #{lst2}"
-    exit 1
-  else
-    file = lst[0]
-  end
-end
-
-$log = IO::read(file)
-$lines = $log.split(/\n/)
-
-# gets the important stuff
-dbh = $lines.grep(/^DC-Build-Header:/)[0]
-dbs = $lines.grep(/^DC-Build-Status:/)[0]
-junk, $package, $version, rest = dbh.split(' ', 4)
-junk, $result, $time = dbs.split(' ', 3)
-
-STDERR.puts "P:#{$package} V:#{$version} R:#{$result} T:#{$time}"
-
-if (g = $lines.grep(/^Build finished at /)).empty?
-  # didn't display the "Build finished" message
-  if not (g = $lines.grep(/^Source-dependencies not satisfied; /)).empty?
-    
-    STDERR.puts "Failed during build-deps phase ..."
-    # failed to install build dep.
-    $idxfailedbuilddeps = $lines.index(g[0])
-    g = $lines.grep(/^\*\* Using build dependencies supplied by package:/)
-    $idxstartbd = $lines.index(g[0])
-    $buglog = $lines[$idxstartbd..$idxfailedbuilddeps]
-   else
-     puts "UNKNOWN CASE"
-     exit 1
-   end
-else
-  $idxbuildfinished = $lines.index(g[0]) - 2
-  if not (l = $lines.grep(/^dpkg-source: building.*\.dsc$/)).empty?
-    STDERR.puts "Failed during build phase ..."
-    $idxbuilding = $lines.index(l[0])
-    $buglog = get_buglog_build($log, $lines)
-
-  elsif not (l = $lines.grep(/^ \/usr\/bin\/fakeroot debian\/rules clean/)).empty?
-    STDERR.puts "Failed during cleaning phase ..."
-    $idxstartbd = $lines.index(l[0])
-    $buglog = $lines[$idxstartbd..$idxbuildfinished]
-  elsif not (l = $lines.grep(/^dpkg-checkbuilddeps: Unmet build dependencies:/)).empty? or not (l = $lines.grep(/^dpkg-buildpackage: warning: Build dependencies\/conflicts unsatisfied; aborting.$/)).empty?
-    STDERR.puts "Failed during check for build deps phase ..."
-    g = $lines.grep(/^\*\* Using build dependencies supplied by package:/)
-    $idxstartbd = $lines.index(g[0])
-    $buglog = $lines[$idxstartbd..$idxbuildfinished]
-  else
-    STDERR.puts "Failed BEFORE build phase, dunno what to do."
-    exit 1
-  end
-end
-
-versions = `apt-cache showsrc #{$package} |grep "^Version:" | awk '{print $2}'`.split
-versions.each do |v|
-  if `dpkg --compare-versions #{v} gt #{$version} ; echo $?`.to_i == 0
-    puts "There's a newer version available: #{v} (vs: #{$version})."
-    STDIN.getc
-  end
-end
-
-File::open("mutt.#{$package}", "w") do |f|
-  f.puts "From: #{ENV['DEBFULLNAME']} <#{ENV['DEBEMAIL']}>"
-  f.puts "To: submit at bugs.debian.org"
-  f.puts "Subject: #{$package}: FTBFS with dash: XXX"
-  f.puts
-  f.puts "Package: #{$package}"
-  f.puts "version: #{$version}"
-  f.puts "User: debian-qa at lists.debian.org"
-  f.puts "Usertags: qa-ftbfs-dash-#{SDATE} qa-ftbfs-dash"
-  f.puts
-  f.puts <<-EOF
-Hi,
-
-During a rebuild of all packages in sid using /bin/dash as /bin/sh, your package failed to build.
-
-Relevant part:
-
-  EOF
-  f.puts " > " + $buglog.join("\n > ")
-  f.puts <<-EOF
-
-The full build log is available from:
-	http://people.debian.org/~lucas/logs/#{DATE}.dash/
-
-Rumors say that Ubuntu is using dash as /bin/sh on their buildds, so a patch
-might be available. Check <http://packages.qa.debian.org/#{$package}>, or
-directly on launchpad: <https://launchpad.net/ubuntu/+source/#{$package}>.
-
-A list of current common problems and possible solutions is available at 
-http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
-  EOF
-end
-STDERR.puts
-cmd = "mutt -H mutt.#{$package}"
-STDERR.puts cmd
-STDIN.getc
-system(cmd)

Deleted: archive-rebuilds/sb.rb
===================================================================
--- archive-rebuilds/sb.rb	2008-09-02 07:55:32 UTC (rev 1194)
+++ archive-rebuilds/sb.rb	2008-09-02 08:01:58 UTC (rev 1195)
@@ -1,15 +0,0 @@
-#!/usr/bin/ruby -w
-# Show bugs
-
-pkg = ARGV[0]
-if pkg =~ /_/
-  pkg = pkg.gsub(/_.*/, '')
-end
-url = "http://bugs.debian.org/src:#{pkg}"
-#cgi-bin/pkgreport.cgi?pkg=#{pkg}&archive=no&repeatmerged=no&version=&dist=unstable&pend-inc=pending&pend-inc=forwarded&pend-inc=pending-fixed&pend-inc=fixed&pend-inc=done&sev-inc=critical&sev-inc=grave&sev-inc=serious&sev-inc=important"
-cmd = "epiphany-browser \"#{url}\" &"
-puts cmd
-system(cmd)
-cmd = "epiphany-browser \"http://packages.qa.debian.org/#{pkg}\" &"
-puts cmd
-system(cmd)




More information about the Collab-qa-commits mailing list