[Pkg-javascript-devel] Bug#921799: node-serve-index: FTBFS (failing tests)

Santiago Vila sanvila at debian.org
Sat Feb 9 00:15:53 GMT 2019


Package: src:node-serve-index
Version: 1.4.0-1
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster 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>>'
mocha -C --reporter spec --bail --check-leaks test/


  serveIndex(root)
    ✓ should require root
    ✓ should serve text/html without Accept header (139ms)
    ✓ should serve a directory index
    ✓ should work with HEAD requests
    ✓ should work with OPTIONS requests
    ✓ should deny POST requests
    ✓ should deny path will NULL byte
    ✓ should deny path outside root
    ✓ should skip non-existent paths
    1) should treat an ENAMETOOLONG as a 414


  9 passing (329ms)
  1 failing

  1) serveIndex(root)
       should treat an ENAMETOOLONG as a 414:
     Error: expected 414 "URI Too Long", got 400 "Bad Request"
      at Test.assert (/usr/lib/nodejs/supertest/lib/test.js:205:15)
      at Server.assert (/usr/lib/nodejs/supertest/lib/test.js:132:12)
      at emitCloseNT (net.js:1616:8)
      at process._tickCallback (internal/process/next_tick.js:63:19)



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

(The above is just how the build ends and not necessarily the most relevant part)

The build was made in my autobuilder with "dpkg-buildpackage -A"
and it also fails here:

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

where you can get a full build log if you need it.

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 BTS web page for this package.

Thanks.



More information about the Pkg-javascript-devel mailing list