The patch that was attached and upstreamed works. I have attached a pbuilder build log to show completion of the build. Since this is an RC bug, would someone please be able to upload the patch. I have attached an nmu debdiff for convenience.
Thank you, Micah
diff -Nru libjavascript-perl-1.16/debian/changelog libjavascript-perl-1.16/debian/changelog --- libjavascript-perl-1.16/debian/changelog 2010-04-22 14:43:59.000000000 -0500 +++ libjavascript-perl-1.16/debian/changelog 2010-10-11 21:53:44.000000000 -0500 @@ -1,3 +1,12 @@ +libjavascript-perl (1.16-2.1) unstable; urgency=low + + * Non-maintainer upload. + * add a patch for fixing tests due to a change in XML parsing + Closes: #591132 -- libjavascript-perl: FTBFS: failed test + Thanks to Niko Tyni for the patch + + -- Micah Gersten <mic...@ubuntu.com> Mon, 11 Oct 2010 21:51:50 -0500 + libjavascript-perl (1.16-2) unstable; urgency=low * add a patch fixing tests for double numbers evaluation. diff -Nru libjavascript-perl-1.16/debian/patches/0001-Fix-E4X-test-failure-with-new-SpiderMonkey-versions.patch libjavascript-perl-1.16/debian/patches/0001-Fix-E4X-test-failure-with-new-SpiderMonkey-versions.patch --- libjavascript-perl-1.16/debian/patches/0001-Fix-E4X-test-failure-with-new-SpiderMonkey-versions.patch 1969-12-31 18:00:00.000000000 -0600 +++ libjavascript-perl-1.16/debian/patches/0001-Fix-E4X-test-failure-with-new-SpiderMonkey-versions.patch 2010-10-11 21:29:10.000000000 -0500 @@ -0,0 +1,37 @@ +From 156005a29965b6cada95af97ac53bfa16a6e5b2b Mon Sep 17 00:00:00 2001 +From: Niko Tyni <nt...@debian.org> +Date: Sat, 21 Aug 2010 20:56:48 +0300 +Subject: [PATCH] Fix E4X test failure with new SpiderMonkey versions + +As of Mozilla 1.9.1.11, a pure XML element is not treated as valid +top level JavaScript but rather gets rejected with "XML cannot be the +whole program". + +Work around this by throwing some valid JavaScript in the mix that +explicitly takes the value of the object. + +See + http://hg.mozilla.org/releases/mozilla-1.9.1/rev/d4b2224cf458 + http://hg.mozilla.org/releases/mozilla-1.9.1/rev/c4ba70070012 + https://bugzilla.mozilla.org/show_bug.cgi?id=375250 +--- + t/26-e4x.t | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/t/26-e4x.t b/t/26-e4x.t +index de799fb..aeb9c8e 100644 +--- a/t/26-e4x.t ++++ b/t/26-e4x.t +@@ -19,7 +19,7 @@ my $runtime = new JavaScript::Runtime(); + my $context = $runtime->create_context(); + + my $ret = $context->eval(<<'EOP'); +-<xml>this is an E4X object</xml> ++(<xml>this is an E4X object</xml>).valueOf(); + EOP + is($ret, '<xml>this is an E4X object</xml>'); + +-- +1.7.1 + + diff -Nru libjavascript-perl-1.16/debian/patches/series libjavascript-perl-1.16/debian/patches/series --- libjavascript-perl-1.16/debian/patches/series 2010-04-22 13:42:38.000000000 -0500 +++ libjavascript-perl-1.16/debian/patches/series 2010-10-11 21:27:49.000000000 -0500 @@ -1,3 +1,4 @@ remove-branch-handler pod-spelling.patch fix-longdouble-comparison.patch +0001-Fix-E4X-test-failure-with-new-SpiderMonkey-versions.patch
I: using fakeroot in build. I: Current time: Mon Oct 11 21:55:07 CDT 2010 I: pbuilder-time-stamp: 1286852107 I: Building the build Environment I: extracting base tarball [/home/micah/pbuilder/sid-base.tgz] I: creating local configuration I: copying local configuration I: Installing apt-lines I: mounting /proc filesystem I: mounting /dev/pts filesystem I: Mounting /var/cache/pbuilder/ccache I: policy-rc.d already exists I: Obtaining the cached apt archive contents I: Setting up ccache I: Installing the build-deps I: user script /var/cache/pbuilder/build//7615/tmp/hooks/D01apt starting ============================================ # /etc/apt/sources.list deb ftp://ftp.debian.org/debian sid main contrib non-free #deb-src ftp://ftp.debian.org/debian sid main contrib non-free ============================================ # /etc/apt/sources.list.d/*list cat: /etc/apt/sources.list.d/*list: No such file or directory ============================================ Get:1 ftp://ftp.debian.org sid Release.gpg [835B] Get:2 ftp://ftp.debian.org sid Release [104kB] Get:3 ftp://ftp.debian.org sid/main Packages/DiffIndex [2038B] Get:4 ftp://ftp.debian.org sid/contrib Packages/DiffIndex [2023B] Get:5 ftp://ftp.debian.org sid/non-free Packages/DiffIndex [2023B] Get:6 ftp://ftp.debian.org sid/main Packages [6845kB] Get:7 ftp://ftp.debian.org sid/contrib Packages [59.3kB] Get:8 ftp://ftp.debian.org sid/non-free Packages [117kB] Fetched 7132kB in 1min 57s (60.7kB/s) Reading package lists... I: user script /var/cache/pbuilder/build//7615/tmp/hooks/D01apt finished Reading package lists... Building dependency tree... Reading state information... Suggested packages: dh-make gettext-doc libmail-box-perl Recommended packages: autopoint libglib2.0-data shared-mime-info xml-core libmail-sendmail-perl The following NEW packages will be installed: debhelper file gettext gettext-base html2text intltool-debian libcroco3 libdevel-symdump-perl libglib2.0-0 libinline-perl libio-stringy-perl libmagic1 libmozjs-dev libmozjs2d libnspr4-0d libnspr4-dev libparse-recdescent-perl libpcre3 libpod-coverage-perl libsub-uplevel-perl libtest-exception-perl libtest-pod-coverage-perl libtest-pod-perl libunistring0 libxml2 po-debconf 0 upgraded, 26 newly installed, 0 to remove and 72 not upgraded. Need to get 0B/7756kB of archives. After this operation, 25.1MB of additional disk space will be used. Selecting previously deselected package libmagic1. (Reading database ... 12319 files and directories currently installed.) Unpacking libmagic1 (from .../libmagic1_5.04-5_amd64.deb) ... Selecting previously deselected package file. Unpacking file (from .../archives/file_5.04-5_amd64.deb) ... Selecting previously deselected package gettext-base. Unpacking gettext-base (from .../gettext-base_0.18.1.1-3_amd64.deb) ... Selecting previously deselected package libpcre3. Unpacking libpcre3 (from .../libpcre3_8.02-1.1_amd64.deb) ... Selecting previously deselected package libxml2. Unpacking libxml2 (from .../libxml2_2.7.7.dfsg-4_amd64.deb) ... Selecting previously deselected package html2text. Unpacking html2text (from .../html2text_1.3.2a-15_amd64.deb) ... Selecting previously deselected package libglib2.0-0. Unpacking libglib2.0-0 (from .../libglib2.0-0_2.24.2-1_amd64.deb) ... Selecting previously deselected package libcroco3. Unpacking libcroco3 (from .../libcroco3_0.6.2-1_amd64.deb) ... Selecting previously deselected package libunistring0. Unpacking libunistring0 (from .../libunistring0_0.9.3-3_amd64.deb) ... Selecting previously deselected package gettext. Unpacking gettext (from .../gettext_0.18.1.1-3_amd64.deb) ... Selecting previously deselected package intltool-debian. Unpacking intltool-debian (from .../intltool-debian_0.35.0+20060710.1_all.deb) ... Selecting previously deselected package po-debconf. Unpacking po-debconf (from .../po-debconf_1.0.16_all.deb) ... Selecting previously deselected package debhelper. Unpacking debhelper (from .../debhelper_8.0.0_all.deb) ... Selecting previously deselected package libdevel-symdump-perl. Unpacking libdevel-symdump-perl (from .../libdevel-symdump-perl_2.08-3_all.deb) ... Selecting previously deselected package libparse-recdescent-perl. Unpacking libparse-recdescent-perl (from .../libparse-recdescent-perl_1.965001+dfsg-1_all.deb) ... Selecting previously deselected package libinline-perl. Unpacking libinline-perl (from .../libinline-perl_0.46-1_all.deb) ... Selecting previously deselected package libio-stringy-perl. Unpacking libio-stringy-perl (from .../libio-stringy-perl_2.110-4_all.deb) ... Selecting previously deselected package libnspr4-0d. Unpacking libnspr4-0d (from .../libnspr4-0d_4.8.6-1_amd64.deb) ... Selecting previously deselected package libmozjs2d. Unpacking libmozjs2d (from .../libmozjs2d_1.9.1.13-1_amd64.deb) ... Selecting previously deselected package libnspr4-dev. Unpacking libnspr4-dev (from .../libnspr4-dev_4.8.6-1_amd64.deb) ... Selecting previously deselected package libmozjs-dev. Unpacking libmozjs-dev (from .../libmozjs-dev_1.9.1.13-1_amd64.deb) ... Selecting previously deselected package libpod-coverage-perl. Unpacking libpod-coverage-perl (from .../libpod-coverage-perl_0.21-1_all.deb) ... Selecting previously deselected package libsub-uplevel-perl. Unpacking libsub-uplevel-perl (from .../libsub-uplevel-perl_0.2200-1_all.deb) ... Selecting previously deselected package libtest-exception-perl. Unpacking libtest-exception-perl (from .../libtest-exception-perl_0.31-1_all.deb) ... Selecting previously deselected package libtest-pod-coverage-perl. Unpacking libtest-pod-coverage-perl (from .../libtest-pod-coverage-perl_1.08-3_all.deb) ... Selecting previously deselected package libtest-pod-perl. Unpacking libtest-pod-perl (from .../libtest-pod-perl_1.42-1_all.deb) ... Processing triggers for man-db ... Processing triggers for install-info ... Setting up libmagic1 (5.04-5) ... Setting up file (5.04-5) ... Setting up gettext-base (0.18.1.1-3) ... Setting up libpcre3 (8.02-1.1) ... Setting up libxml2 (2.7.7.dfsg-4) ... Setting up html2text (1.3.2a-15) ... Setting up libglib2.0-0 (2.24.2-1) ... Setting up libcroco3 (0.6.2-1) ... Setting up libunistring0 (0.9.3-3) ... Setting up gettext (0.18.1.1-3) ... Setting up intltool-debian (0.35.0+20060710.1) ... Setting up po-debconf (1.0.16) ... Setting up debhelper (8.0.0) ... Setting up libdevel-symdump-perl (2.08-3) ... Setting up libparse-recdescent-perl (1.965001+dfsg-1) ... Setting up libinline-perl (0.46-1) ... Setting up libio-stringy-perl (2.110-4) ... Setting up libnspr4-0d (4.8.6-1) ... Setting up libmozjs2d (1.9.1.13-1) ... Setting up libnspr4-dev (4.8.6-1) ... Setting up libmozjs-dev (1.9.1.13-1) ... Setting up libpod-coverage-perl (0.21-1) ... Setting up libsub-uplevel-perl (0.2200-1) ... Setting up libtest-exception-perl (0.31-1) ... Setting up libtest-pod-coverage-perl (1.08-3) ... Setting up libtest-pod-perl (1.42-1) ... Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: fakeroot 0 upgraded, 1 newly installed, 0 to remove and 72 not upgraded. Need to get 0B/100kB of archives. After this operation, 385kB of additional disk space will be used. Selecting previously deselected package fakeroot. (Reading database ... 13567 files and directories currently installed.) Unpacking fakeroot (from .../fakeroot_1.14.4-1_amd64.deb) ... Processing triggers for man-db ... Setting up fakeroot (1.14.4-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode. I: Copying back the cached apt archive contents I: Copying source file I: copying [libjavascript-perl_1.16-2.1.dsc] I: copying [./libjavascript-perl_1.16.orig.tar.gz] I: copying [./libjavascript-perl_1.16-2.1.debian.tar.gz] I: Extracting source dpkg-source: warning: extracting unsigned source package (libjavascript-perl_1.16-2.1.dsc) dpkg-source: info: extracting libjavascript-perl in libjavascript-perl-1.16 dpkg-source: info: unpacking libjavascript-perl_1.16.orig.tar.gz dpkg-source: info: unpacking libjavascript-perl_1.16-2.1.debian.tar.gz dpkg-source: info: applying remove-branch-handler dpkg-source: info: applying pod-spelling.patch dpkg-source: info: applying fix-longdouble-comparison.patch dpkg-source: info: applying 0001-Fix-E4X-test-failure-with-new-SpiderMonkey-versions.patch I: Building the package W: no hooks of type A found -- ignoring I: Running cd tmp/buildd/*/ && dpkg-buildpackage -us -uc -rfakeroot dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2 dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2 dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2 dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): dpkg-buildpackage: source package libjavascript-perl dpkg-buildpackage: source version 1.16-2.1 dpkg-buildpackage: source changed by Micah Gersten <mic...@ubuntu.com> dpkg-source --before-build libjavascript-perl-1.16 dpkg-buildpackage: host architecture amd64 fakeroot debian/rules clean JS_INC=/usr/include/nspr/:/usr/include/mozjs/ \ JS_THREADSAFE=1 JS_ENABLE_E4X=1 JS_UTF8=1 JS_FORCE=1 \ dh clean dh_testdir dh_auto_clean debian/rules override_dh_clean make[1]: Entering directory `/tmp/buildd/libjavascript-perl-1.16' rm -f JavaScript_Env.h # this is cruft from Inline::C in t/24-c-level-interrupt-handler.t rm -f -r _Inline/ dh_clean make[1]: Leaving directory `/tmp/buildd/libjavascript-perl-1.16' dpkg-source -b libjavascript-perl-1.16 dpkg-source: info: using source format `3.0 (quilt)' dpkg-source: info: building libjavascript-perl using existing ./libjavascript-perl_1.16.orig.tar.gz diff: standard output: Broken pipe dpkg-source: warning: ignoring deletion of file JavaScript_Env.h dpkg-source: info: building libjavascript-perl in libjavascript-perl_1.16-2.1.debian.tar.gz dpkg-source: info: building libjavascript-perl in libjavascript-perl_1.16-2.1.dsc debian/rules build JS_INC=/usr/include/nspr/:/usr/include/mozjs/ \ JS_THREADSAFE=1 JS_ENABLE_E4X=1 JS_UTF8=1 JS_FORCE=1 \ dh build dh_testdir dh_auto_configure Whoa there! Attention! You have asked me to build a JavaScript.pm that links against a SpiderMonkey built with JS_THREADSAFE defined. Although must things will proabaly work as expected some might not and I really don't put much effort into supporting JS_THREADSAFE (actually none expect accept some patches). If you are using a JS_THREADSAFE it's likely because your OS vendor supplied the SpiderMonkey libs you're using and instead I recommend you to download and build your own SpiderMonkey libs that doesn't use JS_THREADSAFE. Skipping build test since JS_FORCE is set Checking if your kit is complete... Looks good 'CREATE_PACKLIST' is not a known MakeMaker parameter name. Writing Makefile for JavaScript debian/rules override_dh_auto_build make[1]: Entering directory `/tmp/buildd/libjavascript-perl-1.16' JS_INC=/usr/include/nspr/:/usr/include/mozjs/ \ dh_auto_build -- OPTIMIZE="-g -O2 -DMOZILLA_1_8_BRANCH=1" \ LD_RUN_PATH="" make[2]: Entering directory `/tmp/buildd/libjavascript-perl-1.16' cp lib/JavaScript/PerlHash.pm blib/lib/JavaScript/PerlHash.pm cp PJS_TypeConversion.h blib/arch/auto/JavaScript/PJS_TypeConversion.h cp lib/Test/JavaScript/More.pm blib/lib/Test/JavaScript/More.pm cp PJS_Property.h blib/arch/auto/JavaScript/PJS_Property.h cp lib/JavaScript/Boxed.pm blib/lib/JavaScript/Boxed.pm cp PJS_Common.h blib/arch/auto/JavaScript/PJS_Common.h cp PJS_Script.h blib/arch/auto/JavaScript/PJS_Script.h cp lib/JavaScript/Script.pm blib/lib/JavaScript/Script.pm cp lib/JavaScript/PerlArray.pm blib/lib/JavaScript/PerlArray.pm cp lib/JavaScript/Error.pm blib/lib/JavaScript/Error.pm cp lib/JavaScript.pm blib/lib/JavaScript.pm cp typemap blib/arch/auto/JavaScript/typemap cp lib/JavaScript/Runtime.pm blib/lib/JavaScript/Runtime.pm cp JavaScript.h blib/arch/auto/JavaScript/JavaScript.h cp PJS_Context.h blib/arch/auto/JavaScript/PJS_Context.h cp PJS_PerlArray.h blib/arch/auto/JavaScript/PJS_PerlArray.h cp PJS_Runtime.h blib/arch/auto/JavaScript/PJS_Runtime.h cp PJS_PerlHash.h blib/arch/auto/JavaScript/PJS_PerlHash.h cp lib/JavaScript/Function.pm blib/lib/JavaScript/Function.pm cp PJS_Call.h blib/arch/auto/JavaScript/PJS_Call.h cp PJS_Function.h blib/arch/auto/JavaScript/PJS_Function.h cp PJS_Exceptions.h blib/arch/auto/JavaScript/PJS_Exceptions.h cp PJS_PerlSub.h blib/arch/auto/JavaScript/PJS_PerlSub.h cp PJS_Class.h blib/arch/auto/JavaScript/PJS_Class.h cp lib/JavaScript/Context.pm blib/lib/JavaScript/Context.pm cp lib/JavaScript/Generator.pm blib/lib/JavaScript/Generator.pm cp JavaScript_Env.h blib/arch/auto/JavaScript/JavaScript_Env.h cp PJS_Types.h blib/arch/auto/JavaScript/PJS_Types.h /usr/bin/perl /usr/share/perl/5.10/ExtUtils/xsubpp -typemap /usr/share/perl/5.10/ExtUtils/typemap -typemap typemap JavaScript.xs > JavaScript.xsc && mv JavaScript.xsc JavaScript.c cc -c -I/usr/include/nspr/ -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 -g -O2 -DMOZILLA_1_8_BRANCH=1 -DVERSION=\"1.16\" -DXS_VERSION=\"1.16\" -fPIC "-I/usr/lib/perl/5.10/CORE" JavaScript.c In file included from /usr/include/mozjs/jsapi.h:48, from JavaScript_Env.h:12, from JavaScript.h:19, from JavaScript.xs:5: /usr/include/mozjs/js-config.h:50:1: warning: "JS_THREADSAFE" redefined In file included from JavaScript.h:19, from JavaScript.xs:5: JavaScript_Env.h:8:1: warning: this is the location of the previous definition In file included from /usr/include/mozjs/jsinterp.h:48, from JavaScript_Env.h:14, from JavaScript.h:19, from JavaScript.xs:5: /usr/include/mozjs/jsfun.h:346: warning: 'struct JSArenaPool' declared inside parameter list /usr/include/mozjs/jsfun.h:346: warning: its scope is only this definition or declaration, which is probably not what you want JavaScript.xs:7:19: warning: extra tokens at end of #ifndef directive JavaScript.xs: In function 'XS_JavaScript__Context_jsc_call': JavaScript.xs:356: warning: passing argument 2 of 'PJS_call_javascript_function' makes integer from pointer without a cast PJS_Call.h:30: note: expected 'jsval' but argument is of type 'struct JSObject *' cc -c -I/usr/include/nspr/ -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 -g -O2 -DMOZILLA_1_8_BRANCH=1 -DVERSION=\"1.16\" -DXS_VERSION=\"1.16\" -fPIC "-I/usr/lib/perl/5.10/CORE" PJS_Call.c In file included from /usr/include/mozjs/jsapi.h:48, from JavaScript_Env.h:12, from PJS_Call.c:5: /usr/include/mozjs/js-config.h:50:1: warning: "JS_THREADSAFE" redefined In file included from PJS_Call.c:5: JavaScript_Env.h:8:1: warning: this is the location of the previous definition In file included from /usr/include/mozjs/jsinterp.h:48, from JavaScript_Env.h:14, from PJS_Call.c:5: /usr/include/mozjs/jsfun.h:346: warning: 'struct JSArenaPool' declared inside parameter list /usr/include/mozjs/jsfun.h:346: warning: its scope is only this definition or declaration, which is probably not what you want cc -c -I/usr/include/nspr/ -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 -g -O2 -DMOZILLA_1_8_BRANCH=1 -DVERSION=\"1.16\" -DXS_VERSION=\"1.16\" -fPIC "-I/usr/lib/perl/5.10/CORE" PJS_Class.c In file included from /usr/include/mozjs/jsapi.h:48, from JavaScript_Env.h:12, from PJS_Class.c:5: /usr/include/mozjs/js-config.h:50:1: warning: "JS_THREADSAFE" redefined In file included from PJS_Class.c:5: JavaScript_Env.h:8:1: warning: this is the location of the previous definition In file included from /usr/include/mozjs/jsinterp.h:48, from JavaScript_Env.h:14, from PJS_Class.c:5: /usr/include/mozjs/jsfun.h:346: warning: 'struct JSArenaPool' declared inside parameter list /usr/include/mozjs/jsfun.h:346: warning: its scope is only this definition or declaration, which is probably not what you want cc -c -I/usr/include/nspr/ -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 -g -O2 -DMOZILLA_1_8_BRANCH=1 -DVERSION=\"1.16\" -DXS_VERSION=\"1.16\" -fPIC "-I/usr/lib/perl/5.10/CORE" PJS_Context.c In file included from /usr/include/mozjs/jsapi.h:48, from JavaScript_Env.h:12, from PJS_Context.c:5: /usr/include/mozjs/js-config.h:50:1: warning: "JS_THREADSAFE" redefined In file included from PJS_Context.c:5: JavaScript_Env.h:8:1: warning: this is the location of the previous definition In file included from /usr/include/mozjs/jsinterp.h:48, from JavaScript_Env.h:14, from PJS_Context.c:5: /usr/include/mozjs/jsfun.h:346: warning: 'struct JSArenaPool' declared inside parameter list /usr/include/mozjs/jsfun.h:346: warning: its scope is only this definition or declaration, which is probably not what you want cc -c -I/usr/include/nspr/ -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 -g -O2 -DMOZILLA_1_8_BRANCH=1 -DVERSION=\"1.16\" -DXS_VERSION=\"1.16\" -fPIC "-I/usr/lib/perl/5.10/CORE" PJS_Exceptions.c In file included from /usr/include/mozjs/jsapi.h:48, from JavaScript_Env.h:12, from JavaScript.h:19, from PJS_Exceptions.c:1: /usr/include/mozjs/js-config.h:50:1: warning: "JS_THREADSAFE" redefined In file included from JavaScript.h:19, from PJS_Exceptions.c:1: JavaScript_Env.h:8:1: warning: this is the location of the previous definition In file included from /usr/include/mozjs/jsinterp.h:48, from JavaScript_Env.h:14, from JavaScript.h:19, from PJS_Exceptions.c:1: /usr/include/mozjs/jsfun.h:346: warning: 'struct JSArenaPool' declared inside parameter list /usr/include/mozjs/jsfun.h:346: warning: its scope is only this definition or declaration, which is probably not what you want cc -c -I/usr/include/nspr/ -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 -g -O2 -DMOZILLA_1_8_BRANCH=1 -DVERSION=\"1.16\" -DXS_VERSION=\"1.16\" -fPIC "-I/usr/lib/perl/5.10/CORE" PJS_Function.c In file included from /usr/include/mozjs/jsapi.h:48, from JavaScript_Env.h:12, from PJS_Function.c:3: /usr/include/mozjs/js-config.h:50:1: warning: "JS_THREADSAFE" redefined In file included from PJS_Function.c:3: JavaScript_Env.h:8:1: warning: this is the location of the previous definition In file included from /usr/include/mozjs/jsinterp.h:48, from JavaScript_Env.h:14, from PJS_Function.c:3: /usr/include/mozjs/jsfun.h:346: warning: 'struct JSArenaPool' declared inside parameter list /usr/include/mozjs/jsfun.h:346: warning: its scope is only this definition or declaration, which is probably not what you want cc -c -I/usr/include/nspr/ -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 -g -O2 -DMOZILLA_1_8_BRANCH=1 -DVERSION=\"1.16\" -DXS_VERSION=\"1.16\" -fPIC "-I/usr/lib/perl/5.10/CORE" PJS_PerlArray.c In file included from /usr/include/mozjs/jsapi.h:48, from JavaScript_Env.h:12, from PJS_PerlArray.c:3: /usr/include/mozjs/js-config.h:50:1: warning: "JS_THREADSAFE" redefined In file included from PJS_PerlArray.c:3: JavaScript_Env.h:8:1: warning: this is the location of the previous definition In file included from /usr/include/mozjs/jsinterp.h:48, from JavaScript_Env.h:14, from PJS_PerlArray.c:3: /usr/include/mozjs/jsfun.h:346: warning: 'struct JSArenaPool' declared inside parameter list /usr/include/mozjs/jsfun.h:346: warning: its scope is only this definition or declaration, which is probably not what you want cc -c -I/usr/include/nspr/ -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 -g -O2 -DMOZILLA_1_8_BRANCH=1 -DVERSION=\"1.16\" -DXS_VERSION=\"1.16\" -fPIC "-I/usr/lib/perl/5.10/CORE" PJS_PerlHash.c In file included from /usr/include/mozjs/jsapi.h:48, from JavaScript_Env.h:12, from PJS_PerlHash.c:3: /usr/include/mozjs/js-config.h:50:1: warning: "JS_THREADSAFE" redefined In file included from PJS_PerlHash.c:3: JavaScript_Env.h:8:1: warning: this is the location of the previous definition In file included from /usr/include/mozjs/jsinterp.h:48, from JavaScript_Env.h:14, from PJS_PerlHash.c:3: /usr/include/mozjs/jsfun.h:346: warning: 'struct JSArenaPool' declared inside parameter list /usr/include/mozjs/jsfun.h:346: warning: its scope is only this definition or declaration, which is probably not what you want cc -c -I/usr/include/nspr/ -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 -g -O2 -DMOZILLA_1_8_BRANCH=1 -DVERSION=\"1.16\" -DXS_VERSION=\"1.16\" -fPIC "-I/usr/lib/perl/5.10/CORE" PJS_PerlSub.c In file included from /usr/include/mozjs/jsapi.h:48, from JavaScript_Env.h:12, from PJS_PerlSub.c:3: /usr/include/mozjs/js-config.h:50:1: warning: "JS_THREADSAFE" redefined In file included from PJS_PerlSub.c:3: JavaScript_Env.h:8:1: warning: this is the location of the previous definition In file included from /usr/include/mozjs/jsinterp.h:48, from JavaScript_Env.h:14, from PJS_PerlSub.c:3: /usr/include/mozjs/jsfun.h:346: warning: 'struct JSArenaPool' declared inside parameter list /usr/include/mozjs/jsfun.h:346: warning: its scope is only this definition or declaration, which is probably not what you want cc -c -I/usr/include/nspr/ -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 -g -O2 -DMOZILLA_1_8_BRANCH=1 -DVERSION=\"1.16\" -DXS_VERSION=\"1.16\" -fPIC "-I/usr/lib/perl/5.10/CORE" PJS_Property.c In file included from /usr/include/mozjs/jsapi.h:48, from JavaScript_Env.h:12, from PJS_Property.c:5: /usr/include/mozjs/js-config.h:50:1: warning: "JS_THREADSAFE" redefined In file included from PJS_Property.c:5: JavaScript_Env.h:8:1: warning: this is the location of the previous definition In file included from /usr/include/mozjs/jsinterp.h:48, from JavaScript_Env.h:14, from PJS_Property.c:5: /usr/include/mozjs/jsfun.h:346: warning: 'struct JSArenaPool' declared inside parameter list /usr/include/mozjs/jsfun.h:346: warning: its scope is only this definition or declaration, which is probably not what you want cc -c -I/usr/include/nspr/ -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 -g -O2 -DMOZILLA_1_8_BRANCH=1 -DVERSION=\"1.16\" -DXS_VERSION=\"1.16\" -fPIC "-I/usr/lib/perl/5.10/CORE" PJS_Runtime.c In file included from /usr/include/mozjs/jsapi.h:48, from JavaScript_Env.h:12, from JavaScript.h:19, from PJS_Runtime.c:1: /usr/include/mozjs/js-config.h:50:1: warning: "JS_THREADSAFE" redefined In file included from JavaScript.h:19, from PJS_Runtime.c:1: JavaScript_Env.h:8:1: warning: this is the location of the previous definition In file included from /usr/include/mozjs/jsinterp.h:48, from JavaScript_Env.h:14, from JavaScript.h:19, from PJS_Runtime.c:1: /usr/include/mozjs/jsfun.h:346: warning: 'struct JSArenaPool' declared inside parameter list /usr/include/mozjs/jsfun.h:346: warning: its scope is only this definition or declaration, which is probably not what you want cc -c -I/usr/include/nspr/ -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 -g -O2 -DMOZILLA_1_8_BRANCH=1 -DVERSION=\"1.16\" -DXS_VERSION=\"1.16\" -fPIC "-I/usr/lib/perl/5.10/CORE" PJS_TypeConversion.c In file included from /usr/include/mozjs/jsapi.h:48, from JavaScript_Env.h:12, from JavaScript.h:19, from PJS_TypeConversion.c:1: /usr/include/mozjs/js-config.h:50:1: warning: "JS_THREADSAFE" redefined In file included from JavaScript.h:19, from PJS_TypeConversion.c:1: JavaScript_Env.h:8:1: warning: this is the location of the previous definition In file included from /usr/include/mozjs/jsinterp.h:48, from JavaScript_Env.h:14, from JavaScript.h:19, from PJS_TypeConversion.c:1: /usr/include/mozjs/jsfun.h:346: warning: 'struct JSArenaPool' declared inside parameter list /usr/include/mozjs/jsfun.h:346: warning: its scope is only this definition or declaration, which is probably not what you want Running Mkbootstrap for JavaScript () chmod 644 JavaScript.bs rm -f blib/arch/auto/JavaScript/JavaScript.so cc -shared -O2 -g -L/usr/local/lib -fstack-protector JavaScript.o PJS_Call.o PJS_Class.o PJS_Context.o PJS_Exceptions.o PJS_Function.o PJS_PerlArray.o PJS_PerlHash.o PJS_PerlSub.o PJS_Property.o PJS_Runtime.o PJS_TypeConversion.o -o blib/arch/auto/JavaScript/JavaScript.so \ -lmozjs \ chmod 755 blib/arch/auto/JavaScript/JavaScript.so cp JavaScript.bs blib/arch/auto/JavaScript/JavaScript.bs chmod 644 blib/arch/auto/JavaScript/JavaScript.bs Manifying blib/man3/JavaScript::PerlHash.3pm Manifying blib/man3/JavaScript::Function.3pm Manifying blib/man3/Test::JavaScript::More.3pm Manifying blib/man3/JavaScript::Boxed.3pm Manifying blib/man3/JavaScript::Context.3pm Manifying blib/man3/JavaScript::Generator.3pm Manifying blib/man3/JavaScript::Script.3pm Manifying blib/man3/JavaScript.3pm Manifying blib/man3/JavaScript::Error.3pm Manifying blib/man3/JavaScript::PerlArray.3pm Manifying blib/man3/JavaScript::Runtime.3pm make[2]: Leaving directory `/tmp/buildd/libjavascript-perl-1.16' make[1]: Leaving directory `/tmp/buildd/libjavascript-perl-1.16' dh_auto_test make[1]: Entering directory `/tmp/buildd/libjavascript-perl-1.16' PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-init.t ....................... ok t/01-types-from-js.t .............. ok t/02-types-from-perl.t ............ ok t/03-call.t ....................... ok t/04-prototypes.t ................. ok t/05-deep-assign.t ................ ok t/06-bind-object.t ................ ok t/07-eval-file.t .................. ok t/08-can.t ........................ ok t/09-script.t ..................... ok Here t/10-round-trip.t ................. ok t/11-recursive.t .................. ok t/12-destroy.t .................... ok t/13-in-context.t ................. ok t/14-roundtrip-function.t ......... ok t/15-function.t ................... ok t/16-object.t ..................... ok t/18-interrupt-handler.t .......... ok t/19-engine-version.t ............. ok t/20-bind-class.t ................. ok t/22-string-attributes.t .......... ok t/23-unicode.t .................... ok t/24-c-level-interrupt-handler.t .. ok t/26-e4x.t ........................ ok t/27-supports.t ................... ok # here I am! t/28-test-javascript-more.t ....... ok t/29-exceptions.t ................. ok t/30-refcount.t ................... ok t/31-version.t .................... ok t/32-perlarray.t .................. ok t/33-perlhash.t ................... ok t/34-options.t .................... ok # $VAR1 = qr/(?-xism:foo)/; t/35-regexp.t ..................... ok t/36-generator.t .................. ok t/99-bottles-of-beer.t ............ ok t/pod-coverage.t .................. ok t/pod.t ........................... ok All tests successful. Files=37, Tests=343, 5 wallclock secs ( 0.24 usr 0.10 sys + 3.05 cusr 0.57 csys = 3.96 CPU) Result: PASS make[1]: Leaving directory `/tmp/buildd/libjavascript-perl-1.16' fakeroot debian/rules binary JS_INC=/usr/include/nspr/:/usr/include/mozjs/ \ JS_THREADSAFE=1 JS_ENABLE_E4X=1 JS_UTF8=1 JS_FORCE=1 \ dh binary dh_testroot dh_prep dh_installdirs dh_auto_install make[1]: Entering directory `/tmp/buildd/libjavascript-perl-1.16' Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /tmp/buildd/libjavascript-perl-1.16/debian/libjavascript-perl/usr/lib/perl5/auto/JavaScript/JavaScript_Env.h Installing /tmp/buildd/libjavascript-perl-1.16/debian/libjavascript-perl/usr/lib/perl5/auto/JavaScript/typemap Installing /tmp/buildd/libjavascript-perl-1.16/debian/libjavascript-perl/usr/lib/perl5/auto/JavaScript/PJS_PerlArray.h Installing /tmp/buildd/libjavascript-perl-1.16/debian/libjavascript-perl/usr/lib/perl5/auto/JavaScript/PJS_PerlSub.h Installing /tmp/buildd/libjavascript-perl-1.16/debian/libjavascript-perl/usr/lib/perl5/auto/JavaScript/JavaScript.so Installing /tmp/buildd/libjavascript-perl-1.16/debian/libjavascript-perl/usr/lib/perl5/auto/JavaScript/JavaScript.h Installing /tmp/buildd/libjavascript-perl-1.16/debian/libjavascript-perl/usr/lib/perl5/auto/JavaScript/PJS_Function.h Installing /tmp/buildd/libjavascript-perl-1.16/debian/libjavascript-perl/usr/lib/perl5/auto/JavaScript/PJS_PerlHash.h Installing /tmp/buildd/libjavascript-perl-1.16/debian/libjavascript-perl/usr/lib/perl5/auto/JavaScript/PJS_Context.h Installing /tmp/buildd/libjavascript-perl-1.16/debian/libjavascript-perl/usr/lib/perl5/auto/JavaScript/PJS_Call.h Installing /tmp/buildd/libjavascript-perl-1.16/debian/libjavascript-perl/usr/lib/perl5/auto/JavaScript/JavaScript.bs Installing /tmp/buildd/libjavascript-perl-1.16/debian/libjavascript-perl/usr/lib/perl5/auto/JavaScript/PJS_TypeConversion.h Installing /tmp/buildd/libjavascript-perl-1.16/debian/libjavascript-perl/usr/lib/perl5/auto/JavaScript/PJS_Runtime.h Installing /tmp/buildd/libjavascript-perl-1.16/debian/libjavascript-perl/usr/lib/perl5/auto/JavaScript/PJS_Exceptions.h Installing /tmp/buildd/libjavascript-perl-1.16/debian/libjavascript-perl/usr/lib/perl5/auto/JavaScript/PJS_Common.h Installing /tmp/buildd/libjavascript-perl-1.16/debian/libjavascript-perl/usr/lib/perl5/auto/JavaScript/PJS_Script.h Installing /tmp/buildd/libjavascript-perl-1.16/debian/libjavascript-perl/usr/lib/perl5/auto/JavaScript/PJS_Types.h Installing /tmp/buildd/libjavascript-perl-1.16/debian/libjavascript-perl/usr/lib/perl5/auto/JavaScript/PJS_Property.h Installing /tmp/buildd/libjavascript-perl-1.16/debian/libjavascript-perl/usr/lib/perl5/auto/JavaScript/PJS_Class.h Installing /tmp/buildd/libjavascript-perl-1.16/debian/libjavascript-perl/usr/lib/perl5/JavaScript.pm Installing /tmp/buildd/libjavascript-perl-1.16/debian/libjavascript-perl/usr/lib/perl5/Test/JavaScript/More.pm Installing /tmp/buildd/libjavascript-perl-1.16/debian/libjavascript-perl/usr/lib/perl5/JavaScript/Context.pm Installing /tmp/buildd/libjavascript-perl-1.16/debian/libjavascript-perl/usr/lib/perl5/JavaScript/Function.pm Installing /tmp/buildd/libjavascript-perl-1.16/debian/libjavascript-perl/usr/lib/perl5/JavaScript/Runtime.pm Installing /tmp/buildd/libjavascript-perl-1.16/debian/libjavascript-perl/usr/lib/perl5/JavaScript/Script.pm Installing /tmp/buildd/libjavascript-perl-1.16/debian/libjavascript-perl/usr/lib/perl5/JavaScript/Error.pm Installing /tmp/buildd/libjavascript-perl-1.16/debian/libjavascript-perl/usr/lib/perl5/JavaScript/PerlArray.pm Installing /tmp/buildd/libjavascript-perl-1.16/debian/libjavascript-perl/usr/lib/perl5/JavaScript/Boxed.pm Installing /tmp/buildd/libjavascript-perl-1.16/debian/libjavascript-perl/usr/lib/perl5/JavaScript/Generator.pm Installing /tmp/buildd/libjavascript-perl-1.16/debian/libjavascript-perl/usr/lib/perl5/JavaScript/PerlHash.pm Installing /tmp/buildd/libjavascript-perl-1.16/debian/libjavascript-perl/usr/share/man/man3/JavaScript::Function.3pm Installing /tmp/buildd/libjavascript-perl-1.16/debian/libjavascript-perl/usr/share/man/man3/JavaScript.3pm Installing /tmp/buildd/libjavascript-perl-1.16/debian/libjavascript-perl/usr/share/man/man3/JavaScript::Boxed.3pm Installing /tmp/buildd/libjavascript-perl-1.16/debian/libjavascript-perl/usr/share/man/man3/JavaScript::Context.3pm Installing /tmp/buildd/libjavascript-perl-1.16/debian/libjavascript-perl/usr/share/man/man3/JavaScript::Runtime.3pm Installing /tmp/buildd/libjavascript-perl-1.16/debian/libjavascript-perl/usr/share/man/man3/JavaScript::PerlHash.3pm Installing /tmp/buildd/libjavascript-perl-1.16/debian/libjavascript-perl/usr/share/man/man3/JavaScript::Generator.3pm Installing /tmp/buildd/libjavascript-perl-1.16/debian/libjavascript-perl/usr/share/man/man3/JavaScript::Error.3pm Installing /tmp/buildd/libjavascript-perl-1.16/debian/libjavascript-perl/usr/share/man/man3/Test::JavaScript::More.3pm Installing /tmp/buildd/libjavascript-perl-1.16/debian/libjavascript-perl/usr/share/man/man3/JavaScript::Script.3pm Installing /tmp/buildd/libjavascript-perl-1.16/debian/libjavascript-perl/usr/share/man/man3/JavaScript::PerlArray.3pm make[1]: Leaving directory `/tmp/buildd/libjavascript-perl-1.16' dh_install dh_installdocs dh_installchangelogs dh_installexamples dh_installman dh_installcatalogs dh_installcron dh_installdebconf dh_installemacsen dh_installifupdown dh_installinfo dh_installinit dh_installmenu dh_installmime dh_installmodules dh_installlogcheck dh_installlogrotate dh_installpam dh_installppp dh_installudev dh_installwm dh_installxfonts dh_bugfiles dh_lintian dh_gconf dh_icons dh_perl dh_usrlocal dh_link dh_compress debian/rules override_dh_fixperms make[1]: Entering directory `/tmp/buildd/libjavascript-perl-1.16' dh_fixperms chmod 644 /tmp/buildd/libjavascript-perl-1.16/debian/libjavascript-perl/usr/lib/perl5/auto/JavaScript/typemap make[1]: Leaving directory `/tmp/buildd/libjavascript-perl-1.16' dh_strip dh_makeshlibs dh_shlibdeps dh_installdeb dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package `libjavascript-perl' in `../libjavascript-perl_1.16-2.1_amd64.deb'. dpkg-genchanges >../libjavascript-perl_1.16-2.1_amd64.changes dpkg-genchanges: not including original source code in upload dpkg-source --after-build libjavascript-perl-1.16 dpkg-buildpackage: binary and diff upload (original source NOT included) W: no hooks of type B found -- ignoring I: Copying back the cached apt archive contents I: unmounting /var/cache/pbuilder/ccache filesystem I: unmounting dev/pts filesystem I: unmounting proc filesystem I: cleaning the build env I: removing directory /var/cache/pbuilder/build//7615 and its subdirectories I: Current time: Mon Oct 11 21:59:14 CDT 2010 I: pbuilder-time-stamp: 1286852354