________________________________ > From: rwob...@hotmail.com > To: debian-mentors@lists.debian.org > Subject: RE: cjs build error > Date: Wed, 5 Feb 2014 19:46:57 +0000 > > > > ________________________________ > From: rwob...@hotmail.com > To: debian-mentors@lists.debian.org > Subject: RE: cjs build error > Date: Wed, 5 Feb 2014 19:03:49 +0000 > > > >> Date: Wed, 5 Feb 2014 18:22:51 +0100 >> Subject: Re: cjs build error >> From: matth...@tenstral.net >> To: rwob...@hotmail.com >> CC: debian-mentors@lists.debian.org >> >> 2014-02-05 Roelof Wobben <rwob...@hotmail.com>: >>> >>> >>> Oke, I put he complete build log on the bug report. >>> Can anyone also look at it to see something wierd. >>> I see no thing that could explain this problem. >> This test fails: >> https://github.com/linuxmint/cjs/blob/master/test/js/testLocale.js - I >> don't know where the issue is exactly, but from what the test checks, >> I would not simple ignore it's failure. >> Maybe your test_user_data/logs/stderr.log has some more information on >> where exactly the test fails. GTest is already executed in verbose >> mode, but doesn't look verbose enough. >> Cheers, >> Matthias >> >> -- >> Debian Developer | Freedesktop-Developer >> I welcome VSRE emails. See http://vsre.info/ > > Here the output of stderror.log : > > JS ERROR: !!! Exception was: [object Object] > JS ERROR: !!! message = 'undefined' > JS ERROR: !!! fileName = 'undefined' > JS ERROR: !!! lineNumber = 'undefined' > JS ERROR: !!! stack = 'undefined' > JS ERROR: !!! Exception was: Exception! > JS ERROR: !!! Exception was a String > JS ERROR: !!! Exception was: Error: JavaScript Array can't be > converted to dbus type i > JS ERROR: !!! message = '"JavaScript Array can't be converted > to dbus type i"' > JS ERROR: !!! fileName = > '"/home/roelof/cinnamon/cjs/cjs-2.0.0/test/js/testDBus.js"' > JS ERROR: !!! lineNumber = '476' > JS ERROR: !!! stack = > '"testArrayOutBadSig()@/home/roelof/cinnamon/cjs/cjs-2.0.0/test/js/testDBus.js:476 > > gjstestRun()@/home/roelof/cinnamon/cjs/cjs-2.0.0/modules/jsUnit.js:471 > @/home/roelof/cinnamon/cjs/cjs-2.0.0/test/js/testDBus.js:996 > "' > JS ERROR: !!! WARNING: 'GObject.TYPE_STRING.name is read-only' > JS ERROR: !!! WARNING: file > '/home/roelof/cinnamon/cjs/cjs-2.0.0/test/js/testGIMarshalling.js' line > 211 exception 0 number 19 > JS ERROR: !!! Exception was: Error: This is an error that always > happens on line 3 > JS ERROR: !!! message = '"This is an error that always happens > on line 3"' > JS ERROR: !!! fileName = > '"/home/roelof/cinnamon/cjs/cjs-2.0.0/./test/js/modules/alwaysThrows.js"' > JS ERROR: !!! lineNumber = '5' > JS ERROR: !!! stack = > '"@/home/roelof/cinnamon/cjs/cjs-2.0.0/./test/js/modules/alwaysThrows.js:5 > "' > JS ERROR: !!! Exception was: Error: This is an error that always > happens on line 3 > JS ERROR: !!! message = '"This is an error that always happens > on line 3"' > JS ERROR: !!! fileName = > '"/home/roelof/cinnamon/cjs/cjs-2.0.0/./test/js/modules/alwaysThrows.js"' > JS ERROR: !!! lineNumber = '5' > JS ERROR: !!! stack = > '"@/home/roelof/cinnamon/cjs/cjs-2.0.0/./test/js/modules/alwaysThrows.js:5 > "' > JS ERROR: !!! WARNING: 'let is a reserved identifier' > JS ERROR: !!! WARNING: file > '/home/roelof/cinnamon/cjs/cjs-2.0.0/test/js/testJSDefault.js' line 6 > exception 0 number 132 > JS ERROR: !!! WARNING: 'yield is a reserved identifier' > JS ERROR: !!! WARNING: file > '/home/roelof/cinnamon/cjs/cjs-2.0.0/test/js/testJSDefault.js' line 10 > exception 0 number 132 > > ** (/home/roelof/cinnamon/cjs/cjs-2.0.0/.libs/lt-gjs-unit:11138): ERROR > **: Test script returned code 1; assertions will be in gjs.log > > Its look like to me someone has made a script and the person has no or > little javascript experience. > Pity I have no knowlegde or experience in javascript. > > Roelof > > P.s and here the real error in the gjs.log : > > JS IMPORT: Adding directory > '/home/roelof/cinnamon/cjs/cjs-2.0.0/./modules/overrides' to child > importer 'overrides' > JS IMPORT: Importing directory 'overrides' > JS IMPORT: Defining parent 0x2b47ef2111a0 of 0x2b47ef2113a8 > 'overrides' is mod 1 > JS IMPORT: Defined importer 'overrides' 0x2b47ef2113a8 in 0x2b47ef2111a0 > JS IMPORT: successfully imported directory 'overrides' > JS IMPORT: Importing > '/home/roelof/cinnamon/cjs/cjs-2.0.0/./modules/overrides/GLib.js' > JS IMPORT: Defining parent 0x2b47ef2113a8 of 0x2b47ef211410 'GLib' > is mod 1 > JS IMPORT: successfully imported module 'GLib' > JS G NS: Found info type STRUCT for 'Variant' in namespace 'GLib' > JS G REPO: Initializing dynamic class Variant 0x2528050 > JS G BXD: Defined class Variant prototype is 0x2b47ef21fe18 class > 0x2528050 in object 0x2b47ef211340 > JS G FUNC: Initialized class GIRepositoryFunction prototype 0x2b47ef203dc8 > JS G NS: Defined namespace 'GLib' 0x2b47ef211340 in GIRepository > 0x2b47ef211270 > JS IMPORT: successfully imported module 'gi' > JS G NS: Found info type STRUCT for 'Error' in namespace 'GLib' > JS G REPO: Initializing dynamic class Error 0x2528640 > JS G BXD: Defined class Error prototype is 0x2b47ef21ff78 class > 0x2528640 in object 0x2b47ef211340 > JS LOG: running test testToLocaleUpperCase > JS LOG: running test testToLocaleCompare > JS LOG: running test testInvalidStrings > JS LOG: Call to assertRaises(function) did not raise an > exception. Return value was undefined (undefined) > > Stack trace follows: >> JsUnitException:307 >> _assert:113 >> assertRaises:212 >> testInvalidStrings:55 >> gjstestRun:471 >> anonymous:58 > JS LOG: 1 tests failed in this file > JS LOG: Failures were: testInvalidStrings > JS CTX: Script evaluation succeeded > JS CTX: Script returned integer code 1 >
No javascript expert who can help me figure out how to solve this. Then I think the only way for me is making a patch where the failing test are deleted. Roelof -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/dub121-w404340c013963b375bdfb0ae...@phx.gbl