[Pkg-javascript-devel] Bug#887583: Bug#887583: Bug#887583: libjs-fetch FTBFS with mocha 4.0.1-3

2018-03-01 Thread Adrian Bunk
On Mon, Jan 22, 2018 at 12:20:35PM +0530, Pirate Praveen wrote:
> On ഞായര്‍ 21 ജനുവരി 2018 11:08 വൈകു, Pirate Praveen wrote:
> > My logs were from before mocha 4 is uploaded to unstable. Now we need to 
> > fix the tests for mocha 4 (this bug), as well as chai 4 (the other bug I 
> > reported).
> > 
> 
> mocha.{css,js,min.js} files were missing from mocha binary package (they
> were only in libjs-mocha). But even after adding them I see other
> errors. mocha changes are pushed to alioth.
>...

The new mocha seems to have problems, and should be fixed.

Many other packages are affected by the #887586 build hang.

I have seen another dozen node-* packages that started to FTBFS 
recently, some/all/none of them might be related to the new mocha.
libjs-fetch was just one of the first packages where I saw problems
but I stopped reporting bugs as long as even #887586 is not resolved
to avoid creating many duplicates.

cu
Adrian

-- 

   "Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
   "Only a promise," Lao Er said.
   Pearl S. Buck - Dragon Seed

-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

[Pkg-javascript-devel] Bug#887583: Bug#887583: Bug#887583: libjs-fetch FTBFS with mocha 4.0.1-3

2018-01-21 Thread Pirate Praveen
On ഞായര്‍ 21 ജനുവരി 2018 11:08 വൈകു, Pirate Praveen wrote:
> My logs were from before mocha 4 is uploaded to unstable. Now we need to fix 
> the tests for mocha 4 (this bug), as well as chai 4 (the other bug I 
> reported).
> 

mocha.{css,js,min.js} files were missing from mocha binary package (they
were only in libjs-mocha). But even after adding them I see other
errors. mocha changes are pushed to alioth.

xvfb-run -a -s "-screen 0 640x480x16" ./script/test
Error loading resource http://localhost:3901/ (1). Details: Connection
refused
Failed to load the page. Check the url: http://localhost:3901/
TypeError: Attempting to change the setter of an unconfigurable property.
TypeError: Attempting to change the setter of an unconfigurable property.
Error loading resource
http://localhost:3901/node_modules/url-search-params/build/url-search-params.js
(203). Details: Error transferring
http://localhost:3901/node_modules/url-search-params/build/url-search-params.js
- server replied: Not Found
TypeError: mocha.setup is not a function. (In 'mocha.setup('tdd')',
'mocha.setup' is undefined)
mocha was not initialized within 1ms of the page loading. Make sure
to call `mocha.ui` or `mocha.setup`.
TypeError: Attempting to change the setter of an unconfigurable property.
TypeError: Attempting to change the setter of an unconfigurable property.



signature.asc
Description: OpenPGP digital signature
-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel