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

Bug#830869: marked as done (debootstrap: script fails first stage due to missing devices.tar.gz despite no longer being used)



Your message dated Thu, 08 Sep 2016 07:18:35 +0000
with message-id <E1bhtbX-00057v-Po@franck.debian.org>
and subject line Bug#830869: fixed in debootstrap 1.0.82
has caused the Debian Bug report #830869,
regarding debootstrap: script fails first stage due to missing devices.tar.gz despite no longer being used
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 owner@bugs.debian.org
immediately.)


-- 
830869: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=830869
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: debhelper
Severity: normal

Since bug #571136 was fixed we no longer actually need a devices.tar.gz
to build our tarball. However we can't just checkout the debootstrap
script and call directly because it still requires the tarball. One
possible fix is attached bellow, although a more thorough cleaning could
be done:

---
Subject: [PATCH] debootstrap: fail gracefully copying devices.tgar.gz

The devices tarball only exists if you build the source code (as root)
before invoking the script. Since bug #571136 was fixed the
--second-stage doesn't even use the devices tarball so we can afford to
fail gracefully when it doesn't exist. In addition this allows us to
call the script under -e conditions from a straight checkout which is
useful in other cases.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
 debootstrap | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debootstrap b/debootstrap
index 2a959bb..4027a5d 100755
--- a/debootstrap
+++ b/debootstrap
@@ -635,7 +635,7 @@ if am_doing_phase first_stage; then
        if ! am_doing_phase second_stage; then
                cp "$0"				 "$TARGET/debootstrap/debootstrap"
                cp $DEBOOTSTRAP_DIR/functions	 "$TARGET/debootstrap/functions"
-		cp $DEBOOTSTRAP_DIR/devices.tar.gz	 "$TARGET/debootstrap/devices.tar.gz"
+		cp $DEBOOTSTRAP_DIR/devices.tar.gz	 "$TARGET/debootstrap/devices.tar.gz" || true
                cp $SCRIPT			 "$TARGET/debootstrap/suite-script"
                echo "$ARCH"			>"$TARGET/debootstrap/arch"
                echo "$SUITE"			>"$TARGET/debootstrap/suite"
--
2.7.4

--
Alex Bennée

--- End Message ---
--- Begin Message ---
Source: debootstrap
Source-Version: 1.0.82

We believe that the bug you reported is fixed in the latest version of
debootstrap, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 830869@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christian Perrier <bubulle@debian.org> (supplier of updated debootstrap package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 08 Sep 2016 07:09:56 +0200
Source: debootstrap
Binary: debootstrap debootstrap-udeb
Architecture: source all
Version: 1.0.82
Distribution: unstable
Urgency: medium
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Christian Perrier <bubulle@debian.org>
Description:
 debootstrap - Bootstrap a basic Debian system
 debootstrap-udeb - Bootstrap the Debian system (udeb)
Closes: 830869
Changes:
 debootstrap (1.0.82) unstable; urgency=medium
 .
   [ Alex Bennée ]
   * Excise all devices.tar.gz code. Closes: #830869
Checksums-Sha1:
 991d6f3909133e031d4a2136b99f005a1ae1eb56 1812 debootstrap_1.0.82.dsc
 cfd4dc164bf72e913d8c217f721ac2e30750d8ad 64344 debootstrap_1.0.82.tar.gz
 32514c78f552db0fd70d746690ea297cf0f3e3be 17998 debootstrap-udeb_1.0.82_all.udeb
 2e681f318f7fee9f9702c4c7d39d09a86fd1d35d 64122 debootstrap_1.0.82_all.deb
Checksums-Sha256:
 bbaaf1211ef87f8a81cfccd886ebaac6183d759961f8203cc012ff1de82b57c0 1812 debootstrap_1.0.82.dsc
 db0dfad15d5338a8cdbcc3bbfda8dc59c58edf07511303f31746ef6fcc733835 64344 debootstrap_1.0.82.tar.gz
 a6f8ad08a86a872805c8c253110657a750ff72cd7aa2c1bae14633ef94673c1b 17998 debootstrap-udeb_1.0.82_all.udeb
 ca32de028f055f7839b18f42d0d95b8ccc6c5607cdc2cd7b6e363ad854f5689e 64122 debootstrap_1.0.82_all.deb
Files:
 a37bfb5290c0ecf891c75bc03c3f857c 1812 admin extra debootstrap_1.0.82.dsc
 224887f2d815431df3e4c56c24789b8d 64344 admin extra debootstrap_1.0.82.tar.gz
 2958e0ac08192656d95979c25979aad4 17998 debian-installer extra debootstrap-udeb_1.0.82_all.udeb
 be3fdc86fed805f095eca6af18ea840f 64122 admin extra debootstrap_1.0.82_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJX0Q7lAAoJEIcvcCxNbiWoIfMP/ibTyw+znCZndHGR45gsC3+P
mCz3ENe7HBDvtlEAP6RU6raK62FN8J9a/2/W/GItEvZDdgHHocN9v3g91OQHkk9P
rjfmfRu7Vyi6xrYEPLTFnvflT6ujKsEb/+JYY8Vbe2YE7zKxuuLZBIq51jKMIUze
FhO4ONaeg8gYaJuNdv4s+bd60EZHK6ySy7Wj5RT0wgcgCYWTTp5FDSnFSg1x9i1Q
yRXZ37InwCE4hFZOPoQoS9Xv6GrbzfdOKzN54HbW35jTe4HINVJZnC+VzFLuCfQ0
24EKWIxS+xgvay8eBp8R8hVpM0gRF1+LwLf2eHoSDA969EuyMjYblLJZuCiV3OUM
+mZSx+jNuHuIaUF/H15DfAtL2ah//SLhi4aWyxF19SAqALOQh+hwUdKWOE9C/sJR
Vpq6lLGxv9q/z1bBZKlIrmdZGmXyCkWLNTF3O739HacCKvX31PhfswTN9Xzd1IE0
mvuciqsxmItxXbC3dJkDr661VE2Gq6YPHBi3WDxOXuhGLSY+lsnKkb0naPNkESM9
AOXcmKbclvWo2TpkI6b05NC+IF7Jg86ECbtYutIGtfltOZofP9jBL5UDG7uoK+8n
aaJmjGpn/sjT40cu4+898e+7EwsvgHIfeju2HArU0vSBVFQCt56qchdUM+sUC+yg
tolvPJtWMxBbK1A1Zt61
=S74w
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: