Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53836 - dev-perl/Text-Aspell 0.04 fails to build
Summary: dev-perl/Text-Aspell 0.04 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-13 14:50 UTC by Vermyndax
Modified: 2004-08-19 04: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 Vermyndax 2004-06-13 14:50:15 UTC
Having a problem with Text-Aspell 0.04 building:

Calculating world dependencies ...done!
>>> emerge (1 of 45) dev-perl/Text-Aspell-0.04 to /
>>> md5 src_uri ;-) Text-Aspell-0.04.tar.gz
>>> Unpacking source...
>>> Unpacking Text-Aspell-0.04.tar.gz to /var/tmp/portage/Text-Aspell-0.04/work
>>> Source unpacked.
Checking if your kit is complete...
Looks good
Writing Makefile for Text::Aspell
cp Aspell.pm blib/lib/Text/Aspell.pm
/usr/bin/perl /usr/lib/perl5/5.8.4/ExtUtils/xsubpp -noprototypes -typemap /usr/lib/perl5/5.8.4/ExtUtils/typemap -typemap typemap  Aspell.xs > Aspell.xsc && mv Aspell.xsc Aspell.c
gcc -c   -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe   -DVERSION=\"0.04\" -DXS_VERSION=\"0.04\" -fPIC "-I/usr/lib/perl5/5.8.4/i686-linux/CORE"   Aspell.c
Running Mkbootstrap for Text::Aspell ()
chmod 644 Aspell.bs
rm -f blib/arch/auto/Text/Aspell/Aspell.so
LD_RUN_PATH="/usr/lib" gcc  -shared -L/usr/local/lib Aspell.o  -o blib/arch/auto/Text/Aspell/Aspell.so   -laspell
chmod 755 blib/arch/auto/Text/Aspell/Aspell.so
cp Aspell.bs blib/arch/auto/Text/Aspell/Aspell.bs
chmod 644 blib/arch/auto/Text/Aspell/Aspell.bs
Manifying blib/man3/Text::Aspell.3pm
Running Mkbootstrap for Text::Aspell ()
chmod 644 Aspell.bs
rm -f blib/arch/auto/Text/Aspell/Aspell.so
LD_RUN_PATH="/usr/lib" gcc  -shared -L/usr/local/lib Aspell.o  -o blib/arch/auto/Text/Aspell/Aspell.so   -laspell
chmod 755 blib/arch/auto/Text/Aspell/Aspell.so
cp Aspell.bs blib/arch/auto/Text/Aspell/Aspell.bs
chmod 644 blib/arch/auto/Text/Aspell/Aspell.bs
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/test....NOK 10Use 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.
t/test....FAILED tests 8-10, 12-16, 18-19
        Failed 10/21 tests, 52.38% okay
Failed Test Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/test.t                  21   10  47.62%  8-10 12-16 18-19
Failed 1/1 test scripts, 0.00% okay. 10/21 subtests failed, 52.38% okay.
make: *** [test_dynamic] Error 255

!!! ERROR: dev-perl/Text-Aspell-0.04 failed.
!!! Function perl-module_src_compile, Line 62, Exitcode 2
!!! test failed

---

emerge info:

denizi root # emerge info
Portage 2.0.50-r8 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.4-gentoo-r1)
=================================================================
System uname: 2.6.4-gentoo-r1 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://mirrors.tds.net/gentoo ftp://mirrors.tds.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="apache2 apm berkdb crypt cups encode foomaticdb gd gd-external gdbm gif gpm imagemagick imap jpeg kerberos ldap libwww maildir mysql ncurses nls offensive pam pdflib perl php png python readline samba sasl slang spell ssl svga tcpd truetype x86 xml xml2 zlib"
Comment 1 Michael Cummings (RETIRED) gentoo-dev 2004-06-13 17:54:43 UTC
What version of aspell do you have installed? I'm looking at that test line, and the failure is on an attempted lookup of "testt" to the aspell app. I've tried this with 50.3 and 50.5 and haven't had any problems. You can remove the SRC_TEST="do" line from the ebuild if you feel confident that it is a glitch, but other than that I can't say (other than 5.8.2 on this end, which I don't believe would be causing this error anyway).
Comment 2 Vermyndax 2004-06-13 18:15:13 UTC
I have Text-Aspell 0.03 installed on this machine (from portage).
Comment 3 Vermyndax 2004-06-14 14:23:06 UTC
Err, you mean aspell itself - not Text-Aspell.  I have aspell-0.50.5-r1 installed (latest).

Sorry for my confusion.
Comment 4 Michael Cummings (RETIRED) gentoo-dev 2004-06-20 08:18:38 UTC
And I have to assume that aspell itself is working correctly for you. Have you installed dictionaries for it? Yes, I am throwing out random suggestions - literally, the test that is failing is a request to aspell for possible spellings of a single word, nothing more. On the commandline, what happens when you try to duplicate this test?

%>echo "testt" | aspell -a

You should see something like:
@(#) International Ispell Version 3.1.20 (but really Aspell 0.50.5)
& testt 9 0: testy, test, tester, tasty, tests, taste, testate, sett, testier

The test that is failing (#10) does the exact same thing, and looks for at least 3 returns.
Comment 5 Vermyndax 2004-06-20 10:01:48 UTC
Ah, okie... then I can say without a doubt I'm not getting the right response:

denizi root # echo "testt" | aspell -a
Error: No word lists can be found for the language "en_US".

What do I need to do to correct that?  reemerge aspell?
Comment 6 Michael Cummings (RETIRED) gentoo-dev 2004-06-20 12:46:37 UTC
emerge app-dicts/aspell-en should give you the english dictionary (again?). Really, at this point it's a problem with aspell, not the perl module. Sounds like it isn't completely installed. Try the above and let me know if this fixes your problem. If not, I'll try and pull the maintainer for aspell in on this bug.

Comment 7 Vermyndax 2004-06-20 14:06:38 UTC
As you suspected, aspell-en was not installed at all.  Emerging it solved the Text-Aspell problem.  :)

Thanks much for your help... guess it's an aspell problem as you said!
Comment 8 Michael Cummings (RETIRED) gentoo-dev 2004-08-19 04:34:20 UTC
closing (oops)