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 <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
> <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.
Thanks,
Vijai Kumar K
Jan
--
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux