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

perlapi and 5.8 and 5.10



Hello

     I built a debian package early this year (when I will have been
     using perl 5.8) and recently tried to install on 5.10.

     I see :

lapland:/home/bob# dpkg -i Desktop/libaudio-gramofile-perl_0.08-1_i386.deb 
Selecting previously deselected package libaudio-gramofile-perl.
(Reading database ... 237766 files and directories currently installed.)
Unpacking libaudio-gramofile-perl (from .../libaudio-gramofile-perl_0.08-1_i386.deb) ...
dpkg: dependency problems prevent configuration of libaudio-gramofile-perl:
 libaudio-gramofile-perl depends on perlapi-5.8.8; however:
  Package perlapi-5.8.8 is not installed.
dpkg: error processing libaudio-gramofile-perl (--install):
 dependency problems - leaving unconfigured
Processing triggers for man-db ...
Errors were encountered while processing:
 libaudio-gramofile-perl
lapland:/home/bob# dpkg --info Desktop/libaudio-gramofile-perl_0.08-1_i386.deb
 new debian package, version 2.0.
 size 18240 bytes: control archive= 730 bytes.
     479 bytes,    13 lines      control              
     646 bytes,     8 lines      md5sums              
 Package: libaudio-gramofile-perl
 Version: 0.08-1
 Architecture: i386
 Maintainer: Robert Wilkinson <bob@italy.fourtheye.org>
 Installed-Size: 116
 Depends: libc6 (>= 2.7-1), libgramofile1, perl (>= 5.8.8-12), perlapi-5.8.8
 Section: perl
 Priority: optional
 Homepage: http://search.cpan.org/dist/Audio-Gramofile/
 Description: Perl interface to libgramofile, a library derived from Gramofile
  This package provides a Perl interface to libgramofile, a library
  derived from Gramofile
  .
lapland:/home/bob# 

     I am unsure what I did wrongly initially but presume it was something.

     I ran "dh-make-perl --refresh" on the machine on which I built the package 
     and rebuilt via "fakeroot debian/rules binary" (the build machine now running
     5.10 too). This package does install on my target machine.

lapland:/home/bob# dpkg -i libaudio-gramofile-perl_0.08-1_i386.deb 
(Reading database ... 237778 files and directories currently installed.)
Preparing to replace libaudio-gramofile-perl 0.08-1 (using libaudio-gramofile-perl_0.08-1_i386.deb) ...
Unpacking replacement libaudio-gramofile-perl ...
Setting up libaudio-gramofile-perl (0.08-1) ...
Processing triggers for man-db ...
lapland:/home/bob# dpkg --info libaudio-gramofile-perl_0.08-1_i386.deb
 new debian package, version 2.0.
 size 22664 bytes: control archive= 866 bytes.
     481 bytes,    13 lines      control              
    1024 bytes,    12 lines      md5sums              
 Package: libaudio-gramofile-perl
 Version: 0.08-1
 Architecture: i386
 Maintainer: Robert Wilkinson <bob@italy.fourtheye.org>
 Installed-Size: 140
 Depends: perl (>= 5.10.0-16), perlapi-5.10.0, libc6 (>= 2.7-1), libgramofile1
 Section: perl
 Priority: optional
 Homepage: http://search.cpan.org/dist/Audio-Gramofile/
 Description: Perl interface to libgramofile, a library derived from Gramofile
  This package provides a Perl interface to libgramofile, a library
  derived from Gramofile
  .
lapland:/home/bob# 

     I *should* make the version numbers different - but trying to understand 
     the dependency upon perlapi. 

     I guess I would like to know whether I have done something wrong, and if
     so, what. I find it strange that I should have to rebuild a package anew
     for 5.10, unless, of course, there was an incompatible API change between
     5.8 and 5.10

Bob

P.S. Source at http://libgramofile.cvs.sourceforge.net/viewvc/libgramofile/Audio/Gramofile


Reply to: