All of lore.kernel.org
 help / color / mirror / Atom feed
* The error of task do_validate_branches
@ 2015-04-14  3:14 Neil.Wu
  2015-04-14  4:44 ` Bruce Ashfield
  0 siblings, 1 reply; 2+ messages in thread
From: Neil.Wu @ 2015-04-14  3:14 UTC (permalink / raw)
  To: yocto

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

Hi, all

I build the custom linux-yocto kernel, it appears the error as bellow :

ERROR: Function failed: do_validate_branches (log file is located at /home/ectrs/poky/coretexa8/tmp/work/am335x_evm-poky-linux-gnueabi/linux-yocto-tiam335x/3.12.10--SS-r0/temp/log.do_validate_branches.4899)
ERROR: Logfile of failure stored in: /home/ectrs/poky/coretexa8/tmp/work/am335x_evm-poky-linux-gnueabi/linux-yocto-tiam335x/3.12.10--SS-r0/temp/log.do_validate_branches.4899
Log data follows:
| DEBUG: Executing shell function do_validate_branches
| NOTE: custom recipe is being built, forcing SRCREV to INVALID
| NOTE: SRCREV validation skipped for AUTOREV or empty meta branch
| fatal: A branch named 'master-orig' already exists.
| fatal: ambiguous argument 'INVALID': unknown revision or path not in the working tree.
| Use '--' to separate paths from revisions, like this:
| 'git <command> [<revision>...] -- [<file>...]'
| WARNING: exit code 128 from a shell command.
| ERROR: Function failed: do_validate_branches (log file is located at /home/ectrs/poky/coretexa8/tmp/work/am335x_evm-poky-linux-gnueabi/linux-yocto-tiam335x/3.12.10--SS-r0/temp/log.do_validate_branches.4899)
ERROR: Task 69 (/home/ectrs/poky/meta-emerson-ecosys/recipes-kernel/linux/linux-yocto-tiam335x_3.12.10.bb, do_validate_branches) failed with exit code '1'

How to resolve this problem? if you know please help me.

Thanks
Neil

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: The error of task do_validate_branches
  2015-04-14  3:14 The error of task do_validate_branches Neil.Wu
@ 2015-04-14  4:44 ` Bruce Ashfield
  0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2015-04-14  4:44 UTC (permalink / raw)
  To: Neil.Wu, yocto

On 2015-04-13 11:14 PM, Neil.Wu@Emerson.com wrote:
> Hi, all
>
> I build the custom linux-yocto kernel, it appears the error as bellow :

Hi Neil,

Can you provide a bit more information ? What release/branch are you
building ?

Obviously you are building a variant of linux-yocto that wasn't
released as part of the project (since we don't have a tiam335x
recipe), is there a place that recipe can be found ?

>
> ERROR: Function failed: do_validate_branches (log file is located at
> /home/ectrs/poky/coretexa8/tmp/work/am335x_evm-poky-linux-gnueabi/linux-yocto-tiam335x/3.12.10--SS-r0/temp/log.do_validate_branches.4899)
>
> ERROR: Logfile of failure stored in:
> /home/ectrs/poky/coretexa8/tmp/work/am335x_evm-poky-linux-gnueabi/linux-yocto-tiam335x/3.12.10--SS-r0/temp/log.do_validate_branches.4899
>
> Log data follows:
>
> | DEBUG: Executing shell function do_validate_branches
>
> | NOTE: custom recipe is being built, forcing SRCREV to INVALID
>
> | NOTE: SRCREV validation skipped for AUTOREV or empty meta branch
>
> | fatal: A branch named 'master-orig' already exists.
>
> | fatal: ambiguous argument 'INVALID': unknown revision or path not in
> the working tree.

These errors are pointing to an invalid or somehow corrupted/partially
built kernel git repository being used.

I assume that you've tried a clean/cleanll on the kernel recipe and
then rebuilt ?

Bruce

>
> | Use '--' to separate paths from revisions, like this:
>
> | 'git <command> [<revision>...] -- [<file>...]'
>
> | WARNING: exit code 128 from a shell command.
>
> | ERROR: Function failed: do_validate_branches (log file is located at
> /home/ectrs/poky/coretexa8/tmp/work/am335x_evm-poky-linux-gnueabi/linux-yocto-tiam335x/3.12.10--SS-r0/temp/log.do_validate_branches.4899)
>
> ERROR: Task 69
> (/home/ectrs/poky/meta-emerson-ecosys/recipes-kernel/linux/linux-yocto-tiam335x_3.12.10.bb,
> do_validate_branches) failed with exit code '1'
>
> How to resolve this problem? if you know please help me.
>
> Thanks
>
> Neil
>
>
>



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-04-14  4:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-14  3:14 The error of task do_validate_branches Neil.Wu
2015-04-14  4:44 ` Bruce Ashfield

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.