public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* Rapios Wic Image
@ 2022-03-09 18:57 Jonas Reindl
  2022-03-10  7:30 ` Jan Kiszka
  2022-03-10  8:04 ` Henning Schild
  0 siblings, 2 replies; 5+ messages in thread
From: Jonas Reindl @ 2022-03-09 18:57 UTC (permalink / raw)
  To: isar-users

Hey everyone,

I'm currently trying to build a raspios image as "wic-img" and get a 
python import error.

kas-version: 3.0.2

isar-version: 0.8

I'm using kas-container to build the images with multiconfig for that.

```

     MACHINE ?= "rpi-arm"
     DISTRO ?= "raspios-bullseye"

     IMAGE_FSTYPES = "wic-img"

```

Error:

Exception: bb.process.ExecutionError: Execution of 
'/build/tmp/work/raspios-bullseye-armhf/my-image-base-rpi-arm-wic-img/1.0-r0/temp/run.generate_wic_image.285' 
failed with exit code 1:
Traceback (most recent call last):
   File "/work/layers/isar/scripts/wic", line 27, in <module>
     from distutils import spawn
ImportError: cannot import name 'spawn' from 'distutils' 
(/usr/lib/python3.9/distutils/__init__.py)
WARNING: exit code 1 from a shell command.

If I enter the build environment with the kas shell and execute python3 
I'm able to import spawn. I also rebuild the docker container to 
explicitly include python3-distutils. Maybe I misunderstood something, 
but I don't know how I should further debug that.

In case needed I can provide the fullstack trace and the sh script which 
tried to generate the wic.

Best regards,

Jonas




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-03-14 14:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-09 18:57 Rapios Wic Image Jonas Reindl
2022-03-10  7:30 ` Jan Kiszka
2022-03-10  8:04 ` Henning Schild
2022-03-14 13:59   ` Jonas Reindl
2022-03-14 14:58     ` Jan Kiszka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox