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

Bug#510869: lintian: binary-arch-rules-but-pkg-is-arch-indep warning is contrary to policy



Package: lintian
Version: 2.0.0
Severity: normal

	Hi!

 My debian/rules contains:

#v+

# Build architecture-dependent files here.
binary-arch:
	# NOOP


define checkdir
        test -f debian/rules
endef
#v-

 lintian yields the following warning:

W: sil-users source: binary-arch-rules-but-pkg-is-arch-indep
N:
N:   It looks like you try to run code in the binary-arch target of
N:   debian/rules, even though your package is architecture- independent.
N:   
N:   Severity: normal; Certainty: certain

 The certainty is wrong here, I have no idea how tell lintian to shut up
about this, and I don't really understand the code surrounding this,
sorry.

 Thanks,
Rhonda

-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.27-1-powerpc
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lintian depends on:
ii  binutils            2.18.1~cvs20080103-7 The GNU assembler, linker and bina
ii  diffstat            1.45-2               produces graph of changes introduc
ii  dpkg-dev            1.14.23              Debian package development tools
ii  file                4.26-1               Determines file type using "magic"
ii  gettext             0.17-4               GNU Internationalization utilities
ii  intltool-debian     0.35.0+20060710.1    Help i18n of RFC822 compliant conf
ii  libdigest-sha-perl  5.47-1               Perl extension for SHA-1/224/256/3
ii  libparse-debianchan 1.1.1-2              parse Debian changelogs and output
ii  libtimedate-perl    1.1600-9             Time and date functions for Perl
ii  liburi-perl         1.35.dfsg.1-1        Manipulates and accesses URI strin
ii  man-db              2.5.2-3              on-line manual pager
ii  perl [libdigest-sha 5.10.0-18            Larry Wall's Practical Extraction 

lintian recommends no packages.

Versions of packages lintian suggests:
pn  binutils-multiarch            <none>     (no description available)
ii  libtext-template-perl         1.44-1.2   Text::Template perl module
ii  man-db                        2.5.2-3    on-line manual pager

-- no debconf information



Reply to: