Bug#302332: dh-make-perl: Conflicts between generated packages!

2005-03-31 Thread Salve J. Nilsen
Package: dh-make-perl
Version: 0.14
Severity: important


When creating a bunch of packages that depend on eachother, using
dh-make-perl with apt-file installed, each of the packages install
the following file:

   /usr/lib/perl/5.8/perllocal.pod

...which is _not_ supposed to be _installed_, but instead _updated_ by
appending some installation info about the package in question.

When installing these broken packages, the following error messages
are displayed:

==8--

 $ apt-get install liblingua-stem-perl
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  liblingua-pt-stemmer-perl liblingua-stem-snowball-da-perl 
liblingua-stem-snowball-no-perl liblingua-stem-snowball-se-perl 
libtext-german-perl
The following NEW packages will be installed:
  liblingua-pt-stemmer-perl liblingua-stem-perl liblingua-stem-snowball-da-perl 
liblingua-stem-snowball-no-perl liblingua-stem-snowball-se-perl 
libtext-german-perl
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/101kB of archives.
After unpacking 502kB of additional disk space will be used.
Do you want to continue? [Y/n]
Selecting previously deselected package liblingua-pt-stemmer-perl.
(Reading database ... 26280 files and directories currently installed.)
Unpacking liblingua-pt-stemmer-perl (from 
.../liblingua-pt-stemmer-perl_0.01-1_all.deb) ...
Unpacking liblingua-stem-snowball-da-perl (from 
.../liblingua-stem-snowball-da-perl_1.01-1_all.deb) ...
dpkg: error processing 
/opt/debs/pool/metnett/liblingua-stem-snowball-da-perl_1.01-1_all.deb 
(--unpack):
 trying to overwrite `/usr/lib/perl/5.8/perllocal.pod', which is also in 
package liblingua-pt-stemmer-perl
Unpacking libtext-german-perl (from .../libtext-german-perl_0.03--1_all.deb) ...
dpkg: error processing 
/opt/debs/pool/metnett/libtext-german-perl_0.03--1_all.deb (--unpack):
 trying to overwrite `/usr/lib/perl/5.8/perllocal.pod', which is also in 
package liblingua-pt-stemmer-perl
Unpacking liblingua-stem-snowball-no-perl (from 
.../liblingua-stem-snowball-no-perl_1-1_all.deb) ...
dpkg: error processing 
/opt/debs/pool/metnett/liblingua-stem-snowball-no-perl_1-1_all.deb (--unpack):
 trying to overwrite `/usr/lib/perl/5.8/perllocal.pod', which is also in 
package liblingua-pt-stemmer-perl
Unpacking liblingua-stem-snowball-se-perl (from 
.../liblingua-stem-snowball-se-perl_1.01-1_all.deb) ...
dpkg: error processing 
/opt/debs/pool/metnett/liblingua-stem-snowball-se-perl_1.01-1_all.deb 
(--unpack):
 trying to overwrite `/usr/lib/perl/5.8/perllocal.pod', which is also in 
package liblingua-pt-stemmer-perl
Selecting previously deselected package liblingua-stem-perl.
Unpacking liblingua-stem-perl (from .../liblingua-stem-perl_0.81-1_all.deb) ...
Errors were encountered while processing:
 /opt/debs/pool/metnett/liblingua-stem-snowball-da-perl_1.01-1_all.deb
 /opt/debs/pool/metnett/libtext-german-perl_0.03--1_all.deb
 /opt/debs/pool/metnett/liblingua-stem-snowball-no-perl_1-1_all.deb
 /opt/debs/pool/metnett/liblingua-stem-snowball-se-perl_1.01-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

--8===

A fix may be to _not_ include perllocal.pod in the generated
files (though this may break other things.)


- Salve

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.19-50um
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages dh-make-perl depends on:
ii  debhelper 4.2.31 helper programs for debian/rules
ii  dpkg-dev  1.10.27Package building tools for Debian
ii  fakeroot  1.2.2  Gives a fake root environment
ii  libyaml-perl  0.36-1 YAML Ain't Markup Language (tm)
ii  make  3.80-9 The GNU version of the make util
ii  perl  5.8.4-8Larry Wall's Practical Extraction 
ii  perl-modules [libpod-parser-p 5.8.4-8Core Perl modules

-- debconf-show failed


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#302332: dh-make-perl: Conflicts between generated packages!

2005-03-31 Thread Marc 'HE' Brockschmidt
tag 302332 + unreproducible
thanks Debian BTS!

Salve J. Nilsen [EMAIL PROTECTED] writes:
 When creating a bunch of packages that depend on eachother, using
 dh-make-perl with apt-file installed, each of the packages install
 the following file:

/usr/lib/perl/5.8/perllocal.pod

This *can't* happen if you use the ExtUtils::MakeMaker from the
perl-modules Debian package. The installation of the .perllocal.pod (and
also .packlist) file isn't done for perl or vendor installation.

Do you have your own Perl installed on top of the Debian one?

Marc
-- 
$_=')(hBCdzVnS})3..0}_$;//::niam/s~=)]3[))_$(rellac(=_$({pam(esrever })e$.)4/3*
)e$(htgnel+23(rhc,u(kcapnu ,nioj ;|_- |/+9-0z-aZ-A|rt~=e$;_$=e${pam tnirp{y
V2ajFGabus} yV2ajFGa{gwmclBHIbus}gwmclBHI{yVGa09mbbus}yVGa09mb{hBCdzVnSbus';
s/\n//g;s/bus/\nbus/g;eval scalar reverse   # mailto:[EMAIL PROTECTED]


pgp6otlu09PO9.pgp
Description: PGP signature


Bug#302332: dh-make-perl: Conflicts between generated packages!

2005-03-31 Thread Salve J Nilsen
Marc 'HE' Brockschmidt wrote:
tag 302332 + unreproducible
thanks Debian BTS!
Salve J. Nilsen [EMAIL PROTECTED] writes:
When creating a bunch of packages that depend on eachother, using
dh-make-perl with apt-file installed, each of the packages install
the following file:
  /usr/lib/perl/5.8/perllocal.pod

This *can't* happen if you use the ExtUtils::MakeMaker from the
perl-modules Debian package. The installation of the .perllocal.pod (and
also .packlist) file isn't done for perl or vendor installation.
Do you have your own Perl installed on top of the Debian one?
No, I'm using perl-modules 5.8.4-8 on sarge... Perhaps 
ExtUtils::MakeMaker has chaged there recently?

- Salve
--
Salve J. Nilsen salvejn at met dot no / Systems Developer
Norwegian Meteorological Institute   http://met.no/
Information Technology Department / Section for Development
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Bug#302332: dh-make-perl: Conflicts between generated packages!

2005-03-31 Thread Marc 'HE' Brockschmidt
Salve J Nilsen [EMAIL PROTECTED] writes:
 Marc 'HE' Brockschmidt wrote:
 Salve J. Nilsen [EMAIL PROTECTED] writes:
When creating a bunch of packages that depend on eachother, using
dh-make-perl with apt-file installed, each of the packages install
the following file:
   /usr/lib/perl/5.8/perllocal.pod
 This *can't* happen if you use the ExtUtils::MakeMaker from the
 perl-modules Debian package. The installation of the .perllocal.pod (and
 also .packlist) file isn't done for perl or vendor installation.
 Do you have your own Perl installed on top of the Debian one?
 No, I'm using perl-modules 5.8.4-8 on sarge... Perhaps 
 ExtUtils::MakeMaker has chaged there recently?

No, i have the sources for perl 5.8.4-8 here (and can't reproduce your
problem). Please send me the output of this:

grep -nA 14 doc_perl_install :: `perl -le 
'for(@INC){$f=$_/ExtUtils/MM_Unix.pm;-f $f  print $f}'`

Marc
-- 
$_=')(hBCdzVnS})3..0}_$;//::niam/s~=)]3[))_$(rellac(=_$({pam(esrever })e$.)4/3*
)e$(htgnel+23(rhc,u(kcapnu ,nioj ;|_- |/+9-0z-aZ-A|rt~=e$;_$=e${pam tnirp{y
V2ajFGabus} yV2ajFGa{gwmclBHIbus}gwmclBHI{yVGa09mbbus}yVGa09mb{hBCdzVnSbus';
s/\n//g;s/bus/\nbus/g;eval scalar reverse   # mailto:[EMAIL PROTECTED]


pgpYpaLaZ3elV.pgp
Description: PGP signature


Bug#302332: dh-make-perl: Conflicts between generated packages!

2005-03-31 Thread Salve J Nilsen
Marc 'HE' Brockschmidt wrote:
Salve J Nilsen [EMAIL PROTECTED] writes:
Marc 'HE' Brockschmidt wrote:
Salve J. Nilsen [EMAIL PROTECTED] writes:
When creating a bunch of packages that depend on eachother, using
dh-make-perl with apt-file installed, each of the packages install
the following file:
 /usr/lib/perl/5.8/perllocal.pod
This *can't* happen if you use the ExtUtils::MakeMaker from the
perl-modules Debian package. The installation of the .perllocal.pod (and
also .packlist) file isn't done for perl or vendor installation.
Do you have your own Perl installed on top of the Debian one?
No, I'm using perl-modules 5.8.4-8 on sarge... Perhaps 
ExtUtils::MakeMaker has chaged there recently?

No, i have the sources for perl 5.8.4-8 here (and can't reproduce your
problem). Please send me the output of this:
grep -nA 14 doc_perl_install :: `perl -le 'for(@INC){$f=$_/ExtUtils/MM_Unix.pm;-f $f  print $f}'`
You were right, there was an additional installation of 
ExtUtils::MakeMaker! Argh. (Output has been attached.)

Would it be sensible to do a sanity-check for this kind of error 
somewhere in dh-make-perl?

- Salve
--
Salve J. Nilsen salvejn at met dot no / Systems Developer
Norwegian Meteorological Institute   http://met.no/
Information Technology Department / Section for Development
/usr/local/share/perl/5.8.4/ExtUtils/MM_Unix.pm:2494:doc_perl_install ::
/usr/local/share/perl/5.8.4/ExtUtils/MM_Unix.pm-2495-   $(NOECHO) $(ECHO) 
Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
/usr/local/share/perl/5.8.4/ExtUtils/MM_Unix.pm-2496-   -$(NOECHO) $(MKPATH) 
$(DESTINSTALLARCHLIB)
/usr/local/share/perl/5.8.4/ExtUtils/MM_Unix.pm-2497-   -$(NOECHO) 
$(DOC_INSTALL) \
/usr/local/share/perl/5.8.4/ExtUtils/MM_Unix.pm-2498-   Module 
$(NAME) \
/usr/local/share/perl/5.8.4/ExtUtils/MM_Unix.pm-2499-   installed 
into $(INSTALLPRIVLIB) \
/usr/local/share/perl/5.8.4/ExtUtils/MM_Unix.pm-2500-   LINKTYPE 
$(LINKTYPE) \
/usr/local/share/perl/5.8.4/ExtUtils/MM_Unix.pm-2501-   VERSION 
$(VERSION) \
/usr/local/share/perl/5.8.4/ExtUtils/MM_Unix.pm-2502-   EXE_FILES 
$(EXE_FILES) \
/usr/local/share/perl/5.8.4/ExtUtils/MM_Unix.pm-2503-
}.$self-catfile('$(DESTINSTALLARCHLIB)','perllocal.pod').q{
/usr/local/share/perl/5.8.4/ExtUtils/MM_Unix.pm-2504-
/usr/local/share/perl/5.8.4/ExtUtils/MM_Unix.pm-2505-doc_site_install ::
/usr/local/share/perl/5.8.4/ExtUtils/MM_Unix.pm-2506-   $(NOECHO) $(ECHO) 
Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
/usr/local/share/perl/5.8.4/ExtUtils/MM_Unix.pm-2507-   -$(NOECHO) $(MKPATH) 
$(DESTINSTALLARCHLIB)
/usr/local/share/perl/5.8.4/ExtUtils/MM_Unix.pm-2508-   -$(NOECHO) 
$(DOC_INSTALL) \
--
/usr/share/perl/5.8/ExtUtils/MM_Unix.pm:2540:doc_perl_install ::
/usr/share/perl/5.8/ExtUtils/MM_Unix.pm-2541-
/usr/share/perl/5.8/ExtUtils/MM_Unix.pm-2542-doc_site_install ::
/usr/share/perl/5.8/ExtUtils/MM_Unix.pm-2543-   $(NOECHO) $(ECHO) Appending 
installation info to $(DESTINSTALLSITEARCH)/perllocal.pod
/usr/share/perl/5.8/ExtUtils/MM_Unix.pm-2544-   -$(NOECHO) umask 02; $(MKPATH) 
$(DESTINSTALLSITEARCH)
/usr/share/perl/5.8/ExtUtils/MM_Unix.pm-2545-   -$(NOECHO) umask 02; 
$(DOC_INSTALL) \
/usr/share/perl/5.8/ExtUtils/MM_Unix.pm-2546-   Module $(NAME) \
/usr/share/perl/5.8/ExtUtils/MM_Unix.pm-2547-   installed into 
$(INSTALLSITELIB) \
/usr/share/perl/5.8/ExtUtils/MM_Unix.pm-2548-   LINKTYPE $(LINKTYPE) \
/usr/share/perl/5.8/ExtUtils/MM_Unix.pm-2549-   VERSION $(VERSION) \
/usr/share/perl/5.8/ExtUtils/MM_Unix.pm-2550-   EXE_FILES 
$(EXE_FILES) \
/usr/share/perl/5.8/ExtUtils/MM_Unix.pm-2551-
}.$self-catfile('$(DESTINSTALLSITEARCH)','perllocal.pod').q{
/usr/share/perl/5.8/ExtUtils/MM_Unix.pm-2552-
/usr/share/perl/5.8/ExtUtils/MM_Unix.pm-2553-doc_vendor_install ::
/usr/share/perl/5.8/ExtUtils/MM_Unix.pm-2554-