Skip Menu |

This queue is for tickets about the Text-Aspell CPAN distribution.

Report information
The Basics
Id: 5176
Status: resolved
Priority: 0/
Queue: Text-Aspell

People
Owner: Nobody in particular
Requestors: jason [...] pollock.ca
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.04
Fixed in: (no value)



Subject: Install test 7 failing (lang not en_US)
Text::Aspell assumes that the language is en_US. However, this is not necessarily valid. On my system it's en_CA... On non-english systems it won't even have the en in common. :) perhaps test 7 should be disabled, or it should be compared to the LANG env variable? platform information: Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration: Platform: osname=linux, osvers=2.4.21-1.1931.2.382.entsmp, archname=i386-linux-thread-multi uname='linux str' config_args='-des -Doptimize=-O2 -g -pipe -march=i386 -mcpu=i686 -Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Red Hat, Inc. -Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux -Dvendorprefix=/usr -Dsiteprefix=/usr -Dotherlibdirs=/usr/lib/perl5/5.8.0 -Duseshrplib -Dusethreads -Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -isr' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef' useithreads=define usemultiplicity= useperlio= d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=un uselongdouble= usemymalloc=, bincompat5005=undef Compiler: cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm', optimize='', cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -I/usr/include/gdbm' ccversion='', gccversion='3.2.2 20030222 (Red Hat Linux 3.2.2-5)', gccosandvers='' gccversion='3.2.2 200302' intsize=r, longsize=r, ptrsize=5, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long' k', ivsize=4' ivtype='l, nvtype='double' o_nonbl', nvsize=, Off_t='', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='gcc' l', ldflags =' -L/u' libpth=/usr/local/lib /lib /usr/lib libs=-lnsl -lgdbm -ldb -ldl -lm -lpthread -lc -lcrypt -lutil perllibs= libc=/lib/libc-2.3.2.so, so=so, useshrplib=true, libperl=libper gnulibc_version='2.3.2' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so', d_dlsymun=undef, ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE' cccdlflags='-fPIC' ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5', lddlflags='s Unicode/Normalize XS/A' Characteristics of this binary (from libperl): Compile-time options: DEBUGGING MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT Locally applied patches: MAINT18379 Built under linux Compiled at Aug 13 2003 11:47:58 @INC: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .
[guest - Mon Feb 2 23:12:42 2004]: Show quoted text
> Text::Aspell assumes that the language is en_US. However, this is not > necessarily valid. On my system it's en_CA... On non-english > systems it won't even have the en in common. :) > > perhaps test 7 should be disabled, or it should be compared to the > LANG env variable?
I suppose there should be a way to improve this. The README does say the en_US dictionary is requred for the tests. Since Text::Aspell's purpose is to look up words in a dictionary, part of the testing is to check that a correctly spelled word works and that an incorrectly spelled word returns an error. Any suggestions on how to do that in a language-independent way?
From: jason [...] pollock.ca
Perhaps the tests could be made conditional? If the lang is "en_*", check for the spelled word. Otherwise, skip the two tests and report a warning (rather than an error). That way, we expand the scope of valid, testable systems, and don't consider it an install failure if we don't have valid data to compare against. [HANK - Wed Feb 4 14:28:57 2004]: Show quoted text
> [guest - Mon Feb 2 23:12:42 2004]: >
> > Text::Aspell assumes that the language is en_US. However, this is
> not
> > necessarily valid. On my system it's en_CA... On non-english > > systems it won't even have the en in common. :) > > > > perhaps test 7 should be disabled, or it should be compared to the > > LANG env variable?
> > I suppose there should be a way to improve this. The README does say > the en_US dictionary is requred for the tests. Since Text::Aspell's > purpose is to look up words in a dictionary, part of the testing is to > check that a correctly spelled word works and that an incorrectly > spelled word returns an error. Any suggestions on how to do that in a > language-independent way? >