From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6931066459248394240 Date: Tue, 23 Feb 2021 00:41:02 -0800 (PST) From: "vijaikumar....@gmail.com" To: isar-users Message-Id: 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_164_1673791667.1614069662332" X-TUID: uc+yp0gsRqsc ------=_Part_164_1673791667.1614069662332 Content-Type: multipart/alternative; boundary="----=_Part_165_274299862.1614069662332" ------=_Part_165_274299862.1614069662332 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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. 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_165_274299862.1614069662332 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit

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 <Vijaikumar_...@mentor.com>

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.

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_165_274299862.1614069662332-- ------=_Part_164_1673791667.1614069662332--