# New Ticket Created by  James Keenan 
# Please include the string:  [perl #43107]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=43107 >


---
osname= linux
osvers= 2.6.15
arch=   i386-linux-thread-multi
cc=     cc
---
Flags:
    category=core
    severity=medium
    ack=no
---
Tonight, on both Linux and Darwin, I configured with the '--test' option to
Configure.pl that runs, among other things, the build tools tests once
Configure.pl itself has completed.  These tests generally always pass -- and
they did so tonight -- but tonight one test ran with warnings not previously
seen.  Here is the output of 'prove -v t/tools/pmc2cutils/05-gen_c.t on Linux:


11-226:parrot] 507 $ prove -v t/tools/pmc2cutils/05-gen_c.t
t/tools/pmc2cutils/05-gen_c....
OK:  Parrot top directory located
1..68
ok 1 - use Parrot::Pmc2c::Pmc2cMain;
ok 2 - use Cwd;
ok 3 - use File::Temp;
ok 4 - changed to temp directory for testing
ok 5 - created src/ under tempdir
ok 6 - created src/pmc/ under tempdir
ok 7 - all src/pmc/*.pmc files copied to tempdir
ok 8 - The object isa Parrot::Pmc2c::Pmc2cMain
ok 9 - dump_vtable created vtable.dump
ok 10 - dump_pmc succeeded
ok 11 - default.dump created as expected
Cannot generate /tmp/cv7C2swFcy/src/pmc/default.c code for unknown method 
'get_bool_keyed_int'.
Cannot generate /tmp/cv7C2swFcy/src/pmc/default.c code for unknown method 
'elements_keyed_int'.
Cannot generate /tmp/cv7C2swFcy/src/pmc/default.c code for unknown method 
'set_bool_keyed_int'.
Cannot generate /tmp/cv7C2swFcy/src/pmc/default.c code for unknown method 
'is_equal_str'.
ok 12 - gen_c completed successfully; args:  default.pmc
ok 13 - changed back to original directory
ok 14 - changed to temp directory for testing
ok 15 - created src/ under tempdir
ok 16 - created src/pmc/ under tempdir
ok 17 - all src/pmc/*.pmc files copied to tempdir
ok 18 - The object isa Parrot::Pmc2c::Pmc2cMain
ok 19 - dump_vtable created vtable.dump
ok 20 - dump_pmc succeeded
ok 21 - default.dump created as expected
ok 22 - array.dump created as expected
Cannot generate /tmp/u7Ly25yooR/src/pmc/default.c code for unknown method 
'get_bool_keyed_int'.
Cannot generate /tmp/u7Ly25yooR/src/pmc/default.c code for unknown method 
'elements_keyed_int'.
Cannot generate /tmp/u7Ly25yooR/src/pmc/default.c code for unknown method 
'set_bool_keyed_int'.
Cannot generate /tmp/u7Ly25yooR/src/pmc/default.c code for unknown method 
'is_equal_str'.
ok 23 - gen_c completed successfully; args:  default.pmc and array.pmc
ok 24 - changed back to original directory
ok 25 - changed to temp directory for testing
ok 26 - created src/ under tempdir
ok 27 - created src/pmc/ under tempdir
ok 28 - all src/pmc/*.pmc files copied to tempdir
ok 29 - The object isa Parrot::Pmc2c::Pmc2cMain
ok 30 - dump_vtable created vtable.dump
ok 31 - dump_pmc succeeded
ok 32 - default.dump created as expected
Cannot generate /tmp/51xFgg6kSM/src/pmc/default.c code for unknown method 
'get_bool_keyed_int'.
Cannot generate /tmp/51xFgg6kSM/src/pmc/default.c code for unknown method 
'elements_keyed_int'.
Cannot generate /tmp/51xFgg6kSM/src/pmc/default.c code for unknown method 
'set_bool_keyed_int'.
Cannot generate /tmp/51xFgg6kSM/src/pmc/default.c code for unknown method 
'is_equal_str'.
ok 33 - gen_c completed successfully; args:  default.pmc
ok 34 - debug option worked
ok 35 - changed back to original directory
ok 36 - changed to temp directory for testing
ok 37 - created src/ under tempdir
ok 38 - created src/pmc/ under tempdir
ok 39 - all src/pmc/*.pmc files copied to tempdir
ok 40 - The object isa Parrot::Pmc2c::Pmc2cMain
ok 41 - dump_vtable created vtable.dump
ok 42 - verbose option worked
ok 43 - dump_pmc succeeded
ok 44 - default.dump created as expected
ok 45 - verbose option worked
Cannot generate /tmp/8LfDhf4liZ/src/pmc/default.c code for unknown method 
'get_bool_keyed_int'.
Cannot generate /tmp/8LfDhf4liZ/src/pmc/default.c code for unknown method 
'elements_keyed_int'.
Cannot generate /tmp/8LfDhf4liZ/src/pmc/default.c code for unknown method 
'set_bool_keyed_int'.
Cannot generate /tmp/8LfDhf4liZ/src/pmc/default.c code for unknown method 
'is_equal_str'.
ok 46 - gen_c completed successfully; args:  default.pmc
ok 47 - debug option worked
ok 48 - changed back to original directory
ok 49 - changed to temp directory for testing
ok 50 - created src/ under tempdir
ok 51 - created src/pmc/ under tempdir
ok 52 - src/pmc/*.pmc files copied to tempdir
ok 53 - The object isa Parrot::Pmc2c::Pmc2cMain
ok 54 - dump_vtable created vtable.dump
ok 55 - gen_c() predictably failed because dump_pmc() was not called first
ok 56 - changed back to original directory
ok 57 - changed to temp directory for testing
ok 58 - created src/ under tempdir
ok 59 - created src/pmc/ under tempdir
ok 60 - all src/pmc/*.pmc files copied to tempdir
ok 61 - The object isa Parrot::Pmc2c::Pmc2cMain
ok 62 - dump_vtable created vtable.dump
ok 63 - dump_pmc succeeded
ok 64 - default.dump created as expected
ok 65 - class.dump created as expected
Cannot generate /tmp/Z9PJ5aJKBK/src/pmc/default.c code for unknown method 
'get_bool_keyed_int'.
Cannot generate /tmp/Z9PJ5aJKBK/src/pmc/default.c code for unknown method 
'elements_keyed_int'.
Cannot generate /tmp/Z9PJ5aJKBK/src/pmc/default.c code for unknown method 
'set_bool_keyed_int'.
Cannot generate /tmp/Z9PJ5aJKBK/src/pmc/default.c code for unknown method 
'is_equal_str'.
ok 66 - gen_c completed successfully; args:  default.pmc and class.pmc
ok 67 - changed back to original directory
ok 68 - Completed all tests in t/tools/pmc2cutils/05-gen_c.t
ok
All tests successful.
Files=1, Tests=68,  1 wallclock secs ( 0.79 cusr +  0.04 csys =  0.83 CPU)

##### END of 'prove' output

I suspect the problem is to be found either in lib/Parrot/Pmc2c/Pmc2cMain.pm
or in src/pmc/default.c.  Could whoever has been working on these files in the
past few days please take a look at this?  The warnings are of very recent
origin.

Thank you very much.
kid51


---
Summary of my parrot 0.4.12 (r18737) configuration:
  configdate='Fri Jun  1 23:29:03 2007 GMT'
  Platform:
    osname=linux, archname=i686-linux
    jitcapable=1, jitarchname=i386-linux,
    jitosname=LINUX, jitcpuarch=i386
    execcapable=1
    perl=/usr/local/bin/perl
  Compiler:
    cc='cc', ccflags=' -pipe -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE',
  Linker and Libraries:
    ld='cc', ldflags=' -L/usr/local/lib',
    cc_ldflags='',
    libs='-lnsl -ldl -lm -lcrypt -lutil -lpthread -lrt'
  Dynamic Linking:
    share_ext='.so', ld_share_flags='-shared -L/usr/local/lib -fPIC',
    load_ext='.so', ld_load_flags='-shared -L/usr/local/lib -fPIC'
  Types:
    iv=long, intvalsize=4, intsize=4, opcode_t=long, opcode_t_size=4,
    ptrsize=4, ptr_alignment=1 byteorder=1234, 
    nv=double, numvalsize=8, doublesize=8

---
Environment:
    HOME =/home/jimk
    LANG  (unset)
    LANGUAGE  (unset)
    LD_LIBRARY_PATH  (unset)
    LOGDIR  (unset)
    PATH 
=/usr/local/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/mysql/bin:/home/jimk/bin:/home/jimk/bin/perl
    SHELL =/bin/bash

Reply via email to