From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7127692007916437504 X-Received: by 2002:a05:6808:1153:b0:33a:faea:c86f with SMTP id u19-20020a056808115300b0033afaeac86fmr1509115oiu.10.1660142723569; Wed, 10 Aug 2022 07:45:23 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6870:a89d:b0:116:c273:bbc9 with SMTP id eb29-20020a056870a89d00b00116c273bbc9ls633333oab.8.-pod-prod-gmail; Wed, 10 Aug 2022 07:45:22 -0700 (PDT) X-Google-Smtp-Source: AA6agR62yFhOwvSfiIhKDUuibkXbccC80muUKahFG2eVSGRVdDRVBqSKOiU/P1XzEdEiHV36uk57 X-Received: by 2002:a05:6870:b148:b0:112:cfe1:5062 with SMTP id a8-20020a056870b14800b00112cfe15062mr1647841oal.297.1660142722856; Wed, 10 Aug 2022 07:45:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660142722; cv=none; d=google.com; s=arc-20160816; b=EYaFl5uWT5dRdp0Hajkhpg03QKyAis78BguZwpDWOcDqimtBU/W21czXxF7oSbkbXR zEoD18Y3Cbe2M8QedCTpYPP+y+Q7omCFt7X7+TLKvbn2lpC4+W9rosPBdQqBd1VBjuW0 L9MbAn+FFUcCevn+h2QbyedaXIu/oz3BvGUXc29prb8VufxxbO/+ghigsxqPCmeIUP4t rl5fZxhq7ApDNX554wwzS+Kjjxdkx0mLFA6YzAXeN4Ph1Vk9D2z1oU3Wt1/L6Q3lB55v BYKicBDRw6YxW/PZvXDiR4TAxXtuS6gjEMHDVDGd7/zUv80K6qa9HOXW9YOfgWnxjTmQ FGWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id; bh=4rqQ8Pm8vpD/kuTOfV0Vcnr4wmISsm0owN6ZGLih0r8=; b=pCEVwJHgR2vC4H5Ap8Hgr2AyuVB8qxxjS4Ff8AX9KsDoc5b37/17jeadJwcNUCqmZx VRUP5TFOcJxpKQMt7gB6/lgJQ9YbVQp2QFimzvWZgxLONUXZrZ6Ws/RAAdkxSV9VMlkr NYQ2blG14T7voojzZ4SrRK4VRlQIAcRHc+g57DmhDl2j1rVSrTWZWMeMmDxVPy3Xn07q lhDclYZVceZ+s23sUJFWv6V1FNhUjQx2jIp3yvPQBabYnNKrIimnvZtnTs1fUhfn1qR6 tO43YDsEjcvvZyfhx0XPW6XWa5Jlg/F/KaEi0B2x57Sw6eniEngWjeHyAICwr7szkj+e e6vA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id u3-20020a0568301f4300b0061c81be91e8si127606oth.4.2022.08.10.07.45.22 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 10 Aug 2022 07:45:22 -0700 (PDT) Received-SPF: pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Received: from [127.0.0.1] (host-80-81-17-52.static.customer.m-online.net [80.81.17.52]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 27AEjIOs000836 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 10 Aug 2022 16:45:19 +0200 Content-Type: multipart/alternative; boundary="------------20XwFcD28uDhdWLtB0oXKdlv" Message-ID: Date: Wed, 10 Aug 2022 17:45:16 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH] install crossbuild-essential into base schroot Content-Language: en-US To: "Moessbauer, Felix" , "isar-users@googlegroups.com" Cc: "jan.kiszka@siemens.com" , Uladzimir Bely References: <20220803164458.429368-1-felix.moessbauer@siemens.com> <4dc7c88f-a373-1f90-29a6-734a14ceae43@ilbers.de> From: Anton Mikanovich In-Reply-To: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,HTML_MESSAGE autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-TUID: VDtwZjOs3N6r This is a multi-part message in MIME format. --------------20XwFcD28uDhdWLtB0oXKdlv Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 04.08.2022 10:56, Moessbauer, Felix wrote: > The CI did not report any issues with this patch, but maybe an riscv64 test is missing... > Either we exclude these community-ports of Debian, or we simply just apply the patches for the architectures we support and we know it works (like armhf, arm64). > > Even if this is just a performance thing, in layers with dozens of packages the overhead of just installing the compilers is huge. > It also bloats the upper-dir of the schroot leading to significant disk consumption. > > Jan recently reported that the build time raised a lot when switching an arm64 layer to from ISAR v0.9 to ISAR-next (sbuild). > Very likely most of that came from the crossbuild-essential packages. > > Felix Hello Felix, I've just checked mc:qemuriscv64-sid-ports:isar-image-base target manually and it fails with: | E: Unable to locate package crossbuild-essential-riscv64 on do_rootfs_install task of sbuild-chroot-host recipe, which was predictable. It was not failed on CI because of KFAIL on Sid-Ports targets (they are not stable enough). Overall preinstalling is good idea and will improve building speed, but we should implement it in the right way. --------------20XwFcD28uDhdWLtB0oXKdlv Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
04.08.2022 10:56, Moessbauer, Felix wrote:
The CI did not report any issues with this patch, but maybe an riscv64 test is missing...
Either we exclude these community-ports of Debian, or we simply just apply the patches for the architectures we support and we know it works (like armhf, arm64).

Even if this is just a performance thing, in layers with dozens of packages the overhead of just installing the compilers is huge.
It also bloats the upper-dir of the schroot leading to significant disk consumption.

Jan recently reported that the build time raised a lot when switching an arm64 layer to from ISAR v0.9 to ISAR-next (sbuild).
Very likely most of that came from the crossbuild-essential packages.

Felix

Hello Felix,

I've just checked mc:qemuriscv64-sid-ports:isar-image-base target manually and
it fails with:

| E: Unable to locate package crossbuild-essential-riscv64

on do_rootfs_install task of sbuild-chroot-host recipe, which was predictable.
It was not failed on CI because of KFAIL on Sid-Ports targets (they are not
stable enough).

Overall preinstalling is good idea and will improve building speed, but we
should implement it in the right way.

--------------20XwFcD28uDhdWLtB0oXKdlv--