[oe] [PATCH] Fix ctorrent build failure by using --disable-maintainer-mode option

Khem Raj raj.khem at gmail.com
Thu Jan 5 19:35:15 UTC 2012


On Thu, Jan 5, 2012 at 10:31 AM, Philby John <pjohn at mvista.com> wrote:
> On 01/05/2012 11:36 PM, Khem Raj wrote:
>> On Thu, Jan 5, 2012 at 4:55 AM, philby john <pjohn at mvista.com> wrote:
>>>
>>>  SRC_URI = "${SOURCEFORGE_MIRROR}/dtorrent/ctcs-${PV}.tar.gz"
>>> -PR="r1"
>>> +PR="r2"
>>> +
>>> +do_configure () {
>>> +        :
>>> +}
>>>
>>>  do_install () {
>>>   install -d ${D}/usr/bin
>>> diff --git a/recipes/ctorrent/ctorrent.inc b/recipes/ctorrent/ctorrent.inc
>>> index 8005fa9..e04c5d3 100644
>>> --- a/recipes/ctorrent/ctorrent.inc
>>> +++ b/recipes/ctorrent/ctorrent.inc
>>> @@ -8,3 +8,9 @@ DEPENDS = "openssl"
>>>  SRC_URI = "${SOURCEFORGE_MIRROR}/ctorrent/ctorrent-${PV}.tar.bz2"
>>>
>>>  inherit autotools
>>> +
>>> +EXTRA_OECONF = "--disable-maintainer-mode"
>>> +
>>> +do_configure() {
>>> +                oe_runconf
>>> +}
>>
>> why do you override do_configure ?
>> is it not able to reconfigure ?
>
> Yes, ctcs has nothing to configure with, its just one perl script.
> So do_configure() fails for ctcs.
>

clearly then ctorrent.inc is not that common to be used as such in all
recipes there.
you should move inheriting autotools out of ctorrent.inc
and into the needing .bb

> ~Philby
>
>




More information about the Openembedded-devel mailing list