The worst build dependencies in Debian

We really have to look at things two ways to pick the packages with the worst build deps. Crazy shell helps too:

joey@dragon:~>lnpdb () {perl -ne '($f,$v)=/^(.*): (.*)/; $p=$v if $f eq "Package"; print length($v)."\t".(($_=$v && s/, //g)+0)."\t$p\t$v\n" if $f eq "Build-Depends"' /var/lib/apt/lists/*Sources}
joey@dragon:~>(echo "length pkg count pkg"; paste <(lnpdb | cut -f 1,3 | sort -rn) <(lnpdb | cut -f 2,3 | sort -rn)) | head -20 | column -t
length  pkg                  count  pkg
2181    gcc-4.0              56     vlc
2059    gcc-snapshot         56     debian-installer
1649    gst-plugins0.8       55     camorama
1545    gcc-3.4              52     openoffice.org
1143    debian-installer     51     gst-plugins0.8
1040    vlc                  47     gcc-4.0
1012    gcc-3.3              47     boot-floppies
968     boot-floppies        44     gcc-snapshot
889     openoffice.org       43     gcc-3.4
828     qt-x11-free          41     php4
761     php4                 39     php5
739     camorama             37     kimdaba
737     gnome-applets        36     pike7.6
715     php5                 35     gcc-3.3
706     muine                34     uim
680     qt4-x11              32     pike7.4
668     gtk-sharp2-unstable  29     qt4-x11
637     pike7.6              29     qt-x11-free
614     gtk-sharp            29     gnome-applets

gcc wins by virtue of insane arch lists, vlc for depending on every library on earth, but d-i really competes on variety and breadth of build deps.