[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#945869: lintian: false positive for debian-rules-not-executable



Hi Andreas,

I created the attached test case in Lintian, but I cannot get the tag
to show using '--pedantic':

$ frontend/lintian --pedantic
debian/test-out/packages/tags/checks/debian/rules/permissions-775/permissions-775_1.0.dsc
P: permissions-775 source: uses-debhelper-compat-file

even though d/rules shows as group writable in the tar file:

$ tar tvf debian/test-out/packages/tags/checks/debian/rules/permissions-775/permissions-775_1.0.tar.xz
drwxr-xr-x 0/0               0 2019-09-29 11:11 permissions-775-1.0/
drwxr-xr-x 0/0               0 2019-09-29 11:11 permissions-775-1.0/debian/
-rw-r--r-- 0/0             509 2019-09-29 11:11
permissions-775-1.0/debian/changelog
-rw-r--r-- 0/0               3 2019-09-29 11:11
permissions-775-1.0/debian/compat
-rw-r--r-- 0/0             662 2019-09-29 11:11
permissions-775-1.0/debian/control
-rw-r--r-- 0/0            1282 2019-09-29 11:11
permissions-775-1.0/debian/copyright
-rwxrwxr-x 0/0             291 2019-09-29 11:11 permissions-775-1.0/debian/rules
drwxr-xr-x 0/0               0 2019-09-29 11:11
permissions-775-1.0/debian/source/
-rw-r--r-- 0/0              13 2019-09-29 11:11
permissions-775-1.0/debian/source/format
drwxr-xr-x 0/0               0 2019-09-29 11:11
permissions-775-1.0/debian/tests/
-rw-r--r-- 0/0              12 2019-09-29 11:11
permissions-775-1.0/debian/tests/control
-rwxr-xr-x 0/0              17 2019-09-29 11:11
permissions-775-1.0/debian/tests/test

Equally perplexingly, I also do not see the tag in libtasn1-06. How do
you invoke Lintian? Also, what is your umask, please (although it
should not matter)?

$ frontend/lintian --pedantic libtasn1-6_4.14-3.dsc
E: libtasn1-6 source: source-is-missing doc/cyclo/cyclo-libtasn1.html
line length is 567 characters (>512)
P: libtasn1-6 source: insane-line-length-in-source-file
doc/cyclo/cyclo-libtasn1.html line length is 567 characters (>512)
P: libtasn1-6 source: no-dep5-copyright
P: libtasn1-6 source: package-uses-old-debhelper-compat-version 11
P: libtasn1-6 source: source-contains-prebuilt-javascript-object
doc/cyclo/cyclo-libtasn1.html line length is 567 characters (>512)

Kind regards
Felix Lechner

Attachment: permissions-775_1.0.dsc
Description: Binary data

Attachment: permissions-775_1.0.tar.xz
Description: application/xz


Reply to: