From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6599908607246991360 X-Received: by 2002:adf:edd0:: with SMTP id v16-v6mr4613930wro.32.1537524066177; Fri, 21 Sep 2018 03:01:06 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:adf:81c5:: with SMTP id 63-v6ls512699wra.9.gmail; Fri, 21 Sep 2018 03:01:05 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbiMT4yTUkdTM5oSGpCHEoLnUvvUIhc3JKGYjrDsoRz1I4c6vhnPVxYo+iwedXuSQcjski/ X-Received: by 2002:adf:edd0:: with SMTP id v16-v6mr4613927wro.32.1537524065711; Fri, 21 Sep 2018 03:01:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537524065; cv=none; d=google.com; s=arc-20160816; b=qLuMzWCyJnNODGt0lJmRwhudkMqrj5t7Au6I82FZqJup3RwTytIgoaAm352NygF9fR eaKbCcEcqBVOtg/U0hAihMg2BRPp/e+0iYIXWXjdzN6FBluyiEv6ORHn354Mis7nLpWp Wxuk1FcPzzlxfe5AzhpRXKRoiZXSEhyfScdIgdDXClrPK4o5Ck5iF96gHQS0EicPOaQD A+zGg3ZylonXextBf6ZzE2wv+5+MhG2WBLqeCzUUnsIowX2vhnmEszwCR5EBRjHRNKj9 d7pleUsoI7BXwLmJ2MphP9NnlAt8p4cfO3B68y4hFv5rX9b890dzCBxGk9DfBYifwDu6 aTKg== 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:organization:from:references:to:subject; bh=F3DA7NXUPN9LbuR2k6JRBvJfKqN4GdAcwLuStWj5a9Q=; b=TAYfkAtC6h98jNGDBmm5k4TFZfvA6icLxBwNVx1f/POu4xvuYec/CUpqmzgupnYeFc AKQf2hNHw48dAhpSWCQqg/olSU3CG1ZzHvvx2Yld+XNWMWa1eW0b1BhUhVyVvs5ioAfi 1eX+ZtCWSdtMjTPov865GWKI49bBHl9NnsvMbLZV80g5HlDcMS96GqtXoPVN8/3nvJWY 8JyQHsvvuoFOiv7BoJA7Kp7Q0e4VLkZIWpdLnWjupagb19FgHwF6ZdsdK/jhGRoBu0hI PfRsf4/fsiJSjNFqjC5+hs6oTCCPJt1z5gEBhKhXj6VIzr2R1iIbi5s8vQootNEwPjn9 RQXg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: best guess record for domain of mosipov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=mosipov@ilbers.de Return-Path: Received: from aqmola.ilbers.de (aqmola.ilbers.de. [85.214.62.211]) by gmr-mx.google.com with ESMTPS id l11-v6si188596wmc.0.2018.09.21.03.01.05 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 21 Sep 2018 03:01:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of mosipov@ilbers.de designates 85.214.62.211 as permitted sender) client-ip=85.214.62.211; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: best guess record for domain of mosipov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=mosipov@ilbers.de Received: from [192.168.50.180] (nat-ppp-217.71.235.199-satnet-spb.ru [217.71.235.199] (may be forged)) (authenticated bits=0) by aqmola.ilbers.de (8.14.4/8.14.4/Debian-4+deb7u1) with ESMTP id w8LA11MR001977 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Fri, 21 Sep 2018 12:01:04 +0200 Subject: Re: [PATCH 0/2] Straighten cross names To: Henning Schild , isar-users References: <20180911101605.21977-1-henning.schild@siemens.com> From: "Maxim Yu. Osipov" Organization: ilbers GmbH Message-ID: <203dd235-1908-2b94-929d-479a4cb5ed25@ilbers.de> Date: Fri, 21 Sep 2018 13:00:56 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <20180911101605.21977-1-henning.schild@siemens.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: ffxYrpsouHu8 Hi Henning, I've rebased your series to the current 'next', enabled CROSS_COMPILATION in local.conf and tried to build on my debian-stretch-amd64 host and ran 'bitbake multiconfig:qemuarm-stretch:isar-image-base'. It failed with error log: Log data follows: | DEBUG: Executing shell function do_install_builddeps | Get:1 file:/isar-apt isar InRelease | Ign:1 file:/isar-apt isar InRelease | Get:2 file:/isar-apt isar Release [3554 B] | Get:2 file:/isar-apt isar Release [3554 B] | Get:3 file:/isar-apt isar Release.gpg | Ign:3 file:/isar-apt isar Release.gpg | Reading package lists... | build architecture "amd64" is unequal host architecture "armhf" in which case the package architecture must not be "all" (but "armhf" instead) | WARNING: exit code 255 from a shell command. | ERROR: Function failed: do_install_builddeps (log file is located at /home/myo/work/isar/src/isar/build/tmp/work/debian-stretch-armhf/libhello-0.1-98f2e41-r0/temp/log.do_install_builddeps.8379) Could you please have a look on that? Maxim. On 9/11/18 1:16 PM, Henning Schild wrote: > With the recent introduction of cross building we introduced confusing > names in Isar. The following article describes how the names should be > in Debian, which is probably what we should follow. > > https://wiki.debian.org/CrossCompiling#Nomenclature > > This series partially fixes the names. Applying it without changing the > rest would probably just increase the confusion. I am still posting it > as a starting point and to point out that there currently is a naming > issue in Isar. > > Henning Schild (2): > cross: use env variables instead of switches > build-kernel: fix the cross compile arch naming > > meta/classes/dpkg.bbclass | 8 ++++++-- > meta/recipes-devtools/buildchroot/files/build.sh | 2 +- > meta/recipes-devtools/buildchroot/files/common.sh | 13 ------------- > meta/recipes-devtools/buildchroot/files/deps.sh | 2 +- > meta/recipes-kernel/linux/files/build-kernel.sh | 18 +++++++++--------- > meta/recipes-kernel/linux/linux-custom.inc | 4 ++-- > 6 files changed, 19 insertions(+), 28 deletions(-) > -- Maxim Osipov ilbers GmbH Maria-Merian-Str. 8 85521 Ottobrunn Germany +49 (151) 6517 6917 mosipov@ilbers.de http://ilbers.de/ Commercial register Munich, HRB 214197 General Manager: Baurzhan Ismagulov