Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 147897 - dev-perl/Text-Aspell fails tests
Summary: dev-perl/Text-Aspell fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-17 01:08 UTC by Tobias Scherbaum (RETIRED)
Modified: 2018-03-15 06:34 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Scherbaum (RETIRED) gentoo-dev 2006-09-17 01:08:56 UTC
Both 0.04 and 0.05 fails test.

>>> Source compiled.
PERL_DL_NONLAZY=1 /usr/bin/perl5.8.8 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/test....Use of uninitialized value in string eq at t/test.t line 54.
Use of uninitialized value in string eq at t/test.t line 59.
Use of uninitialized value in string eq at t/test.t line 63.
Use of uninitialized value in join or string at t/test.t line 63.
dubious
        Test returned status 0 (wstat 11, 0xb)
DIED. FAILED tests 8-21
        Failed 14/21 tests, 33.33% okay
Failed Test Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/test.t       0    11    21   25 119.05%  8-21
Failed 1/1 test scripts, 0.00% okay. 14/21 subtests failed, 33.33% okay.
make: *** [test_dynamic] Error 255

!!! ERROR: dev-perl/Text-Aspell-0.04 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_test
  ebuild.sh, line 986:   Called src_test
  ebuild.sh, line 1255:   Called perl-module_src_test
  perl-module.eclass, line 149:   Called die


>>> Source compiled.
PERL_DL_NONLAZY=1 /usr/bin/perl5.8.8 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01-use.....ok
t/02-pod.....skipped
        all skipped: set TEST_POD to enable this test
t/05-core....
#   Failed test 'Make sure word "test" is in dictionary'
#   in t/05-core.t at line 38.
#         ********************************************************************
#         * Error: /usr/lib/aspell-0.60/en_US.multi:2: The key "strip-accents" is unknown.
#         *
#         * Are you sure you have the Aspell English dictionary installed?
#         *
#         *********************************************************************

#   Failed test 'suggest for word 'testt''
#   in t/05-core.t at line 57.
# Error: /usr/lib/aspell-0.60/en_US.multi:2: The key "strip-accents" is unknown.
Use of uninitialized value in join or string at t/05-core.t line 62.

#   Failed test 'search for testt returned more than 2 []'
#   in t/05-core.t at line 62.

#   Failed test 'add 'testt' to the aspell session'
#   in t/05-core.t at line 66.
# Error: /usr/lib/aspell-0.60/en_US.multi:2: The key "strip-accents" is unknown.
Use of uninitialized value in pattern match (m//) at t/05-core.t line 72.

#   Failed test ''testt' added to session now is returned in suggest'
#   in t/05-core.t at line 72.
# See README for more info on store_replacemnt
Use of uninitialized value in pattern match (m//) at t/05-core.t line 80.

#   Failed test 'Searching for "foo" found replacement "bar"'
#   in t/05-core.t at line 80.
# clear_session may fail like store_replacement.  See README
Use of uninitialized value in pattern match (m//) at t/05-core.t line 87.
# Looks like you failed 6 tests of 17.
dubious
        Test returned status 6 (wstat 1536, 0x600)
DIED. FAILED tests 4, 6-9, 11
        Failed 6/17 tests, 64.71% okay
Failed Test Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/05-core.t    6  1536    17    6  35.29%  4 6-9 11
1 test skipped.
Failed 1/3 test scripts, 66.67% okay. 6/18 subtests failed, 66.67% okay.
make: *** [test_dynamic] Error 6

!!! ERROR: dev-perl/Text-Aspell-0.05 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_test
  ebuild.sh, line 986:   Called src_test
  ebuild.sh, line 1255:   Called perl-module_src_test
  perl-module.eclass, line 149:   Called die

Portage 2.1.1 (default-linux/ppc/ppc32/2006.0/G4, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r4 ppc)
=================================================================
System uname: 2.6.17-gentoo-r4 ppc 7447A, altivec supported
Gentoo Base System version 1.12.5
Last Sync: Unknown
distcc 2.18.3 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.6-r1, 2.0.28-r1
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-Os -mcpu=7450 -maltivec -mabi=altivec -mpowerpc-gfxopt -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-Os -mcpu=7450 -maltivec -mabi=altivec -mpowerpc-gfxopt -pipe"
DISTDIR="/srv/distfiles"
FEATURES="autoconfig collision-protect confcache cvs distlocks metadata-transfer noinfo sandbox sfperms strict test"
GENTOO_MIRRORS="http://ftp.belnet.be/pub/mirrors/rsync.gentoo.org/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror"
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/home/tobias/cvs/gentoo-x86"
PORTDIR_OVERLAY="/home/tobias/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc X alsa altivec bash-completion beagle berkdb crypt curses dbus elibc_glibc fortran gdl gnome gtk hal input_devices_keyboard input_devices_mouse ipv6 jikes junit kdeenablefinal kernel_linux libnotify linguas_de nls nptl nptlonly oss pam perl png python readline samba sasl ssl tiff tote totem unicode userland_GNU video_cards_radeon xml"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Yuval Yaari (RETIRED) gentoo-dev 2006-09-17 01:15:50 UTC
Looks like you don't have app-text/aspell which Text-Aspell DEPENDs on.
Could you try emerging it and let us know if it works?
Comment 2 Tobias Scherbaum (RETIRED) gentoo-dev 2006-09-17 01:35:03 UTC
[ebuild   R   ] app-text/aspell-0.60.4  USE="nls -gpm" 0 kB 
[ebuild   R   ] app-dicts/aspell-en-0.51.1  0 kB 

aspell and the english aspell dictionary already were installed (that's what DEPEND is for ...)
Comment 3 Christian Hartmann (RETIRED) gentoo-dev 2006-09-17 02:32:12 UTC
I had a look at the testsuites of 0.04, 0.05 and 0.06 and all of them fail at least on the initial test on installations where LC is set to something different than 'en_US'. Unless we want to do some use-test depend voodoo like DEP='test? ( app-dicts/aspell-$MY_LC )' the testsuites all need patching. Next problem: The testsuites all differ majorly and fail on other tests too. The testsuite of 0.06 looks promising but it seems like cmp_ok is used in a wrong context there.

I suggest disabling tests for now as we've got no sensible way to ensure that the tests work.
Comment 4 Christian Hartmann (RETIRED) gentoo-dev 2006-09-20 14:38:20 UTC
Disabled tests in 0.04 - 0.06.
Comment 5 Larry the Git Cow gentoo-dev 2018-03-15 06:34:40 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e137ceb0a293ea19a79ddced59e4436150ab75b

commit 0e137ceb0a293ea19a79ddced59e4436150ab75b
Author:     Kent Fredric <kentnl@gentoo.org>
AuthorDate: 2018-03-15 06:33:25 +0000
Commit:     Kent Fredric <kentnl@gentoo.org>
CommitDate: 2018-03-15 06:33:25 +0000

    dev-perl/Text-Aspell: EAPI6 + tests
    
    - EAPI6ify
    - Restore tests which appear to be sane upstream now
    - Purge author tests
    
    Bug: https://bugs.gentoo.org/147897
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-perl/Text-Aspell/Text-Aspell-0.90.0-r2.ebuild | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)}