Bug#513971: libcatalyst-perl: tries to overwrite file owned by libcatalyst-manual-perl

Damyan Ivanov dmn at debian.org
Tue Feb 3 13:13:26 UTC 2009


-=| gregor herrmann, Tue, Feb 03, 2009 at 11:36:52AM +0100 |=-
> On Tue, 03 Feb 2009 12:13:35 +0200, Damyan Ivanov wrote:
> 
> > > Eloy, I guess you're taking care of this; if you are busy or
> > > something just shout.
> > What is the intented fix? 
> 
> I'd like to have Eloy's opinion since he's the expert and I'm not
> completely sure either.

I agree with that, although Eloy's idea of moving catalyst to pkg-perl
was partly because he'd like some help (AIUI). So if we can figure out 
a good fix without him, that shall be good :)

> > I think declaring conflict is not an option, I'd expect to be able 
> > to install both Catalyst and its manual at the same time :)
> 
> Ack. And a Recommends/Suggests cat -> cat-manual maybe.

That would be a nice touch.

> > As I see it, libcatalyst-manual-perl should divert the above two 
> > files from libcatalyst-perl.
> 
> Sounds like an elegant plan.
> The simpler way would be to just remove the 2 files from
> libcatalyst-perl.

True.

> > Both variants suggest installing stuff from CPAN. Should this be 
> > patched in the debian packages? For Lenny?
> 
> Catalyst consists of a myriad of modules, and AFAIK not all of them
> are packaged for Debian yet (or are rather new and only in unstable).
> My assumption is that people dealing with catalyst know or find out
> where to get stuff.

Probably.

> AFAICS this bug only exists for libcatalyst-perl's version in
> unstable (5.71000-1), the version in testing (5.7014-1) doesn't
> contain Manual.pm/Catalyst::Manual.3pm.gz: 
> http://packages.debian.org/lenny/all/libcatalyst-perl/filelist

Oh, this is good. At least we don't have to rush before Lenny is out 
or figure out how stable-updates works :)

> libcatalyst-manual-perl still is at 5.7016-1, maybe this duplication
> will be fixed in a 5.71x release and we can get away with some
> versioned conflicts and without removing/diverting files?

BTW, there is Catalyst-Runtime dist on CPAN (that is libcatalyst-perl 
upstream source) of version 5.8000_05 with three pages of changes 
since 5.7x. Catalyst::Model is still there though.

Aaah, your pointer to the Lenny version was indeed very good.

libcatalyst-perl 5.7014-1 has this in debian/rules:

  $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
  mv $(TMP)/usr/share/perl5/Catalyst/Manual.pm\
      $(TMP)/usr/share/perl5/Catalyst/Manual/Runtime.pm
  mv $(TMP)/usr/share/man/man3/Catalyst::Manual.3pm\
      $(TMP)/usr/share/man/man3/Catalyst::Manual::Runtime.3pm

In 5.7016-1 this was replaced with the standard dh7 stuff:

  dh install

I guess adding back the plumbing used in 5.7014-1 would fix the conflict.

-- 
dam            JabberID: dam at jabber.minus273.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20090203/4abcfc6e/attachment.pgp 


More information about the pkg-perl-maintainers mailing list