All of lore.kernel.org
 help / color / mirror / Atom feed
* Yocto dora build script bug?
@ 2013-11-26 10:31 Dave Evans
  2013-11-26 12:14 ` Marco
  0 siblings, 1 reply; 7+ messages in thread
From: Dave Evans @ 2013-11-26 10:31 UTC (permalink / raw)
  To: meta-freescale@yoctoproject.org

Hi all,

Prior to building dora I built dylan without issue.

I've been attempting to build dora but I seem to of found a script problem:
The result of this exception is that the following folder path has been 
created "${BSPDIR}/download/${BSPDIR}/download${BSPDIR}/download"

I asked on the yocto irc channel and they refered me here.

output below:

dave@debian:~/yocto/fsl-community-bsp/build$ bitbake core-image-minimal
WARNING: Host distribution "Debian-7.2" has not been validated with this 
version of the build system; you may possibly experience unexpected 
failures. It is recommended that you use a tested distribution.
Parsing recipes: 100% 
|##################################################################| 
Time: 00:01:38
Parsing of 1340 .bb files complete (0 cached, 1340 parsed). 1732 
targets, 95 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies


Build Configuration:
BB_VERSION        = "1.20.0"
BUILD_SYS         = "i686-linux"
NATIVELSBSTRING   = "Debian-7.2"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "imx28evk"
DISTRO            = "poky"
DISTRO_VERSION    = "1.5"
TUNE_FEATURES     = "armv5 thumb dsp"
TARGET_FPU        = "soft"
meta-fsl-arm      = "ewgeco:5b3b6618426ad06e4fb6a3a77c4a53dfb47f0556"
meta-fsl-arm-extra = "ewgeco:11ac45d22963a3f047a85c96009c36cb6e156d0a"
meta-fsl-demos    = "ewgeco:cd6275042cdd2d87490521f6cbeb65972ed37a66"
meta-oe           = "ewgeco:513e7ca20ddd0a5c3b649bf292a67c3e0473d3a8"
meta
meta-yocto
meta-yocto-bsp    = "ewgeco:75bed4086eb83f1d24c31392f3dd54aa5c3679b1"


NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: Failed to fetch URL 
http://downloads.yoctoproject.org/releases/gnu-config/gnu-config-20120814.tar.bz2, 
attempting MIRRORS if available
ERROR: Error executing a python function in 
/home/dave/yocto/fsl-community-bsp/sources/poky/meta/recipes-devtools/gnu-config/gnu-config_20120814.bb:


The stack trace of python calls that resulted in this exception/failure was:
File: 'base_do_fetch', lineno: 18, function: <module>
      0014:    except bb.fetch2.BBFetchException as e:
      0015:        raise bb.build.FuncFailed(e)
      0016:
      0017:
*** 0018:base_do_fetch(d)
      0019:
File: 'base_do_fetch', lineno: 13, function: base_do_fetch
      0009:    bb.data.update_data(localdata)
      0010:
      0011:    try:
      0012:        fetcher = bb.fetch2.Fetch(src_uri, localdata)
*** 0013:        fetcher.download()
      0014:    except bb.fetch2.BBFetchException as e:
      0015:        raise bb.build.FuncFailed(e)
      0016:
      0017:
File: 
'/home/dave/yocto/fsl-community-bsp/sources/poky/bitbake/lib/bb/fetch2/__init__.py', 
lineno: 1413, function: download
      1409:                        # Remove any incomplete fetch
      1410:                        m.clean(ud, self.d)
      1411:                        logger.debug(1, "Trying MIRRORS")
      1412:                        mirrors = 
mirror_from_string(self.d.getVar('MIRRORS', True))
*** 1413:                        localpath = try_mirrors (self.d, ud, 
mirrors)
      1414:
      1415:                if not localpath or ((not 
os.path.exists(localpath)) and localpath.find("*") == -1):
      1416:                    if firsterr:
      1417:                        logger.error(str(firsterr))
File: 
'/home/dave/yocto/fsl-community-bsp/sources/poky/bitbake/lib/bb/fetch2/__init__.py', 
lineno: 852, function: try_mirrors
      0848:
      0849:    uris, uds = build_mirroruris(origud, mirrors, ld)
      0850:
      0851:    for index, uri in enumerate(uris):
*** 0852:        ret = try_mirror_url(uri, origud, uds[index], ld, check)
      0853:        if ret != False:
      0854:            return ret
      0855:    return None
      0856:
File: 
'/home/dave/yocto/fsl-community-bsp/sources/poky/bitbake/lib/bb/fetch2/__init__.py', 
lineno: 785, function: try_mirror_url
      0781:            if found:
      0782:                return found
      0783:            return False
      0784:
*** 0785:        os.chdir(ld.getVar("DL_DIR", True))
      0786:
      0787:        if not os.path.exists(ud.donestamp) or 
ud.method.need_update(newuri, ud, ld):
      0788:            ud.method.download(newuri, ud, ld)
      0789:            if hasattr(ud.method,"build_mirror_data"):
Exception: OSError: [Errno 2] No such file or directory: 
'${BSPDIR}/downloads/'


ERROR: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: 
/home/dave/yocto/fsl-community-bsp/build/tmp/work/i686-linux/gnu-config-native/20120814-r0/temp/log.do_fetch.14586
ERROR: Task 429 
(virtual:native:/home/dave/yocto/fsl-community-bsp/sources/poky/meta/recipes-devtools/gnu-config/gnu-config_20120814.bb, 
do_fetch) failed with exit code '1'
WARNING: Failed to fetch URL 
http://download.savannah.gnu.org/releases/quilt/quilt-0.60.tar.gz, 
attempting MIRRORS if available
ERROR: Error executing a python function in 
/home/dave/yocto/fsl-community-bsp/sources/poky/meta/recipes-devtools/quilt/quilt-native_0.60.bb:


The stack trace of python calls that resulted in this exception/failure was:
File: 'base_do_fetch', lineno: 18, function: <module>
      0014:    except bb.fetch2.BBFetchException as e:
      0015:        raise bb.build.FuncFailed(e)
      0016:
      0017:
*** 0018:base_do_fetch(d)
      0019:
File: 'base_do_fetch', lineno: 13, function: base_do_fetch
      0009:    bb.data.update_data(localdata)
      0010:
      0011:    try:
      0012:        fetcher = bb.fetch2.Fetch(src_uri, localdata)
*** 0013:        fetcher.download()
      0014:    except bb.fetch2.BBFetchException as e:
      0015:        raise bb.build.FuncFailed(e)
      0016:
      0017:
File: 
'/home/dave/yocto/fsl-community-bsp/sources/poky/bitbake/lib/bb/fetch2/__init__.py', 
lineno: 1413, function: download
      1409:                        # Remove any incomplete fetch
      1410:                        m.clean(ud, self.d)
      1411:                        logger.debug(1, "Trying MIRRORS")
      1412:                        mirrors = 
mirror_from_string(self.d.getVar('MIRRORS', True))
*** 1413:                        localpath = try_mirrors (self.d, ud, 
mirrors)
      1414:
      1415:                if not localpath or ((not 
os.path.exists(localpath)) and localpath.find("*") == -1):
      1416:                    if firsterr:
      1417:                        logger.error(str(firsterr))
File: 
'/home/dave/yocto/fsl-community-bsp/sources/poky/bitbake/lib/bb/fetch2/__init__.py', 
lineno: 852, function: try_mirrors
      0848:
      0849:    uris, uds = build_mirroruris(origud, mirrors, ld)
      0850:
      0851:    for index, uri in enumerate(uris):
*** 0852:        ret = try_mirror_url(uri, origud, uds[index], ld, check)
      0853:        if ret != False:
      0854:            return ret
      0855:    return None
      0856:
File: 
'/home/dave/yocto/fsl-community-bsp/sources/poky/bitbake/lib/bb/fetch2/__init__.py', 
lineno: 785, function: try_mirror_url
      0781:            if found:
      0782:                return found
      0783:            return False
      0784:
*** 0785:        os.chdir(ld.getVar("DL_DIR", True))
      0786:
      0787:        if not os.path.exists(ud.donestamp) or 
ud.method.need_update(newuri, ud, ld):
      0788:            ud.method.download(newuri, ud, ld)
      0789:            if hasattr(ud.method,"build_mirror_data"):
Exception: OSError: [Errno 2] No such file or directory: 
'${BSPDIR}/downloads/'


ERROR: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: 
/home/dave/yocto/fsl-community-bsp/build/tmp/work/i686-linux/quilt-native/0.60-r0/temp/log.do_fetch.14585
ERROR: Task 18 
(/home/dave/yocto/fsl-community-bsp/sources/poky/meta/recipes-devtools/quilt/quilt-native_0.60.bb, 
do_fetch) failed with exit code '1'
WARNING: Failed to fetch URL ftp://ftp.gnu.org/gnu/m4/m4-1.4.16.tar.gz, 
attempting MIRRORS if available
ERROR: Error executing a python function in 
/home/dave/yocto/fsl-community-bsp/sources/poky/meta/recipes-devtools/m4/m4-native_1.4.16.bb:


The stack trace of python calls that resulted in this exception/failure was:
File: 'base_do_fetch', lineno: 18, function: <module>
      0014:    except bb.fetch2.BBFetchException as e:
      0015:        raise bb.build.FuncFailed(e)
      0016:
      0017:
*** 0018:base_do_fetch(d)
      0019:
File: 'base_do_fetch', lineno: 13, function: base_do_fetch
      0009:    bb.data.update_data(localdata)
      0010:
      0011:    try:
      0012:        fetcher = bb.fetch2.Fetch(src_uri, localdata)
*** 0013:        fetcher.download()
      0014:    except bb.fetch2.BBFetchException as e:
      0015:        raise bb.build.FuncFailed(e)
      0016:
      0017:
File: 
'/home/dave/yocto/fsl-community-bsp/sources/poky/bitbake/lib/bb/fetch2/__init__.py', 
lineno: 1413, function: download
      1409:                        # Remove any incomplete fetch
      1410:                        m.clean(ud, self.d)
      1411:                        logger.debug(1, "Trying MIRRORS")
      1412:                        mirrors = 
mirror_from_string(self.d.getVar('MIRRORS', True))
*** 1413:                        localpath = try_mirrors (self.d, ud, 
mirrors)
      1414:
      1415:                if not localpath or ((not 
os.path.exists(localpath)) and localpath.find("*") == -1):
      1416:                    if firsterr:
      1417:                        logger.error(str(firsterr))
File: 
'/home/dave/yocto/fsl-community-bsp/sources/poky/bitbake/lib/bb/fetch2/__init__.py', 
lineno: 852, function: try_mirrors
      0848:
      0849:    uris, uds = build_mirroruris(origud, mirrors, ld)
      0850:
      0851:    for index, uri in enumerate(uris):
*** 0852:        ret = try_mirror_url(uri, origud, uds[index], ld, check)
      0853:        if ret != False:
      0854:            return ret
      0855:    return None
      0856:
File: 
'/home/dave/yocto/fsl-community-bsp/sources/poky/bitbake/lib/bb/fetch2/__init__.py', 
lineno: 785, function: try_mirror_url
      0781:            if found:
      0782:                return found
      0783:            return False
      0784:
*** 0785:        os.chdir(ld.getVar("DL_DIR", True))
      0786:
      0787:        if not os.path.exists(ud.donestamp) or 
ud.method.need_update(newuri, ud, ld):
      0788:            ud.method.download(newuri, ud, ld)
      0789:            if hasattr(ud.method,"build_mirror_data"):
Exception: OSError: [Errno 2] No such file or directory: 
'${BSPDIR}/downloads/'


ERROR: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: 
/home/dave/yocto/fsl-community-bsp/build/tmp/work/i686-linux/m4-native/1.4.16-r4/temp/log.do_fetch.14587
ERROR: Task 1078 
(/home/dave/yocto/fsl-community-bsp/sources/poky/meta/recipes-devtools/m4/m4-native_1.4.16.bb, 
do_fetch) failed with exit code '1'
WARNING: Failed to fetch URL 
ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz, attempting MIRRORS 
if available
ERROR: Error executing a python function in 
/home/dave/yocto/fsl-community-bsp/sources/poky/meta/recipes-devtools/autoconf/autoconf_2.69.bb:


The stack trace of python calls that resulted in this exception/failure was:
File: 'base_do_fetch', lineno: 18, function: <module>
      0014:    except bb.fetch2.BBFetchException as e:
      0015:        raise bb.build.FuncFailed(e)
      0016:
      0017:
*** 0018:base_do_fetch(d)
      0019:
File: 'base_do_fetch', lineno: 13, function: base_do_fetch
      0009:    bb.data.update_data(localdata)
      0010:
      0011:    try:
      0012:        fetcher = bb.fetch2.Fetch(src_uri, localdata)
*** 0013:        fetcher.download()
      0014:    except bb.fetch2.BBFetchException as e:
      0015:        raise bb.build.FuncFailed(e)
      0016:
      0017:
File: 
'/home/dave/yocto/fsl-community-bsp/sources/poky/bitbake/lib/bb/fetch2/__init__.py', 
lineno: 1413, function: download
      1409:                        # Remove any incomplete fetch
      1410:                        m.clean(ud, self.d)
      1411:                        logger.debug(1, "Trying MIRRORS")
      1412:                        mirrors = 
mirror_from_string(self.d.getVar('MIRRORS', True))
*** 1413:                        localpath = try_mirrors (self.d, ud, 
mirrors)
      1414:
      1415:                if not localpath or ((not 
os.path.exists(localpath)) and localpath.find("*") == -1):
      1416:                    if firsterr:
      1417:                        logger.error(str(firsterr))
File: 
'/home/dave/yocto/fsl-community-bsp/sources/poky/bitbake/lib/bb/fetch2/__init__.py', 
lineno: 852, function: try_mirrors
      0848:
      0849:    uris, uds = build_mirroruris(origud, mirrors, ld)
      0850:
      0851:    for index, uri in enumerate(uris):
*** 0852:        ret = try_mirror_url(uri, origud, uds[index], ld, check)
      0853:        if ret != False:
      0854:            return ret
      0855:    return None
      0856:
File: 
'/home/dave/yocto/fsl-community-bsp/sources/poky/bitbake/lib/bb/fetch2/__init__.py', 
lineno: 785, function: try_mirror_url
      0781:            if found:
      0782:                return found
      0783:            return False
      0784:
*** 0785:        os.chdir(ld.getVar("DL_DIR", True))
      0786:
      0787:        if not os.path.exists(ud.donestamp) or 
ud.method.need_update(newuri, ud, ld):
      0788:            ud.method.download(newuri, ud, ld)
      0789:            if hasattr(ud.method,"build_mirror_data"):
Exception: OSError: [Errno 2] No such file or directory: 
'${BSPDIR}/downloads/'


ERROR: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: 
/home/dave/yocto/fsl-community-bsp/build/tmp/work/i686-linux/autoconf-native/2.69-r11/temp/log.do_fetch.14594
ERROR: Task 390 
(virtual:native:/home/dave/yocto/fsl-community-bsp/sources/poky/meta/recipes-devtools/autoconf/autoconf_2.69.bb, 
do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 4 tasks of which 0 didn't need to be 
rerun and 4 failed.
Waiting for 0 running tasks to finish:


Summary: 4 tasks failed:
 
virtual:native:/home/dave/yocto/fsl-community-bsp/sources/poky/meta/recipes-devtools/gnu-config/gnu-config_20120814.bb, 
do_fetch
 
/home/dave/yocto/fsl-community-bsp/sources/poky/meta/recipes-devtools/quilt/quilt-native_0.60.bb, 
do_fetch
 
/home/dave/yocto/fsl-community-bsp/sources/poky/meta/recipes-devtools/m4/m4-native_1.4.16.bb, 
do_fetch
 
virtual:native:/home/dave/yocto/fsl-community-bsp/sources/poky/meta/recipes-devtools/autoconf/autoconf_2.69.bb, 
do_fetch
Summary: There were 5 WARNING messages shown.
Summary: There were 8 ERROR messages shown, returning a non-zero exit code.



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

* Re: Yocto dora build script bug?
  2013-11-26 10:31 Yocto dora build script bug? Dave Evans
@ 2013-11-26 12:14 ` Marco
  2013-11-26 12:21   ` Mario Domenech Goulart
                     ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Marco @ 2013-11-26 12:14 UTC (permalink / raw)
  To: meta-freescale

Il 26/11/2013 11:31, Dave Evans ha scritto:
> Hi all,
>
> Prior to building dora I built dylan without issue.
>
> I've been attempting to build dora but I seem to of found a script problem:
> The result of this exception is that the following folder path has been
> created "${BSPDIR}/download/${BSPDIR}/download${BSPDIR}/download"
>
> I asked on the yocto irc channel and they refered me here.
>
> output below:
>
> dave@debian:~/yocto/fsl-community-bsp/build$ bitbake core-image-minimal
> WARNING: Host distribution "Debian-7.2" has not been validated with this
> version of the build system; you may possibly experience unexpected
> failures. It is recommended that you use a tested distribution.
> Parsing recipes: 100%
> |##################################################################|
> Time: 00:01:38
> Parsing of 1340 .bb files complete (0 cached, 1340 parsed). 1732
> targets, 95 skipped, 0 masked, 0 errors.
> NOTE: Resolving any missing task queue dependencies
>
>
> Build Configuration:
> BB_VERSION        = "1.20.0"
> BUILD_SYS         = "i686-linux"
> NATIVELSBSTRING   = "Debian-7.2"
> TARGET_SYS        = "arm-poky-linux-gnueabi"
> MACHINE           = "imx28evk"
> DISTRO            = "poky"
> DISTRO_VERSION    = "1.5"
> TUNE_FEATURES     = "armv5 thumb dsp"
> TARGET_FPU        = "soft"
> meta-fsl-arm      = "ewgeco:5b3b6618426ad06e4fb6a3a77c4a53dfb47f0556"
> meta-fsl-arm-extra = "ewgeco:11ac45d22963a3f047a85c96009c36cb6e156d0a"
> meta-fsl-demos    = "ewgeco:cd6275042cdd2d87490521f6cbeb65972ed37a66"
> meta-oe           = "ewgeco:513e7ca20ddd0a5c3b649bf292a67c3e0473d3a8"
> meta
> meta-yocto
> meta-yocto-bsp    = "ewgeco:75bed4086eb83f1d24c31392f3dd54aa5c3679b1"
>
>


Dave,

AFAIK using dora you should have
meta-yocto-bsp    = "dora:75bed4086eb83f1d24c31392f3dd54aa5c3679b1"
meta-oe           = "dora:513e7ca20ddd0a5c3b649bf292a67c3e0473d3a8"
meta-fsl-arm      = "dora:5b3b6618426ad06e4fb6a3a77c4a53dfb47f0556"


Moreover replacing Debian-7.2 with Ubuntu 12.04-LTS may help.


Cheers
--
Marco Cavallini | KOAN sas | Bergamo - Italia
  embedded and real-time software engineering
Phone:+39-035-255.235 - Fax:+39-178-22.39.748
       http://www.KoanSoftware.com
         http://www.KaeilOS.com


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

* Re: Yocto dora build script bug?
  2013-11-26 12:14 ` Marco
@ 2013-11-26 12:21   ` Mario Domenech Goulart
  2013-11-26 12:57   ` Dave Evans
  2013-11-26 13:41   ` Dave Evans
  2 siblings, 0 replies; 7+ messages in thread
From: Mario Domenech Goulart @ 2013-11-26 12:21 UTC (permalink / raw)
  To: Marco; +Cc: meta-freescale

Hi,

On Tue, 26 Nov 2013 13:14:46 +0100 Marco <koansoftware@gmail.com> wrote:

> Moreover replacing Debian-7.2 with Ubuntu 12.04-LTS may help.

For what it's worth, I've been using Yocto on Debian (6.0.7 and 7.1)
without issues.

Best wishes.
Mario
-- 
http://www.ossystems.com.br


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

* Re: Yocto dora build script bug?
  2013-11-26 12:14 ` Marco
  2013-11-26 12:21   ` Mario Domenech Goulart
@ 2013-11-26 12:57   ` Dave Evans
  2013-11-26 13:41   ` Dave Evans
  2 siblings, 0 replies; 7+ messages in thread
From: Dave Evans @ 2013-11-26 12:57 UTC (permalink / raw)
  To: meta-freescale

On 26/11/2013 12:14, Marco wrote:
> Il 26/11/2013 11:31, Dave Evans ha scritto:
>> Hi all,
>>
>> Prior to building dora I built dylan without issue.
>>
>> I've been attempting to build dora but I seem to of found a script
>> problem:
>> The result of this exception is that the following folder path has been
>> created "${BSPDIR}/download/${BSPDIR}/download${BSPDIR}/download"
>>
>> I asked on the yocto irc channel and they refered me here.
>>
>> output below:
>>
>> dave@debian:~/yocto/fsl-community-bsp/build$ bitbake core-image-minimal
>> WARNING: Host distribution "Debian-7.2" has not been validated with this
>> version of the build system; you may possibly experience unexpected
>> failures. It is recommended that you use a tested distribution.
>> Parsing recipes: 100%
>> |##################################################################|
>> Time: 00:01:38
>> Parsing of 1340 .bb files complete (0 cached, 1340 parsed). 1732
>> targets, 95 skipped, 0 masked, 0 errors.
>> NOTE: Resolving any missing task queue dependencies
>>
>>
>> Build Configuration:
>> BB_VERSION        = "1.20.0"
>> BUILD_SYS         = "i686-linux"
>> NATIVELSBSTRING   = "Debian-7.2"
>> TARGET_SYS        = "arm-poky-linux-gnueabi"
>> MACHINE           = "imx28evk"
>> DISTRO            = "poky"
>> DISTRO_VERSION    = "1.5"
>> TUNE_FEATURES     = "armv5 thumb dsp"
>> TARGET_FPU        = "soft"
>> meta-fsl-arm      = "ewgeco:5b3b6618426ad06e4fb6a3a77c4a53dfb47f0556"
>> meta-fsl-arm-extra = "ewgeco:11ac45d22963a3f047a85c96009c36cb6e156d0a"
>> meta-fsl-demos    = "ewgeco:cd6275042cdd2d87490521f6cbeb65972ed37a66"
>> meta-oe           = "ewgeco:513e7ca20ddd0a5c3b649bf292a67c3e0473d3a8"
>> meta
>> meta-yocto
>> meta-yocto-bsp    = "ewgeco:75bed4086eb83f1d24c31392f3dd54aa5c3679b1"
>>
>>
>
>
> Dave,
>
> AFAIK using dora you should have
> meta-yocto-bsp    = "dora:75bed4086eb83f1d24c31392f3dd54aa5c3679b1"
> meta-oe           = "dora:513e7ca20ddd0a5c3b649bf292a67c3e0473d3a8"
> meta-fsl-arm      = "dora:5b3b6618426ad06e4fb6a3a77c4a53dfb47f0556"
>
>
> Moreover replacing Debian-7.2 with Ubuntu 12.04-LTS may help.
>
>
> Cheers
> --
> Marco Cavallini | KOAN sas | Bergamo - Italia


I was following the guide at 
https://community.freescale.com/docs/DOC-94914 which suggested making a 
local branch?

I've started again, and will skip that step and see what happens.

BR
Dave




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

* Re: Yocto dora build script bug?
  2013-11-26 12:14 ` Marco
  2013-11-26 12:21   ` Mario Domenech Goulart
  2013-11-26 12:57   ` Dave Evans
@ 2013-11-26 13:41   ` Dave Evans
  2013-11-26 17:06     ` Otavio Salvador
  2 siblings, 1 reply; 7+ messages in thread
From: Dave Evans @ 2013-11-26 13:41 UTC (permalink / raw)
  To: meta-freescale

On 26/11/2013 12:14, Marco wrote:
> Il 26/11/2013 11:31, Dave Evans ha scritto:
>> Hi all,
>>
>> Prior to building dora I built dylan without issue.
>>
>> I've been attempting to build dora but I seem to of found a script
>> problem:
>> The result of this exception is that the following folder path has been
>> created "${BSPDIR}/download/${BSPDIR}/download${BSPDIR}/download"
>>
>> I asked on the yocto irc channel and they refered me here.
>>
>> output below:
>>
>> dave@debian:~/yocto/fsl-community-bsp/build$ bitbake core-image-minimal
>> WARNING: Host distribution "Debian-7.2" has not been validated with this
>> version of the build system; you may possibly experience unexpected
>> failures. It is recommended that you use a tested distribution.
>> Parsing recipes: 100%
>> |##################################################################|
>> Time: 00:01:38
>> Parsing of 1340 .bb files complete (0 cached, 1340 parsed). 1732
>> targets, 95 skipped, 0 masked, 0 errors.
>> NOTE: Resolving any missing task queue dependencies
>>
>>
>> Build Configuration:
>> BB_VERSION        = "1.20.0"
>> BUILD_SYS         = "i686-linux"
>> NATIVELSBSTRING   = "Debian-7.2"
>> TARGET_SYS        = "arm-poky-linux-gnueabi"
>> MACHINE           = "imx28evk"
>> DISTRO            = "poky"
>> DISTRO_VERSION    = "1.5"
>> TUNE_FEATURES     = "armv5 thumb dsp"
>> TARGET_FPU        = "soft"
>> meta-fsl-arm      = "ewgeco:5b3b6618426ad06e4fb6a3a77c4a53dfb47f0556"
>> meta-fsl-arm-extra = "ewgeco:11ac45d22963a3f047a85c96009c36cb6e156d0a"
>> meta-fsl-demos    = "ewgeco:cd6275042cdd2d87490521f6cbeb65972ed37a66"
>> meta-oe           = "ewgeco:513e7ca20ddd0a5c3b649bf292a67c3e0473d3a8"
>> meta
>> meta-yocto
>> meta-yocto-bsp    = "ewgeco:75bed4086eb83f1d24c31392f3dd54aa5c3679b1"
>>
>>
>
>
> Dave,
>
> AFAIK using dora you should have
> meta-yocto-bsp    = "dora:75bed4086eb83f1d24c31392f3dd54aa5c3679b1"
> meta-oe           = "dora:513e7ca20ddd0a5c3b649bf292a67c3e0473d3a8"
> meta-fsl-arm      = "dora:5b3b6618426ad06e4fb6a3a77c4a53dfb47f0556"
>
>
> Moreover replacing Debian-7.2 with Ubuntu 12.04-LTS may help.
>
>
> Cheers
> --
> Marco Cavallini | KOAN sas | Bergamo - Italia

Hi all,

I've now re-created yocto twice from the ground up using no local branch 
name and one named dora but the scripts still error in the same way,
I'm going back to dylan as that worked for me last week without issue.

I can only assume that the guys on yocto irc are right and fsl release 
of dora is broken.

Regards,
Dave



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

* Re: Yocto dora build script bug?
  2013-11-26 13:41   ` Dave Evans
@ 2013-11-26 17:06     ` Otavio Salvador
  2013-11-27 11:33       ` Dave Evans
  0 siblings, 1 reply; 7+ messages in thread
From: Otavio Salvador @ 2013-11-26 17:06 UTC (permalink / raw)
  To: Dave Evans; +Cc: meta-freescale@yoctoproject.org

On Tue, Nov 26, 2013 at 11:41 AM, Dave Evans <dave@peacocktech.co.uk> wrote:
> I've now re-created yocto twice from the ground up using no local branch
> name and one named dora but the scripts still error in the same way,
> I'm going back to dylan as that worked for me last week without issue.
>
> I can only assume that the guys on yocto irc are right and fsl release of
> dora is broken.

Please paste the output of your conf/local.conf file.

Please also run:

set -x; source ./setup-environment test; set +x

and please send the log too.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


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

* Re: Yocto dora build script bug?
  2013-11-26 17:06     ` Otavio Salvador
@ 2013-11-27 11:33       ` Dave Evans
  0 siblings, 0 replies; 7+ messages in thread
From: Dave Evans @ 2013-11-27 11:33 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale@yoctoproject.org



On 26/11/2013 17:06, Otavio Salvador wrote:
> On Tue, Nov 26, 2013 at 11:41 AM, Dave Evans <dave@peacocktech.co.uk> wrote:
>> I've now re-created yocto twice from the ground up using no local branch
>> name and one named dora but the scripts still error in the same way,
>> I'm going back to dylan as that worked for me last week without issue.
>>
>> I can only assume that the guys on yocto irc are right and fsl release of
>> dora is broken.
>
> Please paste the output of your conf/local.conf file.
>
> Please also run:
>
> set -x; source ./setup-environment test; set +x
>
> and please send the log too.
>


I notice that MACHINE in the local.conf doesn't match that in the log as 
I didn't set it in the environment before hand, I've had this problem 
with MACHINE everytime I have to set it as it doesn't seem to pick it up 
from local.conf.

Anyway, my local.conf file looks like this:


MACHINE ??= 'imx28evk'
DISTRO ?= 'poky'
PACKAGE_CLASSES ?= "package_rpm"
EXTRA_IMAGE_FEATURES = "debug-tweaks"
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS = "\
     STOPTASKS,${TMPDIR},1G,100K \
     STOPTASKS,${DL_DIR},1G,100K \
     STOPTASKS,${SSTATE_DIR},1G,100K \
     ABORT,${TMPDIR},100M,1K \
     ABORT,${DL_DIR},100M,1K \
     ABORT,${SSTATE_DIR},100M,1K"
CONF_VERSION = "1"

BB_NUMBER_THREADS = '6'
PARALLEL_MAKE = '-j 6'

DL_DIR ?= "${BSPDIR}/downloads/"
ACCEPT_FSL_EULA = "1"

----------------

dave@debian:~/yocto/dora/fsl-community-bsp$ set -x; source 
./setup-environment test; set -x
+ set -x
+ source ./setup-environment test
+++ grep -c processor /proc/cpuinfo
++ NCPU=3
+++ pwd
++ CWD=/home/dave/yocto/dora/fsl-community-bsp
++ PROGNAME=setup-environment
++ SHORTOPTS=h
++ LONGOPTS=help
+++ getopt --options h --longoptions help --name setup-environment -- test
++ ARGS=' -- '\''test'\'''
++ '[' 0 '!=' 0 -o 1 -lt 1 ']'
++ eval set -- ' -- '\''test'\'''
+++ set -- -- test
++ true
++ case $1 in
++ shift
++ break
+++ whoami
++ '[' dave = root ']'
++ '[' -z '' ']'
++ MACHINE=imx6qsabresd
+++ ls --color=auto -1 
/home/dave/yocto/dora/fsl-community-bsp/sources/meta-fsl-arm/conf/machine /home/dave/yocto/dora/fsl-community-bsp/sources/meta-fsl-arm-extra/conf/machine
++ 
LIST_MACHINES='/home/dave/yocto/dora/fsl-community-bsp/sources/meta-fsl-arm/conf/machine:
imx23evk.conf
imx28evk.conf
imx31pdk.conf
imx35pdk.conf
imx51evk.conf
imx53ard.conf
imx53qsb.conf
imx6dlsabreauto.conf
imx6dlsabresd.conf
imx6qsabreauto.conf
imx6qsabresd.conf
imx6slevk.conf
imx6solosabreauto.conf
imx6solosabresd.conf
include
twr-vf65gs10.conf

/home/dave/yocto/dora/fsl-community-bsp/sources/meta-fsl-arm-extra/conf/machine:
cfa10036.conf
cfa10037.conf
cfa10049.conf
cfa10055.conf
cfa10056.conf
cfa10057.conf
cfa10058.conf
cgtqmx6.conf
imx233-olinuxino-maxi.conf
imx233-olinuxino-micro.conf
imx233-olinuxino-mini.conf
imx6qsabrelite.conf
include
m28evk.conf
m53evk.conf
nitrogen6x.conf
nitrogen6x-lite.conf
wandboard-dual.conf
wandboard-quad.conf
wandboard-solo.conf'
+++ echo -e 
'/home/dave/yocto/dora/fsl-community-bsp/sources/meta-fsl-arm/conf/machine:
imx23evk.conf
imx28evk.conf
imx31pdk.conf
imx35pdk.conf
imx51evk.conf
imx53ard.conf
imx53qsb.conf
imx6dlsabreauto.conf
imx6dlsabresd.conf
imx6qsabreauto.conf
imx6qsabresd.conf
imx6slevk.conf
imx6solosabreauto.conf
imx6solosabresd.conf
include
twr-vf65gs10.conf

/home/dave/yocto/dora/fsl-community-bsp/sources/meta-fsl-arm-extra/conf/machine:
cfa10036.conf
cfa10037.conf
cfa10049.conf
cfa10055.conf
cfa10056.conf
cfa10057.conf
cfa10058.conf
cgtqmx6.conf
imx233-olinuxino-maxi.conf
imx233-olinuxino-micro.conf
imx233-olinuxino-mini.conf
imx6qsabrelite.conf
include
m28evk.conf
m53evk.conf
nitrogen6x.conf
nitrogen6x-lite.conf
wandboard-dual.conf
wandboard-quad.conf
+++ grep 'imx6qsabresd.conf$'
+++ wc -l
wandboard-solo.conf'
++ VALID_MACHINE=1
++ '[' ximx6qsabresd = x ']'
++ '[' 1 = 0 ']'
++ echo 'Configuring for imx6qsabresd'
Configuring for imx6qsabresd
++ '[' -z i686 ']'
++ '[' -z poky ']'
++ OEROOT=sources/poky
++ '[' -e sources/oe-core ']'
++ updated=
++ for f in '$CWD/sources/base/*'
+++ basename /home/dave/yocto/dora/fsl-community-bsp/sources/base/conf
++ file=conf
++ '[' conf = conf ']'
++ continue
++ for f in '$CWD/sources/base/*'
+++ basename /home/dave/yocto/dora/fsl-community-bsp/sources/base/README
++ file=README
++ '[' README = conf ']'
++ echo README
++ grep -q '~$'
++ cmp -s README /home/dave/yocto/dora/fsl-community-bsp/sources/base/README
++ for f in '$CWD/sources/base/*'
+++ basename 
/home/dave/yocto/dora/fsl-community-bsp/sources/base/setup-environment
++ file=setup-environment
++ '[' setup-environment = conf ']'
++ echo setup-environment
++ grep -q '~$'
++ cmp -s setup-environment 
/home/dave/yocto/dora/fsl-community-bsp/sources/base/setup-environment
++ '[' '' = true ']'
++ cd sources/poky
++ . ./oe-init-build-env /home/dave/yocto/dora/fsl-community-bsp/test
+++ '[' -z '' ']'
+++ '[' xbash = x./oe-init-build-env ']'
+++ '[' -n ./oe-init-build-env ']'
++++ dirname ./oe-init-build-env
+++ OEROOT=.
+++ '[' -n '' ']'
++++ readlink -f .
+++ OEROOT=/home/dave/yocto/dora/fsl-community-bsp/sources/poky
+++ export OEROOT
+++ . 
/home/dave/yocto/dora/fsl-community-bsp/sources/poky/scripts/oe-buildenv-internal
++++ '[' -z /home/dave/yocto/dora/fsl-community-bsp/sources/poky ']'
++++ '[' '!' -z '' ']'
+++++ /usr/bin/env python --version
+++++ grep 'Python 3'
++++ py_v3_check=
++++ '[' '' '!=' '' ']'
+++++ python -c 'import sys; print sys.version_info >= (2,7,3)'
++++ py_v26_check=True
++++ '[' True '!=' True ']'
++++ '[' x = x ']'
++++ '[' x/home/dave/yocto/dora/fsl-community-bsp/test = x ']'
++++ BDIR=/home/dave/yocto/dora/fsl-community-bsp/test
++++ '[' /home/dave/yocto/dora/fsl-community-bsp/test = / ']'
+++++ echo /home/dave/yocto/dora/fsl-community-bsp/test
+++++ sed -re 's|/+$||'
++++ BDIR=/home/dave/yocto/dora/fsl-community-bsp/test
+++++ readlink -f /home/dave/yocto/dora/fsl-community-bsp/test
++++ BDIR=/home/dave/yocto/dora/fsl-community-bsp/test
++++ '[' -z /home/dave/yocto/dora/fsl-community-bsp/test ']'
++++ '[' x '!=' x ']'
++++ expr /home/dave/yocto/dora/fsl-community-bsp/test : '/.*'
++++ BUILDDIR=/home/dave/yocto/dora/fsl-community-bsp/test
++++ unset BDIR
++++ '[' x = x ']'
++++ 
BITBAKEDIR=/home/dave/yocto/dora/fsl-community-bsp/sources/poky/bitbake/
+++++ readlink -f 
/home/dave/yocto/dora/fsl-community-bsp/sources/poky/bitbake/
++++ BITBAKEDIR=/home/dave/yocto/dora/fsl-community-bsp/sources/poky/bitbake
+++++ readlink -f /home/dave/yocto/dora/fsl-community-bsp/test
++++ BUILDDIR=/home/dave/yocto/dora/fsl-community-bsp/test
++++ test -d /home/dave/yocto/dora/fsl-community-bsp/sources/poky/bitbake
++++ 
NEWPATHS=/home/dave/yocto/dora/fsl-community-bsp/sources/poky/scripts:/home/dave/yocto/dora/fsl-community-bsp/sources/poky/bitbake/bin:
+++++ echo 
/home/dave/yocto/dora/fsl-community-bsp/sources/poky/scripts:/home/dave/yocto/dora/fsl-community-bsp/sources/poky/bitbake/bin:/home/dave/yocto/fsl-community-bsp/sources/poky/scripts:/home/dave/yocto/fsl-community-bsp/sources/poky/bitbake/bin:/home/dave/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
+++++ sed -e 
's|:/home/dave/yocto/dora/fsl-community-bsp/sources/poky/scripts:/home/dave/yocto/dora/fsl-community-bsp/sources/poky/bitbake/bin:|:|g' 
-e 
's|^/home/dave/yocto/dora/fsl-community-bsp/sources/poky/scripts:/home/dave/yocto/dora/fsl-community-bsp/sources/poky/bitbake/bin:||'
++++ 
PATH=/home/dave/yocto/dora/fsl-community-bsp/sources/poky/scripts:/home/dave/yocto/dora/fsl-community-bsp/sources/poky/bitbake/bin:/home/dave/yocto/fsl-community-bsp/sources/poky/scripts:/home/dave/yocto/fsl-community-bsp/sources/poky/bitbake/bin:/home/dave/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
++++ unset BITBAKEDIR NEWPATHS
++++ export BUILDDIR
++++ export PATH
++++ export 'BB_ENV_EXTRAWHITE=MACHINE DISTRO TCMODE TCLIBC HTTP_PROXY 
http_proxy HTTPS_PROXY https_proxy FTP_PROXY ftp_proxy FTPS_PROXY 
ftps_proxy ALL_PROXY all_proxy NO_PROXY no_proxy SSH_AGENT_PID 
SSH_AUTH_SOCK BB_SRCREV_POLICY SDKMACHINE BB_NUMBER_THREADS 
BB_NO_NETWORK PARALLEL_MAKE GIT_PROXY_COMMAND SOCKS5_PASSWD SOCKS5_USER 
SCREENDIR STAMPS_DIR'
++++ BB_ENV_EXTRAWHITE='MACHINE DISTRO TCMODE TCLIBC HTTP_PROXY 
http_proxy HTTPS_PROXY https_proxy FTP_PROXY ftp_proxy FTPS_PROXY 
ftps_proxy ALL_PROXY all_proxy NO_PROXY no_proxy SSH_AGENT_PID 
SSH_AUTH_SOCK BB_SRCREV_POLICY SDKMACHINE BB_NUMBER_THREADS 
BB_NO_NETWORK PARALLEL_MAKE GIT_PROXY_COMMAND SOCKS5_PASSWD SOCKS5_USER 
SCREENDIR STAMPS_DIR'
+++ 
/home/dave/yocto/dora/fsl-community-bsp/sources/poky/scripts/oe-setup-builddir
+++ '[' -n /home/dave/yocto/dora/fsl-community-bsp/test ']'
+++ cd /home/dave/yocto/dora/fsl-community-bsp/test
+++ unset OEROOT
+++ unset BBPATH
+++ echo 
/home/dave/yocto/dora/fsl-community-bsp/sources/poky/scripts:/home/dave/yocto/dora/fsl-community-bsp/sources/poky/bitbake/bin:/home/dave/yocto/fsl-community-bsp/sources/poky/scripts:/home/dave/yocto/fsl-community-bsp/sources/poky/bitbake/bin:/home/dave/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
+++ sed 's/\(:.\|:\)*:/:/g;s/^.\?://;s/:.\?$//'
++ export 
PATH=/home/dave/yocto/dora/fsl-community-bsp/sources/poky/scripts:/home/dave/yocto/dora/fsl-community-bsp/sources/poky/bitbake/bin:/home/dave/yocto/fsl-community-bsp/sources/poky/scripts:/home/dave/yocto/fsl-community-bsp/sources/poky/bitbake/bin:/home/dave/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
++ 
PATH=/home/dave/yocto/dora/fsl-community-bsp/sources/poky/scripts:/home/dave/yocto/dora/fsl-community-bsp/sources/poky/bitbake/bin:/home/dave/yocto/fsl-community-bsp/sources/poky/scripts:/home/dave/yocto/fsl-community-bsp/sources/poky/bitbake/bin:/home/dave/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
++ generated_config=
++ '[' '!' -e conf/local.conf.sample ']'
++ mv -i conf/local.conf conf/local.conf.sample
++ TEMPLATES=/home/dave/yocto/dora/fsl-community-bsp/sources/base/conf
++ grep -v '^#\|^$' conf/local.conf.sample
++ cat
++ sed -e 's,MACHINE ??=.*,MACHINE ??= '\''imx6qsabresd'\'',g' -e 
's,SDKMACHINE ??=.*,SDKMACHINE ??= '\''i686'\'',g' -e 's,DISTRO 
?=.*,DISTRO ?= '\''poky'\'',g' -i conf/local.conf
++ cp -u 
/home/dave/yocto/dora/fsl-community-bsp/sources/base/conf/bblayers.conf 
conf/
++ for s in '$HOME/.oe' '$HOME/.yocto'
++ '[' -e /home/dave/.oe/site.conf ']'
++ for s in '$HOME/.oe' '$HOME/.yocto'
++ '[' -e /home/dave/.yocto/site.conf ']'
++ generated_config=1
++ '[' -z '' ']'
++ grep -q '^ACCEPT_FSL_EULA\s*=' conf/local.conf
++ EULA=ask
++ '[' ask = ask ']'
++ cat

Some SoC depends on libraries and packages that are covered by
Freescale EULA. To have the right to use those binaries in your images
you need to read and accept the EULA that will be displayed.

++ sleep 4
++ less -d /home/dave/yocto/dora/fsl-community-bsp/sources/meta-fsl-arm/EULA
++ echo

++ '[' ask = ask ']'
++ echo -n 'Do you accept the EULA you just read? (y/n) '
Do you accept the EULA you just read? (y/n) ++ read REPLY
y
++ case "$REPLY" in
++ echo 'EULA has been accepted.'
EULA has been accepted.
++ EULA=1
++ '[' 1 = ask ']'
++ grep -q '^ACCEPT_FSL_EULA\s*=' conf/local.conf
++ echo 'ACCEPT_FSL_EULA = "1"'
++ cat

Welcome to Freescale Community BSP

The Yocto Project has extensive documentation about OE including a
reference manual which can be found at:
     http://yoctoproject.org/documentation

For more information about OpenEmbedded see their website:
     http://www.openembedded.org/

You can now run 'bitbake <target>'

Common targets are:
     core-image-minimal
     meta-toolchain
     meta-toolchain-sdk
     adt-installer
     meta-ide-support

++ '[' -n 1 ']'
++ cat
Your build environemnt has been configured with:

     MACHINE=imx6qsabresd
     SDKMACHINE=i686
     DISTRO=poky
     EULA=1
++ clean_up
++ unset EULA LIST_MACHINES VALID_MACHINE
++ unset NCPU CWD TEMPLATES SHORTOPTS LONGOPTS ARGS PROGNAME
+ set -x
dave@debian:~/yocto/dora/fsl-community-bsp/test$





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

end of thread, other threads:[~2013-11-27 11:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-26 10:31 Yocto dora build script bug? Dave Evans
2013-11-26 12:14 ` Marco
2013-11-26 12:21   ` Mario Domenech Goulart
2013-11-26 12:57   ` Dave Evans
2013-11-26 13:41   ` Dave Evans
2013-11-26 17:06     ` Otavio Salvador
2013-11-27 11:33       ` Dave Evans

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.