Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[perl #31910] ICU bug with fresh CVS Checkout

0 views
Skip to first unread message

Will Coleda

unread,
Oct 9, 2004, 10:37:51 AM10/9/04
to bugs-bi...@rt.perl.org
# New Ticket Created by Will Coleda
# Please include the string: [perl #31910]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=31910 >


Fresh CVS checkout (not update):

oolong:~/research/parrot-11 coke$ perl Configure.pl; make
<SNIP>
astparser.o
astlexer.o
ast_main.o
node.o
c++ -o parrot -L/usr/local/lib -g imcc/main.o blib/lib/libparrot.a -lm -lpthread -lm -L/usr/local/lib -licuuc -lpthread -lm
ld: warning can't open dynamic library: libicudata.dylib.30 (checking for undefined symbols may be affected) (No such file or directory, errno = 2)
ld: Undefined symbols:
_icudt30_dat referenced from libicuuc.dylib.30 expected to be defined in libicudata.dylib.30
make: *** [parrot] Error 1
oolong:~/research/parrot-11 coke$ uname -a
Darwin oolong 7.5.0 Darwin Kernel Version 7.5.0: Thu Aug 5 19:26:16 PDT 2004; root:xnu/xnu-517.7.21.obj~3/RELEASE_PPC Power Macintosh powerpc

I am using a pre-built icu ..
oolong:~/research/parrot-11 coke$ which icu-config
/usr/local/bin/icu-config
oolong:~/research/parrot-11 coke$ icu-config --version
3.0


Jens Rieks

unread,
Oct 9, 2004, 10:45:23 AM10/9/04
to perl6-i...@perl.org
> c++ -o parrot -L/usr/local/lib  -g  imcc/main.o blib/lib/libparrot.a   -lm
> -lpthread -lm -L/usr/local/lib  -licuuc  -lpthread -lm ld: warning can't
> open dynamic library: libicudata.dylib.30 (checking for undefined symbols
> may be affected) (No such file or directory, errno = 2) ld: Undefined
> symbols:
> _icudt30_dat referenced from libicuuc.dylib.30 expected to be defined in
> libicudata.dylib.30 make: *** [parrot] Error 1

does

c++ -o parrot -L/usr/local/lib  -g  imcc/main.o blib/lib/libparrot.a   -lm

-lpthread -lm -L/usr/local/lib  -licuuc -licudata -lpthread -lm

work?

jens

Joshua Gatcomb

unread,
Oct 9, 2004, 10:53:35 AM10/9/04
to Jens Rieks, perl6-i...@perl.org

My bet is that it will. It looks like the same bug I
reported right after auto-detecting a system ICU went
in. My solution was to just continue telling it about
my system ICU and not let it try to figure it out.

perl Configure.pl --icuheaders=/usr/local/include
--icushared='-L/usr/local/lib -lcygicuuc -lcygicudt'
>
> jens
>

Joshua Gatcomb
a.k.a. Limbic~Region


__________________________________
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo

William Coleda

unread,
Oct 9, 2004, 10:57:53 AM10/9/04
to Jens Rieks, perl6-i...@perl.org
Makes. I just started make test, but it doesn't look good.

t/library/parrotlib............# Failed test (t/library/parrotlib.t at line 47)
# got: 'Parrot VM: Can't stat runtime/parrot/include/parrotlib.pbc, code 2.
# '
# expected: 'runtime/parrot/include/datatypes.pasm
# '
# '(cd . && ./parrot -b --gc-debug "/Users/coke/research/parrot-11/t/library/parrotlib_1.imc")' failed with exit code 138
t/library/parrotlib............NOK 1# Failed test (t/library/parrotlib.t at line 56)
# got: 'Parrot VM: Can't stat runtime/parrot/include/parrotlib.pbc, code 2.

etc.

William Coleda

unread,
Oct 9, 2004, 11:08:02 AM10/9/04
to William Coleda, Jens Rieks, perl6-i...@perl.org
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/library/parrotlib.t 6 1536 6 6 100.00% 1-6
t/pmc/nci.t 1 256 46 1 2.17% 47
t/pmc/sys.t 1 256 1 1 100.00% 1
t/src/basic.t 2 512 3 2 66.67% 2-3
t/src/exit.t 3 768 3 3 100.00% 1-3
t/src/extend.t 13 3328 13 13 100.00% 1-13
t/src/hash.t 9 2304 10 9 90.00% 1-9
t/src/intlist.t 4 1024 4 4 100.00% 1-4
t/src/io.t 19 4864 20 19 95.00% 1-17 19-20
t/src/list.t 2 512 2 2 100.00% 1-2
t/src/sprintf.t 3 768 3 3 100.00% 1-3
t/src/string.t 1 256 1 1 100.00% 1
4 tests and 99 subtests skipped.
Failed 12/122 test scripts, 90.16% okay. 62/1937 subtests failed, 96.80% okay.
make: *** [test] Error 2

Jens Rieks

unread,
Oct 9, 2004, 5:50:53 PM10/9/04
to William Coleda, perl6-i...@perl.org
On Saturday 09 October 2004, you wrote:
> Failed Test Stat Wstat Total Fail Failed List of Failed
> ---------------------------------------------------------------------------
>---- t/library/parrotlib.t 6 1536 6 6 100.00% 1-6

> t/pmc/nci.t 1 256 46 1 2.17% 47
> t/pmc/sys.t 1 256 1 1 100.00% 1
> t/src/basic.t 2 512 3 2 66.67% 2-3
> t/src/exit.t 3 768 3 3 100.00% 1-3
> t/src/extend.t 13 3328 13 13 100.00% 1-13
> t/src/hash.t 9 2304 10 9 90.00% 1-9
> t/src/intlist.t 4 1024 4 4 100.00% 1-4
> t/src/io.t 19 4864 20 19 95.00% 1-17 19-20
> t/src/list.t 2 512 2 2 100.00% 1-2
> t/src/sprintf.t 3 768 3 3 100.00% 1-3
> t/src/string.t 1 256 1 1 100.00% 1
> 4 tests and 99 subtests skipped.
> Failed 12/122 test scripts, 90.16% okay. 62/1937 subtests failed, 96.80%
> okay. make: *** [test] Error 2
Not good :-( Can you please send me the output of
perl Configure.pl --verbose=2 <your-own-options>?

jens

Jeff Clites

unread,
Oct 10, 2004, 3:50:48 PM10/10/04
to William Coleda, Jens Rieks, perl6-i...@perl.org
Did you run 'make' again after running the "c++ -o parrot..." line
below? If not, I bet the problem is just the stuff in
runtime/parrot/include never got bytecode-compiled, because the stuff
at the end of the make process never ran.

JEff

Jens Rieks

unread,
Oct 10, 2004, 4:58:05 PM10/10/04
to perl6-i...@perl.org
On Sunday 10 October 2004 21:50, Jeff Clites wrote:
> Did you run 'make' again after running the "c++ -o parrot..." line
> below? If not, I bet the problem is just the stuff in
> runtime/parrot/include never got bytecode-compiled, because the stuff
> at the end of the make process never ran.
Ah yes, this is indeed a good explanation for the test failures.
I think we should add a test that checks if all generated files were build
correctly.

I've disabled the code that removes -licudata, I hope it works now.
Sorry for that!

> JEff
jens

0 new messages