Re: Bug#857345: jessie-pu: package debootstrap/1.0.72

2017-03-10 Thread Cyril Brulebois
Hi,

Neil Williams  (2017-03-10):
> Package: release.debian.org
> Severity: normal
> Tags: jessie
> User: release.debian@packages.debian.org
> Usertags: pu
> 
> The fix for https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=757819
> needs to be available in jessie to solve problems with using --foreign
> with any Stretch bootstrap operation. Would this be possible to do as
> an upload to proposed-updates and would this fix be acceptable for the
> next Jessie point release?

A couple of things:
 - you're asking to fix a bug with severity:normal in stable;
 - you're not attaching a source debdiff.

The severity could be adjusted if needed, I suppose; but I'm also not
entirely convinced by the fact the title matches what the fix does: fall
back to $USE_COMPONENTS when $COMPONENTS is empty, which isn't trivially
mapped to lack of support for Pre-Depends in qemu-debootstrap. I guess
the title could be adjusted along with the severity.

Anyway, attaching a source debdiff so that SRMs can figure out what to
do with this request.


KiBi.
diff -Nru debootstrap-1.0.67/debian/changelog debootstrap-1.0.67+deb8u1/debian/changelog
--- debootstrap-1.0.67/debian/changelog	2015-01-14 07:03:21.0 +0100
+++ debootstrap-1.0.67+deb8u1/debian/changelog	2017-03-10 11:36:51.0 +0100
@@ -1,3 +1,11 @@
+debootstrap (1.0.67+deb8u1) jessie; urgency=medium
+
+  [ Colin Watson ]
+  * Fix resolve_deps and setup_available to work in the --foreign case
+(closes: #757819, LP: #1450980).
+
+ -- Cyril Brulebois   Fri, 10 Mar 2017 11:36:44 +0100
+
 debootstrap (1.0.67) unstable; urgency=medium
 
   [ Cyril Brulebois ]
diff -Nru debootstrap-1.0.67/functions debootstrap-1.0.67+deb8u1/functions
--- debootstrap-1.0.67/functions	2015-01-06 05:00:50.0 +0100
+++ debootstrap-1.0.67+deb8u1/functions	2017-03-10 11:36:11.0 +0100
@@ -1247,14 +1247,14 @@
 	local ALLPKGS2="";
 	while [ "$PKGS" != "" ]; do
 		local NEWPKGS=""
-		for c in $COMPONENTS; do
+		for c in ${COMPONENTS:-$USE_COMPONENTS}; do
 			local path="dists/$SUITE/$c/binary-$ARCH/Packages"
 			local pkgdest="$TARGET/$($DLDEST pkg "$SUITE" "$c" "$ARCH" "$m1" "$path")"
 			NEWPKGS="$NEWPKGS $("$PKGDETAILS" GETDEPS "$pkgdest" $PKGS)"
 		done
 		PKGS=$(echo "$PKGS $NEWPKGS" | tr ' ' '\n' | sort | uniq)
 		local REALPKGS=""
-		for c in $COMPONENTS; do
+		for c in ${COMPONENTS:-$USE_COMPONENTS}; do
 			local path="dists/$SUITE/$c/binary-$ARCH/Packages"
 			local pkgdest="$TARGET/$($DLDEST pkg "$SUITE" "$c" "$ARCH" "$m1" "$path")"
 			REALPKGS="$REALPKGS $("$PKGDETAILS" PKGS REAL "$pkgdest" $PKGS | sed -n 's/ .*REAL.*$//p')"
@@ -1270,7 +1270,7 @@
 setup_available () {
 	local m1="${MIRRORS%% *}"
 
-	for c in $COMPONENTS; do
+	for c in ${COMPONENTS:-$USE_COMPONENTS}; do
 		local path="dists/$SUITE/$c/binary-$ARCH/Packages"
 		local pkgdest="$TARGET/$($DLDEST pkg "$SUITE" "$c" "$ARCH" "$m1" "$path")"
 		# XXX: What if a package is in more than one component?


signature.asc
Description: Digital signature


Bug#857345: jessie-pu: package debootstrap/1.0.72

2017-03-10 Thread Neil Williams
Package: release.debian.org
Severity: normal
Tags: jessie
User: release.debian@packages.debian.org
Usertags: pu

The fix for https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=757819 needs to be
available in jessie to solve problems with using --foreign with any Stretch
bootstrap operation. Would this be possible to do as an upload to 
proposed-updates
and would this fix be acceptable for the next Jessie point release?

-- System Information:
Debian Release: 9.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf

Kernel: Linux 4.9.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)