[oe] libxml-perl (new recipe) problems (make test)

Frans Meulenbroeks fransmeulenbroeks at gmail.com
Thu Jan 21 08:16:12 UTC 2010


2010/1/20 Michael Lippautz <michael.lippautz at gmail.com>:
> Actually, I need the perl module for some embedded work I am doing,
> and was wondering about it not being in the tree.
>
> Now, I can't find it (working on .dev branch). What do you mean with unstable?

If you are at the dev head you are definitely at the bleeding edge.
If you download binary packages there are two feeds.
One is the unstable feed which closely follows the head of the dev branch
The other one is the stable feed which is as it says more stable (at
the expense of some things not being there or being added later)

>
> I have already search for it in the git logs but can't find an entry
> containing  'libxml-libxml-...'. Maybe someone can provide me a link?

OUCH.
You got me.
When I saw your email I checked my own tree and there it was.
However if I look at
http://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes/perl
it is not there.

Guess I also had some issues with it and did not commit it, but left
the recipe to complete it later and got sidetracked to something else
and forgot about it.
(I needed it to build some xmltv grabbers but not he one for my
country that's why it ended up on the backburner).

Wrt your recipe:
you definitely want to add BBCLASSEXTEND="native" to the bottom of it.
Also the dependencies need to be added:

See http://deps.cpantesters.org/?module=XML::LibXML;perl=latest

Neither XML::Sax nor XML::NamespaceSupport exist (unless they are
added by someone very recently), so guess you need to add these first.

Feel free to contact me if you have questions or want a review or so
(trough private mail or the list or on irc (I am eFfeM on #oe)

Frans

>
> Thx in advance!
>
> 2010/1/20 Frans Meulenbroeks <fransmeulenbroeks at gmail.com>:
>> Michael,
>>
>> Thanks for your contribution.
>> I have no idea why things fail for you. Might be because you need the
>> native package too.
>>
>> But the real bad news is that the recipe already exist (in unstable that is)
>> It is in recipes/perl/libxml-libxml-perl_1.70.bb
>>
>> Actually this one looks very identical to yours.
>> And wrt the name: the convention is that all perl lib recipe and as
>> name start with lib then followed by the name in lower case foolowed
>> by -perl and the verison number..
>> Hence XML-LibXML will be in libxml-libxml-perl_1.70.bb.
>>
>> I hope the existence of the recipe does not disappoint you. If you
>> want to have a stab at another perl module feel free to try to make a
>> perl recipe for Tk.
>> Here's a starter, but it had some issues that I forgot about:
>>
>> libtk-perl_804.028.bb
>>
>> DESCRIPTION = "Tk - An overview of an Object Oriented Tk8 extension for perl5"
>> SECTION = "libs"
>> LICENSE = "Unknown"
>> PR = "r0"
>>
>> SRC_URI = "http://search.cpan.org/CPAN/authors/id/S/SR/SREZIC/Tk-${PV}.tar.gz"
>>
>> S = "${WORKDIR}/Tk-${PV}"
>>
>> inherit cpan
>>
>> BBCLASSEXTEND="native"
>>
>>
>> Best regards & have fun!
>> Frans.
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>




More information about the Openembedded-devel mailing list