From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6680483261914808320 X-Received: by 2002:adf:dec5:: with SMTP id i5mr781644wrn.157.1556191129595; Thu, 25 Apr 2019 04:18:49 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:adf:db81:: with SMTP id u1ls1983835wri.14.gmail; Thu, 25 Apr 2019 04:18:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqyu2LmgXEKKPlzV3y5q1Hj9mV+XVu6emjkZgS0zbNBu3BfDePeYNJEnV+6qZEO7h/kbKSOi X-Received: by 2002:a05:6000:104:: with SMTP id o4mr5077536wrx.106.1556191129163; Thu, 25 Apr 2019 04:18:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556191129; cv=none; d=google.com; s=arc-20160816; b=qRyNqZPL3ZoLJ7tC+EAisvoEG8Nqnp6CekLPT4yl8pVLjaT3HRnXaQ5CmQw/4vqtPF NwpqjAHVneWkLTdeEKL1dmfPrP3/SlobOcJTr/q32DGTuZQzVT0GyHPNuLJmgVhoNxvQ 37BR7sxm+3CB5Pkx7rhK1n/LR68EpZHmDL0IlWp/9fnjodtQ7DhhA5HgopqdOexaq4JI r5A5XBIdO+5/E4RbIttz/NytuiKLnxHSI+wEXZ62xyHuriYeeZA91vrZxgQ7TWyAuud8 lnX3lBl7APaf8R1B1rIEXtfwR/r3KtkCIdrMXaTwWQzSvwwOeLzspn3AWj/9qqaOEcY8 CKLw== 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; bh=2ySDTMn6iPBxDKI3EbziCgDB5XDew+03uAm+DFtOh7Q=; b=SfTbAA61Uh4rDkjvOMNff35duY+APA6zmcH0SEl2sd8HTVGafGvuRy+JQHRzedsiPH fkYBb3m5wroBNVUanFKhXo1imReqgCn2gJBt4V8LQJ7ZQviPcpM8CVMVfcrzwROI8vaK EDy3FQG/DhDV7RtBY7iiHna4g4ewCrK5B0FIbNjuE+XMXapvT0JL60TWNmImmDUFod6m ZaZOkBlNFl054WzTj7vZr7LOPueodafKpuxNlxkuthUNtovRuxwuLlTeacb+rqOH/NCc h904hDqjNuxPe35Hea16l5LNO/4eix5vCPK+nP2iOEvqQ8jcHt3IFPIfmdUsK7tCiKaX K2zA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of claudius.heine.ext@siemens.com designates 194.138.37.40 as permitted sender) smtp.mailfrom=claudius.heine.ext@siemens.com Return-Path: Received: from gecko.sbs.de (gecko.sbs.de. [194.138.37.40]) by gmr-mx.google.com with ESMTPS id y72si67316wmd.3.2019.04.25.04.18.49 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Apr 2019 04:18:49 -0700 (PDT) Received-SPF: pass (google.com: domain of claudius.heine.ext@siemens.com designates 194.138.37.40 as permitted sender) client-ip=194.138.37.40; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of claudius.heine.ext@siemens.com designates 194.138.37.40 as permitted sender) smtp.mailfrom=claudius.heine.ext@siemens.com Received: from mail1.sbs.de (mail1.sbs.de [192.129.41.35]) by gecko.sbs.de (8.15.2/8.15.2) with ESMTPS id x3PBIm3D021069 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 25 Apr 2019 13:18:48 +0200 Received: from [139.25.69.232] (linux-ses-ext02.ppmd.siemens.net [139.25.69.232]) by mail1.sbs.de (8.15.2/8.15.2) with ESMTP id x3PBImqH002010 for ; Thu, 25 Apr 2019 13:18:48 +0200 Subject: Re: [PATCH v3 0/8] Cleanup rootfs creation To: isar-users@googlegroups.com References: <20190424092734.14167-1-claudius.heine.ext@siemens.com> <33359f72-d7d0-0d41-051d-da9885bd7354@ilbers.de> <0523bc46-f96e-d4d0-1828-fc99079c938b@siemens.com> <561243bd-3aa7-5f8a-83c5-4137660354fb@siemens.com> <1aa42268-5f7e-355b-e980-eebe9df4a526@ilbers.de> <3a1376a4-6a66-c71a-9565-b4e77b535509@ilbers.de> <6f41982e-7b01-d02c-7785-297061eb8cd4@siemens.com> <20190425103203.GJ21981@yssyq.m.ilbers.de> From: Claudius Heine Message-ID: Date: Thu, 25 Apr 2019 13:18:48 +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: <20190425103203.GJ21981@yssyq.m.ilbers.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: hWMDB2c1wePg Hi Baurzhan, On 25/04/2019 12.32, Baurzhan Ismagulov wrote: > On Thu, Apr 25, 2019 at 11:11:21AM +0200, Claudius Heine wrote: >> I looked into the "fast" build now, and it cross-compiles >> "multiconfig:rpi-stretch:isar-image-base". Now I tried that and the build >> fails even on the current 'next' so the issue seems to be there. > > How does the problem manifest itself? Please provide some relevant details > (e.g., bitbake output, failure logs, etc.). Commit ID: 2396d4f44fe1f867ddae389b61cb7017cb2b908c --- local.conf --- # cross ISAR_CROSS_COMPILE = "1" # standard CONF_VERSION = "1" MACHINE ??= "qemu" DISTRO ??= "raspbian-stretch" BBMULTICONFIG ?= "rpi-stretch" --- end local.conf --- bitbake -k -c build multiconfig:rpi-stretch:isar-image-base --- error log --- ERROR: mc:rpi-stretch:isar-bootstrap-host-1.0-r0 do_bootstrap: Function failed: do_bootstrap (log file is located at /mnt/ssd/isar/upstream/build/tmp/work/raspbian-stretch-armhf/isar-bootstrap-host-debian-stretch-amd64/temp/log.do_bootstrap.27078) ERROR: Logfile of failure stored in: /mnt/ssd/isar/upstream/build/tmp/work/raspbian-stretch-armhf/isar-bootstrap-host-debian-stretch-amd64/temp/log.do_bootstrap.27078 Log data follows: | DEBUG: Executing shell function do_bootstrap | W: Target architecture is the same as host architecture; disabling QEMU support | I: Running command: debootstrap --arch amd64 --verbose --variant=minbase --include=locales --components=main,contrib,non-free --keyring /mnt/ssd/isar/upstream/build/tmp/work/raspbian-stretch-armhf/isar-bootstrap-host-debian-stretch-amd64/apt-keyring.gpg stretch /mnt/ssd/isar/upstream/build/tmp/work/raspbian-stretch-armhf/isar-bootstrap-host-debian-stretch-amd64/rootfs http://ftp.debian.org/debian | I: Retrieving InRelease | I: Retrieving Release | I: Retrieving Release.gpg | I: Checking Release signature | E: Release signed by unknown key (key id EF0F382A1A7B6500) | WARNING: /mnt/ssd/isar/upstream/build/tmp/work/raspbian-stretch-armhf/isar-bootstrap-host-debian-stretch-amd64/temp/run.do_bootstrap.27078:1 exit 1 from 'sudo -E -s <<'EOSUDO' | ( flock 9 | set -e | if [ ! -e "/mnt/ssd/isar/upstream/build/tmp/deploy/bootstrap/debian-stretch-amd64" ]; then | rm -rf "/mnt/ssd/isar/upstream/build/tmp/work/raspbian-stretch-armhf/isar-bootstrap-host-debian-stretch-amd64/rootfs" | | if [ ${IS_HOST} ]; then | qemu-debootstrap $debootstrap_args \ | --components=main,contrib,non-free \ | --keyring /mnt/ssd/isar/upstream/build/tmp/work/raspbian-stretch-armhf/isar-bootstrap-host-debian-stretch-amd64/apt-keyring.gpg \ | "stretch" \ | "/mnt/ssd/isar/upstream/build/tmp/work/raspbian-stretch-armhf/isar-bootstrap-host-debian-stretch-amd64/rootfs" \ | "http://ftp.debian.org/debian" | | else | "qemu-debootstrap" $debootstrap_args \ | --arch="armhf" \ | --components=main,contrib,non-free,firmware \ | --keyring /mnt/ssd/isar/upstream/build/tmp/work/raspbian-stretch-armhf/isar-bootstrap-host-debian-stretch-amd64/apt-keyring.gpg \ | "stretch" \ | "/mnt/ssd/isar/upstream/build/tmp/work/raspbian-stretch-armhf/isar-bootstrap-host-debian-stretch-amd64/rootfs" \ | "http://archive.raspbian.org/raspbian" | fi | | # Install apt config | mkdir -p "/mnt/ssd/isar/upstream/build/tmp/work/raspbian-stretch-armhf/isar-bootstrap-host-debian-stretch-amd64/rootfs/etc/apt/preferences.d" | install -v -m644 "/mnt/ssd/isar/upstream/build/tmp/work/raspbian-stretch-armhf/isar-bootstrap-host-debian-stretch-amd64/apt-preferences" \ | "/mnt/ssd/isar/upstream/build/tmp/work/raspbian-stretch-armhf/isar-bootstrap-host-debian-stretch-amd64/rootfs/etc/apt/preferences.d/bootstrap" | mkdir -p "/mnt/ssd/isar/upstream/build/tmp/work/raspbian-stretch-armhf/isar-bootstrap-host-debian-stretch-amd64/rootfs/etc/apt/sources.list.d" | if [ "${ISAR_USE_CACHED_BASE_REPO}" = "1" ]; then | sed -e "s#{BASE_DISTRO}#"raspbian"#g" \ | -e "s#{BASE_DISTRO_CODENAME}#"stretch"#g" \ | -i /mnt/ssd/isar/upstream/build/tmp/work/raspbian-stretch-armhf/isar-bootstrap-host-debian-stretch-amd64/base-apt-sources | mkdir -p /mnt/ssd/isar/upstream/build/tmp/work/raspbian-stretch-armhf/isar-bootstrap-host-debian-stretch-amd64/rootfs/base-apt | sudo mount --bind /mnt/ssd/isar/upstream/build/downloads/base-apt/apt /mnt/ssd/isar/upstream/build/tmp/work/raspbian-stretch-armhf/isar-bootstrap-host-debian-stretch-amd64/rootfs/base-apt | install -v -m644 "/mnt/ssd/isar/upstream/build/tmp/work/raspbian-stretch-armhf/isar-bootstrap-host-debian-stretch-amd64/base-apt-sources" \ | "/mnt/ssd/isar/upstream/build/tmp/work/raspbian-stretch-armhf/isar-bootstrap-host-debian-stretch-amd64/rootfs/etc/apt/sources.list.d/base-apt.list" | else | install -v -m644 "/mnt/ssd/isar/upstream/build/tmp/work/raspbian-stretch-armhf/isar-bootstrap-host-debian-stretch-amd64/apt-sources" \ | "/mnt/ssd/isar/upstream/build/tmp/work/raspbian-stretch-armhf/isar-bootstrap-host-debian-stretch-amd64/rootfs/etc/apt/sources.list.d/bootstrap.list" | fi | install -v -m644 "/mnt/ssd/isar/upstream/build/tmp/work/raspbian-stretch-armhf/isar-bootstrap-host-debian-stretch-amd64/apt-sources-init" \ | "/mnt/ssd/isar/upstream/build/tmp/work/raspbian-stretch-armhf/isar-bootstrap-host-debian-stretch-amd64/rootfs/etc/apt/sources-list" | rm -f "/mnt/ssd/isar/upstream/build/tmp/work/raspbian-stretch-armhf/isar-bootstrap-host-debian-stretch-amd64/rootfs/etc/apt/sources.list" | mkdir -p "/mnt/ssd/isar/upstream/build/tmp/work/raspbian-stretch-armhf/isar-bootstrap-host-debian-stretch-amd64/rootfs/etc/apt/apt.conf.d" | install -v -m644 "/mnt/ssd/isar/upstream/build/tmp/work/raspbian-stretch-armhf/isar-bootstrap-host-debian-stretch-amd64/isar-apt.conf" \ | "/mnt/ssd/isar/upstream/build/tmp/work/raspbian-stretch-armhf/isar-bootstrap-host-debian-stretch-amd64/rootfs/etc/apt/apt.conf.d/50isar.conf" | | if [ "stretch" = "stretch" ] && [ "4" -lt "4" ]; then | install -v -m644 "/mnt/ssd/isar/upstream/build/tmp/work/raspbian-stretch-armhf/isar-bootstrap-host-debian-stretch-amd64/isar-apt-fallback.conf" \ | "/mnt/ssd/isar/upstream/build/tmp/work/raspbian-stretch-armhf/isar-bootstrap-host-debian-stretch-amd64/rootfs/etc/apt/apt.conf.d/55isar-fallback.conf" | fi | | # Set locale | install -v -m644 "/mnt/ssd/isar/upstream/build/tmp/work/raspbian-stretch-armhf/isar-bootstrap-host-debian-stretch-amd64/locale" "/mnt/ssd/isar/upstream/build/tmp/work/raspbian-stretch-armhf/isar-bootstrap-host-debian-stretch-amd64/rootfs/etc/locale" | | sed -i '/en_US.UTF-8 UTF-8/s/^#//g' "/mnt/ssd/isar/upstream/build/tmp/work/raspbian-stretch-armhf/isar-bootstrap-host-debian-stretch-amd64/rootfs/etc/locale.gen" | chroot "/mnt/ssd/isar/upstream/build/tmp/work/raspbian-stretch-armhf/isar-bootstrap-host-debian-stretch-amd64/rootfs" /usr/sbin/locale-gen | | # setup chroot | install -v -m755 "/mnt/ssd/isar/upstream/build/tmp/work/raspbian-stretch-armhf/isar-bootstrap-host-debian-stretch-amd64/chroot-setup.sh" "/mnt/ssd/isar/upstream/build/tmp/work/raspbian-stretch-armhf/isar-bootstrap-host-debian-stretch-amd64/rootfs/chroot-setup.sh" | "/mnt/ssd/isar/upstream/build/tmp/work/raspbian-stretch-armhf/isar-bootstrap-host-debian-stretch-amd64/rootfs/chroot-setup.sh" "setup" "/mnt/ssd/isar/upstream/build/tmp/work/raspbian-stretch-armhf/isar-bootstrap-host-debian-stretch-amd64/rootfs" | | # update APT | mount --rbind /dev /mnt/ssd/isar/upstream/build/tmp/work/raspbian-stretch-armhf/isar-bootstrap-host-debian-stretch-amd64/rootfs/dev | mount --make-rslave /mnt/ssd/isar/upstream/build/tmp/work/raspbian-stretch-armhf/isar-bootstrap-host-debian-stretch-amd64/rootfs/dev | mount -t proc none /mnt/ssd/isar/upstream/build/tmp/work/raspbian-stretch-armhf/isar-bootstrap-host-debian-stretch-amd64/rootfs/proc | mount --rbind /sys /mnt/ssd/isar/upstream/build/tmp/work/raspbian-stretch-armhf/isar-bootstrap-host-debian-stretch-amd64/rootfs/sys | mount --make-rslave /mnt/ssd/isar/upstream/build/tmp/work/raspbian-stretch-armhf/isar-bootstrap-host-debian-stretch-amd64/rootfs/sys | | export DEBIAN_FRONTEND=noninteractive | chroot "/mnt/ssd/isar/upstream/build/tmp/work/raspbian-stretch-armhf/isar-bootstrap-host-debian-stretch-amd64/rootfs" /usr/bin/apt-get update -y | chroot "/mnt/ssd/isar/upstream/build/tmp/work/raspbian-stretch-armhf/isar-bootstrap-host-debian-stretch-amd64/rootfs" /usr/bin/apt-get dist-upgrade -y \ | -o Debug::pkgProblemResolver=yes | | umount -l "/mnt/ssd/isar/upstream/build/tmp/work/raspbian-stretch-armhf/isar-bootstrap-host-debian-stretch-amd64/rootfs/dev" | umount -l "/mnt/ssd/isar/upstream/build/tmp/work/raspbian-stretch-armhf/isar-bootstrap-host-debian-stretch-amd64/rootfs/proc" | umount -l "/mnt/ssd/isar/upstream/build/tmp/work/raspbian-stretch-armhf/isar-bootstrap-host-debian-stretch-amd64/rootfs/sys" | umount -l "/mnt/ssd/isar/upstream/build/tmp/work/raspbian-stretch-armhf/isar-bootstrap-host-debian-stretch-amd64/rootfs/base-apt" || true | | # Finalize debootstrap by setting the link in deploy | ln -Tfsr "/mnt/ssd/isar/upstream/build/tmp/work/raspbian-stretch-armhf/isar-bootstrap-host-debian-stretch-amd64/rootfs" "/mnt/ssd/isar/upstream/build/tmp/deploy/bootstrap/debian-stretch-amd64" | fi | ) 9>'/mnt/ssd/isar/upstream/build/tmp/deploy/bootstrap/debian-stretch-amd64.lock' | EOSUDO | ' | ERROR: Function failed: do_bootstrap (log file is located at /mnt/ssd/isar/upstream/build/tmp/work/raspbian-stretch-armhf/isar-bootstrap-host-debian-stretch-amd64/temp/log.do_bootstrap.27078) ERROR: Task (multiconfig:rpi-stretch:/mnt/data/isar/layers/isar-master/meta/recipes-core/isar-bootstrap/isar-bootstrap-host.bb:do_bootstrap) failed with exit code '1' --- end error log --- So pretty much the same error I currently deal with. Claudius -- 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