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

Re: Packaging a Haskell Program



Hi,

Am Mittwoch, den 05.06.2013, 21:40 +0200 schrieb Dirk Hünniger:
> >> The problem with the linthian warnings is that lintian does not give out
> >> these on my system. But I will nevertheless resolve them. Although this
> >> will requirere several uploades. Since this is the only way I can see them.
> > Have you tried running "lintian -pedantic"? You really should be able to
> > run lintian on your machine. What version of it are you using?
> I get the following:
> 
> dirk@dirk-desktop:~/wb2pdf-code/src/pack/1$ lintian --pedantic 
> mediawiki2latex_6.4-1_i386.deb
> P: mediawiki2latex: no-homepage-field
> dirk@dirk-desktop:~/wb2pdf-code/src/pack/1$ lintian --version
> Lintian v2.5.11ubuntu13
> 
> so maybe its because I am on Ubuntu

I’m actually not sure if the hints displayed on mentors.d.n are all
generated by lintian. Also, after reading more of the lintian manpage,
"lintian -I --pedantic" gives you all data.

> > I tried to build your package, but it fails:
> > Configuring wb2pdf-4.3...
> > cabal: At least the following dependencies are missing:
> > hxt-http >=9,
> > regex-pcre-builtin -any,
> > url >=2.1,
> > utility-ht >=0.0.5
>
> I build on this platform
> No LSB modules are available.
> Distributor ID:    Ubuntu
> Description:    Ubuntu 13.04
> Release:    13.04
> Codename:    raring
> 
> and Installed the binary to a freshly Installed Debian Testing

Yes, and most likely you have, for example, libghc-url-dev installed on
the system that you build the package on. See
http://www.debian.org/doc/manuals/maint-guide/dreq.en.html#control and
http://www.debian.org/doc/debian-policy/ch-relationships.html#s-sourcebinarydeps

> > Please make sure your package has sufficient build-depends by compiling
> > it in a chroot (e.g. using pbuilder or sbuild).
>
> I did with debuild. But possibly this is because I built on Ubuntu. I 
> will do the next try on a freshly installed debian testing.

debuild is just a convenience wrapper around dpkg-buildpackage and does
not help you to check whether your Build-Depends are correct. You really
should set up chroot environment to build your packages. See 
https://wiki.ubuntu.com/PbuilderHowto and
http://www.netfort.gr.jp/~dancer/software/pbuilder-doc/pbuilder-doc.html

> I am really glad that finally people are helping with the inclusion of 
> my package into debian since I worked the last couple of weeks alone for 
> that goal and got really frustrated. But now this is getting better.

Better load up some more frustration tolerance, now that you got our
attention you’ll probably get lots of unwanted advice and things to fix
before the package may enter Debian... ;-)

Greetings,
Joachim

-- 
Joachim "nomeata" Breitner
Debian Developer
  nomeata@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nomeata@joachim-breitner.de | http://people.debian.org/~nomeata


Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: