Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run bitbake in the docker image #112

Closed
rafluan opened this issue Mar 23, 2025 · 2 comments
Closed

run bitbake in the docker image #112

rafluan opened this issue Mar 23, 2025 · 2 comments

Comments

@rafluan
Copy link

rafluan commented Mar 23, 2025

Hello everyone, I'm trying to generate a test image with isar, inside a container with the debian trixie version. I've already changed the permissions of the directory where I'm cloning the environment, and I still have the following error:

 WARNING: /home/luan/src/machines/dart-mx8m-mini/isar-test/isar/meta-isar/recipes-app/cowsay/cowsay_git.bb: Unable to export ${SOURCE_DATE_EPOCH}: Failure expanding variable SOURCE_DATE_EPOCH, expression was ${@get_source_date_epoch_value(d)} which triggered exception PermissionError: [Errno 13] Permission denied: '/home/luan/src/machines/dart-mx8m-mini/isar-test/build/tmp/work/debian-bookworm-armhf/cowsay/git-r0/source-date-epoch/__source_date_epoch.txt'
The variable dependency chain for the failure is: SOURCE_DATE_EPOCH
ERROR: Build of do_deploy_source failed
ERROR: Traceback (most recent call last):
  File "/home/luan/src/machines/dart-mx8m-mini/isar-test/isar/bitbake/lib/bb/build.py", line 783, in exec_task
  File "/home/luan/src/machines/dart-mx8m-mini/isar-test/isar/bitbake/lib/bb/build.py", line 630, in _exec_task
  File "/home/luan/src/machines/dart-mx8m-mini/isar-test/isar/bitbake/lib/bb/utils.py", line 767, in mkdirhier
  File "/home/luan/src/machines/dart-mx8m-mini/isar-test/isar/bitbake/lib/bb/utils.py", line 764, in mkdirhier
  File "<frozen os>", line 217, in makedirs
  File "<frozen os>", line 217, in makedirs
  File "<frozen os>", line 217, in makedirs
  [Previous line repeated 7 more times]
  File "<frozen os>", line 227, in makedirs
PermissionError: [Errno 13] Permission denied: '/home/luan/src'

ERROR: Task (mc:qemuarm-bookworm:/home/luan/src/machines/dart-mx8m-mini/isar-test/isar/meta-isar/recipes-app/cowsay/cowsay_git.bb:do_deploy_source) failed with exit code '1'

Can someone help me?

@ismagulb
Copy link
Contributor

Hello rafluan,
Isar's preferred way of building under docker is kas-container, have you tried it?
Trixie is stricter on inputs, so building in the trixie environment currently has issues. We've fixed a few, others require more work.
If building in bookworm is sufficient, you could try that first.
IIRC, building trixie root filesystems should be possible from under bookworm.

@rafluan
Copy link
Author

rafluan commented Mar 24, 2025

Hi @ismagulb,

This is my first contact with isar, but I was able to build it easily after that. I know this might not be the right place to ask, but can I use a generic layer like meta-freescale with Isar to generate and install GPU drivers?

Thanks,
Luan Rafael

@rafluan rafluan closed this as completed Mar 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants