From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6731278498807152640 X-Received: by 2002:a50:d51b:: with SMTP id u27mr1406528edi.249.1568669880615; Mon, 16 Sep 2019 14:38:00 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a17:906:564c:: with SMTP id v12ls288287ejr.4.gmail; Mon, 16 Sep 2019 14:38:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqwn7BC+3uVZEnnnSVNWT1lQL+J93kjyV1l9acZXvsUkqMdjvrKhRN95jHAiZZH7ix/UXd/Q X-Received: by 2002:a17:906:6a92:: with SMTP id p18mr1962885ejr.253.1568669880094; Mon, 16 Sep 2019 14:38:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568669880; cv=none; d=google.com; s=arc-20160816; b=P2IDd52Yub1zyzaG+wF1gG+3Bj3BHLi5IV9U2oqZqHocAX8LPco3n1E9nNlgga2XR2 DhcdNvRtuuvUW9SzU0E4QDpRxBWpAbSQOwdOgTRMtXo0g8XSIx30yCLaWA4EIfNubSuO nC59jj7WRW7YcTbmD2m5K5FO3yHqPVFzq3R+J2EQzO0SFJUpGNm/ac+lPOk1UMF2vTV8 +jtkuUiTCuKjOlYZO0z2JxEwg2twTx/B/hSs3N5kroIoRsjhcsc6TFr0yoh6ZbX71toR 3burgYCMtWWfSBb8lZ6/HIFcNUN5ewLUykfDcUYtku1aR8brhgAcOBWRp9O+jmb17T0F sqng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:cc:references:to:subject; bh=I3MxaYgRM6YmuHYFC1nOIliBwyJq7iwDA9gGorvyRf0=; b=MogR1h46qAgaw5xe4ax06VD9Pwo5zxVtMZVx2RufPyM6TswjfwRL5jklu7CGjQNhHT LHRydku6T6iejqStbBgCjxmRoryYZyuN+0zUnycv19jLsCQHpn1gqmASXz3G8eHnY4+O Hv4ZnAvOpUoYJnTFTWvS2G5t0xHC7rq55FQSoSB4luEJ5UYuIviOtxDvYAZO3vbQFYJ+ tXGCq62IcaUZgq9vlhZyH7qsirPexG/1jqkkB3+kdYgIBgRWExi7DEdinPoHQTVPsaNj oez7HJiy6HlYxSI8wvKHdJi5rJlqEstQ2PN6BIDxdoveE9LcWDufJno3cFfyZPp6s9h+ Wu2g== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 194.138.37.39 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from lizzard.sbs.de (lizzard.sbs.de. [194.138.37.39]) by gmr-mx.google.com with ESMTPS id r3si84281eds.2.2019.09.16.14.38.00 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Sep 2019 14:38:00 -0700 (PDT) Received-SPF: pass (google.com: domain of jan.kiszka@siemens.com designates 194.138.37.39 as permitted sender) client-ip=194.138.37.39; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 194.138.37.39 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by lizzard.sbs.de (8.15.2/8.15.2) with ESMTPS id x8GLbxAD011976 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 16 Sep 2019 23:37:59 +0200 Received: from [167.87.1.118] ([167.87.1.118]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id x8GLbwKP022203; Mon, 16 Sep 2019 23:37:59 +0200 Subject: Re: [PATCH] Adjust do_apt_fetch dependency to crossbuild To: isar-users References: <7dcb4a94-e3fb-71a6-bb9b-4693222f9316@web.de> <20190912134952.GH6062@yssyq.m.ilbers.de> <2f8fb037-5a64-51d1-d557-7c6f9158d091@siemens.com> <20190916204656.6sdbyjfs4g7qskuf@yssyq.m.ilbers.de> <68804e8c-f5c1-bb16-d8b2-85cf82a7d083@siemens.com> <20190916211942.uvcykv4qonibfaz5@yssyq.m.ilbers.de> Cc: Henning Schild From: Jan Kiszka Message-ID: <402461c9-e17e-699e-b415-8bbde608cb72@siemens.com> Date: Mon, 16 Sep 2019 23:37:58 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20190916211942.uvcykv4qonibfaz5@yssyq.m.ilbers.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: 1MW2XKHwNueJ On 16.09.19 23:19, Baurzhan Ismagulov wrote: > On Mon, Sep 16, 2019 at 10:58:42PM +0200, Jan Kiszka wrote: >> Which target exactly fails? Just tried one successfully, and we are also >> using the very same pattern that hello_2.10.bb and hello.inc implement in >> production for other packages. > > It succeeds for amd64 and arm64, and fails for de0-nano-soc-stretch: > > egrep -n " bitbake |hello-2.10-r0: task do_apt_fetch|Running task.*hello-isar.bb:do_apt_fetch" log > 134:+ bitbake multiconfig:qemuarm-stretch:isar-image-base multiconfig:qemuarm-buster:isar-image-base multiconfig:qemuarm-bullseye:isar-image-base multiconfig:qemuarm64-stretch:isar-image-base multiconfig:qemuamd64-stretch:isar-image-base multiconfig:de0-nano-soc-stretch:isar-image-base multiconfig:rpi-stretch:isar-image-base > 826:NOTE: recipe hello-2.10-r0: task do_apt_fetch: Started > 838:NOTE: Running task 314 of 896 (multiconfig:qemuamd64-stretch:/workspace/build/isar_ibr_devel_fast/10/meta-isar/recipes-app/hello-isar/hello-isar.bb:do_apt_fetch) > 840:NOTE: recipe hello-2.10-r0: task do_apt_fetch: Succeeded > 1295:NOTE: Running task 483 of 896 (multiconfig:qemuarm64-stretch:/workspace/build/isar_ibr_devel_fast/10/meta-isar/recipes-app/hello-isar/hello-isar.bb:do_apt_fetch) > 1308:NOTE: recipe hello-2.10-r0: task do_apt_fetch: Started > 1344:NOTE: recipe hello-2.10-r0: task do_apt_fetch: Succeeded > 1420:NOTE: recipe hello-2.10-r0: task do_apt_fetch: Started > 1439:NOTE: recipe hello-2.10-r0: task do_apt_fetch: Failed > 1441:NOTE: Running task 532 of 896 (multiconfig:de0-nano-soc-stretch:/workspace/build/isar_ibr_devel_fast/10/meta-isar/recipes-app/hello-isar/hello-isar.bb:do_apt_fetch) > Sharing issue, similar to linux-libc-dev: Once you deployed a self-built version of hello that matches this build, apt will try to pull the sources of that higher prioritized isar-apt version, rather than from upstream. Not sure if we can easily define that "apt://" excludes isar-apt, but that would solve this. It probably also makes sense. Consequently, building only de0-nano-soc-stretch:hello in a clean built env works fine. Jan -- Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux