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

Re: dh-make-perl error: Use of uninitialized value in substitution (s///)


Jeremiah Foster dijo [Mon, Aug 06, 2007 at 10:55:24AM +0200]:
> >Since you are adopting, isn't it better to base your package on the one
> >already present in the archive? Re-creating it from scratch looks like
> >double-work to me. Of course, there may be reasons for this too.
> I am sure it is better to use the already present package. I used dh-make-perl for two reasons:

Yes, I'm basically happy at dh-make-perl's quality - Still, learn as
much as possible from the previous packaging. If anything, you should
learn the mistakes made by the previous maintainer! ;-)

> 	1. I get an error with uupdate[0] (I assume this is the right
> 	   way to build already archived packages?)

Ok, did you investigate on what caused this error? :)

> 	2. I want to learn more about dh-make-perl

Great! Please take a dive in its code. It's ugly here and there, but
some of us have been spending some time in de-uglifying it. And it is
a very useful tool!

> [0] uupdate ../libcdk-perl_4.9.10.orig.tar.gz
> parsechangelog/debian: error: found start of entry where expected more change data or trailer, at file debian/changelog line 6
> uupdate: unable to determine source package

Ok, this clearly means the old changelog is somehow
broken. But... What are you basing your work on? Here it just worked

# First, just move the orig.tar.gz to a little bit higher name...
$ mv ../libcdk-perl_4.9.10{,.0.0.1}.orig.tar.gz
# Now update to it...
$ uupdate -u ../libcdk-perl_4. 
New Release will be
-- Untarring the new sourcecode archive ../libcdk-perl_4.
Success!  The diffs from version 4.9.10-1 worked fine.
Remember: Your current directory is the OLD sourcearchive!
Do a "cd ../libcdk-perl-" to see the new package

In any case... Either if you repackage from scratch or if you fix the
old packaging, you won't save yourself from the work of finding the
problem: You should not discard history. At least debian/changelog
should be preserved.

Gunnar Wolf - gwolf@gwolf.org - (+52-55)5623-0154 / 1451-2244
PGP key 1024D/8BB527AF 2001-10-23
Fingerprint: 0C79 D2D1 2C4E 9CE4 5973  F800 D80E F35A 8BB5 27AF

Reply to: