From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6931066459248394240 X-Received: by 2002:a05:6512:1085:: with SMTP id j5mr7226884lfg.592.1614167946211; Wed, 24 Feb 2021 03:59:06 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a19:e86:: with SMTP id 128ls1163450lfo.0.gmail; Wed, 24 Feb 2021 03:59:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJz+9pHWPnsXYikETzg3XSSiW7QcwJRKOhjF9nnYJGcszo219slB+eLUHeG6pv3txkVN5Yu4 X-Received: by 2002:a05:6512:6c6:: with SMTP id u6mr18955264lff.347.1614167945226; Wed, 24 Feb 2021 03:59:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614167945; cv=none; d=google.com; s=arc-20160816; b=o1gEsMj/qg4GSFAvM+ONGuAx4GFsoOrawNZQCzhMrE9Li/FqAQjwVlrZ12Ar04DU4J UsFqF2sQEgxdTFtajCVV7Pjf/Z20tL7sItAFWeIboKq+geVQmpqgeZL8therqEeRz9wV +Pe7GozbB5iVvWlffRy7pnwqVyobOkvDcmNXFxXKI6SQMxnqEzXqwZjX4uUhY1eQNK+q 9xsp3Gpe3XCP8Lmr6JBy4QSF3F18LWwx3F1JnyeCIJDi+DvafbilW5UHieRWcKQi++Nc Mp5gStp/Mwpspkp5K+KMKDdUWxXMZd+EMJzATJ6Nkmc/AZ1p2QDIfGKy35thops0pcyc kSVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date; bh=yrH/JEvmwHIB4ZbSvFF8UpgCS9zSO8vTjJKSYpG0DSo=; b=xdWXQ6FZoeFQp0KFT2M3MCYeQwzJeiHGWK17jFKlzK2Nk2bbAHG07ftjX57pkGjtuh fhwRRpeH/pBDqxf9Ra8VOjNkmRkR3cnxO7KfkwUk8tIUjZGDjfk3waiQIfHht7oBPPMI jf+puBs5GpOJKncmAbLd+SFv5aQS+8YHhuW5lUzcSoQfna4czYM2ppLcVI0HXltfrlAj vjP3npRBT+jm7rOO1wTOFJo3d5aP90pg5ZhnGEIT4Zrgqxb05SmmIUmajfI+ZFLRaLeh Jji0AlYLxkUKs01aeLxKu4HNRwEJPdKtFMUJhA4B7Veeqsb5erWlVDkC5XisqEJl56aE gdNw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 194.138.37.40 as permitted sender) smtp.mailfrom=henning.schild@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from gecko.sbs.de (gecko.sbs.de. [194.138.37.40]) by gmr-mx.google.com with ESMTPS id k21si84045lji.3.2021.02.24.03.59.05 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 Feb 2021 03:59:05 -0800 (PST) Received-SPF: pass (google.com: domain of henning.schild@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 henning.schild@siemens.com designates 194.138.37.40 as permitted sender) smtp.mailfrom=henning.schild@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 11OBx4oq031887 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 24 Feb 2021 12:59:04 +0100 Received: from md1za8fc.ad001.siemens.net ([167.87.35.103]) by mail1.sbs.de (8.15.2/8.15.2) with ESMTP id 11OBs3ct000521; Wed, 24 Feb 2021 12:54:03 +0100 Date: Wed, 24 Feb 2021 12:54:01 +0100 From: Henning Schild To: "vijaikumar....@gmail.com" Cc: isar-users Subject: Re: [RFC PATCH 2/2] recipes-core: Add recipe for base-files Message-ID: <20210224125401.406f62c2@md1za8fc.ad001.siemens.net> In-Reply-To: References: <20210219195719.29037-1-Vijaikumar_Kanagarajan@mentor.com> <20210219195719.29037-3-Vijaikumar_Kanagarajan@mentor.com> <938108f7-82d8-4cff-87f9-e9c3dcaa1148n@googlegroups.com> <7e054493-fc9c-372f-fd4c-3a0919264d54@siemens.com> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-TUID: ZDUANXcOY+3j Am Wed, 24 Feb 2021 03:40:48 -0800 (PST) schrieb "vijaikumar....@gmail.com" : > On Wednesday, February 24, 2021 at 2:51:43 PM UTC+5:30 Jan Kiszka > wrote: > > > On 24.02.21 10:20, vijaikumar....@gmail.com wrote: > > > > > > > > > On Tuesday, February 23, 2021 at 2:11:02 PM UTC+5:30 > > > vijaikumar....@gmail.com wrote: > > > > > > On Monday, February 22, 2021 at 6:10:08 PM UTC+5:30 > > > ami...@ilbers.de wrote: > > > > > > 19.02.2021 22:57, Vijai Kumar K wrote: > > > > /etc/os-release is a symlink to /usr/lib/os-release and > > > belongs to > > > > the base-files package. > > > > > > > > ISAR has been modifying the /etc/os-release during > > > > postprocessing to inject custom data onto it. > > > > > > > > Since this file belongs to base-files, an update/reinstall of > > > > the package would overwrite the file with the one provided by > > > base-files. > > > > > > > > Instead of modifying the contents of /etc/os-release during > > > > post-processing, provide a modified base-files recipe in ISAR > > > which > > > > provides the similar changes in os-release. > > > > > > > > Signed-off-by: Vijai Kumar K > > > > > > Hello, base-files package failed to build for qemuarm64-focal > > > target > > > during CI: > > > > > > 15:12:37 dh_strip > > > 15:12:37 aarch64-linux-gnu-objcopy: Unable to recognise the > > > format of > > > the input file `debian/base-files/usr/bin/locale-check' > > > 15:12:37 dh_strip: error: aarch64-linux-gnu-objcopy > > > --only-keep-debug > > > --compress-debug-sections debian/base-files/usr/bin/locale-check > > > > > debian/.debhelper/base-files/dbgsym-root/usr/lib/debug/.build-id/71/aa3df0a7e05817cb7e212513aeae7db21d8593.debug > > > > > > > > returned exit code 1 > > > 15:12:37 dh_strip: error: Aborting due to earlier error > > > 15:12:37 make: *** [debian/rules:15: binary] Error 25 > > > 15:12:37 dpkg-buildpackage: error: fakeroot debian/rules binary > > > subprocess returned exit status 2 > > > 15:12:37 WARNING: exit code 2 from a shell command. > > > > > > Full log: > > > http://ci.isar-build.org:8080/job/isar_am_devel_fast/89/console > > > > > > > > > > > > Thank you Anton, for quickly running this through our CI. I will > > > try to replicate the issue in my local build and will fix it in > > > next version. > > > > > > > > > This seems to be like a qemu issue. > > > https://www.mail-archive.com/debian...@lists.debian.org/msg59230.html > > > > > > > > > > > > > We could work around it by setting ISAR_CROSS_COMPILE. But ubuntu > > > base-files cross compilation is failing. > > > That needs to be fixed first. Maybe should raise an issue in > > > ubuntu. > > > > Are we running qemu-user-static from bullseye here already? That is > > what we do in kas-isar for a while. > > > Just now tried in kas. It works as expected. Maybe we might need to > update ISAR > docs to denote the need for the latest qemu? > > That leaves the cross-building issue. > Raised a bug report in ubuntu for that. > https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/1916714 > I will also see if I can send a patch for this. Till then we might > need to disable > ISAR_CROSS_COMPILE for base-files for ubuntu. Nice to see those reports and doc updates coming out (vijai, please send that doc patch) But the general approach of this packages seems to be a dead end https://groups.google.com/g/isar-users/c/maMS_p5Ep2o/m/lWSgTr7TAgAJ Henning > Thanks, > Vijai Kumar K > > > > > > > > Jan > > > > -- > > Siemens AG, T RDA IOT > > Corporate Competence Center Embedded Linux > > >