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

Bug#544530: lintian: wrongly reports build-depends-without-arch-dep



Federico Gimenez Nieto <fgimenez@coit.es> writes:

> In a package that uses dpatch (including the snippet
> /usr/share/dpatch/dpatch.make), debian/rules has:

>   clean: unpatch

>   clean-patched: 
>           dh_testdir
>           dh_testroot
>           dh_clean

>   unpatch: clean-patched

> After building, lintian -iIEvXc --pedantic reports:

>   I: libphp-pclzip source: build-depends-without-arch-dep debhelper

> Changing the rules to:

>   clean: clean-patched

>   clean-patched:
>           dh_testdir
>           dh_testroot
>           dh_clean
>           $(MAKE) -f debian/rules unpatch

> the information tag is gone.

Yeah, it's a known flaw in Lintian's parsing of makefiles.  It doesn't
build a full dependency graph.  Instead, it figures out what to look for
by going through linearly.  It requires a fair bit of work to fix.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>



Reply to: