From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6931066459248394240 Date: Wed, 24 Feb 2021 01:20:04 -0800 (PST) From: "vijaikumar....@gmail.com" To: isar-users Message-Id: <938108f7-82d8-4cff-87f9-e9c3dcaa1148n@googlegroups.com> In-Reply-To: References: <20210219195719.29037-1-Vijaikumar_Kanagarajan@mentor.com> <20210219195719.29037-3-Vijaikumar_Kanagarajan@mentor.com> Subject: Re: [RFC PATCH 2/2] recipes-core: Add recipe for base-files MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_2372_227326931.1614158404019" X-TUID: gi+EB5h7hYyb ------=_Part_2372_227326931.1614158404019 Content-Type: multipart/alternative; boundary="----=_Part_2373_1608431015.1614158404019" ------=_Part_2373_1608431015.1614158404019 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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. Thanks, Vijai Kumar K > Best, > Vijai Kumar K > > >> -- >> Anton Mikanovich >> Promwad Ltd. >> External service provider of ilbers GmbH >> Maria-Merian-Str. 8 >> 85521 Ottobrunn, Germany >> +49 (89) 122 67 24-0 >> Commercial register Munich, HRB 214197 >> General Manager: Baurzhan Ismagulov >> >> ------=_Part_2373_1608431015.1614158404019 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable

O= n Tuesday, February 23, 2021 at 2:11:02 PM UTC+5:30 vijaikumar....@gmail.co= m wrote:
On Monday, Feb= ruary 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-fil= es.
>
> Instead of modifying the contents of /etc/os-release during
> post-processing, provide a modified base-files recipe in ISAR whic= h
> provides the similar changes in os-release.
>
> Signed-off-by: Vijai Kumar K <Vijaikumar_..= .@mentor.com>

Hello, base-files package failed to build for qemuarm64-focal target=20
during CI:

15:12:37    dh_strip
15:12:37 aarch64-linux-gnu-objcopy: Unable to recognise the format of= =20
the input file `debian/base-files/usr/bin/locale-check'
15:12:37 dh_strip: error: aarch64-linux-gnu-objcopy --only-keep-debug= =20
--compress-debug-sections debian/base-files/usr/bin/locale-check=20
debian/.debhelper/base-files/dbgsym-root/usr/lib/debug/.build-id/71/aa3= df0a7e05817cb7e212513aeae7db21d8593.debug=20
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=20
subprocess returned exit status 2
15:12:37 WARNING: exit code 2 from a shell command.

Full log: http://ci.isar-build.org:80= 80/job/isar_am_devel_fast/89/console

Thank= you Anton, for quickly running this through our CI.  I will try to re= plicate the issue in my local build and will fix it in next version.
<= div>

This seems to be like = a qemu issue.
https://www.mail-archive.com/debian-glibc@lists.deb= ian.org/msg59230.html

We could work around it by s= etting ISAR_CROSS_COMPILE. But ubuntu base-files cross compilation is faili= ng.
That needs to be fixed first. Maybe should raise an issue in = ubuntu.

Thanks,
Vijai Kumar K
=  
Best,
Vijai Kumar K
<= div class=3D"gmail_quote">


--=20
Anton Mikanovich
Promwad Ltd.
External service provider of ilbers GmbH
Maria-Merian-Str. 8
85521 Ottobrunn, Germany
+49 (89) 122 67 24-0
Commercial register Munich, HRB 214197
General Manager: Baurzhan Ismagulov

------=_Part_2373_1608431015.1614158404019-- ------=_Part_2372_227326931.1614158404019--