From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6680483261914808320 X-Received: by 2002:ac2:4647:: with SMTP id s7mr16130668lfo.168.1556090450001; Wed, 24 Apr 2019 00:20:50 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a19:f807:: with SMTP id a7ls1372883lff.11.gmail; Wed, 24 Apr 2019 00:20:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqxvplmcnDdEdbqIuaZoCsxvGoV+vyw4RJ6gOLQxLEaOlyPj0/gDJpMFX5fRV1C2AZXdhhkK X-Received: by 2002:ac2:4186:: with SMTP id z6mr16052352lfh.50.1556090449637; Wed, 24 Apr 2019 00:20:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556090449; cv=none; d=google.com; s=arc-20160816; b=Cq2wBHA4Qe8spc5z5Esk8kvCKYUMpEku0/pFcApDWBU1S5kPzDZ6xVEgx5tIMg71gA aRDFpPsBhBll4dWXtmaEQcnqP5zpO02fMgwzSvXVJhYWcvDhbjIxnoiUlRKSSI+tqnDS 7NWgFmNoAxMUTK56A1G7kiAqutjZznHfYIJ4lksWPsFd2tAIeAcjSPmy+iYM3DIzojZV Gmji0xTO5z+o63bxP7sjOAbyeOK31d4gF+wOP3eJ8+lOoilrJivon7f1cwW3CUxXSWS2 tpKfxukTQ7haNWJz3FikbDg0fU3w1FmpAEOjfc/9uLs+uDWJu+IDuXb5hW/qHs4uLHRI npLA== 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:cc:to:subject; bh=+W3kY/ZS7Ql/XuS8HNpqc7WRXbUwVvJ6Kphltv20LF0=; b=o222tiXBuqqlYjTuNX1m6q4VqZ1XRcGmXy3Lcz3Sd9MImQS31bQvb6AZgDrl39ybtz 81zRdjqUOnifZ6KcpQYZUBkeyE0iTdBI2nf5sO/+eEgkhdxUAJQfcSvMQif2qV01h0xF 5zPz2bHn3a3S0KH4H/rSFPdxETLI4eHz/aKs4medPu155Mv4fjkgztq2uCLslr19mvpJ /g1SoC1dQUpidM2x16zhE/16eTwmEb63y9f4KWttjS0S4LQtYc4bOHrCSTffS15/8ERP BQpV7Y6k+tDn2QvtOQuPY/6IDrqGjxJchLFJRAhJBsaT3Ih8l0Dem3dJzEZwdUA30EDU vSHQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of claudius.heine.ext@siemens.com designates 192.35.17.28 as permitted sender) smtp.mailfrom=claudius.heine.ext@siemens.com Return-Path: Received: from goliath.siemens.de (goliath.siemens.de. [192.35.17.28]) by gmr-mx.google.com with ESMTPS id u30si218154lfn.4.2019.04.24.00.20.49 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 Apr 2019 00:20:49 -0700 (PDT) Received-SPF: pass (google.com: domain of claudius.heine.ext@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 claudius.heine.ext@siemens.com designates 192.35.17.28 as permitted sender) smtp.mailfrom=claudius.heine.ext@siemens.com Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by goliath.siemens.de (8.15.2/8.15.2) with ESMTPS id x3O7Kmob016086 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 24 Apr 2019 09:20:48 +0200 Received: from [139.25.69.232] (linux-ses-ext02.ppmd.siemens.net [139.25.69.232]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id x3O7Kdxr011505; Wed, 24 Apr 2019 09:20:39 +0200 Subject: Re: [PATCH 0/8] Cleanup rootfs creation To: "Maxim Yu. Osipov" , isar-users@googlegroups.com Cc: Claudius Heine References: <20190416132647.3074-1-claudius.heine.ext@siemens.com> <928dcd63-8226-edf8-e06e-1da562d5687e@ilbers.de> From: Claudius Heine Message-ID: Date: Wed, 24 Apr 2019 09:20:39 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <928dcd63-8226-edf8-e06e-1da562d5687e@ilbers.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-TUID: VnuyK5ag7Gvs Hi Maxim, On 22/04/2019 15.28, Maxim Yu. Osipov wrote: > Hi, > > Tried the series against the current 'next'. > > Creation of SDK has been failed (my host is Debian 9) (see log below). > > I've double checked - in the current 'next' 'bitbake -c do_populate_sdk > multiconfig:qemuarm-stretch:isar-image-base' works fine. Thanks! That is a good find. That issue happened because I tried to split up the pre-processing patchset. Is that tested in CI? Claudius > > My local.conf is attached for convenience. > > Maxim. > > =============== > bitbake -c do_populate_sdk multiconfig:qemuarm-stretch:isar-image-base > Parsing recipes: 100% > |#######################################################################################################################################################################################################| > Time: 0:00:02 > Parsing of 26 .bb files complete (0 cached, 26 parsed). 390 targets, 0 > skipped, 0 masked, 0 errors. > NOTE: Resolving any missing task queue dependencies > NOTE: Resolving any missing task queue dependencies > NOTE: Resolving any missing task queue dependencies > NOTE: Resolving any missing task queue dependencies > NOTE: Resolving any missing task queue dependencies > NOTE: Resolving any missing task queue dependencies > NOTE: Resolving any missing task queue dependencies > NOTE: Resolving any missing task queue dependencies > NOTE: Resolving any missing task queue dependencies > NOTE: Resolving any missing task queue dependencies > NOTE: Resolving any missing task queue dependencies > NOTE: Resolving any missing task queue dependencies > NOTE: Resolving any missing task queue dependencies > NOTE: Resolving any missing task queue dependencies > NOTE: Resolving any missing task queue dependencies > Initialising tasks: 100% > |####################################################################################################################################################################################################| > Time: 0:00:03 > NOTE: Executing RunQueue Tasks > ERROR: mc:qemuarm-stretch:sdkchroot-${ROOTFS_DISTRO}-amd64-armhf > do_build: Function failed: do_build (log file is located at > /home/myo/work/isar/src/trunk/isar/build/tmp/work/debian-stretch-armhf/sdkchroot-${ROOTFS_DISTRO}-amd64-armhf/temp/log.do_build.24544) > > ERROR: Logfile of failure stored in: > /home/myo/work/isar/src/trunk/isar/build/tmp/work/debian-stretch-armhf/sdkchroot-${ROOTFS_DISTRO}-amd64-armhf/temp/log.do_build.24544 > > Log data follows: > | DEBUG: Executing shell function do_build > | cp: cannot stat > '/home/myo/work/isar/src/trunk/isar/build/tmp/deploy/bootstrap/debian-stretch-amd64/': > No such file or directory > | WARNING: exit code 1 from a shell command. > | ERROR: Function failed: do_build (log file is located at > /home/myo/work/isar/src/trunk/isar/build/tmp/work/debian-stretch-armhf/sdkchroot-${ROOTFS_DISTRO}-amd64-armhf/temp/log.do_build.24544) > > ERROR: Task > (multiconfig:qemuarm-stretch:/home/myo/work/isar/src/trunk/isar/meta/recipes-devtools/sdkchroot/sdkchroot.bb:do_build) > failed with exit code '1' > ERROR: mc:qemuarm-stretch:buildchroot-host-debian-stretch-amd64-armhf > do_build: Function failed: do_build (log file is located at > /home/myo/work/isar/src/trunk/isar/build/tmp/work/debian-stretch-armhf/buildchroot-host-debian-stretch-amd64-armhf/temp/log.do_build.24543) > > ERROR: Logfile of failure stored in: > /home/myo/work/isar/src/trunk/isar/build/tmp/work/debian-stretch-armhf/buildchroot-host-debian-stretch-amd64-armhf/temp/log.do_build.24543 > > Log data follows: > | DEBUG: Executing shell function do_build > | cp: cannot stat > '/home/myo/work/isar/src/trunk/isar/build/tmp/deploy/bootstrap/debian-stretch-amd64/': > No such file or directory > | WARNING: exit code 1 from a shell command. > | ERROR: Function failed: do_build (log file is located at > /home/myo/work/isar/src/trunk/isar/build/tmp/work/debian-stretch-armhf/buildchroot-host-debian-stretch-amd64-armhf/temp/log.do_build.24543) > > ERROR: Task > (multiconfig:qemuarm-stretch:/home/myo/work/isar/src/trunk/isar/meta/recipes-devtools/buildchroot/buildchroot-host.bb:do_build) > failed with exit code '1' > > ===== > > > On 4/16/19 3:26 PM, claudius.heine.ext@siemens.com wrote: >> From: Claudius Heine >> >> Hi, >> >> this patchset contains some patches that where developed while >> implementing >> the preprocessing image pipeline. They are universally useful, but do >> prepare >> for the next steps. >> >> Cheers, >> Claudius >> >> Claudius Heine (8): >>    isar-boostrap-helper: move 'HOST_ARCH' and 'HOST_DISTRO' to >>      base.bbclass >>    move 'HOST_DISTRO_APT_SOURCES' from bootstrap-helper to isar-bootstrap >>    buildchroot.bbclass: only cross build if HOST_ARCH != DISTRO_ARCH >>    isar-bootstrap/buildchroot/sdkchroot: refactor PF and WORKDIR >>    bitbake.conf: remove unneeded and differently used variables >>    image.bbclass: make IMAGE_ROOTFS overwritable >>    bitbake.conf: set default QEMU_ARCH variables >>    buildchroot/configscript: make creation of builder uid/gid idempotent >> >>   meta/classes/base.bbclass                          |  9 +++++++++ >>   meta/classes/buildchroot.bbclass                   |  2 +- >>   meta/classes/image-sdk-extension.bbclass           |  2 +- >>   meta/classes/image.bbclass                         |  2 +- >>   meta/classes/isar-bootstrap-helper.bbclass         | 14 -------------- >>   meta/conf/bitbake.conf                             | 13 ++++++++----- >>   .../isar-bootstrap/isar-bootstrap-host.bb          | 11 +++-------- >>   .../isar-bootstrap/isar-bootstrap-target.bb        |  6 +----- >>   .../recipes-core/isar-bootstrap/isar-bootstrap.inc |  1 + >>   .../buildchroot/buildchroot-host.bb                |  1 + >>   meta/recipes-devtools/buildchroot/buildchroot.inc  |  3 +-- >>   .../buildchroot/files/configscript.sh              |  4 ++-- >>   meta/recipes-devtools/sdkchroot/sdkchroot.bb       |  3 +-- >>   13 files changed, 30 insertions(+), 41 deletions(-) >> > > -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-54 Fax: (+49)-8142-66989-80 Email: ch@denx.de