[Pkg-javascript-devel] Bug#902509: node-serve-static: FTBFS in buster/sid (TypeError: mime.lookup is not a function)

2019-01-10 Thread Xavier
Control: reassign -1 node-send

Build error is in node-send (index.js line 693)

-- 
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#902509: node-serve-static: FTBFS in buster/sid (TypeError: mime.lookup is not a function)

2018-06-27 Thread Santiago Vila
Package: src:node-serve-static
Version: 1.6.4-2
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster with "dpkg-buildpackage -A"
but it failed:


[...]
 debian/rules build-indep
dh build-indep
dh: Compatibility levels before 9 are deprecated (level 8 in use)
   dh_update_autotools_config -i
   debian/rules override_dh_auto_test
make[1]: Entering directory '/<>'
mocha -C --reporter spec --bail --check-leaks --require should test/


  serveStatic()
basic operations
  ✓ should require root path
  ✓ should require root path to be string
  1) should serve static files


  2 passing (41ms)
  1 failing

  1) serveStatic()
   basic operations
 should serve static files:
 Uncaught TypeError: mime.lookup is not a function
  at SendStream.type (/usr/lib/nodejs/send/index.js:693:19)
  at SendStream.send (/usr/lib/nodejs/send/index.js:503:8)
  at onstat (/usr/lib/nodejs/send/index.js:585:10)
  at FSReqWrap.oncomplete (fs.js:153:5)



debian/rules:13: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/<>'
debian/rules:8: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit 
status 2


The above is how the build ends in my autobuilder and it's not
necessarily the relevant part.

The failure is not, however, related to using dpkg-buildpackage -A,
as it also fails in reproducible builds:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/node-serve-static.html

If this is really a bug in one of the build-depends, please use reassign and 
affects,
so that this is still visible in the page for this package.

Thanks.

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