From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6579174846558633984 X-Received: by 2002:adf:d4ca:: with SMTP id w10-v6mr40872wrk.6.1532066192758; Thu, 19 Jul 2018 22:56:32 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:adf:df10:: with SMTP id y16-v6ls281850wrl.1.gmail; Thu, 19 Jul 2018 22:56:32 -0700 (PDT) X-Google-Smtp-Source: AAOMgpc19SPLh4wiVwtuaQc+jLtcR5SS3qlNTCDpJR4EFuOirVLyJ6zn+0JS8Dlu69ekksBK725H X-Received: by 2002:a5d:52c1:: with SMTP id r1-v6mr40813wrv.0.1532066192312; Thu, 19 Jul 2018 22:56:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532066192; cv=none; d=google.com; s=arc-20160816; b=BZbLLtC8ECWGi7wf8oWsVQoS1ICt5Uq1Lr4gaak/WQgWV55A9L8XXGfL3s31rI1kor GbW0PpYrAvwbbIh8p7F0kldLCH8J9aDiJnMRphn/pd2ILBWdiWvz3qMZ43jZ3i6YnDjw Dz36f35Blio2sqwSn9lN8H42/6hlO/Xi3CsACfmtIaxh2Q5ffAkxzCKcdqXA2SOJuc26 1bI0sGpAm8vcDaoUinWGpLUYo6g8VtCpucjSiLayH9erPR0J+hUQkMYK1wV0IjJmZCH0 wyLyy7Qm2VKiMGC+lOgwO844btkvwpuDzvVrFxMPV12kU2CKauvSJ4z6VbSKf4YNA0Z6 2x5A== 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:references:to:subject :arc-authentication-results; bh=BQaN39/QqMoD4yiZ+JaScz8hWx8pATepevMxO04cVck=; b=mQ4W0/DCcOdW8DzHJfhSESqOSBXeyDUXxtCf8yumpbrXfXZjNZdNCKjIrS2syTNZ2A w3vJVUCim12r/w7FexlVmGZtvEOIYG3JunFC+YpOjccif+bTxVUnBRbTcRFIaHaSSrz9 xIUdoxB3TJRJrvR5aFjja+BihLNgV1+TjHPOY8P3/9iW1UA6x3Oc6GvFhYHCtDvmLrEF VgGpCyb/TkPETS2iQMJoy+eIb8Tf6BVjCRNP2NuLgMxxCxEn3xFAMdOpBL6jG49S/eE9 Dq9wS1DH/Tzqt/mEf0u8jlLSDN4ZiVxLVlZv2+4+TodxgpXk/xwxfM+FNBcmS4YkEygN nV+Q== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.28 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com Return-Path: Received: from goliath.siemens.de (goliath.siemens.de. [192.35.17.28]) by gmr-mx.google.com with ESMTPS id t12-v6si24422wrn.3.2018.07.19.22.56.32 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Jul 2018 22:56:32 -0700 (PDT) Received-SPF: pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.28 as permitted sender) client-ip=192.35.17.28; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.28 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com Received: from mail1.sbs.de (mail1.sbs.de [192.129.41.35]) by goliath.siemens.de (8.15.2/8.15.2) with ESMTPS id w6K5uViJ031858 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 20 Jul 2018 07:56:31 +0200 Received: from [139.22.44.124] ([139.22.44.124]) by mail1.sbs.de (8.15.2/8.15.2) with ESMTP id w6K5uVD4006503; Fri, 20 Jul 2018 07:56:31 +0200 Subject: Re: [PATCH v3 0/7] Isar cross-compilation support To: Alexander Smirnov , isar-users@googlegroups.com References: <20180717131811.14239-1-asmirnov@ilbers.de> <5c45490f-9dce-b43a-14b3-8347931c40ef@siemens.com> <507beff8-3503-22a9-c3f6-0a01f3f7a132@ilbers.de> <1ed1ad84-acaf-1aa9-0ac7-f2f1353670ab@siemens.com> <164aa001af8.27ac.034a6b0541ed39b7fb4e17f4ac219eaa@ilbers.de> <09de613b-ba4c-21fb-d675-421c27b9bab6@ilbers.de> <610e26c8-4af8-6a96-7ed5-76470fb4298e@siemens.com> From: Jan Kiszka Message-ID: <2ce080a3-ab36-6a00-c8cb-80ff2d39b7f3@siemens.com> Date: Fri, 20 Jul 2018 07:56:31 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: Ed7TjLqudZAO Hi Alex, On 2018-07-19 22:59, Alexander Smirnov wrote: > Hi Jan, > > [...] > >>> Just an observation, you use here buster but I didn't test it. >> >> Yes, but only for the pre-built u-boot package, and only for the Orange >> Pi. See conf/multiconfig/preferences.orangepi-zero.conf. > > I've found several issue with v3 regarding kernel and modules > cross-compilation. I've fixed them and pushed asmirnov/devel branch. > > Now I'm able to cross-build orangepi kernel and example-module for it, > huh! :-) That's good news, and I can confirm that at least the linux-headers packages looks good now. It's also clear now that there can be no mixed-mode when building kernel modules because this package with its host tools is generated for the build host, not the target arch. However, I'm still stuck on the Python dependency problems. I bet you can also reproduce them by declaring the hello package to build-depend on "python". Same for "python-pip". > > I've tried to make commits on the top small just to demonstrate my > findings. > > Could you please try this branch with your use-case? Unfortunately I > wasn't able to quickly run clean jailhoust build, I have fedora as host > OS and use debian in chroot. I've tried to run build scripts but docker > fails with tons of errors :-( Can you share your error dump? That would be interesting as the whole docker story is about removing the host-side dependency on a particular distribution with a particular package set pre-installed, not to speak of the sudo config hack. If you have a Debian 9 build host, you can also leave out the docker wrapping, just installing kas via pip and then doing mkdir -p out cd out kas build /path/to/jailhouse-images/kas.yml Jan -- Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux