[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#545381: Potential bug for build-essential on buildd.d.o



Hi,

I'm considering this patch
diff --git a/triggers/common b/triggers/common
index 4c0778b..4e25904 100644
--- a/triggers/common
+++ b/triggers/common
@@ -65,6 +65,10 @@ trigger_wb_update() {
     keep-latest source $(eval echo ${SOURCES}) > Sources.${SUITE}
     for ARCH in ${ARCHS}; do
         keep-latest ${ARCH} $(eval echo $(echo ${PACKAGES} | sed -e 's/%ARCH%/${ARCH}/g')) > Packages.${SUITE}.${ARCH}
+        : > Packages.${SUITE}.${ARCH}.build-essential
+        for pkg in perl dpkg binutils; do
+            grep-dctrl -S -s Package,Version,Priority,Section,Architecture -X $pkg < Packages.${SUITE}.${ARCH} | sed -e '/^Version/ s,$,+build-essential,' >> Packages.${SUITE}.${ARCH}.build-essential
+        done
     done
     [ -f Packages.${SUITE}.i386.non-free ] && PNF="Packages.${SUITE}.%ARCH%.non-free" || PNF=""
     [ -f Sources.${SUITE}.non-free ] && SNF="Sources.${SUITE}.non-free" || SNF=""
(The version-number needs to be changed so that edos doesn't get
confused - that might have some impact, but well.)

(plus adding the file Packages.${SUITE}.${ARCH}.build-essential for
usage within wanna-build)

One could also add all packages with level required within this patch.

This change does the trick (tried today with mips and perl), but e.g.
I'm not sure if we aren't picking up too many packages.

Any comments re selection of packages, adding required packages, ...
is appreciated. 



Andi



Reply to: