FTBFS: Invalid options to sort

Bug #25801 reported by Debian Bug Importer
4
Affects Status Importance Assigned to Milestone
ispell (Debian)
Fix Released
Unknown
ispell (Ubuntu)
Invalid
High
Unassigned

Bug Description

Automatically imported from Debian bug report #339414 http://bugs.debian.org/339414

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Automatically imported from Debian bug report #339414 http://bugs.debian.org/339414

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (5.7 KiB)

Message-ID: <email address hidden>
Date: Tue, 15 Nov 2005 10:49:41 -0800
From: Matt Kraai <email address hidden>
To: <email address hidden>
Subject: FTBFS: Invalid options to sort

--FkmkrVfFsRoUs1wW
Content-Type: multipart/mixed; boundary="PEIAKu/WMn1b1Hv9"
Content-Disposition: inline

--PEIAKu/WMn1b1Hv9
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Package: ispell
Version: 3.1.20.0-4
Severity: serious
Tags: patch

pbuilder fails to build ispell in an unstable chroot on i386:

> + munchlist -v -l ../english/english.aff /usr/share/dict/british-english =
english.0 english.1 british.0 british.1
> Collecting input.
> sort: invalid option -- 1
> Try `sort --help' for more information.
> tr: write error: Broken pipe
> tr: write error
> Finding flag marker.
> Generating roots and affixes.
> sort: invalid option -- 1
> Try `sort --help' for more information.
> Expanding dictionary into EXPANDEDPAIRS.
> sort: open failed: +1: No such file or directory
> Creating list of legal roots/flags.
> sort: invalid option -- 1
> Try `sort --help' for more information.
> Creating list of flags that participate in cross-products.
> sort: invalid option -- 1
> Try `sort --help' for more information.
> Eliminating non-optimal affixes.
> sort: invalid option -- 2
> Try `sort --help' for more information.
> sort: invalid option -- 2
> Try `sort --help' for more information.
> sort: invalid option -- 1
> Try `sort --help' for more information.
> Generating output word list.
> sort: invalid option -- 1
> Try `sort --help' for more information.
> test -s english.med+ \
> || (echo 'error: zero-length dictionary generated'; \
> rm -f english.med+; exit 1)
> error: zero-length dictionary generated

The attached patch makes it use -k instead, which fixes these
problems.

--=20
Matt

--PEIAKu/WMn1b1Hv9
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch
Content-Transfer-Encoding: quoted-printable

diff -u ispell-3.1.20.0/munchlist.X ispell-3.1.20.0/munchlist.X
--- ispell-3.1.20.0/munchlist.X
+++ ispell-3.1.20.0/munchlist.X
@@ -357,7 +357,7 @@
     cat "$@" | ispell "$wchars" -e1 -d $FAKEHASH -p /dev/null | tr " " '
 '
 fi \
- | sort $SORTTMP -u +0f -1 +0 \
+ | sort $SORTTMP -u -k1f,2 -k1 \
   | $COMBINE $icflags $langtabs \
   | sort $SORTTMP -u > $EXPANDEDINPUT
 #
@@ -417,7 +417,7 @@
 ispell "$wchars" -c -W0 -d $FAKEHASH -p /dev/null < $STRIPPEDINPUT \
   | tr " " '
 ' \
- | egrep "$flagmarker" | sort $SORTTMP -u "-t$flagmarker" +0 -1 +1 \
+ | egrep "$flagmarker" | sort $SORTTMP -u "-t$flagmarker" -k1,2 -k2 \
   | $JOIN $SIGNED "-t$flagmarker" - $EXPANDEDINPUT > $CRUNCHEDINPUT
 #
 # We now have a list of legal roots, and of affixes that apply to the
@@ -443,7 +443,7 @@
 #
 $verbose && echo 'Expanding dictionary into EXPANDEDPAIRS.' 1>&2
 ispell "$wchars" -e3 -d $FAKEHASH -p /dev/null < $CRUNCHEDINPUT \
- | sort $SORTTMP +1 > $EXPANDEDPAIRS
+ | sort $SORTTMP -k2 > $EXPANDEDPAIRS
 #
 # Now we want to extract the lines in EXPANDEDPAIRS in which the second fi=
eld
 # is *not* listed in the original dictionary EXPANDEDINPUT; these illega...

Read more...

Revision history for this message
In , Roger Leigh (rleigh-whinlatter) wrote :

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David,

Has any progress been made on evaluating the patch to fix this
two-month old RC bug?

Thanks,
Roger

- --
Roger Leigh
                Printing on GNU/Linux? http://gimp-print.sourceforge.net/
                Debian GNU/Linux http://www.debian.org/
                GPG Public Key: 0x25BFB848. Please sign and encrypt your mail.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8+ <http://mailcrypt.sourceforge.net/>

iD8DBQFDxluoVcFcaSW/uEgRAvh+AJ9CIAvRzKobryeY72Dq3iRfWiOODwCgortR
YYEClhTDN+WAas5MUou7ogo=
=OElO
-----END PGP SIGNATURE-----

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Thu, 12 Jan 2006 13:37:45 +0000
From: Roger Leigh <email address hidden>
To: <email address hidden>
Cc: David Coe <email address hidden>
Subject: Re: FTBFS: Invalid options to sort

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David,

Has any progress been made on evaluating the patch to fix this
two-month old RC bug?

Thanks,
Roger

- --
Roger Leigh
                Printing on GNU/Linux? http://gimp-print.sourceforge.net/
                Debian GNU/Linux http://www.debian.org/
                GPG Public Key: 0x25BFB848. Please sign and encrypt your mail.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8+ <http://mailcrypt.sourceforge.net/>

iD8DBQFDxluoVcFcaSW/uEgRAvh+AJ9CIAvRzKobryeY72Dq3iRfWiOODwCgortR
YYEClhTDN+WAas5MUou7ogo=
=OElO
-----END PGP SIGNATURE-----

Revision history for this message
In , Steinar H. Gunderson (sesse) wrote : Fixed in NMU of ispell 3.1.20.0-4.1

tag 339414 + fixed

quit

This message was generated automatically in response to a
non-maintainer upload. The .changes file follows.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu, 19 Jan 2006 00:33:17 +0100
Source: ispell
Binary: ibritish iamerican ispell
Architecture: i386 source
Version: 3.1.20.0-4.1
Distribution: unstable
Urgency: low
Maintainer: Steinar H. Gunderson <email address hidden>
Changed-By: Steinar H. Gunderson <email address hidden>
Description:
 iamerican - An American English dictionary for ispell
 ibritish - A British English dictionary for ispell
 ispell - International Ispell (an interactive spelling corrector)
Closes: 339414
Changes:
 ispell (3.1.20.0-4.1) unstable; urgency=low
 .
   * Non-Maintainer Upload.
   * Give -k to sort instead of + and -, fixes FTBFS. Patch from Matt Kraai.
     (Closes: #339414)
Files:
 19a1c7734822280b3dac2252e4e56882 50073 text standard ispell_3.1.20.0-4.1.diff.gz
 6c1a2327214b3e5e755ab549ab45002e 714 text standard ispell_3.1.20.0-4.1.dsc
 21d94ee013b4c1e488be6cc93cde6305 740264 text standard iamerican_3.1.20.0-4.1_i386.deb
 c41bdfc107c41d9fcdbc24d7f4b8ac85 153598 text standard ispell_3.1.20.0-4.1_i386.deb
 d9e89bb3f379b92e67cbeea87f5ade65 746822 text standard ibritish_3.1.20.0-4.1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDztC/XKRQ3lK3SH4RAsy4AJ9ZbmI3DmYMI7WUAmY0diYv9TxwZgCcC9oD
rHcRk0CWXZ95abegMe8vpxQ=
=X34h
-----END PGP SIGNATURE-----

Revision history for this message
In , Roland Rosenfeld (roland) wrote : NMU heavly changed behavior of munchlist

Please note Bug #352360, which shows, that the patch from #348784 and
#339414, which was applied in 3.1.20.0-4.1 heavily changes the
behavior of munchlist. I attached a patch to #352360, which reverts
to the old behavior while still using the new sort(1) parameter
syntax.

@David Coe: If you like, I can upload an NMU to fix this problem. I
fear that this bug otherwise may increase the size of most ispell
dictionaries unnecessarily and my make them less usable...

Tschoeeee

        Roland

Revision history for this message
In , David Coe (davidc) wrote : Re: Bug#348784: NMU heavly changed behavior of munchlist

Thanks, Roland; If you're confident that your patch is better
than reverting the NMU, please do it. If you're not, feel
free to revert the NMU.
I haven't had time to look at this issue at all, so I trust
in your judgement.

Roland Rosenfeld <email address hidden> writes:

> Please note Bug #352360, which shows, that the patch from #348784 and
> #339414, which was applied in 3.1.20.0-4.1 heavily changes the
> behavior of munchlist. I attached a patch to #352360, which reverts
> to the old behavior while still using the new sort(1) parameter
> syntax.
>
> @David Coe: If you like, I can upload an NMU to fix this problem. I
> fear that this bug otherwise may increase the size of most ispell
> dictionaries unnecessarily and my make them less usable...
>
> Tschoeeee
>
> Roland

Revision history for this message
Matt Zimmerman (mdz) wrote :

Not confirmed in Ubuntu and we track our own FTBFS bugs

Changed in ispell:
status: Unconfirmed → Rejected
Revision history for this message
In , Steinar H. Gunderson (sesse) wrote : Version the rest of my NMU bugs
Download full text (3.4 KiB)

tags 213836 - fixed
tags 221073 - fixed
tags 223209 - fixed
tags 255725 - fixed
tags 269427 - fixed
tags 294028 - fixed
tags 296332 - fixed
tags 297011 - fixed
tags 297183 - fixed
tags 297279 - fixed
tags 300290 - fixed
tags 300451 - fixed
tags 322857 - fixed
tags 334916 - fixed
tags 336840 - fixed
tags 339414 - fixed
tags 340195 - fixed
tags 341045 - fixed
tags 341507 - fixed
tags 341520 - fixed
tags 343239 - fixed
tags 344152 - fixed
tags 346657 - fixed
tags 346725 - fixed
tags 346817 - fixed
tags 346820 - fixed
tags 346846 - fixed
tags 346849 - fixed
tags 346872 - fixed
tags 346876 - fixed
tags 346879 - fixed
tags 346906 - fixed
tags 346919 - fixed
tags 346922 - fixed
tags 346929 - fixed
tags 346942 - fixed
tags 346946 - fixed
tags 346947 - fixed
tags 346990 - fixed
tags 346991 - fixed
tags 346998 - fixed
tags 347012 - fixed
tags 347047 - fixed
tags 347058 - fixed
tags 347059 - fixed
tags 347064 - fixed
tags 347075 - fixed
tags 347077 - fixed
tags 347133 - fixed
tags 347142 - fixed
tags 347144 - fixed
tags 349225 - fixed
tags 349745 - fixed
tags 352834 - fixed
tags 354474 - fixed
tags 356302 - fixed
tags 356540 - fixed
tags 357897 - fixed
tags 358277 - fixed
tags 358713 - fixed
tags 359804 - fixed
tags 361605 - fixed
tags 363173 - fixed
tags 363375 - fixed
tags 363586 - fixed
tags 365187 - fixed
tags 365196 - fixed
tags 365201 - fixed
tags 366726 - fixed
tags 366931 - fixed
tags 367086 - fixed
tags 368268 - fixed
tags 368835 - fixed
tags 369113 - fixed
tags 369685 - fixed
tags 370085 - fixed
tags 370138 - fixed
tags 370160 - fixed
tags 372076 - fixed
close 213836 5.0.0-5.1
close 221073 1.0.2-1.1
close 223209 1.11-6.1
close 255725 1.4-4.1
close 269427 3.0-1.1
close 294028 1.4-4.1
close 296332 2.1-9.1
close 297011 1.3.2-1.1
close 297183 3.94-1.1
close 297279 1:2.7.3-3.1
close 300290 3.94-1.1
close 300451 1.1.5-1.1
close 322857 2.0.2-1.3
close 334916 1.91.0-9.1
close 336840 1.01-6.1
close 339414 3.1.20.0-4.1
close 340195 2.0-10.1
close 341045 1.0.2-9.2
close 341507 1.1.5-1.1
close 341520 1.1.5-1.1
close 343239 1.0.6-1.1
close 344152 2.02-8.2
close 346657 1.1.5-1.1
close 346725 0.5-5.1
close 346817 0.99.3-1.3
close 346820 1.7.1-1.1
close 346846 0.9b-9.1
close 346849 1.2-6.1
close 346872 3.94-1.1
close 346876 1.3.2-1.1
close 346879 2.0.2-1.3
close 346906 3.6.13-3.3
close 346919 1.0.6-1.1
close 346922 0.3-2.1
close 346929 2.3p-13.1
close 346942 1.4.3-L3.0.6-6.1
close 346946 1:2.7.3-3.1
close 346947 1.1-10.2
close 346990 1.2.4-4.2
close 346991 1.01-6.1
close 346998 6.4-2.1
close 347012 0.3-3.1
close 347047 3.1-8.1
close 347058 0.92.0-5.1
close 347059 0.7.7-3.2
close 347064 0.5.0-5.1
close 347075 0.89c-3.1
close 347077 1.0.1-2.1
close 347133 6.2.1-8.1
close 347142 0.1.0-1.1
close 347144 1.4-4.1
close 349225 1.4-4.1
close 349745 1.0-1.1
close 352834 1:0.7.0-3.1
close 354474 1.2.4-0.1
close 356302 0.89c-3.3
close 356302 0.89c-3.4
close 356540 0.1.14-6.2
close 357897 1.3.8-1.1
close 358277 0.5.2-2.1
close 358713 3.6.2-1.1
close 359804 8.4.0-4.1
close 361605 1.0.2-9.1
close 363173 0.1.5.9+cvs.2004.02.07-3.4
close 363375 1:2.4.5+dfsg-0.2
close 363586 1.1.11-3.1
close 365187 1.0.8+dfsg-0.1
close 365196 1:2.4.5+dfsg-0.1
close 365201 0.9.16.010+dfsg-0.1
c...

Read more...

Changed in ispell:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.