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

Bug#1036746: lintian: package-contains-no-arch-dependent-files does not trigger if there is a header file with non-ascii (UTF-8) characters



Package: lintian
Version: 2.116.3
Severity: normal

I just looked into the spurious (dis-)appearance of

X: libnvidia-ml-dev: package-contains-no-arch-dependent-files

libnvidia-ml-dev is a header-only package:

$ find 1*
11.8.0
11.8.0/usr
11.8.0/usr/include
11.8.0/usr/include/nvml.h
11.8.0/usr/share
11.8.0/usr/share/doc
11.8.0/usr/share/doc/libnvidia-ml-dev
11.8.0/usr/share/doc/libnvidia-ml-dev/changelog.Debian.gz
11.8.0/usr/share/doc/libnvidia-ml-dev/copyright
11.8.0/usr/share/lintian
11.8.0/usr/share/lintian/overrides
11.8.0/usr/share/lintian/overrides/libnvidia-ml-dev
12.0.0
12.0.0/usr
12.0.0/usr/include
12.0.0/usr/include/nvml.h
12.0.0/usr/share
12.0.0/usr/share/doc
12.0.0/usr/share/doc/libnvidia-ml-dev
12.0.0/usr/share/doc/libnvidia-ml-dev/changelog.Debian.gz
12.0.0/usr/share/doc/libnvidia-ml-dev/copyright
12.0.1
12.0.1/usr
12.0.1/usr/include
12.0.1/usr/include/nvml.h
12.0.1/usr/share
12.0.1/usr/share/doc
12.0.1/usr/share/doc/libnvidia-ml-dev
12.0.1/usr/share/doc/libnvidia-ml-dev/changelog.Debian.gz
12.0.1/usr/share/doc/libnvidia-ml-dev/copyright

and the only difference I see is

$ file 1*/usr/include/nvml.h
11.8.0/usr/include/nvml.h: C source, ASCII text
12.0.0/usr/include/nvml.h: C source, UTF-8 Unicode text
12.0.1/usr/include/nvml.h: C source, ASCII text

The 11.8.0 package (in sid) does trigger
package-contains-no-arch-dependent-files (but it is overridden),
the 12.0.0 package (in experimental) does not trigger (therefore
override removed), while 12.0.1 (not yet uploaded) again triggers the
tag.

The only non-ascii char seems to be '’' (e2 80 99) in a comment ...


Andreas

Reply to: