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

Santiago Vila sanvila at debian.org
Wed Jun 27 13:50:16 BST 2018


Package: src:node-send
Version: 0.9.4-1
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 '/<<PKGBUILDDIR>>'
cd node_modules/destroy ; mocha -C --reporter spec


  Destroy
    ✓ should destroy a stream
    ✓ should handle falsey values
    ReadStream
      ✓ should not leak fd when called sync to open


  3 passing (8ms)

mocha -C --check-leaks --reporter spec --bail


  send.mime
    ✓ should be exposed

  send(file).pipe(res)
    1) should stream the file contents


  1 passing (40ms)
  1 failing

  1) send(file).pipe(res)
       should stream the file contents:
     Uncaught TypeError: mime.lookup is not a function
      at SendStream.type (index.js:693:19)
      at SendStream.send (index.js:503:8)
      at onstat (index.js:585:10)
      at FSReqWrap.oncomplete (fs.js:153:5)



debian/rules:11: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
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-send.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.



More information about the Pkg-javascript-devel mailing list