From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6931066459248394240 X-Received: by 2002:a2e:730d:: with SMTP id o13mr18849660ljc.396.1614158503790; Wed, 24 Feb 2021 01:21:43 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a2e:9043:: with SMTP id n3ls262557ljg.5.gmail; Wed, 24 Feb 2021 01:21:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJyz8O1DkY/9A8pLHvgqh5BXW1yQ5Pg2u90BJNTcLF1FeMSUwRVbl9vc9ert8hK+mu3SkCKR X-Received: by 2002:a2e:8849:: with SMTP id z9mr14093913ljj.478.1614158502568; Wed, 24 Feb 2021 01:21:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614158502; cv=none; d=google.com; s=arc-20160816; b=j/TJZVe0yrv3jRIzvSxTICE23Crl7pUorG2zz+To0MzrgeQ7CVur0nB4pTb3ADL7y2 3c2Qk+QwS45WnPtUXgFPwDInBNslTqUmgmzg4OHe+QIHm5Sf0zdFtPE0R7usm3KExrLV runqh96PCi7/JlwhQIsA+CTod2ZA3zllL0/dOr4ngfOAVDSK6bymkwSi9TfERZ0d9JFQ dEN4geqkRtd7ionkeD4bemrJ4JOvdZCx85sx6CcfC9/mA2PUbESq5EIHkStU8a7ymfqz Zs54/mMqbB0F5bo+6u21ks6ZecgEBx7xbZcxLsmhqdDr1IW3vcO0F3OhfErMzf6dpmBz 6OWw== 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=yaHiaEGSL5ssChBr8e8NiPV4ZFFCO17ePMWETtrfjy8=; b=tbZH4RHsWrHcFmE7+q61Ww1U376+nCgp9lehaGH9hR1IaguKQQWy31USVHzL7L94E+ NEuhOp/bDeDqVYgpszEn8DrgFMfWWhtwYq4agRhHw/OhqmLnos5wCOtX/D1jxYhwpcLp r4PEOcSuR9J9w7f1+vAotfJc+jQ4MROBGSmUjbx2EmgDcVb8e3bKdfM3F6bcT66/d+xa VtLjMLiyUZ3H5red8X8ixrDhbpIOywkjD4o40RphT5rzjy0qSEa6ZULx1m4cN1CFyC60 TwDCTXP9H+oR7eFIME6eBQ4gDPONsK8aDbbU98ShKLUEnhKFh5FZdLhAVsbZ0/cqxBWk F+SA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 194.138.37.39 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from lizzard.sbs.de (lizzard.sbs.de. [194.138.37.39]) by gmr-mx.google.com with ESMTPS id k21si59368lji.3.2021.02.24.01.21.42 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 Feb 2021 01:21:42 -0800 (PST) Received-SPF: pass (google.com: domain of jan.kiszka@siemens.com designates 194.138.37.39 as permitted sender) client-ip=194.138.37.39; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 194.138.37.39 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by lizzard.sbs.de (8.15.2/8.15.2) with ESMTPS id 11O9Lfgt007024 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 24 Feb 2021 10:21:41 +0100 Received: from [139.22.43.132] ([139.22.43.132]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id 11O9LfKr026434; Wed, 24 Feb 2021 10:21:41 +0100 Subject: Re: [RFC PATCH 2/2] recipes-core: Add recipe for base-files To: "vijaikumar....@gmail.com" , isar-users References: <20210219195719.29037-1-Vijaikumar_Kanagarajan@mentor.com> <20210219195719.29037-3-Vijaikumar_Kanagarajan@mentor.com> <938108f7-82d8-4cff-87f9-e9c3dcaa1148n@googlegroups.com> From: Jan Kiszka Message-ID: <7e054493-fc9c-372f-fd4c-3a0919264d54@siemens.com> Date: Wed, 24 Feb 2021 10:21:41 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <938108f7-82d8-4cff-87f9-e9c3dcaa1148n@googlegroups.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-TUID: FrQymMsq8L2x 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-glibc@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. Jan -- Siemens AG, T RDA IOT Corporate Competence Center Embedded Linux