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

Bug#554444: marked as done (libdebian-installer: Unable to parse Packages files with long lines)



Your message dated Tue, 07 May 2019 11:34:41 +0000
with message-id <E1hNyMr-0002ea-2H@fasolo.debian.org>
and subject line Bug#554444: fixed in libdebian-installer 0.119
has caused the Debian Bug report #554444,
regarding libdebian-installer: Unable to parse Packages files with long lines
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.)


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

When using cdebootstrap to provide the rootfs at Mamona (an
OpenEmbedded-based distribution), cdebootstrap failed giving the
following message:
W: parser_rfc822: Iek! Don't find end of value!
E: Internal error: download

After looking at the libdebian-installer code, I found that the
problem is related with the READSIZE variable, as I got a package that
had more than 16384 characters at the recommends field.

I know that this is quite a huge line, but at OE we have quite many
packages that are split in a lot of different packages.

Applying the following patch fixed my problem:

[PATCH] parser_rfc822.c: doubling the READSIZE to support using it
with OpenEmbedded

---
 src/parser_rfc822.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/parser_rfc822.c b/src/parser_rfc822.c
index 576de0e..45ccc98 100644
--- a/src/parser_rfc822.c
+++ b/src/parser_rfc822.c
@@ -38,7 +38,7 @@
 #include <sys/types.h>
 #include <unistd.h>

-#define READSIZE 16384
+#define READSIZE 32768

 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.119

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 554444@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bastian Blank <waldi@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: SHA512

Format: 1.8
Date: Tue, 07 May 2019 13:17:47 +0200
Source: libdebian-installer
Architecture: source
Version: 0.119
Distribution: unstable
Urgency: medium
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Bastian Blank <waldi@debian.org>
Closes: 554444 927544
Changes:
 libdebian-installer (0.119) unstable; urgency=medium
 .
   [ Cyril Brulebois ]
   * Drop support for arm*/ixp4xx and arm*/iop32x; support for those
     platforms was removed from the Linux kernel and therefore d-i.
   * Remove Christian Perrier from Uploaders, with many thanks for all
     his contributions over the years! (Closes: #927544)
 .
   [ Bastian Blank ]
   * Enlarge maximum line length in Packages and Sources files.
     (closes: #554444)
Checksums-Sha1:
 415d0d6e5f04405f66bc8efed06d1798540d34ff 1875 libdebian-installer_0.119.dsc
 0193983f5a82d176f93699cbd91aa5ad0e33cfbd 71904 libdebian-installer_0.119.tar.xz
 579e1ed247a120dc5541f79894cf439abd9b6d99 5578 libdebian-installer_0.119_source.buildinfo
Checksums-Sha256:
 6e183a126b9c139bc5ab14fb82afc8f409800f0dbee69e983b5195f15a23dee2 1875 libdebian-installer_0.119.dsc
 2f39443c83faf0560521c3a0eabd439580d1cdd4f580a394efe522b4f58bfc7f 71904 libdebian-installer_0.119.tar.xz
 bde16e99d8ff5131ca9d55d081bb8da4c6e9bea5b55ff5d8a5f04a58c4fd6068 5578 libdebian-installer_0.119_source.buildinfo
Files:
 ff96b79d95c15e4078049dc8136b8f32 1875 libs optional libdebian-installer_0.119.dsc
 92b41e088597bd5ede62ff6d5c49f85a 71904 libs optional libdebian-installer_0.119.tar.xz
 f2926ce8ce364a0ac3a0c591fed6cbb0 5578 libs optional libdebian-installer_0.119_source.buildinfo

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

iQFFBAEBCgAvFiEER3HMN63jdS1rqjxLbZOIhYpp/lEFAlzRaj4RHHdhbGRpQGRl
Ymlhbi5vcmcACgkQbZOIhYpp/lEbewf+PS7pGt/gbkqt4g7W7x5Q43mZJly5qVJH
bXGabWKBlu7wnXjZ0FNIUbdrsUGoOQ4tnMK9nBoGRzhgtE2VIwIXeFBRwinKM7Jw
gZX8vBG0WiFPo1QSZSoConvtcyX4zeUBk0o4paaYO1+SJjo4wicE9jMvbqucdUWE
3CP/IB0K85Y3rac5QuhDbEWsDDRNNyZaL3YSOBCnNLG1SR2mUpP6HGDkHJh5qGeS
X1arKR2QeEV5Wm5Uw7qSK+YWR4IO2jWF6pVzSJ/fPTGDoTyfRUyZwOH+D0aNL7Ua
mxV8y7uvjswp/q/iXibktgpRJYeCgUzGHamL00uvvi/yWSF8WYaodA==
=RT7x
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: