Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id BA46FE00994; Fri, 6 Apr 2018 05:37:27 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [85.115.54.227 listed in list.dnswl.org] * -0.0 SPF_HELO_PASS SPF: HELO matches SPF record * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message X-Greylist: delayed 3483 seconds by postgrey-1.32 at yocto-www; Fri, 06 Apr 2018 05:37:23 PDT Received: from cluster-j.mailcontrol.com (mail-07-j.mailcontrol.com [85.115.54.227]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id A3878E005A9 for ; Fri, 6 Apr 2018 05:37:23 -0700 (PDT) Received: from SMTP.ASSAABLOY.NET (smtp.assaabloy.net [141.81.165.41]) by rly02j.srv.mailcontrol.com (MailControl) with ESMTPS id w36BdCRR166232 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=FAIL) for ; Fri, 6 Apr 2018 12:39:16 +0100 Received: from DEMEESEX0003.ad.global (10.230.40.17) by DEDUSSEX0010.ad.global (10.230.103.39) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_DHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1034.26; Fri, 6 Apr 2018 13:39:19 +0200 Received: from DEDUSSEX0008.ad.global (10.230.40.77) by DEMEESEX0003.ad.global (10.230.40.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_DHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1034.26; Fri, 6 Apr 2018 13:39:13 +0200 Received: from DEDUSSEX0008.ad.global ([fe80::10f0:5b60:e8b5:4765]) by DEDUSSEX0008.ad.global ([fe80::10f0:5b60:e8b5:4765%18]) with mapi id 15.01.1034.026; Fri, 6 Apr 2018 13:39:13 +0200 From: "Szczypta, Marek" To: "yocto@yoctoproject.org" Thread-Topic: bitbake failed during build of openjdk-8 using meta-linaro aarm64 Thread-Index: AdPNm0aJyHmpdcPITPqloUbXxI7waA== Date: Fri, 6 Apr 2018 11:39:13 +0000 Message-ID: <360139c301044c0d822597f04f1aa023@assaabloy.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.230.48.241] MIME-Version: 1.0 X-Scanned-By: MailControl 44278.2009 (www.mailcontrol.com) on 10.74.0.112 Subject: bitbake failed during build of openjdk-8 using meta-linaro aarm64 X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Apr 2018 12:37:27 -0000 Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_360139c301044c0d822597f04f1aa023assaabloycom_" --_000_360139c301044c0d822597f04f1aa023assaabloycom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, I'm building the openjdk-8 from (openjdk-8_0.1.bb) linaro aarm64. But actua= lly the build failed. I saw similar problem last year but there was no solu= tion to that . Is this build working at all ? WARNING: mpfr-native-3.1.5-r0 do_fetch: Failed to fetch URL http://www.mpfr= .org/mpfr-3.1.5/mpfr-3.1.5.tar.xz, attempting MIRRORS if available WARNING: libmpc-native-1.0.3-r0 do_fetch: Failed to fetch URL http://www.mu= ltiprecision.org/mpc/download/mpc-1.0.3.tar.gz, attempting MIRRORS if avail= able WARNING: libpng-native-1.6.28-r0 do_fetch: Failed to fetch URL http://distf= iles.gentoo.org/distfiles/libpng-1.6.28.tar.xz, attempting MIRRORS if avail= able ERROR: openjdk-8-jre-0.1-r16.0 do_fetch: Error executing a python function = in exec_python_func() autogenerated: The stack trace of python calls that resulted in this exception/failure was= : File: 'exec_python_func() autogenerated', lineno: 2, function: 0001: *** 0002:base_do_fetch(d) 0003: File: '/home/marszc/.../.../build-rpb/conf/../../layers/openembedded-core/m= eta/classes/base.bbclass', lineno: 153, function: base_do_fetch 0149: if len(src_uri) =3D=3D 0: 0150: return 0151: 0152: try: *** 0153: fetcher =3D bb.fetch2.Fetch(src_uri, d) 0154: fetcher.download() 0155: except bb.fetch2.BBFetchException as e: 0156: bb.fatal(str(e)) 0157:} File: '/home/marszc/.../bitbake/lib/bb/fetch2/__init__.py', lineno: 1565, f= unction: __init__ 1561: 1562: for url in urls: 1563: if url not in self.ud: 1564: try: *** 1565: self.ud[url] =3D FetchData(url, d, localonly) 1566: except NonLocalMethod: 1567: if localonly: 1568: self.ud[url] =3D None 1569: pass File: '/home/marszc/.../bitbake/lib/bb/fetch2/__init__.py', lineno: 1244, f= unction: __init__ 1240: logger.warning('Consider updating %s recipe to use "p= rotocol" not "proto" in SRC_URI.', d.getVar('PN')) 1241: self.parm["protocol"] =3D self.parm.get("proto", None= ) 1242: 1243: if hasattr(self.method, "urldata_init"): *** 1244: self.method.urldata_init(self, d) 1245: 1246: if "localpath" in self.parm: 1247: # if user sets localpath for file, use it instead. 1248: self.localpath =3D self.parm["localpath"] File: '/home/marszc/.../bitbake/lib/bb/fetch2/hg.py', lineno: 69, function:= urldata_init 0065: ud.proto =3D 'file' 0066: else: 0067: ud.proto =3D "hg" 0068: *** 0069: ud.setup_revisions(d) 0070: 0071: if 'rev' in ud.parm: 0072: ud.revision =3D ud.parm['rev'] 0073: elif not ud.revision: File: '/home/marszc/.../bitbake/lib/bb/fetch2/__init__.py', lineno: 1274, f= unction: setup_revisions 1270: 1271: def setup_revisions(self, d): 1272: self.revisions =3D {} 1273: for name in self.names: *** 1274: self.revisions[name] =3D srcrev_internal_helper(self,= d, name) 1275: 1276: # add compatibility code for non name specified case 1277: if len(self.names) =3D=3D 1: 1278: self.revision =3D self.revisions[self.names[0]] File: '/home/marszc/.../bitbake/lib/bb/fetch2/__init__.py', lineno: 1139, f= unction: srcrev_internal_helper 1135: 1136: if srcrev =3D=3D "INVALID" or not srcrev: 1137: raise FetchError("Please set a valid SRCREV for url %s (p= ossible key names are %s, or use a ;rev=3DX URL parameter)" % (str(attempts= ), ud.url), ud.url) 1138: if srcrev =3D=3D "AUTOINC": *** 1139: srcrev =3D ud.method.latest_revision(ud, d, name) 1140: 1141: return srcrev 1142: 1143:def get_checksum_file_list(d): File: '/home/marszc/.../bitbake/lib/bb/fetch2/__init__.py', lineno: 1530, f= unction: latest_revision 1526: if not hasattr(self, "_latest_revision"): 1527: raise ParameterError("The fetcher for this URL does n= ot support _latest_revision", url) 1528: 1529: revs =3D bb.persist_data.persist('BB_URI_HEADREVS', d) *** 1530: key =3D self.generate_revision_key(ud, d, name) 1531: try: 1532: return revs[key] 1533: except KeyError: 1534: revs[key] =3D rev =3D self._latest_revision(ud, d, na= me) File: '/home/marszc/.../bitbake/lib/bb/fetch2/__init__.py', lineno: 1542, f= unction: generate_revision_key 1538: latest_rev =3D self._build_revision(ud, d, name) 1539: return True, str(latest_rev) 1540: 1541: def generate_revision_key(self, ud, d, name): *** 1542: key =3D self._revision_key(ud, d, name) 1543: return "%s-%s" % (key, d.getVar("PN") or "") 1544: 1545:class Fetch(object): 1546: def __init__(self, urls, d, cache =3D True, localonly =3D Fal= se, connection_cache =3D None): File: '/home/marszc/.../bitbake/lib/bb/fetch2/hg.py', lineno: 234, function= : _revision_key 0230: def _revision_key(self, ud, d, name): 0231: """ 0232: Return a unique key for the url 0233: """ *** 0234: return "hg:" + ud.moddir 0235: 0236: def build_mirror_data(self, ud, d): 0237: # Generate a mirror tarball if needed 0238: if ud.write_tarballs =3D=3D "1" and not os.path.exists(ud= .fullmirror): Exception: AttributeError: 'FetchData' object has no attribute 'moddir' ERROR: openjdk-8-jre-0.1-r16.0 do_fetch: Function failed: base_do_fetch ERROR: Logfile of failure stored in: /home/marszc/.../.../build-rpb/tmp-gli= bc/work/aarch64-linaro-linux/openjdk-8-jre/0.1-r16.0/temp/log.do_fetch.1061 ERROR: Task (/home/marszc/.../.../build-rpb/conf/../../layers/meta-linaro/m= eta-aarch64/recipes-core/openjdk/openjdk-8_0.1.bb:do_fetch) failed with exi= t code '1' --_000_360139c301044c0d822597f04f1aa023assaabloycom_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

I’m building the openjdk-8 from (openjdk-8_0.1.bb) linaro aar=
m64. But actually the build failed. I saw similar problem last year but the=
re was no solution to that . Is this build working at all ?<=
/pre>
 
 
 
 
 
WARNING: mpfr-native-3.1.5-r0 do_fetch: Failed to fetch URL http://www=
.mpfr.org/mpfr-3.1.5/mpfr-3.1.5.tar.xz, attempting MIRRORS if available
WARNING: libmpc-native-1.0.3-r0 do_fetch: Failed to fetch URL http://w=
ww.multiprecision.org/mpc/download/mpc-1.0.3.tar.gz, attempting MIRRORS if =
available
WARNING: libpng-native-1.6.28-r0 do_fetch: Failed to fetch URL http://=
distfiles.gentoo.org/distfiles/libpng-1.6.28.tar.xz, attempting MIRRORS if =
available
ERROR: openjdk-8-jre-0.1-r16.0 do_fetch: Error executing a python func=
tion in exec_python_func() autogenerated:
 
The stack trace of python calls that resulted in this exception/failur=
e was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <mod=
ule>
     0001:
 *** 0002:base_do_fetch(d)
     0003:
File: '/home/marszc/…/…/build-rpb/conf/../../layers/openem=
bedded-core/meta/classes/base.bbclass', lineno: 153, function: base_do_fetc=
h
     0149:    if len(src_uri) =3D=
=3D 0:
     0150:      &nbs=
p; return
     0151:
     0152:    try:
 *** 0153:        fetcher =3D bb.fe=
tch2.Fetch(src_uri, d)
     0154:      &nbs=
p; fetcher.download()
     0155:    except bb.fetch2.BBFe=
tchException as e:
     0156:      &nbs=
p; bb.fatal(str(e))
     0157:}
File: '/home/marszc/…/bitbake/lib/bb/fetch2/__init__.py', lineno=
: 1565, function: __init__
     1561:
     1562:      &nbs=
p; for url in urls:
     1563:      &nbs=
p;     if url not in self.ud:
     1564:      &nbs=
p;         try:
 *** 1565:          =
          self.ud[url] =3D Fet=
chData(url, d, localonly)
     1566:      &nbs=
p;         except NonLocalMethod:
     1567:      &nbs=
p;             =
if localonly:
     1568:      &nbs=
p;            &=
nbsp;    self.ud[url] =3D None
     1569:      &nbs=
p;            &=
nbsp;    pass
File: '/home/marszc/…/bitbake/lib/bb/fetch2/__init__.py', lineno=
: 1244, function: __init__
     1240:      &nbs=
p;     logger.warning('Consider updating %s recipe to u=
se "protocol" not "proto" in SRC_URI.', d.getVar('PN'))=
     1241:      &nbs=
p;     self.parm["protocol"] =3D self.parm.ge=
t("proto", None)
     1242:
     1243:      &nbs=
p; if hasattr(self.method, "urldata_init"):
 *** 1244:          =
  self.method.urldata_init(self, d)
     1245:
     1246:      &nbs=
p; if "localpath" in self.parm:
     1247:      &nbs=
p;     # if user sets localpath for file, use it instea=
d.
     1248:      &nbs=
p;     self.localpath =3D self.parm["localpath&quo=
t;]
File: '/home/marszc/…/bitbake/lib/bb/fetch2/hg.py', lineno: 69, =
function: urldata_init
     0065:      &nbs=
p;     ud.proto =3D 'file'
     0066:      &nbs=
p; else:
     0067:      &nbs=
p;     ud.proto =3D "hg"
     0068:
 *** 0069:        ud.setup_revision=
s(d)
     0070:
     0071:      &nbs=
p; if 'rev' in ud.parm:
     0072:      &nbs=
p;     ud.revision =3D ud.parm['rev']
     0073:      &nbs=
p; elif not ud.revision:
File: '/home/marszc/…/bitbake/lib/bb/fetch2/__init__.py', lineno=
: 1274, function: setup_revisions
     1270:
     1271:    def setup_revisions(s=
elf, d):
     1272:      &nbs=
p; self.revisions =3D {}
     1273:      &nbs=
p; for name in self.names:
 *** 1274:           =
; self.revisions[name] =3D srcrev_internal_helper(self, d, name)<=
/o:p>
     1275:
     1276:      &nbs=
p; # add compatibility code for non name specified case
     1277:      &nbs=
p; if len(self.names) =3D=3D 1:
     1278:      &nbs=
p;     self.revision =3D self.revisions[self.names[0]]<=
o:p>
File: '/home/marszc/…/bitbake/lib/bb/fetch2/__init__.py', lineno=
: 1139, function: srcrev_internal_helper
     1135:
     1136:    if srcrev =3D=3D &quo=
t;INVALID" or not srcrev:
     1137:      &nbs=
p; raise FetchError("Please set a valid SRCREV for url %s (possible ke=
y names are %s, or use a ;rev=3DX URL parameter)" % (str(attempts), ud=
.url), ud.url)
     1138:    if srcrev =3D=3D &quo=
t;AUTOINC":
 *** 1139:        srcrev =3D ud.met=
hod.latest_revision(ud, d, name)
     1140:
     1141:    return srcrev
     1142:
     1143:def get_checksum_file_list(d):
File: '/home/marszc/…/bitbake/lib/bb/fetch2/__init__.py', lineno=
: 1530, function: latest_revision
     1526:      &nbs=
p; if not hasattr(self, "_latest_revision"):
     1527:      &nbs=
p;     raise ParameterError("The fetcher for this =
URL does not support _latest_revision", url)
     1528:
     1529:      &nbs=
p; revs =3D bb.persist_data.persist('BB_URI_HEADREVS', d)
 *** 1530:        key =3D self.gene=
rate_revision_key(ud, d, name)
     1531:      &nbs=
p; try:
     1532:      &nbs=
p;     return revs[key]
     1533:      &nbs=
p; except KeyError:
     1534:      &nbs=
p;     revs[key] =3D rev =3D self._latest_revision(ud, =
d, name)
File: '/home/marszc/…/bitbake/lib/bb/fetch2/__init__.py', lineno=
: 1542, function: generate_revision_key
     1538:      &nbs=
p; latest_rev =3D self._build_revision(ud, d, name)
     1539:      &nbs=
p; return True, str(latest_rev)
     1540:
     1541:    def generate_revision=
_key(self, ud, d, name):
 *** 1542:        key =3D self._rev=
ision_key(ud, d, name)
     1543:      &nbs=
p; return "%s-%s" % (key, d.getVar("PN") or ""=
;)
     1544:
     1545:class Fetch(object):
     1546:    def __init__(self, ur=
ls, d, cache =3D True, localonly =3D False, connection_cache =3D None):
File: '/home/marszc/…/bitbake/lib/bb/fetch2/hg.py', lineno: 234,=
 function: _revision_key
     0230:    def _revision_key(sel=
f, ud, d, name):
     0231:      &nbs=
p; """
     0232:      &nbs=
p; Return a unique key for the url
     0233:      &nbs=
p; """
 *** 0234:        return "hg:&=
quot; + ud.moddir
     0235:
     0236:    def build_mirror_data=
(self, ud, d):
     0237:      &nbs=
p; # Generate a mirror tarball if needed
     0238:      &nbs=
p; if ud.write_tarballs =3D=3D "1" and not os.path.exists(ud.full=
mirror):
Exception: AttributeError: 'FetchData' object has no attribute 'moddir=
'
 
ERROR: openjdk-8-jre-0.1-r16.0 do_fetch: Function failed: base_do_fetc=
h
ERROR: Logfile of failure stored in: /home/marszc/…/…/buil=
d-rpb/tmp-glibc/work/aarch64-linaro-linux/openjdk-8-jre/0.1-r16.0/temp/log.=
do_fetch.1061
ERROR: Task (/home/marszc/…/…/build-rpb/conf/../../layers/=
meta-linaro/meta-aarch64/recipes-core/openjdk/openjdk-8_0.1.bb:do_fetch) fa=
iled with exit code '1'
--_000_360139c301044c0d822597f04f1aa023assaabloycom_--