[horde] Horde_Token

Gunnar Wrobel wrobel at horde.org
Tue Aug 2 05:30:56 UTC 2011


Quoting Thomas Spuhler <thomas at btspuhler.com>:

> 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

Sorry, I don't think I can help either. I'm not that much into RPM and  
the error is clearly issued by RPM. The string  
"pear(tests/migration/Horde/Token/1_horde_token_base_tables.php)" does  
not make any sense to me and I cannot relate it to the PEAR package we  
provide.

Cheers,

Gunnar

>
>> >
>> > 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
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org

-- 
Core Developer
The Horde Project

e: wrobel at horde.org
t: +49 700 6245 0000
w: http://www.horde.org

pgp: 9703 43BE
tweets: http://twitter.com/pardus_de
blog: http://log.pardus.de



More information about the horde mailing list