From: "Mathieu Dubois-Briand" <mathieu.dubois-briand@bootlin.com>
To: <adrian.freihofer@siemens.com>, <bitbake-devel@lists.openembedded.org>
Subject: Re: [bitbake-devel] [PATCH 0/1] bitbake --skip-deps feature
Date: Tue, 30 Dec 2025 16:14:00 +0100 [thread overview]
Message-ID: <DFBNDN2ZOJC6.3V3I5GLBKAT8Q@bootlin.com> (raw)
In-Reply-To: <20251230091530.2373504-1-adrian.freihofer@siemens.com>
On Tue Dec 30, 2025 at 10:15 AM CET, Adrian Freihofer via lists.openembedded.org wrote:
> From: Adrian Freihofer <adrian.freihofer@siemens.com>
>
> Adds a "skip-deps" feature to run/build specific tasks without scheduling their
> full dependency tree.
>
> This is useful for devtool ide-sdk, which works like this:
> - The IDE's native build system is used to build the code.
> - bitbake my-recipe:do_install --skip-deps --force is run to install the built
> artifacts.
> - A script based on devtool deploy-target is used to deploy the installed
> artifacts to the target device.
> - The IDE's debugging features are used to debug the code on the target device.
>
> One more commit to openembedded-core is needed to fully support this feature.
> This is already prepared and tested. Branch is here:
> https://git.openembedded.org/openembedded-core-contrib/log/?h=adrianf/ide-sdk-improvements
>
> Adrian Freihofer (1):
> tests/runqueue: cover --skip-deps
>
> lib/bb/tests/runqueue.py | 9 +++++++++
> 1 file changed, 9 insertions(+)
Hi Adrian,
Thanks for your patch. Is the bitbake series complete? I can see a patch
adding tests, but none adding the feature. Am I missing something?
So far, the test is failing on the autobuilder:
FAIL: test_skip_deps (bb.tests.runqueue.RunQueueTests.test_skip_deps)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/layers/bitbake/lib/bb/tests/runqueue.py", line 41, in run_bitbakecmd
output = subprocess.check_output(cmd, env=env, stderr=subprocess.STDOUT,universal_newlines=True, cwd=builddir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.12/subprocess.py", line 466, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.12/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['bitbake', 'a1', '-c', 'install', '--skip-deps']' returned non-zero exit status 2.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/layers/bitbake/lib/bb/tests/runqueue.py", line 409, in test_skip_deps
tasks = self.run_bitbakecmd(cmd, tempdir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/layers/bitbake/lib/bb/tests/runqueue.py", line 46, in run_bitbakecmd
self.fail("Command %s failed with %s" % (cmd, e.output))
AssertionError: Command ['bitbake', 'a1', '-c', 'install', '--skip-deps'] failed with usage: bitbake [-s] [-e] [-g] [-u UI] [--version] [-h] [-f] [-c CMD]
[-C INVALIDATE_STAMP] [--runall RUNALL] [--runonly RUNONLY]
[--no-setscene] [--skip-setscene] [--setscene-only] [-n] [-p]
[-k] [-P PROFILE] [-S SIGNATURE_HANDLER] [--revisions-changed]
[-b BUILDFILE] [-D] [-l DEBUG_DOMAINS] [-v] [-q]
[-w WRITEEVENTLOG] [-B BIND] [-T SERVER_TIMEOUT]
[--remote-server REMOTE_SERVER] [-m] [--token XMLRPCTOKEN]
[--observe-only] [--status-only] [--server-only] [-r PREFILE]
[-R POSTFILE] [-I EXTRA_ASSUME_PROVIDED]
[recipename/target ...]
bitbake: error: unrecognized arguments: --skip-deps
https://autobuilder.yoctoproject.org/valkyrie/#/builders/48/builds/2823
https://autobuilder.yoctoproject.org/valkyrie/#/builders/23/builds/3068
https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/2930
Thanks,
Mathieu
--
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
prev parent reply other threads:[~2025-12-30 15:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-30 9:15 [PATCH 0/1] bitbake --skip-deps feature AdrianF
2025-12-30 9:15 ` [PATCH 1/1] tests/runqueue: cover --skip-deps AdrianF
2025-12-30 15:14 ` Mathieu Dubois-Briand [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DFBNDN2ZOJC6.3V3I5GLBKAT8Q@bootlin.com \
--to=mathieu.dubois-briand@bootlin.com \
--cc=adrian.freihofer@siemens.com \
--cc=bitbake-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.