All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alan Martinovic <alan.martinovic@senic.com>
To: Alex Kiernan <alex.kiernan@hivehome.com>, ross.burton@intel.com
Cc: Yocto-mailing-list <yocto@yoctoproject.org>
Subject: Re: Debugging a build issue in an isolated enviroment
Date: Thu, 2 Nov 2017 12:05:06 +0100	[thread overview]
Message-ID: <CAOT_U5ZsGM5WHnkX+eQ3KeeAFwR=mzaBgqqW-698jd9euXxoCg@mail.gmail.com> (raw)
In-Reply-To: <CAGxhq2aHU7xgimpRhavOp6AqL4ALf9SBDk6Wti6BFPtftGC99Q@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 4309 bytes --]

Thanks for the suggestions
Am currently implementing both of them and am trying to understand how the
patching is done.

In the temp directory I can see all the tasks.
For some reasons the patch wasn't applied correctly and I'm debugging why.

I have patches from before which are being correctly applied, one of them
being "0001-sun8i-configs-Add-CONFIG_BOOTCOUNT_LIMIT-ENV-for-men.patch".
Am using that one just as a reference for this example.
I want to see the steps done to apply the patch so I do:

    temp$ grep -r 0001-sun8i-configs *
    temp$ grep -r quilt *

I am expecting to see some commands related to the patching process in one
of the run scripts.
For example,  "quilt" followed by some arguments or
"0001-sun8i-configs-Add-CONFIG_BOOTCOUNT_LIMIT-ENV-for-men.patch" being
applied
by some other tool instead of quilt.

I only end up with some findings in the log files (log.do_fetch,
log.do_unpack which don't tell me much).


Where are the steps that apply the patches located?

Be Well :)
Alan




I've gotten to the

On Wed, Nov 1, 2017 at 8:05 PM, Alex Kiernan <alex.kiernan@hivehome.com>
wrote:

> On 1 November 2017 at 17:38, Alan Martinovic <alan.martinovic@senic.com>
> wrote:
>
>> I'm just upgrading to pyro and have some issues with u-boot-fw-utils.
>>
>> The error fails at do_compile stage which looks like this:
>>
>>     do_compile () {
>>             oe_runmake ${UBOOT_MACHINE}
>>             oe_runmake env
>>     }
>>
>>
>> The error is:
>>
>> Log data follows:
>> | DEBUG: Executing shell function do_compile
>> | NOTE: make -j 16 CROSS_COMPILE=arm-senic-linux-gnueabi-
>> CC=arm-senic-linux-gnueabi-       gcc  -march=armv7ve -mfpu=neon-vfpv4
>>  -mfloat-abi=hard -mcpu=cortex-a7
>> --sysroot=/home/alan/senic-os-update/build/tmp-glibc/work/se
>> nic_hub_beta-senic-linux-gnueabi/u-boot-fw-utils-senic/v2017
>> .03+gitAUTOINC+5233f17333-r0/recipe-sysroot
>>  -O2 -pipe -g -feliminate-unused-debug-types
>> -fdebug-prefix-map=/home/alan/senic-os-update/build/tmp-glib
>> c/work/senic_hub_beta-senic-linux-gnueabi/u-boot-fw-utils-
>> senic/v2017.03+gitAUTOINC+5233f17333-r0=/usr/src/debug/
>> u-boot-fw-utils-senic/v2017.03+gitAUTOINC+5233f17333-r0
>> -fdebug-prefix-map=/home/alan/senic-os-update/build/tmp-glib
>> c/work/senic_hub_beta-senic-linux-gnueabi/u-boot-fw-utils-
>> senic/v2017.03+gitAUTOINC+5233f17333-r0/recipe-sysroot-native=
>> -fdebug-prefix-map=/home/alan/senic-os-update/build/tmp-glib
>> c/work/senic_hub_beta-senic-linux-gnueabi/u-boot-fw-utils-
>> senic/v2017.03+gitAUTOINC+5233f17333-r0/recipe-sysroot=
>>  -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed V=1
>> | ERROR: oe_runmake failed
>> | make -f ./Makefile silentoldconfig
>> | make -f ./scripts/Makefile.build obj=scripts/basic
>> |   cc -Wp,-MD,scripts/basic/.fixdep.d -Wall -Wstrict-prototypes -O2
>> -fomit-frame-pointer      -o scripts/basic/fixdep
>> scripts/basic/fixdep.c
>> | /bin/sh: 1: cc: not found
>>
>>
>> I would assume this is a to specific error to ask help about. It seems
>> that the compiler isn't being called correctly (it's called as cc,
>> which isn't the full compiler name).
>> Suggestions are welcome but that isn't the reason for my post.
>>
>>
> Guessing... apply this in your recipe:
>
> http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/
> recipes-bsp/u-boot/files/default-gcc.patch?h=pyro
>
> --
> Alex Kiernan
> Senior Engineering Manager
>
> hivehome.com <http://www.hivehome.com>
>
>
>
> Hive | London | Cambridge | Houston | Toronto
> The information contained in or attached to this email is confidential and
> intended only for the use of the individual(s) to which it is addressed. It
> may contain information which is confidential and/or covered by legal
> professional or other privilege. The views expressed in this email are not
> necessarily the views of Centrica plc, and the company, its directors,
> officers or employees make no representation or accept any liability for
> their accuracy or completeness unless expressly stated to the contrary.
> Centrica Connected Home Limited (company no: 5782908), registered in
> England and Wales with its registered office at Millstream, Maidenhead
> Road, Windsor, Berkshire SL4 5GD.
>

[-- Attachment #2: Type: text/html, Size: 7017 bytes --]

  reply	other threads:[~2017-11-02 11:05 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-01 17:38 Debugging a build issue in an isolated enviroment Alan Martinovic
2017-11-01 18:05 ` Burton, Ross
2017-11-01 19:05 ` Alex Kiernan
2017-11-02 11:05   ` Alan Martinovic [this message]
2017-11-02 11:13     ` Burton, Ross
2017-11-02 11:46       ` Alan Martinovic
2017-11-02 11:50         ` Burton, Ross
2017-11-02 12:51           ` Alan Martinovic
2017-11-02 13:31             ` Alan Martinovic
2017-11-02 14:58               ` Burton, Ross
2017-11-02 15:06                 ` Alan Martinovic

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAOT_U5ZsGM5WHnkX+eQ3KeeAFwR=mzaBgqqW-698jd9euXxoCg@mail.gmail.com' \
    --to=alan.martinovic@senic.com \
    --cc=alex.kiernan@hivehome.com \
    --cc=ross.burton@intel.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.