Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^3: Seek Perl module to build .deb files

by rafl (Friar)
on Jun 10, 2006 at 02:16 UTC ( #554586=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Seek Perl module to build .deb files
in thread Seek Perl module to build .deb files

There are several reasons for this. I'll tell you the first few things that come to my mind.

Automatic package builders use heuristics to determine specific information. For example they "guess" the license of a module, which can get you into serious troubles as a distributor. They "guess" the build-dependencies. This usually works well for pure-perl modules with a complete PREREQ_PM list, but fails for almost any module which doesn't use pure-perl only.

Packages generated by those tools tend to be low-quality. They don't use common best-practices in packaging, they use outdated stuff like compatibility versions (debian/compat) and they have no clue about what documentation should be in the package and what shouldn't.

Beside that they are, at least in my experience, not very robust. Not only the generated packages are broken (do not build, install, work, whatever), even the tools itself croak from time to time, if they don't like the module they should package.

These might not be the most important things, but they might be enough to see that one shouldn't create debian source packages in a full automated fashion.

Nevertheless, even I use dh-make-perl and friends from time to time. Most perl packages look the same from the debian packagers point of view. This makes it possible to use dh-make-perl to do the boring things, like a first debian/rules version, etc. and concentrate on those things that the tools can't do for you: Checking the copyright information, finding a good package description, ...

HTH, Flo


Comment on Re^3: Seek Perl module to build .deb files
Re^4: Seek Perl module to build .deb files
by jkeenan1 (Deacon) on Jun 10, 2006 at 02:31 UTC
    Thanks for the very detailed response!

    Jim Keenan

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://554586]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2014-10-23 22:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (129 votes), past polls