[meta-freescale] Yocto dora build script bug?
Dave Evans
dave at peacocktech.co.uk
Tue Nov 26 02:31:30 PST 2013
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 at 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.
More information about the meta-freescale
mailing list