Re: [Pkg-javascript-devel] Bug#918935: node-browserify-lite FTBFS: Error: Cannot find module '../tools/exit'

2019-01-10 Thread Xavier
Le 10/01/2019 à 19:41, Xavier a écrit :
>> ...
>> That does actually look like a bug in the new uglifyfs.
>>
>> cu
>> Adrian
> 
> I tried to reproduce but have different errors related to debian/examples* :

debian/control should require node-pend (>= 1.2.0)


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

Re: [Pkg-javascript-devel] Bug#918935: node-browserify-lite FTBFS: Error: Cannot find module '../tools/exit'

2019-01-10 Thread Xavier
Le 10/01/2019 à 19:34, Adrian Bunk a écrit :
> Control: reassign -1 uglifyjs 3.4.9-2
> Control: retitle -1 uglifyjs: Error: Cannot find module '../tools/exit'
> Control: affects -1 src:node-browserify-lite
> 
> On Thu, Jan 10, 2019 at 08:04:46PM +0200, Adrian Bunk wrote:
>> Source: node-browserify-lite
>> Version: 0.5.0-3
>> Severity: serious
>> Tags: ftbfs
>>
>> https://buildd.debian.org/status/fetch.php?pkg=node-browserify-lite=all=0.5.0-3=1547086740=0
>>
>> ...
>>debian/rules override_dh_auto_build
>> make[1]: Entering directory '/<>'
>> NODE_PATH=. /<>/cli.js debian/examples.d/main.js --outfile 
>> debian/examples.d/bundle.js
>> cd debian/examples.d/ && uglifyjs bundle.js -m --verbose --source-map  
>> bundle.compress.js.map -o bundle.compress.js
>> internal/modules/cjs/loader.js:583
>> throw err;
>> ^
>>
>> Error: Cannot find module '../tools/exit'
>> at Function.Module._resolveFilename 
>> (internal/modules/cjs/loader.js:581:15)
>> at Function.Module._load (internal/modules/cjs/loader.js:507:25)
>> at Module.require (internal/modules/cjs/loader.js:637:17)
>> at require (internal/modules/cjs/helpers.js:22:18)
>> at Object. (/usr/lib/nodejs/uglify-js/bin/uglifyjs:6:1)
>> at Module._compile (internal/modules/cjs/loader.js:689:30)
>> at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
>> at Module.load (internal/modules/cjs/loader.js:599:32)
>> at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
>> at Function.Module._load (internal/modules/cjs/loader.js:530:3)
>> make[1]: *** [debian/rules:26: debian/examples.d/bundle.compress.js] Error 1
> 
> That does actually look like a bug in the new uglifyfs.
> 
> cu
> Adrian

I tried to reproduce but have different errors related to debian/examples* :

NODE_PATH=. /<>/cli.js debian/examples.d/main.js
--standalone 'example' --outfile debian/examples.d/standalone.js
cd debian/examples.d/ && uglifyjs bundle.js -m --verbose --source-map
bundle.compress.js.map -o bundle.compress.js
cd debian/examples.d/ && uglifyjs bundle.js --verbose --source-map
bundle.min.js.map -o bundle.min.js
cd debian/examples.d/ && uglifyjs standalone.js --verbose --source-map
standalone.min.js.map -o standalone.min.js
cd debian/examples.d/ && uglifyjs standalone.js -m --verbose
--source-map  standalone.compress.js.map -o standalone.compress.js
Supported options:Supported options:Supported options:

  content null
  filenamenull
  includeSources  false
  rootnull
  url null
  content null
  filenamenull
  includeSources  false
  rootnull
  url null

  content null
  filenamenull
  includeSources  false
  rootnull
  url nullERROR: `bundle.compress.js.map` is not a supported
option
at DefaultsError.get (eval at 
(/usr/lib/nodejs/uglify-js/tools/node.js:20:1), :71:23)
at fatal (/usr/lib/nodejs/uglify-js/bin/uglifyjs:291:53)
at run (/usr/lib/nodejs/uglify-js/bin/uglifyjs:235:9)
at Object. (/usr/lib/nodejs/uglify-js/bin/uglifyjs:160:5)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:742:12)
ERROR: `standalone.min.js.map` is not a supported option
at DefaultsError.get (eval at 
(/usr/lib/nodejs/uglify-js/tools/node.js:20:1), :71:23)
at fatal (/usr/lib/nodejs/uglify-js/bin/uglifyjs:291:53)
at run (/usr/lib/nodejs/uglify-js/bin/uglifyjs:235:9)
at Object. (/usr/lib/nodejs/uglify-js/bin/uglifyjs:160:5)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:742:12)
make[1]: *** [debian/rules:26: debian/examples.d/bundle.compress.js] Error 1
make[1]: *** Waiting for unfinished jobs
make[1]: *** [debian/rules:23: debian/examples.d/standalone.min.js] Error 1

ERROR: `bundle.min.js.map` is not a supported option
at DefaultsError.get (eval at 
(/usr/lib/nodejs/uglify-js/tools/node.js:20:1), :71:23)
at fatal (/usr/lib/nodejs/uglify-js/bin/uglifyjs:291:53)
at run (/usr/lib/nodejs/uglify-js/bin/uglifyjs:235:9)
at Object. (/usr/lib/nodejs/uglify-js/bin/uglifyjs:160:5)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad 

[Pkg-javascript-devel] Bug#918935: node-browserify-lite FTBFS: Error: Cannot find module '../tools/exit'

2019-01-10 Thread Adrian Bunk
Control: reassign -1 uglifyjs 3.4.9-2
Control: retitle -1 uglifyjs: Error: Cannot find module '../tools/exit'
Control: affects -1 src:node-browserify-lite

On Thu, Jan 10, 2019 at 08:04:46PM +0200, Adrian Bunk wrote:
> Source: node-browserify-lite
> Version: 0.5.0-3
> Severity: serious
> Tags: ftbfs
> 
> https://buildd.debian.org/status/fetch.php?pkg=node-browserify-lite=all=0.5.0-3=1547086740=0
> 
> ...
>debian/rules override_dh_auto_build
> make[1]: Entering directory '/<>'
> NODE_PATH=. /<>/cli.js debian/examples.d/main.js --outfile 
> debian/examples.d/bundle.js
> cd debian/examples.d/ && uglifyjs bundle.js -m --verbose --source-map  
> bundle.compress.js.map -o bundle.compress.js
> internal/modules/cjs/loader.js:583
> throw err;
> ^
> 
> Error: Cannot find module '../tools/exit'
> at Function.Module._resolveFilename 
> (internal/modules/cjs/loader.js:581:15)
> at Function.Module._load (internal/modules/cjs/loader.js:507:25)
> at Module.require (internal/modules/cjs/loader.js:637:17)
> at require (internal/modules/cjs/helpers.js:22:18)
> at Object. (/usr/lib/nodejs/uglify-js/bin/uglifyjs:6:1)
> at Module._compile (internal/modules/cjs/loader.js:689:30)
> at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
> at Module.load (internal/modules/cjs/loader.js:599:32)
> at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
> at Function.Module._load (internal/modules/cjs/loader.js:530:3)
> make[1]: *** [debian/rules:26: debian/examples.d/bundle.compress.js] Error 1

That does actually look like a bug in the new uglifyfs.

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@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

[Pkg-javascript-devel] Bug#918935: node-browserify-lite FTBFS: Error: Cannot find module '../tools/exit'

2019-01-10 Thread Adrian Bunk
Source: node-browserify-lite
Version: 0.5.0-3
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/fetch.php?pkg=node-browserify-lite=all=0.5.0-3=1547086740=0

...
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<>'
NODE_PATH=. /<>/cli.js debian/examples.d/main.js --outfile 
debian/examples.d/bundle.js
cd debian/examples.d/ && uglifyjs bundle.js -m --verbose --source-map  
bundle.compress.js.map -o bundle.compress.js
internal/modules/cjs/loader.js:583
throw err;
^

Error: Cannot find module '../tools/exit'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
at Function.Module._load (internal/modules/cjs/loader.js:507:25)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object. (/usr/lib/nodejs/uglify-js/bin/uglifyjs:6:1)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
make[1]: *** [debian/rules:26: debian/examples.d/bundle.compress.js] Error 1

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