--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: fails to build with gcc-4.4/newer eglibc
- From: Stefan Potyra <sistpoty@ubuntu.com>
- Date: Sat, 03 Oct 2009 04:00:34 +0200
- Message-id: <20091003020034.19866.96323.reportbug@localhost.localdomain>
Package: ispell
Version: 3.1.20.0-4.5
Severity: normal
Tags: patch
Hi,
during Ubuntu's rebuild test, ispell failed to build [1]. The reason is
that getline is nowadays provided by eglibc (as it's part of POSIX).
While I'm not sure about the newer versions of ispell, I assume these are
also affected. At least I didn't find a hint in the ChangeLog (however
being conservative and setting the version to a known failing version).
Attached is a patch to fix the build failure.
Cheers,
Stefan.
[1]:
<http://launchpadlibrarian.net/31764423/buildlog_ubuntu-karmic-amd64.ispell_3.1.20.0-4.5_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-11-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
Versions of packages ispell depends on:
ii dictionaries-commo 1.2.1ubuntu1 Common utilities for spelling dict
ii iamerican [ispell- 3.1.20.0-4.5 An American English dictionary for
ii ibritish [ispell-d 3.1.20.0-4.5 A British English dictionary for i
ii ingerman [ispell-d 20071211-1ubuntu1 New German orthography dictionary
ii iogerman [ispell-d 1:2-25 Old German orthography dictionary
ii iswiss [ispell-dic 20071211-1ubuntu1 Swiss (German) orthography diction
ii libc6 2.10.1-0ubuntu12 GNU C Library: Shared libraries
ii libncurses5 5.7+20090803-2ubuntu1 shared libraries for terminal hand
Versions of packages ispell recommends:
ii wamerican [wordlist] 6-3 American English dictionary words
ii wbritish [wordlist] 6-3 British English dictionary words f
ii wngerman [wordlist] 20071211-1ubuntu1 New German orthography wordlist
ii wogerman [wordlist] 1:2-25 The old German dictionary for /usr
ii wswiss [wordlist] 20071211-1ubuntu1 Swiss (German) orthography wordlis
Versions of packages ispell suggests:
pn spell <none> (no description available)
-- no debconf information
--- ispell-3.1.20.0.orig/correct.c
+++ ispell-3.1.20.0/correct.c
@@ -161,7 +161,7 @@
struct flagent * sufent,
ichar_t savearea[MAX_CAPS][INPUTWORDLEN + MAXAFFIXLEN],
int * nsaved));
-static char * getline P ((char * buf));
+static char * getline_ispell P ((char * buf));
void askmode P ((void));
void copyout P ((char ** cc, int cnt));
static void lookharder P ((char * string));
@@ -443,7 +443,7 @@
move (li - 1, 0);
(void) putchar ('!');
- if (getline (buf) == NULL)
+ if (getline_ispell (buf) == NULL)
{
(void) putchar (7);
erase ();
@@ -468,7 +468,7 @@
(void) printf ("%s ", CORR_C_READONLY);
}
(void) printf (CORR_C_REPLACE_WITH);
- if (getline (ctok) == NULL)
+ if (getline_ispell (ctok) == NULL)
{
(void) putchar (7);
/* Put it back */
@@ -530,7 +530,7 @@
char buf[100];
move (li - 1, 0);
(void) printf (CORR_C_LOOKUP_PROMPT);
- if (getline (buf) == NULL)
+ if (getline_ispell (buf) == NULL)
{
(void) putchar (7);
erase ();
@@ -1384,7 +1384,7 @@
#endif /* NO_CAPITALIZATION_SUPPORT */
}
-static char * getline (s)
+static char * getline_ispell (s)
register char * s;
{
register char * p;
--- End Message ---
--- Begin Message ---
Source: ispell
Source-Version: 3.1.20.0-7
We believe that the bug you reported is fixed in the latest version of
ispell, which is due to be installed in the Debian FTP archive:
iamerican_3.1.20.0-7_i386.deb
to main/i/ispell/iamerican_3.1.20.0-7_i386.deb
ibritish_3.1.20.0-7_i386.deb
to main/i/ispell/ibritish_3.1.20.0-7_i386.deb
ispell_3.1.20.0-7.diff.gz
to main/i/ispell/ispell_3.1.20.0-7.diff.gz
ispell_3.1.20.0-7.dsc
to main/i/ispell/ispell_3.1.20.0-7.dsc
ispell_3.1.20.0-7_i386.deb
to main/i/ispell/ispell_3.1.20.0-7_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 549401@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
David Paleino <dapal@debian.org> (supplier of updated ispell 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@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Mon, 09 Nov 2009 10:22:12 +0100
Source: ispell
Binary: ispell iamerican ibritish
Architecture: source i386
Version: 3.1.20.0-7
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: David Paleino <dapal@debian.org>
Description:
iamerican - An American English dictionary for ispell
ibritish - A British English dictionary for ispell
ispell - International Ispell (an interactive spelling corrector)
Closes: 549401
Changes:
ispell (3.1.20.0-7) unstable; urgency=low
.
* QA upload.
* debian/patches/:
- 12-fix_getline.patch added, thanks to Stefan Potyra
(Closes: #549401)
- 13-fix_manpages.patch added
- 14-fix_info.patch added, contains fixes split from
01-conglomeration.patch
* debian/watch added
* debian/control:
- debhelper Build-Dependency bumped to >= 7.0.50~
* debian/README.source: added info about quilt
Checksums-Sha1:
37e91b42527496acce2dbaffdaab05f8852139e3 1145 ispell_3.1.20.0-7.dsc
9a36f462498b65602d4de58e7a34666e0de144ce 43323 ispell_3.1.20.0-7.diff.gz
42f4290759775c2c94c8669b4519880a46741874 163262 ispell_3.1.20.0-7_i386.deb
d7f3f46012cee8bb7042452f0acec1a85edd1df4 425034 iamerican_3.1.20.0-7_i386.deb
8f1f67a5134f06798d2737eee2a9611b81d15acc 425982 ibritish_3.1.20.0-7_i386.deb
Checksums-Sha256:
61bd7a13f2384d3df0e35bf6d326f743b7d14fe3188d1550e8ae9a80f2ecaaae 1145 ispell_3.1.20.0-7.dsc
e1e93ca046d4405815542d2a6d808b0b2722d9882ec5dfb1ddbf945efc413d86 43323 ispell_3.1.20.0-7.diff.gz
92a36bece76321a5c3a8adb652d3b37a688e683dd49eb0610530a0f3b6bee15a 163262 ispell_3.1.20.0-7_i386.deb
b074496a9fcd49fcf18a612f4c13e2462ae881969770d642a4695ae23720280a 425034 iamerican_3.1.20.0-7_i386.deb
0281e0b9c1c7d6d35ec68717d2fdf5d795da570a5f8e56ec682e6927d302df6e 425982 ibritish_3.1.20.0-7_i386.deb
Files:
61875a059971bc98c6f044031ca582a2 1145 text optional ispell_3.1.20.0-7.dsc
04334882340427330b2b5d05ab883d9c 43323 text optional ispell_3.1.20.0-7.diff.gz
c8898319a041aa6749bf2a539b30fcad 163262 text optional ispell_3.1.20.0-7_i386.deb
21091672d368ea847cebb3f5027f12c8 425034 text optional iamerican_3.1.20.0-7_i386.deb
718fa77f857b4059b87dee9dec59f65a 425982 text optional ibritish_3.1.20.0-7_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAkr34GkACgkQ5qqQFxOSsXQ0nACfZs0JkRmLVhJVnr5c4UiQQgxx
c8MAn11B77zQTkKH5nFmVduoxjOPOG3N
=SVBG
-----END PGP SIGNATURE-----
--- End Message ---