FS#13397 - clive: missing and unspecified dependencies

Attached to Project: Community Packages
Opened by Xyne (Xyne) - Friday, 20 February 2009, 21:58 GMT
Last edited by Andrea Scarpino (BaSh) - Monday, 27 April 2009, 16:44 GMT
Task Type Bug Report
Category
Status Closed
Assigned To Geoffroy Carrier (gcarrier)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The package "clive" require a CPAN Perl module which is not available in the official repos (Config::Tiny). It also requires the package "perl-berkeleydb" which is not listed as a dependency. The program cannot be run without these dependencies (Perl returns an error when searching for the modules).

This can be fixed by creating the "perl-config-tiny" package and adding it along with perl-berkeleydb to the depends array.


Here's a PKGBUILD for perl-config-tiny generated with pacpan (http://xyne.archlinux.ca/info/pacpan):


# PKGBUILD generated by pacpan
pkgname=perl-config-tiny
_realname=Config-Tiny
pkgver=2.12
pkgrel=1
pkgdesc="Read/Write .ini style files with as little code as possible"
arch=(i686 x86_64)
license=('unknown, check site')
url="http://search.cpan.org/~adamk/Config-Tiny-2.12/lib/Config/Tiny.pm"
depends=('perl')

options=(!emptydirs)
#provides=('Config-Tiny')
provides=('config-tiny')
source=(http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Config-Tiny-2.12.tar.gz)
md5sums=('1df5a4ff37cd1d80532ddbe28015d1f0')
build() {
cd ${srcdir}/${_realname}-${pkgver}
# install module in vendor directories.
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make install DESTDIR=${pkgdir} || return 1

# remove perllocal.pod and .packlist
find ${pkgdir} -name perllocal.pod -delete
find ${pkgdir} -name .packlist -delete
}
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Monday, 27 April 2009, 16:44 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#13047 

Loading...