Today I had occasion to test Parrot on a Darwin/i386 box where no Parrot
has ever been installed. Note that this is different from the
Darwin/PPC box on which I usually report. On this machine, I simply
used: 'perl Configure.pl' -- i.e., no '--link=g++ --ld=g++'.
The 'master' and 'whiteknight/io_cleanup1' branches passed all tests.
The 'threads' branch, however, failed most tests in a file where the
other two branches passed completely. See attachment.
The most frequently seen error message was:
# dyld: Library not loaded: /usr/local/lib/libparrot.dylib
# Referenced from: /Users/jkeenan/gitwork/parrot/./t/src/extend_1
# Reason: image not found
Now, I know we've seen this on Darwin before, albeit intermittently.
But if I got this failure in one branch, I would have expected it in all
three branches which I tested.
Thank you very much.
jimk
# Failed test 'Parrot_PMC_null'
# at t/src/extend.t line 43.
# Exited with error code: [SIGNAL 5]
# Received:
# dyld: Library not loaded: /usr/local/lib/libparrot.dylib
# Referenced from: /Users/jkeenan/gitwork/parrot/./t/src/extend_1
# Reason: image not found
#
# Expected:
#
# Failed test 'Parrot_get_root_namespace/Parrot_(un)register_pmc'
# at t/src/extend.t line 65.
# Exited with error code: [SIGNAL 5]
# Received:
# dyld: Library not loaded: /usr/local/lib/libparrot.dylib
# Referenced from: /Users/jkeenan/gitwork/parrot/./t/src/extend_2
# Reason: image not found
#
# Expected:
#
#
# Failed test 'Parrot_fprintf'
# at t/src/extend.t line 91.
# Exited with error code: [SIGNAL 5]
# Received:
# dyld: Library not loaded: /usr/local/lib/libparrot.dylib
# Referenced from: /Users/jkeenan/gitwork/parrot/./t/src/extend_3
# Reason: image not found
#
# Expected:
# 42
#
# Failed test 'Parrot_printf/Parrot_eprintf with no interp'
# at t/src/extend.t line 115.
# Exited with error code: [SIGNAL 5]
# Received:
# dyld: Library not loaded: /usr/local/lib/libparrot.dylib
# Referenced from: /Users/jkeenan/gitwork/parrot/./t/src/extend_4
# Reason: image not found
#
# Expected:
# 42
# 42
#
# Failed test 'Parrot_new_string'
# at t/src/extend.t line 133.
# Exited with error code: [SIGNAL 5]
# Received:
# dyld: Library not loaded: /usr/local/lib/libparrot.dylib
# Referenced from: /Users/jkeenan/gitwork/parrot/./t/src/extend_5
# Reason: image not found
#
# Expected:
# Test
#
# Failed test 'Parrot_new_string/Parrot_(un)register_string'
# at t/src/extend.t line 160.
# Exited with error code: [SIGNAL 5]
# Received:
# dyld: Library not loaded: /usr/local/lib/libparrot.dylib
# Referenced from: /Users/jkeenan/gitwork/parrot/./t/src/extend_6
# Reason: image not found
#
# Expected:
# Test_reg_unreg
#
# Failed test 'PMC_set/get_integer'
# at t/src/extend.t line 191.
# Exited with error code: [SIGNAL 5]
# Received:
# dyld: Library not loaded: /usr/local/lib/libparrot.dylib
# Referenced from: /Users/jkeenan/gitwork/parrot/./t/src/extend_7
# Reason: image not found
#
# Expected:
# 101010
#
# Failed test 'PMC_set/get_integer_keyed_int'
# at t/src/extend.t line 223.
# Exited with error code: [SIGNAL 5]
# Received:
# dyld: Library not loaded: /usr/local/lib/libparrot.dylib
# Referenced from: /Users/jkeenan/gitwork/parrot/./t/src/extend_8
# Reason: image not found
#
# Expected:
# 12345
#
# Failed test 'PMC_set/get_number'
# at t/src/extend.t line 256.
# Exited with error code: [SIGNAL 5]
# Received:
# dyld: Library not loaded: /usr/local/lib/libparrot.dylib
# Referenced from: /Users/jkeenan/gitwork/parrot/./t/src/extend_9
# Reason: image not found
#
# Expected:
# 3.1415927
#
# Failed test 'PMC_set/get_string'
# at t/src/extend.t line 289.
# Exited with error code: [SIGNAL 5]
# Received:
# dyld: Library not loaded: /usr/local/lib/libparrot.dylib
# Referenced from: /Users/jkeenan/gitwork/parrot/./t/src/extend_10
# Reason: image not found
#
# Expected:
# Pumpking
#
dyld: Library not loaded: /usr/local/lib/libparrot.dylib
Referenced from: /Users/jkeenan/gitwork/parrot/./parrot
Reason: image not found
# Failed test 'call a parrot sub'
# at t/src/extend.t line 343.
# Exited with error code: [SIGNAL 5]
# Received:
# dyld: Library not loaded: /usr/local/lib/libparrot.dylib
# Referenced from: /Users/jkeenan/gitwork/parrot/./t/src/extend_11
# Reason: image not found
#
# Expected:
# in sub1
# back
# hello in sub2
# back
#
# Failed test 'call a parrot sub using the unified interface'
# at t/src/extend.t line 393.
# Exited with error code: [SIGNAL 5]
# Received:
# dyld: Library not loaded: /usr/local/lib/libparrot.dylib
# Referenced from: /Users/jkeenan/gitwork/parrot/./t/src/extend_12
# Reason: image not found
#
# Expected:
# in sub1
# back
# hello in sub2
# back
#
dyld: Library not loaded: /usr/local/lib/libparrot.dylib
Referenced from: /Users/jkeenan/gitwork/parrot/./parrot
Reason: image not found
# Failed test 'call a parrot sub and return an integer'
# at t/src/extend.t line 460.
# Exited with error code: [SIGNAL 5]
# Received:
# dyld: Library not loaded: /usr/local/lib/libparrot.dylib
# Referenced from: /Users/jkeenan/gitwork/parrot/./t/src/extend_13
# Reason: image not found
#
# Expected:
# hello in sub2
# result 42
# back
#
dyld: Library not loaded: /usr/local/lib/libparrot.dylib
Referenced from: /Users/jkeenan/gitwork/parrot/./parrot
Reason: image not found
# Failed test 'call a parrot sub, catch exception'
# at t/src/extend.t line 518.
# Exited with error code: [SIGNAL 5]
# Received:
# dyld: Library not loaded: /usr/local/lib/libparrot.dylib
# Referenced from: /Users/jkeenan/gitwork/parrot/./t/src/extend_14
# Reason: image not found
#
# Expected:
# in sub1
# caught
# back
#
dyld: Library not loaded: /usr/local/lib/libparrot.dylib
Referenced from: /Users/jkeenan/gitwork/parrot/./parrot
Reason: image not found
# Failed test 'call multi sub from C - \#41511'
# at t/src/extend.t line 669.
# Exited with error code: [SIGNAL 5]
# Received:
# dyld: Library not loaded: /usr/local/lib/libparrot.dylib
# Referenced from: /Users/jkeenan/gitwork/parrot/./t/src/extend_17
# Reason: image not found
#
# Expected:
# Result is 300.
#
# Failed test 'call multi sub from C - unified interface'
# at t/src/extend.t line 698.
# Exited with error code: [SIGNAL 5]
# Received:
# dyld: Library not loaded: /usr/local/lib/libparrot.dylib
# Referenced from: /Users/jkeenan/gitwork/parrot/./t/src/extend_18
# Reason: image not found
#
# Expected:
# Result is 300.
#
# Failed test 'multiple Parrot_interp_new/Parrot_x_exit cycles'
# at t/src/extend.t line 727.
# Exited with error code: [SIGNAL 5]
# Received:
# dyld: Library not loaded: /usr/local/lib/libparrot.dylib
# Referenced from: /Users/jkeenan/gitwork/parrot/./t/src/extend_19
# Reason: image not found
#
# Expected:
# Starting interp 1
# Destroying interp 1
# Starting interp 2
# Destroying interp 2
#
# Looks like you failed 17 tests of 19.
t/src/extend.t ..
1..19
not ok 1 - Parrot_PMC_null
not ok 2 - Parrot_get_root_namespace/Parrot_(un)register_pmc
not ok 3 - Parrot_fprintf
not ok 4 - Parrot_printf/Parrot_eprintf with no interp
not ok 5 - Parrot_new_string
not ok 6 - Parrot_new_string/Parrot_(un)register_string
not ok 7 - PMC_set/get_integer
not ok 8 - PMC_set/get_integer_keyed_int
not ok 9 - PMC_set/get_number
not ok 10 - PMC_set/get_string
not ok 11 - call a parrot sub
not ok 12 - call a parrot sub using the unified interface
not ok 13 - call a parrot sub and return an integer
not ok 14 - call a parrot sub, catch exception
# 'llvm-gcc-4.2 -g -pipe -fno-common -fstack-protector -I/usr/local/include
-pipe -fno-common -DHASATTRIBUTE_CONST -DHASATTRIBUTE_DEPRECATED
-DHASATTRIBUTE_MALLOC -DHASATTRIBUTE_NONNULL -DHASATTRIBUTE_NORETURN
-DHASATTRIBUTE_PURE -DHASATTRIBUTE_UNUSED -DHASATTRIBUTE_WARN_UNUSED_RESULT
-g -I./include -c -o t/src/extend_15.o t/src/extend_15.c' failed with exit
code 1
# Failed to build 't/src/extend_15.o': t/src/extend_15.c: In function
âmainâ:
# t/src/extend_15.c:17: error: âpfâ undeclared (first use in this function)
# t/src/extend_15.c:17: error: (Each undeclared identifier is reported only once
# t/src/extend_15.c:17: error: for each function it appears in.)
not ok 15 - eval code through a parrot sub - \#39669 # TODO Must explicitly set
a PIR compreg
# Failed (TODO) test 'eval code through a parrot sub - \#39669'
# at t/src/extend.t line 607.
not ok 16 - compile string in a fresh interp - \#39986 # TODO Must explicitly
set a PIR compreg
# Failed (TODO) test 'compile string in a fresh interp - \#39986'
# at t/src/extend.t line 637.
# Exited with error code: [SIGNAL 5]
# Received:
# dyld: Library not loaded: /usr/local/lib/libparrot.dylib
# Referenced from: /Users/jkeenan/gitwork/parrot/./t/src/extend_16
# Reason: image not found
#
# Expected:
# Hello from foo!
#
not ok 17 - call multi sub from C - \#41511
not ok 18 - call multi sub from C - unified interface
not ok 19 - multiple Parrot_interp_new/Parrot_x_exit cycles
Dubious, test returned 17 (wstat 4352, 0x1100)
Failed 17/19 subtests
Test Summary Report
-------------------
t/src/extend.t (Wstat: 4352 Tests: 19 Failed: 17)
Failed tests: 1-14, 17-19
Non-zero exit status: 17
Files=1, Tests=19, 3 wallclock secs ( 0.02 usr 0.01 sys + 1.49 cusr 0.49
csys = 2.01 CPU)
Result: FAIL
_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-dev