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

Re: Bug#451061: wxglade: lintian error, debian-files-list-in-source



Hello Georges,

[Note: CC'ing debian-mentors so you get some more help from there]

On 13/11/2007, Georges Khaznadar <georges.khaznadar@free.fr> wrote:
> Hello Raphael,
>
> I did notice this bug, and fought against it. However, even if delete
> debian/files in the target 'clean' of debian/rules, it is created again
> and exists when lintian checks the package.
>
> This behavior began when I added the usage of dh_python to comply with
> Python policy. Do you know whether dh_python creates the file
> debian/rules out of sync with the other debian helper scripts ?

I'm not very keen on python so I really have no idea about what
packaging python libraries require (it is actually confusing the fact
that there are three debhelpers for it: dh_python, dh_pysupport and
dh_pycentral).

I took a quick look at your package and here are some notes:

* Doesn't seem to require python-all-dev:
------------
$ dpkg-buildpackage
dpkg-buildpackage: source package wxglade
dpkg-buildpackage: source version 0.5-1
dpkg-buildpackage: source changed by Georges Khaznadar <georgesk@ofset.org>
dpkg-buildpackage: host architecture i386
dpkg-checkbuilddeps: Unmet build dependencies: python-all-dev (>= 2.3.5-11)
dpkg-buildpackage: warning: Build dependencies/conflicts unsatisfied; aborting.
dpkg-buildpackage: warning: (Use -d flag to override.)
$ dpkg-buildpackage -d
dpkg-buildpackage: source package wxglade
dpkg-buildpackage: source version 0.5-1
dpkg-buildpackage: source changed by Georges Khaznadar <georgesk@ofset.org>
dpkg-buildpackage: host architecture i386
...
warning, `debian/python-wxglade/DEBIAN/control' contains user-defined
field `Python-Version'
dpkg-deb: building package `python-wxglade' in
`../python-wxglade_0.5-1_all.deb'.
dpkg-deb: ignoring 1 warnings about the control file(s)
 signfile wxglade_0.5-1.dsc
gpg: skipped "Georges Khaznadar <georgesk@ofset.org>": secret key not available
gpg: [stdin]: clearsign failed: secret key not available

 dpkg-genchanges  >../wxglade_0.5-1_i386.changes
dpkg-genchanges: including full source code in upload
dpkg-buildpackage: full upload (original source is included)
dpkg-buildpackage: warning: Failed to sign .dsc and .changes file
--------

* dh_python isn't used:
------
...
dh_fixperms
dh_pycentral
dh_python
dh_python: Doing nothing since dh_pycompat exists; dh_pysupport or
dh_pycentral should do the work. You can remove dh_python from your
rules file.
dh_installdeb
...
------

* .orig contains a debian/ directory, please contact upstream and tell
them ship the man page as upstream and not ship the debian directory
in their tarballs (it is not recommended and it _IS_ the real source
of lintian's warning: debian/files is in upstream's tarball).

* .orig.tar.gz and upstream's .tar.gz differ (and they shouldn't):
$ md5sum *0.5*.tar.gz
345d735076c6dda6a86db604612c6f39  wxglade_0.5.orig.tar.gz
705855ef251053bd6b032bc5667cea19  wxGlade-0.5.tar.gz

* there's a new upstream version

I personally recommend you to either contact upstream so they don't
ship debian/ and make a new package from scratch (preserving the
changelog file). If you have any doubt you can always ask on
debian-mentors@l.d.o or even ask your co-maintainer (he's a DD
anyway).


>
> Best regards,			Georges.
>
>
> Raphael Geissert a écrit :
> > Package: wxglade
> > Severity: minor
> >
> > Hello,
> >
> > While checking the list generated by lintian about the
> > debian-files-list-in-source error[1] I've noticed wxglade is listed.
> >
> > Quoting the same page: "Leaving debian/files causes problems for the
> > autobuilders, since that file will likely include the list of .deb
> > files for another architecture, which will cause dpkg-buildpackage
> > run by the buildd to fail.
> >
> > The clean rule for the package should remove this file."
> >
> > [1]
> > http://lintian.debian.org/reports/Tdebian-files-list-in-source.html
> >
> > Kind regards, Raphael Geissert
> > --
> > Atomo64 - Raphael
> >
> > Please avoid sending me Word, PowerPoint or Excel attachments.
> > See http://www.gnu.org/philosophy/no-word-attachments.html
> >
> >
> >
>
> --
> Georges KHAZNADAR et Jocelyne FOURNIER
> 22 rue des mouettes, 59240 Dunkerque France.
> Téléphone +33 (0)3 28 29 17 70
>
>

Sincerely,
-- 
Atomo64 - Raphael

Please avoid sending me Word, PowerPoint or Excel attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html

Say NO to Microsoft Office broken standard.
See http://www.noooxml.org/petition

Reply to: