glyustb / mogilefs

Automatically exported from code.google.com/p/mogilefs
0 stars 0 forks source link

Build issues with dh-make-perl on ubuntu 10.04 #2

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Download mogilefs files from cpan and untar them
2. Running dh-make-perl inside the directory to make the debian dir + control, 
rules, ... etc
3. Building the package with dpkg-buildpackage or pdebuild ( chrooted )
will give errors. 

What is the expected output? What do you see instead?
A .deb package at the end of the build :)

What version of the product are you using? On what operating system?
Version 2.36, latests version from CPAN.
OS: Ubuntu 10.04 LTS

Please provide any additional information below.

The problem occurs because the package libwww-perl is specified as 
libwwwwww-perl-perl in the control file. Also for the mogilefs server, the 
Build-Depends-Indep for the source definition in the control should include 
libdbd-mysql-perl, else the build fails. 

Original issue reported on code.google.com by Robbie.A...@gmail.com on 7 Jul 2010 at 8:15

GoogleCodeExporter commented 8 years ago
I have noticed that the libwww-perl, get substituted on my build only. 

Found: MogileFS-Client 1.11 (libmogilefs-client-perl arch=all)
= Test::More is a core module
= fields is a core module
- IO::WrapTie not found in any package
Going to read '/home/builder/.cpan/Metadata'
  Database was generated on Tue, 06 Jul 2010 05:28:08 GMT
   CPAN contains it in IO-stringy
   substituting package name of libio-stringy-perl
- LWP::Simple not found in any package
   CPAN contains it in libwww-perl
   substituting package name of liblibwww-perl-perl

Needs the following debian packages: libio-stringy-perl (>= 2.102), 
liblibwww-perl-perl
The following Perl modules are required and not installed in your system:
 - IO::WrapTie
 - LWP::Simple
You do not have 'apt-file' currently installed, or have not ran
'apt-file update' - If you install it and run 'apt-file update' as
root, I will be able to tell you which Debian packages are those
modules in (if they are packaged).= ExtUtils::MakeMaker is a core module
....

This is probably a problem in my dh-make-perl script. Further investigation 
follows.
The missing mysql dep is valid though :)

kind regards,

Robbie

Original comment by Robbie.A...@gmail.com on 7 Jul 2010 at 8:53

GoogleCodeExporter commented 8 years ago
Fixed in 'next' in a different way.

dbd-mysql is still not a direct dependency, but now not having it is no longer 
fatal. The tests will inform you...

If there's some way to add an optional dependency to the debian scripts, that'd 
work better (ie; must have one of dbd-mysql, dbd-postgres, or dbd-sqlite). For 
now, closing this bug.

Original comment by dorma...@rydia.net on 28 Jul 2011 at 7:05