public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Baurzhan Ismagulov <ibr@radix50.net>
To: isar-users <isar-users@googlegroups.com>
Subject: Re: [PATCH] isar-bootstrap-host: Introduce HOST_DISTRO_BOOTSTRAP_KEYS
Date: Mon, 19 Aug 2019 12:25:30 +0200	[thread overview]
Message-ID: <20190819102530.GF3412@yssyq.m.ilbers.de> (raw)
In-Reply-To: <717de8f8-c3f1-91da-918c-02baf86aa4df@siemens.com>

On Fri, Aug 09, 2019 at 01:06:26PM +0200, Jan Kiszka wrote:
> Analogously to DISTRO_BOOTSTRAP_KEYS, this allows to override the key
> used for bootstrapping the host distro. This is required when using
> custom repos e.g.

This fails on my host as shown below. Does it work for you?

With kind regards,
Baurzhan.


. isar-init-build-env ../build
time bitbake multiconfig:qemuamd64-stretch:isar-image-base
ERROR: /home/ibr/w/work/j/isar/src/isarr/meta/recipes-core/isar-bootstrap/isar-bootstrap-host.bb: Error executing a python function in <code>:

The stack trace of python calls that resulted in this exception/failure was:
File: '<code>', lineno: 3, function: <module>
     0001:__anon_125__home_ibr_w_work_j_isar_src_isarr_meta_classes_base_bbclass(d)
     0002:__anon_144__home_ibr_w_work_j_isar_src_isarr_meta_classes_base_bbclass(d)
 *** 0003:__anon_62__home_ibr_w_work_j_isar_src_isarr_meta_recipes_core_isar_bootstrap_isar_bootstrap_inc(d)
File: '/home/ibr/w/work/j/isar/src/isarr/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc', lineno: 53, function: __anon_62__home_ibr_w_work_j_isar_src_isarr_meta_recipes_core_isar_bootstrap_isar_bootstrap_inc
     0049:            distro_bootstrap_keys += own_pub_key.split()
     0050:
     0051:    for key in distro_bootstrap_keys:
     0052:        d.appendVar("SRC_URI", " %s" % key)
 *** 0053:        fetcher = bb.fetch2.Fetch([key], d)
     0054:        filename = fetcher.localpath(key)
     0055:        d.appendVar("DISTRO_BOOTSTRAP_KEYFILES", " %s" % filename)
     0056:
     0057:    for key in third_party_apt_keys:
File: '/home/ibr/w/work/j/isar/src/isarr/bitbake/lib/bb/fetch2/__init__.py', lineno: 1604, function: __init__
     1600:
     1601:        for url in urls:
     1602:            if url not in self.ud:
     1603:                try:
 *** 1604:                    self.ud[url] = FetchData(url, d, localonly)
     1605:                except NonLocalMethod:
     1606:                    if localonly:
     1607:                        self.ud[url] = None
     1608:                        pass
File: '/home/ibr/w/work/j/isar/src/isarr/bitbake/lib/bb/fetch2/__init__.py', lineno: 1227, function: __init__
     1223:        self.lockfile = None
     1224:        self.mirrortarballs = []
     1225:        self.basename = None
     1226:        self.basepath = None
 *** 1227:        (self.type, self.host, self.path, self.user, self.pswd, self.parm) = decodeurl(d.expand(url))
     1228:        self.date = self.getSRCDate(d)
     1229:        self.url = url
     1230:        if not self.user and "user" in self.parm:
     1231:            self.user = self.parm["user"]
File: '/home/ibr/w/work/j/isar/src/isarr/bitbake/lib/bb/fetch2/__init__.py', lineno: 368, function: decodeurl
     0364:    """
     0365:
     0366:    m = re.compile('(?P<type>[^:]*)://((?P<user>[^/;]+)@)?(?P<location>[^;]+)(;(?P<parm>.*))?').match(url)
     0367:    if not m:
 *** 0368:        raise MalformedUrl(url)
     0369:
     0370:    type = m.group('type')
     0371:    location = m.group('location')
     0372:    if not location:
Exception: bb.fetch2.MalformedUrl: The URL: '' is invalid and cannot be interpreted

ERROR: Failed to parse recipe: /home/ibr/w/work/j/isar/src/isarr/meta/recipes-core/isar-bootstrap/isar-bootstrap-host.bb

  reply	other threads:[~2019-08-19 10:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-09 11:06 Jan Kiszka
2019-08-19 10:25 ` Baurzhan Ismagulov [this message]
2019-08-19 11:21   ` Jan Kiszka
2019-08-22 11:14 ` Baurzhan Ismagulov

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=20190819102530.GF3412@yssyq.m.ilbers.de \
    --to=ibr@radix50.net \
    --cc=isar-users@googlegroups.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox