Hello all,
As mentioned on the call today, I have an issue in a configuration with
bitbake-setup, oe-core-master fragments and runqemu:
$ runqemu qemux86-64
runqemu - INFO - Running MACHINE=qemux86-64 bitbake -e ...
runqemu - WARNING - Couldn't run 'MACHINE=qemux86-64 bitbake -e ' to
gather environment information, maybe the target wasn't an image name, will
retry with virtual/kernel as a target:
ERROR: A builtin fragment 'machine/qemux86-64' is used while MACHINE has
already got an assignment.
Please either disable the fragment or remove the value assignment.
To disable the fragment, use 'bitbake-config-build disable-fragment
machine/qemux86-64'.
ERROR: Unable to parse
/home/ubuntu/my-first-bitbake-setup-project/bitbake-builds/oe-nodistro-master/layers/bitbake/lib/bb/__init__.py
Traceback (most recent call last):
File
"/home/ubuntu/my-first-bitbake-setup-project/bitbake-builds/oe-nodistro-master/layers/bitbake/lib/bb/__init__.py",
line 262, in fatal
raise BBHandledException()
bb.BBHandledException
Traceback (most recent call last):
File
"/home/ubuntu/my-first-bitbake-setup-project/bitbake-builds/oe-nodistro-master/layers/openembedded-core/scripts/runqemu",
line 1726, in run_bitbake_env
return subprocess.check_output(cmd, shell=True).decode('utf-8')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/subprocess.py", line 466, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 'MACHINE=qemux86-64 bitbake -e '
returned non-zero exit status 1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File
"/home/ubuntu/my-first-bitbake-setup-project/bitbake-builds/oe-nodistro-master/layers/openembedded-core/scripts/runqemu",
line 1792, in main
config.check_args()
File
"/home/ubuntu/my-first-bitbake-setup-project/bitbake-builds/oe-nodistro-master/layers/openembedded-core/scripts/runqemu",
line 620, in check_args
self.check_arg_machine(unknown_arg)
File
"/home/ubuntu/my-first-bitbake-setup-project/bitbake-builds/oe-nodistro-master/layers/openembedded-core/scripts/runqemu",
line 493, in check_arg_machine
self.bitbake_e = self.run_bitbake_env(arg)
^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/home/ubuntu/my-first-bitbake-setup-project/bitbake-builds/oe-nodistro-master/layers/openembedded-core/scripts/runqemu",
line 1735, in run_bitbake_env
return subprocess.check_output(cmd, shell=True).decode('utf-8')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/subprocess.py", line 466, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 'MACHINE=qemux86-64 bitbake -e
virtual/kernel' returned non-zero exit status 1.
runqemu - INFO - Cleaning up
runqemu - INFO - Host uptime: 17047514.08
Anyone has seen something like that?
Build commands (bitbake hash 7cf11787ee7942a00ba7e8fa2c590a2563070c38)
mkdir my-first-bitbake-setup-project
cd my-first-bitbake-setup-project/
git clone https://git.openembedded.org/bitbake
./bitbake/bin/bitbake-setup init
.
/home/ubuntu/my-first-bitbake-setup-project/bitbake-builds/oe-nodistro-master/build/init-build-env
bitbake-config-build list-fragments
bitbake-config-build enable-fragment core/yocto/sstate-mirror-cdn
bitbake-config-build enable-fragment
core/yocto/root-login-with-empty-password
bitbake core-image-minimal
Kind regards,
Marta
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#234302):
https://lists.openembedded.org/g/openembedded-core/message/234302
Mute This Topic: https://lists.openembedded.org/mt/118598283/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-