Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix errors(66) and warnings(62) reported by rpmlint on the RPM packages #111

Open
dmatetelki opened this issue Aug 31, 2018 · 0 comments
Open

Comments

@dmatetelki
Copy link
Contributor

Similar to the debian package checker, lintian, rpm packages can be checked too with rpmlint

There are quiet many issues. Maybe we can add the requirement not to have errors just like with the debian packages?

varnish.src: E: no-packager-tag
varnish.src: E: no-signature
varnish.src: W: source-or-patch-not-compressed bz2 varnish-6.0.1.tgz
varnish.src:59: W: unversioned-explicit-provides varnish-libs
varnish.src:59: W: unversioned-explicit-provides varnish-docs
varnish.src:59: W: unversioned-explicit-provides varnish-debuginfo
varnish.src:60: W: unversioned-explicit-obsoletes varnish-libs
varnish.src:60: W: unversioned-explicit-obsoletes varnish-docs
varnish.src:60: W: unversioned-explicit-obsoletes varnish-debuginfo
varnish.src:77: W: unversioned-explicit-provides varnish-libs-devel
varnish.src:78: W: unversioned-explicit-obsoletes varnish-libs-devel
varnish.src:88: W: setup-not-quiet
varnish.src:89: W: macro-in-comment %setup
varnish.src:205: W: mixed-use-of-spaces-and-tabs (spaces: line 3, tab: line 205)
varnish.src: E: specfile-error error: Macro %v_rc has empty body
varnish.src: E: specfile-error error: line 1: %define v_rc 
varnish.src: E: specfile-error 
varnish.src: E: specfile-error error: query of specfile /tmp/rpmlint.varnish-6.0.1-1.el7.src.rpm.n2A3fv/varnish.spec failed, can't parse
varnish.x86_64: W: manpage-not-compressed bz2 /usr/share/man/man1/varnishd.1.gz
varnish.x86_64: W: manpage-not-compressed bz2 /usr/share/man/man1/varnishlog.1.gz
varnish.x86_64: W: manpage-not-compressed bz2 /usr/share/man/man3/vmod_blob.3.gz
varnish.x86_64: W: manpage-not-compressed bz2 /usr/share/man/man3/vmod_vtc.3.gz
varnish.x86_64: W: manpage-not-compressed bz2 /usr/share/man/man3/vmod_directors.3.gz
varnish.x86_64: W: manpage-not-compressed bz2 /usr/share/man/man3/vmod_unix.3.gz
varnish.x86_64: W: manpage-not-compressed bz2 /usr/share/man/man3/vmod_proxy.3.gz
varnish.x86_64: W: manpage-not-compressed bz2 /usr/share/man/man3/vmod_std.3.gz
varnish.x86_64: W: manpage-not-compressed bz2 /usr/share/man/man7/vcl.7.gz
varnish.x86_64: W: manpage-not-compressed bz2 /usr/share/man/man1/varnishncsa.1.gz
varnish.x86_64: W: manpage-not-compressed bz2 /usr/share/man/man7/vsl-query.7.gz
varnish.x86_64: W: manpage-not-compressed bz2 /usr/share/man/man1/varnishadm.1.gz
varnish.x86_64: W: manpage-not-compressed bz2 /usr/share/man/man3/vmod_purge.3.gz
varnish.x86_64: W: manpage-not-compressed bz2 /usr/share/man/man7/vsl.7.gz
varnish.x86_64: W: manpage-not-compressed bz2 /usr/share/man/man7/vtc.7.gz
varnish.x86_64: W: manpage-not-compressed bz2 /usr/share/man/man1/varnishstat.1.gz
varnish.x86_64: W: manpage-not-compressed bz2 /usr/share/man/man1/varnishtest.1.gz
varnish.x86_64: W: manpage-not-compressed bz2 /usr/share/man/man1/varnishhist.1.gz
varnish.x86_64: W: manpage-not-compressed bz2 /usr/share/man/man7/varnish-cli.7.gz
varnish.x86_64: W: manpage-not-compressed bz2 /usr/share/man/man1/varnishtop.1.gz
varnish.x86_64: W: manpage-not-compressed bz2 /usr/share/man/man7/varnish-counters.7.gz
varnish.x86_64: E: no-packager-tag
varnish.x86_64: E: explicit-lib-dependency libedit
varnish.x86_64: W: incoherent-version-in-changelog 3.0.0-1 6.0.1-1.el7
varnish.x86_64: W: self-obsoletion varnish-libs obsoletes varnish-libs
varnish.x86_64: W: self-obsoletion varnish-docs obsoletes varnish-docs
varnish.x86_64: W: self-obsoletion varnish-debuginfo obsoletes varnish-debuginfo
varnish.x86_64: W: unstripped-binary-or-object /usr/lib64/varnish/vmods/libvmod_directors.so
varnish.x86_64: W: unstripped-binary-or-object /usr/lib64/varnish/vmods/libvmod_unix.so
varnish.x86_64: W: unstripped-binary-or-object /usr/bin/varnishadm
varnish.x86_64: E: binary-or-shlib-defines-rpath /usr/bin/varnishadm ['/usr/lib64']
varnish.x86_64: W: unstripped-binary-or-object /usr/bin/varnishtop
varnish.x86_64: E: binary-or-shlib-defines-rpath /usr/bin/varnishtop ['/usr/lib64']
varnish.x86_64: W: unstripped-binary-or-object /usr/bin/varnishstat
varnish.x86_64: E: binary-or-shlib-defines-rpath /usr/bin/varnishstat ['/usr/lib64']
varnish.x86_64: W: unstripped-binary-or-object /usr/lib64/libvarnishapi.so.1.0.6
varnish.x86_64: W: shared-lib-calls-exit /usr/lib64/libvarnishapi.so.1.0.6 exit@GLIBC_2.2.5
varnish.x86_64: W: unstripped-binary-or-object /usr/bin/varnishlog
varnish.x86_64: E: binary-or-shlib-defines-rpath /usr/bin/varnishlog ['/usr/lib64']
varnish.x86_64: W: unstripped-binary-or-object /usr/lib64/varnish/vmods/libvmod_blob.so
varnish.x86_64: W: unstripped-binary-or-object /usr/bin/varnishhist
varnish.x86_64: E: binary-or-shlib-defines-rpath /usr/bin/varnishhist ['/usr/lib64']
varnish.x86_64: W: unstripped-binary-or-object /usr/lib64/varnish/vmods/libvmod_proxy.so
varnish.x86_64: W: unstripped-binary-or-object /usr/bin/varnishtest
varnish.x86_64: E: binary-or-shlib-defines-rpath /usr/bin/varnishtest ['/usr/lib64']
varnish.x86_64: W: unstripped-binary-or-object /usr/lib64/varnish/vmods/libvmod_vtc.so
varnish.x86_64: W: unstripped-binary-or-object /usr/lib64/varnish/vmods/libvmod_purge.so
varnish.x86_64: W: unstripped-binary-or-object /usr/bin/varnishncsa
varnish.x86_64: E: binary-or-shlib-defines-rpath /usr/bin/varnishncsa ['/usr/lib64']
varnish.x86_64: W: unstripped-binary-or-object /usr/sbin/varnishd
varnish.x86_64: W: unstripped-binary-or-object /usr/lib64/varnish/vmods/libvmod_std.so
varnish.x86_64: E: executable-in-library-package /usr/bin/varnishadm
varnish.x86_64: E: executable-in-library-package /usr/bin/varnishtop
varnish.x86_64: E: executable-in-library-package /usr/bin/varnishstat
varnish.x86_64: E: executable-in-library-package /usr/bin/varnishlog
varnish.x86_64: E: executable-in-library-package /usr/bin/varnishhist
varnish.x86_64: E: executable-in-library-package /usr/bin/varnishtest
varnish.x86_64: E: executable-in-library-package /usr/bin/varnishncsa
varnish.x86_64: E: executable-in-library-package /usr/sbin/varnishd
varnish.x86_64: E: non-versioned-file-in-library-package /etc/varnish/default.vcl
varnish.x86_64: E: non-versioned-file-in-library-package /usr/lib/systemd/system/varnishncsa.service
varnish.x86_64: E: non-versioned-file-in-library-package /usr/share/man/man1/varnishd.1.gz
varnish.x86_64: E: non-versioned-file-in-library-package /usr/share/man/man1/varnishlog.1.gz
varnish.x86_64: E: non-versioned-file-in-library-package /usr/share/man/man3/vmod_blob.3.gz
varnish.x86_64: E: non-versioned-file-in-library-package /usr/share/man/man3/vmod_vtc.3.gz
varnish.x86_64: E: non-versioned-file-in-library-package /usr/share/man/man3/vmod_directors.3.gz
varnish.x86_64: E: non-versioned-file-in-library-package /usr/share/man/man3/vmod_unix.3.gz
varnish.x86_64: E: non-versioned-file-in-library-package /usr/share/man/man3/vmod_proxy.3.gz
varnish.x86_64: E: non-versioned-file-in-library-package /usr/lib/systemd/system/varnish.service
varnish.x86_64: E: non-versioned-file-in-library-package /usr/share/man/man3/vmod_std.3.gz
varnish.x86_64: E: non-versioned-file-in-library-package /usr/share/man/man7/vcl.7.gz
varnish.x86_64: E: non-versioned-file-in-library-package /usr/share/man/man1/varnishncsa.1.gz
varnish.x86_64: E: non-versioned-file-in-library-package /usr/share/man/man7/vsl-query.7.gz
varnish.x86_64: E: non-versioned-file-in-library-package /usr/share/man/man1/varnishadm.1.gz
varnish.x86_64: E: non-versioned-file-in-library-package /usr/share/man/man3/vmod_purge.3.gz
varnish.x86_64: E: non-versioned-file-in-library-package /usr/share/doc/varnish/example.vcl
varnish.x86_64: E: non-versioned-file-in-library-package /usr/share/man/man7/vsl.7.gz
varnish.x86_64: E: non-versioned-file-in-library-package /usr/share/man/man7/vtc.7.gz
varnish.x86_64: E: non-versioned-file-in-library-package /etc/logrotate.d/varnish
varnish.x86_64: E: non-versioned-file-in-library-package /usr/share/doc/varnish/builtin.vcl
varnish.x86_64: E: non-versioned-file-in-library-package /usr/share/doc/varnish
varnish.x86_64: E: non-versioned-file-in-library-package /var/log/varnish
varnish.x86_64: E: non-versioned-file-in-library-package /etc/varnish/varnish.params
varnish.x86_64: E: non-versioned-file-in-library-package /usr/share/man/man1/varnishstat.1.gz
varnish.x86_64: E: non-versioned-file-in-library-package /var/lib/varnish
varnish.x86_64: E: non-versioned-file-in-library-package /usr/share/varnish/vcl/devicedetect.vcl
varnish.x86_64: E: non-versioned-file-in-library-package /usr/share/man/man1/varnishtest.1.gz
varnish.x86_64: E: non-versioned-file-in-library-package /usr/share/man/man1/varnishhist.1.gz
varnish.x86_64: E: non-versioned-file-in-library-package /usr/share/man/man7/varnish-cli.7.gz
varnish.x86_64: E: non-versioned-file-in-library-package /usr/share/man/man1/varnishtop.1.gz
varnish.x86_64: E: non-versioned-file-in-library-package /usr/share/varnish/vsctool.py
varnish.x86_64: E: non-versioned-file-in-library-package /usr/share/varnish/vcl
varnish.x86_64: E: non-versioned-file-in-library-package /usr/share/man/man7/varnish-counters.7.gz
varnish.x86_64: E: non-versioned-file-in-library-package /etc/varnish
varnish.x86_64: E: non-versioned-file-in-library-package /usr/sbin/varnish_reload_vcl
varnish.x86_64: E: non-versioned-file-in-library-package /usr/share/varnish
varnish.x86_64: E: incoherent-version-in-name 1
varnish.x86_64: W: conffile-without-noreplace-flag /etc/ld.so.conf.d/varnish-x86_64.conf
varnish.x86_64: E: wrong-script-interpreter /usr/share/varnish/vsctool.py /usr/bin/env python
varnish.x86_64: W: no-manual-page-for-binary varnish_reload_vcl
varnish.x86_64: E: no-signature
varnish.x86_64: W: dangerous-command-in-%post chmod
varnish-devel.x86_64: E: no-packager-tag
varnish-devel.x86_64: W: requires-on-release varnish = 6.0.1-1.el7
varnish-devel.x86_64: W: no-major-in-name varnish-devel
varnish-devel.x86_64: W: spelling-error %description -l en_US libs -> lobs, lib, lbs
varnish-devel.x86_64: W: self-obsoletion varnish-libs-devel obsoletes varnish-libs-devel
varnish-devel.x86_64: W: no-documentation
varnish-devel.x86_64: E: wrong-script-interpreter /usr/share/varnish/vmodtool.py /usr/bin/env python
varnish-devel.x86_64: E: no-signature
3 packages and 0 specfiles checked; 66 errors, 62 warnings.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant