Bug#551251: libjavascript-perl: FTBFS: failed test
gregor herrmann
gregoa at debian.org
Fri Oct 16 20:31:23 UTC 2009
tag 551251 + confirmed
thanks
On Fri, 16 Oct 2009 18:32:15 +0200, Lucas Nussbaum wrote:
> During a rebuild of all packages in sid, your package failed to build on
> amd64.
> > # Failed test 'use JavaScript;'
> > # at t/00-init.t line 5.
> > # Tried to use 'JavaScript'.
> > # Error: Can't load '/build/user-libjavascript-perl_1.12-3-amd64-sI7v4x/libjavascript-perl-1.12/blib/arch/auto/JavaScript/JavaScript.so' for module JavaScript: /build/user-libjavascript-perl_1.12-3-amd64-sI7v4x/libjavascript-perl-1.12/blib/arch/auto/JavaScript/JavaScript.so: undefined symbol: JS_SetBranchCallback at /usr/lib/perl/5.10/DynaLoader.pm line 193.
> > # at (eval 4) line 2
> > # Compilation failed in require at (eval 4) line 2.
> > # BEGIN failed--compilation aborted at (eval 4) line 2.
> > # Looks like you failed 1 test of 1.
> > t/00-init.t .......................
> > Dubious, test returned 1 (wstat 256, 0x100)
> > Failed 1/1 subtests
> > Can't load '/build/user-libjavascript-perl_1.12-3-amd64-sI7v4x/libjavascript-perl-1.12/blib/arch/auto/JavaScript/JavaScript.so' for module JavaScript: /build/user-libjavascript-perl_1.12-3-amd64-sI7v4x/libjavascript-perl-1.12/blib/arch/auto/JavaScript/JavaScript.so: undefined symbol: JS_SetBranchCallback at /usr/lib/perl/5.10/DynaLoader.pm line 193.
> > at t/01-types-from-js.t line 8
> > Compilation failed in require at t/01-types-from-js.t line 8.
> > BEGIN failed--compilation aborted at t/01-types-from-js.t line 8.
> > # Looks like your test exited with 2 before it could output anything.
Same here. Seems like JS_SetBranchCallback is gone in the new
xulrunner version.
xulrunner-1.9.0.14/js/src/jsapi.{c,h} have interesting notes:
#define JSOPTION_NATIVE_BRANCH_CALLBACK \
..
Deprecated, use
JS_SetOperationCallback
instead */
After a simple s/JS_SetBranchCallback/JS_SetOperationCallback in
Javascript.xs most tests pass, i.e. I don't get this "undefined
symbol" anymore, the only failure is:
# Failed test at t/21-branch-handler.t line 24.
# got: '0'
# expected: '10'
# Looks like you failed 1 test of 3.
t/21-branch-handler.t .............
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/3 subtests
From t/21-branch-handler.t:
22 $cx1->set_branch_handler(\&branch_handler);
23 $cx1->eval("for(i = 0; i < 10; i++) {}");
24 is($called, 10);
Hm, I guess it's not that easy :)
Cheers,
gregor, cc'ing xulrunner maintainers
--
.''`. http://info.comodo.priv.at/ -- GPG Key IDs: 0x00F3CFE4, 0x8649AA06
: :' : Debian GNU/Linux user, admin, & developer - http://www.debian.org/
`. `' Member of VIBE!AT, SPI Inc., fellow of FSFE | http://got.to/quote/
`- NP: Page&Plant: Burning Up
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-mozilla-maintainers/attachments/20091016/425b6bfa/attachment.pgp>
More information about the pkg-mozilla-maintainers
mailing list