Your message dated Tue, 08 Jan 2013 16:27:01 +0100
with message-id <[email protected]>
and subject line Re: make build-essential use an empty list for unofficial archs
has caused the Debian Bug report #317344,
regarding [Patch] make build-essential use an empty list for unofficial archs
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
317344: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=317344
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: build-essential
Version: 10.1
Severity: wishlist
Tags: patch

Hi,

from the changelog:

* make-esslist.sh: Download Release file and use Architectures field
* make-esslist.sh: Add special case for amd64.debian.net
* Makefile.am: Use essential-packages-list-empty for unknown archs

MfG
        Goswin

-- System Information:
Debian Release: 3.1
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.8-frosties-1
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages build-essential depends on:
ii  dpkg-dev                    1.10.27      Package building tools for Debian
ii  g++                         4:3.3.5-3    The GNU C++ compiler
ii  gcc                         4:3.3.5-3    The GNU C compiler
ii  libc6-dev [libc-dev]        2.3.2.ds1-21 GNU C Library: Development Librari
ii  make                        3.80-9       The GNU version of the "make" util

-- no debconf information
diff -Nru build-essential-11.orig/Makefile.am build-essential-11/Makefile.am
--- build-essential-11.orig/Makefile.am 2004-01-01 17:30:15.000000000 +0100
+++ build-essential-11/Makefile.am      2005-07-07 20:49:48.000000000 +0200
@@ -12,7 +12,9 @@
        make-esslist.sh \
        essential-packages-list-*
 
-essential-packages-list: essential-packages-list-@DEB_HOST_ARCH@
+ARCHLIST = essential-packages-list-$(shell if grep -q 
"^Architectures:.*\b@DEB_HOST_ARCH@\b" Release; then echo @DEB_HOST_ARCH@; else 
echo empty; fi)
+
+essential-packages-list: $(ARCHLIST)
        ln -s $< $@
 
 clean-local:
diff -Nru build-essential-11.orig/debian/changelog 
build-essential-11/debian/changelog
--- build-essential-11.orig/debian/changelog    2005-07-05 18:21:12.000000000 
+0200
+++ build-essential-11/debian/changelog 2005-07-07 20:56:52.000000000 +0200
@@ -1,3 +1,11 @@
+build-essential (11-0.0.0.2.pure64) unstable; urgency=low
+
+  * make-esslist.sh: Download Release file and use Architectures field
+  * make-esslist.sh: Add special case for amd64.debian.net
+  * Makefile.am: Use essential-packages-list-empty for unknown archs
+
+ -- Goswin von Brederlow <[email protected]>  Thu,  7 Jul 
2005 20:15:26 +0100
+
 build-essential (11) unstable; urgency=low
 
   * Increased versioned dependency on gcc and g++ to 4.0.
diff -Nru build-essential-11.orig/make-esslist.sh 
build-essential-11/make-esslist.sh
--- build-essential-11.orig/make-esslist.sh     2003-09-26 03:40:53.000000000 
+0200
+++ build-essential-11/make-esslist.sh  2005-07-07 20:55:45.000000000 +0200
@@ -6,26 +6,48 @@
 
 set -e
 
-arches=`awk '($1 != "" && $1 !~ /^#/) {print $2}' /usr/share/dpkg/archtable \
-       | sort | uniq`
+wget -O Release $mirror/dists/$dist/Release
+
+arches=`grep Architectures Release | cut -d" " -f2-`
 
 for arch in $arches
 do
-       if wget -O Packages-$arch $mirror/dists/$dist/main/binary-$arch/Packages
-       then
-               printf > $esslist-$arch \
-                       'This list was generated on %s for %s\n' \
-                       "`LANG=C date`" "$arch"
-               echo >> $esslist-$arch \
-                       'It contains a list of essential packages' \
-                       '(which are also build-essential).'
-               echo >> $esslist-$arch
-
-               grep-status -FEssential -sPackage -ni yes Packages-$arch \
-                       >> $esslist-$arch
-       else
-               echo "No essential packages list is available" \
-                       "for $arch in $dist" > $esslist-$arch
-       fi
-       rm -f Packages-$arch
+       wget -O Packages-$arch.bz2 
$mirror/dists/$dist/main/binary-$arch/Packages.bz2
+       bunzip2 Packages-$arch.bz2
+       printf > $esslist-$arch \
+                'This list was generated on %s for %s\n' \
+                "`LANG=C date`" "$arch"
+       echo >> $esslist-$arch \
+               'It contains a list of essential packages' \
+               '(which are also build-essential).'
+       echo >> $esslist-$arch
+
+       grep-status -FEssential -sPackage -ni yes Packages-$arch \
+               >> $esslist-$arch
+       rm -f Packages-$arch Packages-$arch.bz2
 done
+
+echo "No essential packages list is available" \
+     "for $arch in $dist" > $esslist-empty
+
+#####################################################################
+# Special case for amd64 till it gets added
+arch=amd64
+mirror=http://amd64.debian.net/debian
+
+wget -O Packages-$arch.bz2 $mirror/dists/$dist/main/binary-$arch/Packages.bz2
+bunzip2 Packages-$arch.bz2
+printf > $esslist-$arch \
+        'This list was generated on %s for %s\n' \
+        "`LANG=C date`" "$arch"
+echo >> $esslist-$arch \
+       'It contains a list of essential packages' \
+       '(which are also build-essential).'
+echo >> $esslist-$arch
+
+grep-status -FEssential -sPackage -ni yes Packages-$arch \
+       >> $esslist-$arch
+rm -f Packages-$arch Packages-$arch.bz2
+
+mv Release Release~
+sed 's,^Architectures:,Architectures: amd64,' <Release~ >Release


--- End Message ---
--- Begin Message ---
Version: 11.5

works at least with 11.5.

--- End Message ---

Reply via email to