From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6723121859881074688 X-Received: by 2002:a1c:a74b:: with SMTP id q72mr20282175wme.96.1566210333875; Mon, 19 Aug 2019 03:25:33 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a1c:9d02:: with SMTP id g2ls3788060wme.3.canary-gmail; Mon, 19 Aug 2019 03:25:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqwZ3dKxfOY8kb52ZwM4B0A/uG5Dt8ERATvqAylTGl1nGhZO0EbpwBSFBKmo6YMMJoT54SRK X-Received: by 2002:a7b:c954:: with SMTP id i20mr20219466wml.169.1566210333327; Mon, 19 Aug 2019 03:25:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566210333; cv=none; d=google.com; s=arc-20160816; b=ipjHgKF6wRpzfIExTRk6wMOXA0zJ1nWQy/sh07v1jAhdTp8YeZ3Ji1a5vZ8yk7MGwA TxatQT5EOqpm9cdM+ePajUkKPp8+1hXVjO7E+R1KpLiQfTslvnX/pavewAYn6xWC8JFx yR/k0WLRWMn2fg/gHGrxDMNtcNPm9qKfRTHLUUoJCo/l2yJR2EFRaDq4Y87zxRE40cyN hayQy2DS4XMH3+FiPfIGKiLLYWl3+w8/lXblEdGjZ9PeppBERcUbiAT5vtLTxRWObe9l FuVpS/OclVAOSWKPHr0aF9MNzTq3r4RkOKqzS2eKUpAtKDSp4sl9S1AuFSWR/DHCFq7i LUpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:to:from:date; bh=dvN7F8L4aFamoVFRi0hPfx7Qzs/cQk25TQzHJ94M9WA=; b=swEpNBUyy9Hp4ftUXEbsV3gJ4XooUW2G/kR3X6WV0a8ak1n38Ft+jB86drWStLh0V5 G4mUNa12qQiry6jnRFUI2v/ghUIS+OdO2g1hC5RBQsdgf60y/2Lh057ygsMStquh3TSS 3KOPcYG6/YPagcp7WhJ9z04GHXvwyiNUlLWHuTUwlmpX9C9TIl9WqVD0czpadmLVCXPz fQvfWdtq3GIUA+pfyUW8l+OnP5mNPccsCOm5z+FrvL2iOO0kRqmfWgkF4HTfXnLDEyfP Vfl2R/yrQmGOALjt8suuVQTdwDLm4DzEQSYSb3Lc1+gte4bibICjpUiIv6cQajf8xyXp XnxA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 85.214.156.166 is neither permitted nor denied by best guess record for domain of ibr@radix50.net) smtp.mailfrom=ibr@radix50.net Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id g7si847243wmk.0.2019.08.19.03.25.33 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 19 Aug 2019 03:25:33 -0700 (PDT) Received-SPF: neutral (google.com: 85.214.156.166 is neither permitted nor denied by best guess record for domain of ibr@radix50.net) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 85.214.156.166 is neither permitted nor denied by best guess record for domain of ibr@radix50.net) smtp.mailfrom=ibr@radix50.net Received: from yssyq.m.ilbers.de (host-80-81-17-52.static.customer.m-online.net [80.81.17.52]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8) with ESMTPSA id x7JAPV70006502 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 19 Aug 2019 12:25:32 +0200 Date: Mon, 19 Aug 2019 12:25:30 +0200 From: Baurzhan Ismagulov To: isar-users Subject: Re: [PATCH] isar-bootstrap-host: Introduce HOST_DISTRO_BOOTSTRAP_KEYS Message-ID: <20190819102530.GF3412@yssyq.m.ilbers.de> Mail-Followup-To: isar-users References: <717de8f8-c3f1-91da-918c-02baf86aa4df@siemens.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <717de8f8-c3f1-91da-918c-02baf86aa4df@siemens.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-TUID: qL4Q7y6ekP0J 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 : The stack trace of python calls that resulted in this exception/failure was: File: '', lineno: 3, function: 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[^:]*)://((?P[^/;]+)@)?(?P[^;]+)(;(?P.*))?').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