jordansissel / fpm

Effing package management! Build packages for multiple platforms (deb, rpm, etc) with great ease and sanity.
http://fpm.readthedocs.io/en/latest/
Other
11.14k stars 1.07k forks source link

rspec fails on ubuntu 17.04 in lintian: "E: name: init.d-script-needs-depends-on-lsb-base etc/init.d/test" #1357

Open dankegel opened 7 years ago

dankegel commented 7 years ago
$ git describe --tags
v1.8.1-27-g488863b
$ cat /etc/issue
Ubuntu 17.04 \n \l
$ rspec
Failures:

  1) FPM::Package::Deb#output with lintian when run against lintian should return no errors
     Failure/Error: expect($CHILD_STATUS).to eq(0), lintian_output
       E: name: init.d-script-needs-depends-on-lsb-base etc/init.d/test (line 14)
     # ./spec/fpm/package/deb_spec.rb:410:in `block (4 levels) in <top (required)>'

Finished in 17.9 seconds (files took 0.35253 seconds to load)
218 examples, 1 failure

Failed examples:

rspec ./spec/fpm/package/deb_spec.rb:408 # FPM::Package::Deb#output with lintian when run against lintian should return no errors
jordansissel commented 7 years ago

I'm not sure what this lintian error is telling us. Is it saying the resulting .deb package needs an implied --depends lsb-base ?

jordansissel commented 7 years ago

On another point, if we aren't able to discern the meaning of this error, or if we think it is not important, I'm happy to add this lintian error to the list of ones we ignore in fpm's suite.