From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6579174846558633984 X-Received: by 2002:aa7:c6c4:: with SMTP id b4-v6mr3025506eds.12.1532295633025; Sun, 22 Jul 2018 14:40:33 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a50:bd84:: with SMTP id y4-v6ls3652628edh.5.gmail; Sun, 22 Jul 2018 14:40:32 -0700 (PDT) X-Google-Smtp-Source: AAOMgpf1hJJAWNS4lZ28Zm493zHyfvK2kyJcd0TlkLQyv26y7syN5cU5R8+zj5yIRZiy5vmnL/ZD X-Received: by 2002:aa7:c510:: with SMTP id o16-v6mr3024621edq.7.1532295632524; Sun, 22 Jul 2018 14:40:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532295632; cv=none; d=google.com; s=arc-20160816; b=C8QY4eVuSBf8f/oHPapZ1Bxy/KGpUipCqffA8+pOaIJqwPeffKCKfavfAGpLcIpHvA fCeeRmDEXh2pNuryjyF06gKGQab+MCXTOeQN4smj+cK1uirrey5PXlHRt3/vxSYFO9KA 2Awe2gKkVnFaIQ/jhqACcMQovZhHdAKeIp33TvtHHwo/Qa7ho2eOrYsqCvEYlPc56GtU nv7scdu/rBZjHH22CFGkScg9S+sGTGz5/jJB5HlQzH2TvO7GNz/CspaadEKDvfuWVy7S iSmctv7+L8BSgPIF3kZRTyTyzumJ4TgpukBJcm1q75e2OgAu7WgP6qzw/s49LNpLGWeH hvYQ== 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=3fSzqBkMWdcrpp08zRkLsdylM8FVmQtzaJ9RNs7PxG4=; b=Sf6SU+18rYAXsSD+RkFujrfUdaRAMcNOBZGziqMnCkz3c3zQaSdSqW1rpvXflWxgYJ VjTVURaXo5OePJKe9ubid/vv3NG89P3fr7F4U5BLzAt5SvA0RFv9HnYmU1HmxQ9RkSmk AWUeCCbr0Tl7A4bH1nYUlPL5h/gJv8Be2xQXnNsie/CiuI2Ii5xV5+CgK3IyN0okegnh j8wTQZQu2LlqnHbIpOTx8S2Wx1i7qnRjJSOz7F2ozDeFWMM8FOrZ4ptNoT6LFLv+KNft mUxgrXaSREZSTwdq4IXFZMl16Vslc3ahG4dCxuRSDyivCzGJpxNNmYiDLpONzZI8KDte qzxA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.14 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com Return-Path: Received: from david.siemens.de (david.siemens.de. [192.35.17.14]) by gmr-mx.google.com with ESMTPS id a26-v6si329408edn.2.2018.07.22.14.40.32 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 22 Jul 2018 14:40:32 -0700 (PDT) Received-SPF: pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.14 as permitted sender) client-ip=192.35.17.14; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.14 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com Received: from mail1.sbs.de (mail1.sbs.de [192.129.41.35]) by david.siemens.de (8.15.2/8.15.2) with ESMTPS id w6MLeV72027616 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 22 Jul 2018 23:40:32 +0200 Received: from [167.87.1.177] ([167.87.1.177]) by mail1.sbs.de (8.15.2/8.15.2) with ESMTP id w6MLeVel009251; Sun, 22 Jul 2018 23:40: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> <2ce080a3-ab36-6a00-c8cb-80ff2d39b7f3@siemens.com> <877fdc7a-c6c7-5192-0113-ce4b9a0f5b68@ilbers.de> From: Jan Kiszka Message-ID: <60be8e49-d129-1401-18e6-bffcbcc9af80@siemens.com> Date: Sun, 22 Jul 2018 23:40: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: <877fdc7a-c6c7-5192-0113-ce4b9a0f5b68@ilbers.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: 2g1l9chBqBOO On 2018-07-22 22:15, Alexander Smirnov wrote: > > > On 07/20/2018 08:56 AM, Jan Kiszka wrote: >> 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. > > builder@zbook:~/jailhouse-images$ sudo > KAS_TARGET="multiconfig:orangepi-zero-jailhouse:demo-image" > ./build-images.sh > Unable to find image 'kasproject/kas-isar:latest' locally > latest: Pulling from kasproject/kas-isar > 6de29172b78c: Pull complete > 0e2ff9900052: Pull complete > 89b3b64c6e1a: Pull complete > c4ede5890983: Pull complete > 63b0417b6e80: Pull complete > 2095a826ca1c: Pull complete > 519ff2acda8f: Pull complete > 3568c8b200f9: Pull complete > 84fb75e6e501: Pull complete > a8e3362d930a: Pull complete > fa1925a99ab2: Pull complete > af55a23213f5: Pull complete > 2f0f64c16666: Pull complete > 875a76dca692: Pull complete > 4e9bfef3b1d2: Pull complete > 6e603ec88847: Pull complete > b41c12cafe1e: Pull complete > cf73b0705769: Pull complete > Digest: > sha256:c44212948d6f9b60faf17f3e769cc7bc926873ff1628adafb5c1ff1960931177 > Status: Downloaded newer image for kasproject/kas-isar:latest > FATA[0085] Error response from daemon: Cannot start container > 32bdec7e11264b90a4090ea2892cb9b359a8f95b8b42e1c81ac2010d63ebefa3: [8] > System error: mountpoint for cpu not found > I'm far from docker guru level, but this looks like you have some problem with your local docker installation. Jan -- Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux