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

Bug#971946: marked as done (libdebian-installer: READSIZE size insufficient for cdebootstrap to build sid/unstable from buster/stable environment)



Your message dated Sat, 30 Jan 2021 01:18:34 +0000
with message-id <E1l5euI-0001Cs-A0@fasolo.debian.org>
and subject line Bug#971946: fixed in libdebian-installer 0.121
has caused the Debian Bug report #971946,
regarding libdebian-installer: READSIZE size insufficient for cdebootstrap to build sid/unstable from buster/stable environment
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.)


-- 
971946: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=971946
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libdebian-installer
Version: 0.119

When using cdebootstrap from within buster/stable to create a rootfs for sid/unstable, it will fail with:

W: parser_rfc822: Iek! Don't find end of value!
E: Internal error: download

Seems "64k ought to be enough for everyone" strikes again as this is functionally a dupe of Bug#554444 though it is now that a READSIZE of 65536 in libdebian-installer/src/parser_rfc822.c is now insufficient. I downloaded the deb-src, updated READSIZE to 262144, debuild'ed it and installed it, cdebootstrap would then complete successfully for sid/unstable. My diff is:

diff --git a/src/parser_rfc822.c b/src/parser_rfc822.c
index afd336a..b14859e 100644
--- a/src/parser_rfc822.c
+++ b/src/parser_rfc822.c
@@ -35,7 +35,7 @@
 #include <sys/types.h>
 #include <unistd.h>

-#define READSIZE 65536
+#define READSIZE 262144

 int di_parser_rfc822_read (char *begin, size_t size, di_parser_info *info, di_parser_read_entry_new entry_new, di_parser_read_entry_finish entry_finish, void *user_data)
 {

--- End Message ---
--- Begin Message ---
Source: libdebian-installer
Source-Version: 0.121
Done: Steve McIntyre <93sam@debian.org>

We believe that the bug you reported is fixed in the latest version of
libdebian-installer, 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 971946@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Steve McIntyre <93sam@debian.org> (supplier of updated libdebian-installer 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: Sat, 30 Jan 2021 00:50:27 +0000
Source: libdebian-installer
Architecture: source
Version: 0.121
Distribution: unstable
Urgency: medium
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Steve McIntyre <93sam@debian.org>
Closes: 971946
Changes:
 libdebian-installer (0.121) unstable; urgency=medium
 .
   [ Holger Wansing ]
   * Remove trailing whitespaces from changelog and control file, to fix
     lintian tag.
 .
   [ Debian Janitor ]
   * Bump debhelper from deprecated 9 to 12.
   * Set debhelper-compat version in Build-Depends.
   * Drop unnecessary dependency on dh-autoreconf.
   * Rely on pre-initialized dpkg-architecture variables.
 .
   [ Steve McIntyre ]
   * Remove the arbitrary limitation on maximum line length in Packages
     and Sources files - it's pointless and breaks things
     periodically. Closes: #971946
   * Update Standards-Version to 4.5.1
Checksums-Sha1:
 5cbba2659d992b9c1d9a8d7ae0d9b91e6913f7b3 2213 libdebian-installer_0.121.dsc
 69037a89edb587a880ee0e02212c5757e422e74f 72308 libdebian-installer_0.121.tar.xz
 65a488ae098ffae667a09af25d133543cef0293d 5990 libdebian-installer_0.121_source.buildinfo
Checksums-Sha256:
 8e0338f8df3f85eec0ead0339176d85aaffe5d083b7b477bd5a17f4320fd536f 2213 libdebian-installer_0.121.dsc
 889370308ccb2107f0f1c211f3230018b10f146e0a274f7703fcd3c15f6e7fc0 72308 libdebian-installer_0.121.tar.xz
 75626fed228f80ec33605226920a80078c09f9a78d21ec35addaec41d558f023 5990 libdebian-installer_0.121_source.buildinfo
Files:
 5dd65192541f123c7ef586c20498d570 2213 libs optional libdebian-installer_0.121.dsc
 8bedbe82dedfdbf8daa3d76863af1a32 72308 libs optional libdebian-installer_0.121.tar.xz
 fb38b9b103d7e4cbc222ad848dc06cc8 5990 libs optional libdebian-installer_0.121_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCAAvFiEEzrtSMB1hfpEDkP4WWHl5VzRCaE4FAmAUr6ERHDkzc2FtQGRl
Ymlhbi5vcmcACgkQWHl5VzRCaE7Frw/8Dd4TlUVn1BncMA77vE5C/CvBQCZn2kLs
kFNkI2Vz1fvRIRLUHmIZ8M/C4yesqXOVOkCrhTWUD9qJNaNl/V+qnLMEW/WIsrYh
ymS5DW9ziCSk+O1UoSa09GHIxuftGZGiHUpvS0gPF7NEdrejgcsZ5xbILidu2rM9
VCnfdHpPYXcJwCGq7zH2YsXAmjVeIkkINJqsmgPJI3WcSemhlzqYWacAIgz1ECra
jo1pYY7xxtDOzTrQM739Ba9F1V2io81HYeLaKTTTIKQWhqQptZ9Q6Zpd/BCk0QsK
Ue1vr+D25xlQH6niOnrrHCxJ/p+660W4Lwa8BLXM/yYojpimA7qfjqRc0wrhedzC
L8vWWJITIPNAmvdgZmkWZ1GR5MZqqitKybv4pt8ynh8AZneQXMorErOmjS0Wmld8
cFJduQdP2VejlaMprBRO8jAlGs7lAtBGJlrZ0ebTa40OHRtM7OfbsJflrtZZGPjr
P+QR3OqSpSWGOXl8eMEt5WgvyWS0ohKvk9LHzvVWx3xAxiFZTRKJyCJ3n20FLxZV
eVUeyXRlZlhI7FNWZj7Hay2KE/FgCmdAI9ywJI6sYyD/iY6rcxfwqft+Lb3hbz92
5RxtxZWZ75mZ+N9K/Iq+zz4x7YNBEAIKMkzCUeBTFpgoO8Ut2RVbYIHo7rg42RRC
OJGvwJGPtZE=
=kHZY
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: