Skip Menu |

This queue is for tickets about the JavaScript-SpiderMonkey CPAN distribution.

Report information
The Basics
Id: 70693
Status: new
Priority: 0/
Queue: JavaScript-SpiderMonkey

People
Owner: Nobody in particular
Requestors: michael.du-pont [...] dress-for-less.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: build error on debian sid
Date: Fri, 2 Sep 2011 10:28:23 +0200
To: "bug-JavaScript-SpiderMonkey [...] rt.cpan.org" <bug-JavaScript-SpiderMonkey [...] rt.cpan.org>
From: Michael Du Pont <Michael.Du-Pont [...] dress-for-less.de>
mdupont@mdupont-CELSIUS-W280:/tmp/dl$ sudo cpan JavaScript::SpiderMonkey CPAN: Storable loaded ok (v2.22) Reading '/root/.cpan/Metadata' Database was generated on Thu, 01 Sep 2011 23:27:12 GMT Running install for module 'JavaScript::SpiderMonkey' Running make for T/TB/TBUSCH/JavaScript-SpiderMonkey-0.20.tar.gz CPAN: Digest::SHA loaded ok (v5.62) CPAN: Compress::Zlib loaded ok (v2.037) Checksum for /root/.cpan/sources/authors/id/T/TB/TBUSCH/JavaScript-SpiderMonkey-0.20.tar.gz ok CPAN: Archive::Tar loaded ok (v1.76) CPAN: File::Temp loaded ok (v0.22) CPAN: Parse::CPAN::Meta loaded ok (v1.4401) CPAN: CPAN::Meta loaded ok (v2.112150) CPAN: Module::CoreList loaded ok (v2.50) CPAN.pm: Building T/TB/TBUSCH/JavaScript-SpiderMonkey-0.20.tar.gz JS_LIB_DIR: /usr/lib/ JS_INCL_DIR: /usr/include/mozjs/ JS_LIB_NAME: mozjs Checking if your kit is complete... Looks good Writing Makefile for JavaScript::SpiderMonkey Writing MYMETA.yml and MYMETA.json cp SpiderMonkey.pm blib/lib/JavaScript/SpiderMonkey.pm /usr/bin/perl /usr/share/perl/5.12/ExtUtils/xsubpp -typemap /usr/share/perl/5.12/ExtUtils/typemap -typemap typemap SpiderMonkey.xs > SpiderMonkey.xsc && mv SpiderMonkey.xsc SpiderMonkey.c cc -c -I/usr/include/mozjs/ -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"0.20\" -DXS_VERSION=\"0.20\" -fPIC "-I/usr/lib/perl/5.12/CORE" -DXP_UNIX SpiderMonkey.c SpiderMonkey.xs:27:5: warning: initialization from incompatible pointer type [enabled by default] SpiderMonkey.xs:27:5: warning: (near initialization for 'global_class.setProperty') [enabled by default] SpiderMonkey.xs: In function 'getsetter_dispatcher': SpiderMonkey.xs:70:5: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] SpiderMonkey.xs:71:5: warning: passing argument 2 of 'Perl_newSVpv' makes pointer from integer without a cast [enabled by default] /usr/lib/perl/5.12/CORE/proto.h:2314:19: note: expected 'const char * const' but argument is of type 'int' SpiderMonkey.xs:73:5: warning: passing argument 2 of 'Perl_newSVpv' makes pointer from integer without a cast [enabled by default] /usr/lib/perl/5.12/CORE/proto.h:2314:19: note: expected 'const char * const' but argument is of type 'int' SpiderMonkey.xs: In function 'FunctionDispatcher': SpiderMonkey.xs:152:5: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] SpiderMonkey.xs:153:5: warning: passing argument 2 of 'Perl_newSVpv' makes pointer from integer without a cast [enabled by default] /usr/lib/perl/5.12/CORE/proto.h:2314:19: note: expected 'const char * const' but argument is of type 'int' SpiderMonkey.xs:156:9: warning: passing argument 2 of 'Perl_newSVpv' makes pointer from integer without a cast [enabled by default] /usr/lib/perl/5.12/CORE/proto.h:2314:19: note: expected 'const char * const' but argument is of type 'int' SpiderMonkey.xs:177:13: warning: passing argument 1 of 'OBJECT_TO_JSVAL' makes pointer from integer without a cast [enabled by default] /usr/include/mozjs/jsapi.h:217:1: note: expected 'struct JSObject *' but argument is of type 'IV' SpiderMonkey.xs: At top level: SpiderMonkey.xs:244:30: error: unknown type name 'JSScript' SpiderMonkey.xs: In function 'XS_JavaScript__SpiderMonkey_JS_DefineFunction': SpiderMonkey.xs:496:14: warning: passing argument 4 of 'JS_DefineFunction' from incompatible pointer type [enabled by default] /usr/include/mozjs/jsapi.h:2657:1: note: expected 'JSNative' but argument is of type 'JSBool (*)(struct JSContext *, struct JSObject *, uintN, jsval *, jsval *)' SpiderMonkey.xs:500:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] SpiderMonkey.xs: In function 'XS_JavaScript__SpiderMonkey_JS_DefineProperty': SpiderMonkey.xs:561:32: warning: passing argument 5 of 'JS_DefineProperty' from incompatible pointer type [enabled by default] /usr/include/mozjs/jsapi.h:2243:1: note: expected 'JSPropertyOp' but argument is of type 'JSBool (*)(struct JSContext *, struct JSObject *, jsval, jsval *)' SpiderMonkey.xs:561:32: warning: passing argument 6 of 'JS_DefineProperty' from incompatible pointer type [enabled by default] /usr/include/mozjs/jsapi.h:2243:1: note: expected 'JSStrictPropertyOp' but argument is of type 'JSBool (*)(struct JSContext *, struct JSObject *, jsval, jsval *)' SpiderMonkey.xs: In function 'XS_JavaScript__SpiderMonkey_JS_GetProperty': SpiderMonkey.xs:585:13: warning: passing argument 1 of '__builtin_strlen' makes pointer from integer without a cast [enabled by default] SpiderMonkey.xs:585:13: note: expected 'const char *' but argument is of type 'int' SpiderMonkey.xs:585:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] SpiderMonkey.xs:585:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] SpiderMonkey.xs:585:13: warning: passing argument 1 of '__builtin_strcmp' makes pointer from integer without a cast [enabled by default] SpiderMonkey.xs:585:13: note: expected 'const char *' but argument is of type 'int' SpiderMonkey.xs:585:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] SpiderMonkey.xs:585:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] SpiderMonkey.xs:585:13: warning: passing argument 1 of '__builtin_strlen' makes pointer from integer without a cast [enabled by default] SpiderMonkey.xs:585:13: note: expected 'const char *' but argument is of type 'int' SpiderMonkey.xs:585:13: warning: passing argument 1 of '__builtin_strcmp' makes pointer from integer without a cast [enabled by default] SpiderMonkey.xs:585:13: note: expected 'const char *' but argument is of type 'int' SpiderMonkey.xs:585:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] SpiderMonkey.xs:585:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] SpiderMonkey.xs:585:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] SpiderMonkey.xs:585:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] SpiderMonkey.xs:585:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] SpiderMonkey.xs:585:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] SpiderMonkey.xs:585:13: warning: passing argument 1 of '__builtin_strcmp' makes pointer from integer without a cast [enabled by default] SpiderMonkey.xs:585:13: note: expected 'const char *' but argument is of type 'int' SpiderMonkey.xs:585:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] SpiderMonkey.xs:585:13: warning: passing argument 1 of '__builtin_strcmp' makes pointer from integer without a cast [enabled by default] SpiderMonkey.xs:585:13: note: expected 'const char *' but argument is of type 'int' SpiderMonkey.xs:588:17: warning: passing argument 3 of 'Perl_sv_setpv' makes pointer from integer without a cast [enabled by default] /usr/lib/perl/5.12/CORE/proto.h:3502:20: note: expected 'const char * const' but argument is of type 'int' SpiderMonkey.xs: In function 'XS_JavaScript__SpiderMonkey_JS_GetElement': SpiderMonkey.xs:678:13: warning: passing argument 1 of '__builtin_strlen' makes pointer from integer without a cast [enabled by default] SpiderMonkey.xs:678:13: note: expected 'const char *' but argument is of type 'int' SpiderMonkey.xs:678:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] SpiderMonkey.xs:678:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] SpiderMonkey.xs:678:13: warning: passing argument 1 of '__builtin_strcmp' makes pointer from integer without a cast [enabled by default] SpiderMonkey.xs:678:13: note: expected 'const char *' but argument is of type 'int' SpiderMonkey.xs:678:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] SpiderMonkey.xs:678:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] SpiderMonkey.xs:678:13: warning: passing argument 1 of '__builtin_strlen' makes pointer from integer without a cast [enabled by default] SpiderMonkey.xs:678:13: note: expected 'const char *' but argument is of type 'int' SpiderMonkey.xs:678:13: warning: passing argument 1 of '__builtin_strcmp' makes pointer from integer without a cast [enabled by default] SpiderMonkey.xs:678:13: note: expected 'const char *' but argument is of type 'int' SpiderMonkey.xs:678:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] SpiderMonkey.xs:678:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] SpiderMonkey.xs:678:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] SpiderMonkey.xs:678:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] SpiderMonkey.xs:678:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] SpiderMonkey.xs:678:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] SpiderMonkey.xs:678:13: warning: passing argument 1 of '__builtin_strcmp' makes pointer from integer without a cast [enabled by default] SpiderMonkey.xs:678:13: note: expected 'const char *' but argument is of type 'int' SpiderMonkey.xs:678:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] SpiderMonkey.xs:678:13: warning: passing argument 1 of '__builtin_strcmp' makes pointer from integer without a cast [enabled by default] SpiderMonkey.xs:678:13: note: expected 'const char *' but argument is of type 'int' SpiderMonkey.xs:681:17: warning: passing argument 3 of 'Perl_sv_setpv' makes pointer from integer without a cast [enabled by default] /usr/lib/perl/5.12/CORE/proto.h:3502:20: note: expected 'const char * const' but argument is of type 'int' SpiderMonkey.xs: In function 'XS_JavaScript__SpiderMonkey_JS_SetMaxBranchOperations': SpiderMonkey.xs:721:34: error: 'BranchHandler' undeclared (first use in this function) SpiderMonkey.xs:721:34: note: each undeclared identifier is reported only once for each function it appears in make: *** [SpiderMonkey.o] Error 1 TBUSCH/JavaScript-SpiderMonkey-0.20.tar.gz /usr/bin/make -- NOT OK CPAN: YAML loaded ok (v0.73) Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible Here is the header information Subject: libmozjs-dev: test Package: libmozjs-dev Version: 6.0-4 Severity: important -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.39-2-amd64 (SMP w/8 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Versions of packages libmozjs-dev depends on: ii libmozjs6d 6.0-4 ii libnspr4-dev 4.8.9-1 libmozjs-dev recommends no packages. libmozjs-dev suggests no packages.