Your message dated Fri, 04 Dec 2009 22:07:15 +0000
with message-id <e1nggj1-00038c...@ries.debian.org>
and subject line Bug#548578: fixed in emil 2.1.0-beta9.dfsg-1.1
has caused the Debian Bug report #548578,
regarding fails to build with newer eglibc (getline)
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 ow...@bugs.debian.org
immediately.)
--
548578: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=548578
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: emil
Version: 2.1.0-beta9.dfsg-1
Severity: normal
Tags: patch
Hi,
thanks for maintaining emil.
During Ubuntu's rebuild test, emil failed to build[1]. This is related to the
newer eglibc, which also defines getline. (eglibc in experimental should
show the same behaviour).
Attached is a patch to fix it (by simply renaming emil's definition
of getline).
Cheers,
Stefan.
[1]:
<http://launchpadlibrarian.net/31641302/buildlog_ubuntu-karmic-amd64.emil_2.1.0-beta9.dfsg-1_FAILEDTOBUILD.txt.gz>
-- System Information:
Debian Release: squeeze/sid
APT prefers karmic-updates
APT policy: (500, 'karmic-updates'), (500, 'karmic-security'), (500, 'karmic')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.31-10-generic (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u emil-2.1.0-beta9.dfsg/func.h emil-2.1.0-beta9.dfsg/func.h
--- emil-2.1.0-beta9.dfsg/func.h
+++ emil-2.1.0-beta9.dfsg/func.h
@@ -166,7 +166,7 @@
int boundary_check(struct message *);
int is_bound(struct data *, char *);
struct message * copy_mstruct(struct message *, int);
-int getline(struct data *);
+int getline_emil(struct data *);
int set_end_by_boundary(struct message *, char *);
int set_end_by_lines(struct message *, int);
diff -u emil-2.1.0-beta9.dfsg/header.c emil-2.1.0-beta9.dfsg/header.c
--- emil-2.1.0-beta9.dfsg/header.c
+++ emil-2.1.0-beta9.dfsg/header.c
@@ -75,7 +75,7 @@
{
buf = indata->contents + indata->offset;
- if ((linelen = getline(indata)) == 0)
+ if ((linelen = getline_emil(indata)) == 0)
{
/* End of data, illegal header */
indata->offset = startoffset; /* Rewind */
diff -u emil-2.1.0-beta9.dfsg/mimeparse.c emil-2.1.0-beta9.dfsg/mimeparse.c
--- emil-2.1.0-beta9.dfsg/mimeparse.c
+++ emil-2.1.0-beta9.dfsg/mimeparse.c
@@ -227,7 +227,7 @@
move_past_boundary(m, m->sd->endbound);
for (;;)
{
- tttt = getline(m->sd);
+ tttt = getline_emil(m->sd);
#ifdef DEBUG
if (edebug)
fprintf(stderr," getline = %d\n", tttt);
@@ -253,7 +253,7 @@
m->sd->offset = m->sd->bodyend;
- if (getline(m->sd) == 0)
+ if (getline_emil(m->sd) == 0)
return(OK);
if (m->sd->offset < m->sd->end)
{
diff -u emil-2.1.0-beta9.dfsg/uuencode.c emil-2.1.0-beta9.dfsg/uuencode.c
--- emil-2.1.0-beta9.dfsg/uuencode.c
+++ emil-2.1.0-beta9.dfsg/uuencode.c
@@ -290,7 +290,7 @@
/* Check for end */
if (strncmp(inb, "end", 3) == 0)
{
- inbuf->offset += getline(inbuf);
+ inbuf->offset += getline_emil(inbuf);
inbuf->loffset += 1;
inbuf->bodyend = inbuf->offset;
if (process)
--- emil-2.1.0-beta9.dfsg.orig/message.c
+++ emil-2.1.0-beta9.dfsg/message.c
@@ -93,7 +93,7 @@
/* Find start boundary */
while (is_bound(inbuf, boundary) != TRUE)
{
- if ((linelen = getline(inbuf)) == 0)
+ if ((linelen = getline_emil(inbuf)) == 0)
{
#ifdef DEBUG
if (edebug)
@@ -115,7 +115,7 @@
inbuf->loffset += 1;
}
/* Move past boundary */
- inbuf->offset += getline(inbuf);
+ inbuf->offset += getline_emil(inbuf);
inbuf->loffset += 1;
#ifdef DEBUG
if (edebug)
@@ -388,13 +388,13 @@
/*
* int
- * getline(inbuf)
+ * getline_emil(inbuf)
*
* Move pointer to next line of inbuf. Return line length.
*/
int
-getline(struct data *inbuf)
+getline_emil(struct data *inbuf)
{
unsigned char *tmp;
if (inbuf == NULL || inbuf->contents == NULL ||
@@ -423,7 +423,7 @@
loffset = inbuf->loffset;
while (is_bound(inbuf, boundary) != TRUE)
{
- if ((linelen = getline(inbuf)) == 0)
+ if ((linelen = getline_emil(inbuf)) == 0)
{
if (m->parent)
inbuf->bodyend = m->parent->sd->bodyend;
@@ -471,7 +471,7 @@
offset = inbuf->offset;
loffset = inbuf->loffset;
lineend = loffset + lines;
- while ((linelen = getline(inbuf)) != 0 && lineend > inbuf->loffset)
+ while ((linelen = getline_emil(inbuf)) != 0 && lineend > inbuf->loffset)
{
inbuf->offset += linelen;
inbuf->loffset += 1;
only in patch2:
unchanged:
--- emil-2.1.0-beta9.dfsg.orig/out.c
+++ emil-2.1.0-beta9.dfsg/out.c
@@ -143,7 +143,7 @@
#endif
}
d->offset = d->bodystart;
- while ((len = getline(d)) != 0)
+ while ((len = getline_emil(d)) != 0)
{
line->end = 0;
append_data(line, (d->contents + d->offset), len, MED_BUF);
only in patch2:
unchanged:
--- emil-2.1.0-beta9.dfsg.orig/rfc822parse.c
+++ emil-2.1.0-beta9.dfsg/rfc822parse.c
@@ -86,7 +86,7 @@
/* Loop through rest of the message */
- while ((linelen = getline(inbuf)) != 0)
+ while ((linelen = getline_emil(inbuf)) != 0)
{
if (inbuf->bodyend <= inbuf->offset &&
inbuf->lineend <= inbuf->loffset)
--- End Message ---
--- Begin Message ---
Source: emil
Source-Version: 2.1.0-beta9.dfsg-1.1
We believe that the bug you reported is fixed in the latest version of
emil, which is due to be installed in the Debian FTP archive:
emil_2.1.0-beta9.dfsg-1.1.diff.gz
to main/e/emil/emil_2.1.0-beta9.dfsg-1.1.diff.gz
emil_2.1.0-beta9.dfsg-1.1.dsc
to main/e/emil/emil_2.1.0-beta9.dfsg-1.1.dsc
emil_2.1.0-beta9.dfsg-1.1_i386.deb
to main/e/emil/emil_2.1.0-beta9.dfsg-1.1_i386.deb
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 548...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Barry deFreese <bdefre...@debian.org> (supplier of updated emil 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 ftpmas...@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Fri, 04 Dec 2009 15:45:13 -0500
Source: emil
Binary: emil
Architecture: source i386
Version: 2.1.0-beta9.dfsg-1.1
Distribution: unstable
Urgency: low
Maintainer: Roland Rosenfeld <rol...@debian.org>
Changed-By: Barry deFreese <bdefre...@debian.org>
Description:
emil - Conversion Filter for Internet Messages
Closes: 548578
Changes:
emil (2.1.0-beta9.dfsg-1.1) unstable; urgency=low
.
* Non-maintainer upload.
* Replace local getline() with getline_local(). (Closes: #548578).
Checksums-Sha1:
1a7d9027ba2b4947ea10010bd5273dc562f08d85 1026 emil_2.1.0-beta9.dfsg-1.1.dsc
aeb3a8ab303c6fd474ea98c8606c6fa58e0fa869 17030
emil_2.1.0-beta9.dfsg-1.1.diff.gz
94a4fa6654c5cf5e3345d220b4ce37a33c51c0b2 126454
emil_2.1.0-beta9.dfsg-1.1_i386.deb
Checksums-Sha256:
94a24cc070076307c491e6486cc26d3cd089318e66c12be88c249d498c25b62d 1026
emil_2.1.0-beta9.dfsg-1.1.dsc
7bade4911f58493a6b661250e966f84cadf4279ae1eb741e1b6c7ad31ea69bae 17030
emil_2.1.0-beta9.dfsg-1.1.diff.gz
2b404ad7ba55e656f3a96478f2a3cf2076e5f77a632c55a89df109075a78cbfd 126454
emil_2.1.0-beta9.dfsg-1.1_i386.deb
Files:
26eed8b3addd49888bf05a61a89c879b 1026 mail optional
emil_2.1.0-beta9.dfsg-1.1.dsc
dfe07649c7bbe7001b920a8f2e5c923c 17030 mail optional
emil_2.1.0-beta9.dfsg-1.1.diff.gz
17f731bce56f0c3d647c0d708fede05f 126454 mail optional
emil_2.1.0-beta9.dfsg-1.1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAksZdlUACgkQ5ItltUs5T359ygCfYmpg1J5SuLSqpm/ZQxRV7UFC
iukAn05iV0278TKSWr7VGb1ViWsh4hDY
=YCFS
-----END PGP SIGNATURE-----
--- End Message ---