Package: src:node-serve-static
Version: 1.6.4-2
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 --require should test/
serveStatic()
basic operations
â should require root path
â should require root path to be string
â should serve static files (125ms)
â should support nesting
â should set Content-Type
â should set Last-Modified
â should default max-age=0
â should support urlencoded pathnames
â should not choke on auth-looking URL
â should support index.html
â should support ../
â should support HEAD
â should skip POST requests
â should support conditional requests
â should ignore hidden files
â should set max-age=0 by default
current dir
â should be served with "."
extensions
â should be not be enabled by default
â should be configurable
â should support disabling extensions
â should support fallbacks
â should 404 if nothing found
hidden files
â should be served when dotfiles: "allow" is given
lastModified
when false
â should not include Last-Modifed
when true
â should include Last-Modifed
maxAge
â should accept string
â should be reasonable when infinite
redirect
â should redirect directories
â should include HTML link
â should redirect directories with query string
â should not redirect to protocol-relative locations
â should not redirect incorrectly
when false
1) should disable redirect
32 passing (378ms)
1 failing
1) serveStatic()
redirect
when false
should disable redirect:
Error: expected 404 "Not Found", got 500 "Internal Server Error"
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:13: 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 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-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 BTS web page for this package.
Thanks.
--
Pkg-javascript-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel