[horde] Horde_Token

Thomas Spuhler thomas at btspuhler.com
Tue Aug 2 04:54:05 UTC 2011


On Sunday, July 31, 2011 09:11:13 pm you wrote:
> Hi Thomas,
> 
> Quoting Thomas Spuhler <thomas at btspuhler.com>:
> > Gunnar:
> > I am trying to package Horde_Token for Mageia and then Mandriva.
> > But something withe one of the file locations seem to be wrong
> > The RPMBUILD puts this file into
> > /usr/share/pear/tests/Horde_Token/migration/1_horde_token_base_tables.php
Sorry, it was late. Its actually in:

/usr/share/pear/data/Horde_Token/migration/1_horde_token_base_tables.php

which looks correct..
but when trying to install it I still get:

$ rpm -ivh php-pear-Horde_Token-1.0.2-1.mga2.noarch.rpm 
error: Failed dependencies:
        pear(tests/migration/Horde/Token/1_horde_token_base_tables.php) is 
needed by php-pear-Horde_Token-1.0.2-1.mga2.noarch

I have no idea where it pulls this information

> > 
> > but then when installing the rpm, it expects it somewhere else.
> > 
> > error: Failed dependencies:
> >         pear(tests/migration/Horde/Token/1_horde_token_base_tables.php)
> >         is
> > 
> > needed by php-pear-Horde_Token-1.0.2-1.mga2.noarch
> 
> The file is marked as role="data" in the package.xml of the package:
> 
> <file name="1_horde_token_base_tables.php" role="data" />
> 
> https://github.com/horde/horde/blob/master/framework/Token/package.xml#L319
> 
> While I have no idea on the way you structure the package when being
> installed in you distribution, the path
> "/usr/share/pear/tests/" sounds more like role="test" and would
> clearly be wrong. This is definitely a packaging error that happens on
> your side. I recently helped packaging for Debian and the db
> migrations work fine there. A good deal of the Debian packaging
> efforts are also available from our repository:
> 
> 
> https://github.com/horde/horde/tree/master/components/data/distribute/debia
> n
> 
> "components" is the packaging helper in that case. It is capable of
> deriving package definitions from the packages on pear.horde.org using
> a simple template based approach.
> 
> Packaging Horde 4 should be discussed on the Horde mailing list
> "horde at lists.horde.org" though. Please send the next round of
> questions - if any - there. Thanks! And also thanks for packing this!
> 
> Gunnar
> 
> > it's the same with version 1.1.0
> > You are listed as one of the lead developers for this package.
> > I would appreciate some guidance.
> > 
> > --
> > Thomas

-- 
Thomas


More information about the horde mailing list