[OE-core] Error in rpm bitbake

McClintock Matthew-B29882 B29882 at freescale.com
Mon Jul 16 04:34:02 UTC 2012


On Sun, Jul 15, 2012 at 8:18 AM, Bincy K Philip
<bincy_k_philip at yahoo.co.in> wrote:
>
> Hi,  after applying the patch, I got the error message as follows.
>
>  patching file meta/recipes-devtools/rpm/rpm/dbconvert.patch
>> patching file meta/recipes-devtools/rpm/rpm_5.4.9.bb
>> Hunk #1 FAILED at 43.
>> Hunk #2 FAILED at 75.
>
> My rpm_5.4.9.rej is attached.
>
> Please look into this

Bincy,

This is a trivial patch to fix to apply cleanly. Give it a shot.
Google around for more help with patches and resolving patches.

-M

>
> Regards
> Bincy
> From: McClintock Matthew-B29882 <B29882 at freescale.com>
>
> To: Bincy K Philip <bincy_k_philip at yahoo.co.in>; Patches and discussions
> about the oe-core layer <openembedded-core at lists.openembedded.org>
> Sent: Sunday, 15 July 2012 2:23 AM
>
> Subject: Re: [OE-core] Error in rpm bitbake
>
> On Sat, Jul 14, 2012 at 1:49 PM, Bincy K Philip
> <bincy_k_philip at yahoo.co.in> wrote:
>>
>> Could you please explain a little more on this.
>> Thank you
>
> My patch is not applying to your tree - can you show the conflicts?
> Show us the output of git diff after running the patch command.
>
> -M
>
>
>> From: McClintock Matthew-B29882 <B29882 at freescale.com>
>> To: Bincy K Philip <bincy_k_philip at yahoo.co.in>
>> Cc: McClintock Matthew-B29882 <B29882 at freescale.com>
>> Sent: Saturday, 14 July 2012 10:58 PM
>>
>> Subject: Re: [OE-core] Error in rpm bitbake
>>
>> You need to send all your replies to the list. And it's from an older
>> libc version. That patch should apply with a little bit of work.
>>
>> -M
>>
>> On Sat, Jul 14, 2012 at 11:29 AM, Bincy K Philip
>> <bincy_k_philip at yahoo.co.in> wrote:
>>> Hi Mathew,
>>>
>>> Is this problem specific to OS or kernel version..?
>>> |T|hanks for the help.
>>>
>>> Regards
>>> Bincy
>>>
>>> From: McClintock Matthew-B29882 <B29882 at freescale.com>
>>> To: Bincy K Philip <bincy_k_philip at yahoo.co.in>
>>> Cc: McClintock Matthew-B29882 <B29882 at freescale.com>
>>> Sent: Saturday, 14 July 2012 12:12 AM
>>> Subject: Re: [OE-core] Error in rpm bitbake
>>>
>>> On Fri, Jul 13, 2012 at 12:29 PM, Bincy K Philip
>>> <bincy_k_philip at yahoo.co.in> wrote:
>>>> Hi Mathew,
>>>>
>>>> Thank you very much for the reply.
>>>>
>>>> I have tried out following steps.
>>>>
>>>> 1.Copied the patch contents into one file called dbconvert.patch
>>>> 2.Copied the dbconvert.patch in tmp/layers/openembeddedcore
>>>> 3.Gave the command patch -p1< dbconvert.patch
>>>> 4.I got following error mesage
>>>>
>>>>
>>>> patching file meta/recipes-devtools/rpm/rpm/dbconvert.patch
>>>> patching file meta/recipes-devtools/rpm/rpm_5.4.9.bb
>>>> Hunk #1 FAILED at 43.
>>>> Hunk #2 FAILED at 75.
>>>> I am not able to sortout this issue.Can you please suggest on this.
>>>>
>>>> Also in my bitbake I am getting this error.
>>>>
>>>> Summary: 1 task failed:
>>>>
>>>>
>>>>
>>>> virtual:native:/local/jenkins/build_project/mvldir_ggg/tmp/layers/openembedded-core-030712/openembedded-core-030712//meta/recipes-devtools/rpm/rpm_5.4.9.bb,
>>>> do_patch
>>>
>>> My patch did not apply cleanly to the version of poky you are using -
>>> this needs to be fixed.
>>>
>>> -M
>>>
>>>>
>>>> Could you please guide me.
>>>> Thank you
>>>> From: McClintock Matthew-B29882 <B29882 at freescale.com>
>>>> To: Bincy K Philip <bincy_k_philip at yahoo.co.in>; Patches and discussions
>>>> about the oe-core layer <openembedded-core at lists.openembedded.org>
>>>> Sent: Friday, 13 July 2012 7:58 PM
>>>> Subject: Re: [OE-core] Error in rpm bitbake
>>>>
>>>> On Fri, Jul 13, 2012 at 7:30 AM, Bincy K Philip
>>>> <bincy_k_philip at yahoo.co.in> wrote:
>>>>> Dear all,
>>>>>
>>>>> I have started to work with open embedded only 3 months back.
>>>>>
>>>>> I got attached error log while trying for " bitbake rpm". This rpm
>>>>> failure
>>>>> causes my bitbake core-image-minimal to fail.
>>>>>
>>>>>
>>>>> I have gone through some Google posts and understood dbconver.c causes
>>>>> this
>>>>> error & need to exclude this file from compiling.I am not aware of how
>>>>> to
>>>>> do
>>>>> that.Can anyone answer this?
>>>>>
>>>>> Also I have seen that there is one dbconvert.patch work in progress.
>>>>> But
>>>>> couldn't find out this file in open embedded git repository.
>>>>>
>>>>> Please help me to sort out this issue.This is really blocking me.
>>>>>
>>>>> Thanks in advance...
>>>>
>>>> Bincy,
>>>>
>>>> I submitted a patch for this a few days ago. Waiting for it to be
>>>> applied or for feedback:
>>>>
>>>>
>>>>
>>>>
>>>> http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=mattsm/master&id=9cd3f21ab41c039ddcc6bbff521f9d7b284813ae
>>>>
>>>> -M
>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Openembedded-core mailing list
>>>>> Openembedded-core at lists.openembedded.org
>>>>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>>
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core at lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>>
>
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>




More information about the Openembedded-core mailing list