On Miércoles 29 Septiembre 2010 12:27:07 Karl Goetz escribió: > On Sun, 19 Sep 2010 17:54:07 +0100 > > Noel David Torres Taño <[email protected]> wrote: > > On Domingo 19 Septiembre 2010 13:00:17 Karl Goetz escribió: > > > On Sat, 18 Sep 2010 22:25:31 +0100 > > Sorry about the lag. > > > > Noel David Torres Taño <[email protected]> wrote: > > > > On Sábado 18 Septiembre 2010 15:01:55 Peter Pentchev escribió: > > > > > On Sat, Sep 18, 2010 at 02:45:45PM +0200, Sven Joachim wrote: > > > > > > On 2010-09-18 14:27 +0200, Noel David Torres Taño wrote: > > > > > > Hello mentors: > > > > > > > > > > > > > > I have some problems with lintian overrides. My package show these: > > > > > > > > > > > > > > ----- > > > > > > > lintian -I -E --pedantic kstars-data-extra- tycho2_1.1r1-1_all.deb > > > > > > > I: kstars-data-extra-tycho2: unused-debconf-template kstars- data- > > > > > > > extra/kstarsrc-exists > > > > > > > I: kstars-data-extra-tycho2: unused-debconf-template kstars- data- > > > > > > > extra/kstarsrc-does-not-exist > > > > > > > P: kstars-data-extra-tycho2: no-homepage-field > > > > > > > P: kstars-data-extra-tycho2: no-upstream-changelog > > > > > > > ----- > > > > > > > > > > > > > > But I have a debian/source/lintian-overrides with this content: > > > > > > > > > > > > debian/source/lintian-overrides is not installed into the binary > > > > > > package, so lintian cannot find it when scanning the .deb. You want to > > > > > > name it debian/kstars-data-extra-tycho2.lintian-overrides and install it > > > > > > with dh_lintian (requires debhelper >= 6.0.7). > > > > > > > > > > In a couple more words: the problem is, you (OP) are trying to make a > > > > > source override fix a lintian warning for the binary package. When > > > > > Lintian gives a warning about a source package, it prefixes it with > > > > > sourcepackagename source: ... > > > > > And in your case, the warning is for the binary package, so it is: > > > > > binarypackagename: ... > > > > > > > > > > Thus, the source overrides will not affect it; as Sven Joachim said, > > > > > you need to provide a file that will be installed as part of the binary > > > > > package. You may install it into /usr/share/lintian/overrides/ "by > > > > > hand", but it will be much easier to just drop a file named > > > > > binarypackagename.lintian-overrides (well, in your case that is > > > > > kstars-data-extra-tycho2.lintian-overrides) into the debian/ directory > > > > > at package build time and invoke dh_lintian. > > > > > > > > > > G'luck, > > > > > Peter > > > > > > > > > > > > > Many thanks to both of you, Sven and Peter. It's my first time > > > > with overrides and really didn't understand that from either the > > > > man page nor http://lintian.debian.org/manual/ch2.html (but I > > > > should). It is working perfectly now, and I will send the RFS in > > > > a few hours. > > > > > > I couldn't work them out either. > > > Perhaps now you/i/we know better we can make sure the lintian manual > > > and or ment-guide, dev-ref or whatever are easier to understand? :) > > > kk > > > > Sure.We can try to rewrite ch2.html during this week, to see if we > > can do it better. Should this discussion be moved to > > [email protected] ? > > It probably should be moved to the other list. I can't commit to > rewriting stuff within a week (as you've probably noticed), but > otherwise i'm happy to contribute. > kk
Moving this to debian-doc to get the work done there about ch2 of http://lintian.debian.org/manual Noel er Envite -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

