Re: [yocto] Issue with accessing network from a recipe

2022-12-20 Thread Gärding Antti via lists . yoctoproject . org
Hi, I noticed that the another question was probably due to my own mistake: Accessing network from do_fetch seems to work, but I hadn't noticed that I had left commands requiring network into do_compile even though I had moved those of them that were in do_configure to do_fetch. Best regards,

Re: [yocto] [qa-build-notification] QA notification for completed autobuilder build (yocto-4.0.6.rc1)

2022-12-20 Thread Jing Hui Tham
Hi All, QA for yocto-4.0.6.rc1 is completed. This is the full report for this release: https://git.yoctoproject.org/cgit/cgit.cgi/yocto-testresults-contrib/tree/?h=intel-yocto-testresults === Summary No high milestone defects. No new issue found. Thanks, Jing Hui > -Or

[yocto] Yocto Project Status 20 December 2022 (WW51)

2022-12-20 Thread Stephen Jolley
Current Dev Position: YP 4.2 M2 Next Deadline: 23th January 2023 YP 4.2 M2 Build Next Team Meetings: * Bug Triage meeting Thursday December 22nd 7:30 am PDT ( https://zoom.us/j/454367603?pwd=ZGxoa2ZXL3FkM3Y0bFd5aVpHVVZ6d

Re: [yocto] [layerindex-web] [PATCH] layerindex/utils.py: Add to baseconfig=True for bb.parse.handle()

2022-12-20 Thread Tim Orling
On Mon, Dec 19, 2022 at 11:26 PM Robert Yang wrote: > Bitbake's api has been changed via: > afb8478d3 parse: Add support for addpylib conf file directive and > BB_GLOBAL_PYMODULES > > The conf file won't be parsed without baseconfig=True: > bb.parse.ParseError: ParseError at > /path/to/oe-core/me

[yocto] Error creating recipe for Perl DBI for postgresql in Kirkstone

2022-12-20 Thread Fernando Luiz Cola
Hello, I'm trying to write a recipe a Perl DBI for postgresql. I'm follwing the same recipe found in: https://layers.openembedded.org/layerindex/recipe/192563/ ( https://layers.openembedded.org/layerindex/recipe/192563/ ) and https://layers.openembedded.org/layerindex/recipe/190989 / Howover I'm

Re: [yocto] Error creating recipe for Perl DBI for postgresql in Kirkstone

2022-12-20 Thread Tim Orling
On Tue, Dec 20, 2022 at 12:28 PM Fernando Luiz Cola wrote: > Hello, I'm trying to write a recipe a Perl DBI for postgresql. I'm > follwing the same recipe found in: > https://layers.openembedded.org/layerindex/recipe/192563/ and > https://layers.openembedded.org/layerindex/recipe/190989/ > Howov

[yocto] [PATCH 2/3] recipeparse.py: Checkout deplayerbranch before parsing

2022-12-20 Thread Robert Yang
Fixed: $ ./update.py -b hardknott,master ERROR: Variable PREMIRRORS_append contains an operation using the old override syntax. Please convert this layer/metadata before attempting to use with a newer bitbake. This is because it doesn't checkout master branch when parse it, this patch fixed the

[yocto] [PATCH 3/3] utils.py: Prefer the one which matches branchname for depends layer

2022-12-20 Thread Robert Yang
The meta-xilinx was mata-xilinx/meta-xilinx-bsps, and now upstream has changed it to mata-xilinx/meta-xilinx-core, but get_dependency_layer always returns the first one (mata-xilinx/meta-xilinx-bsps) found, which causes errors like: $ ./update.py -b master-wr -l meta-xilinx-bsp ERROR: Dependency m

[yocto] [PATCH 1/3] util.py: Fix for removing non-existed dependencies

2022-12-20 Thread Robert Yang
The previous code didn't work when there is no deps or recs, it would return immediately without removing the on-existed dependencies, this patch fixes the problem. Signed-off-by: Robert Yang --- layerindex/utils.py | 30 +++--- 1 file changed, 19 insertions(+), 11 deleti

Re: [yocto] [layerindex-web] [PATCH] layerindex/utils.py: Add to baseconfig=True for bb.parse.handle()

2022-12-20 Thread Robert Yang
On 12/21/22 00:39, Tim Orling wrote: On Mon, Dec 19, 2022 at 11:26 PM Robert Yang > wrote: Bitbake's api has been changed via: afb8478d3 parse: Add support for addpylib conf file directive and BB_GLOBAL_PYMODULES The conf file won't be pars

Re: [yocto] Yocto with Monorepo - best practice for building apps that have source within the repo?

2022-12-20 Thread Chuck Wolber
On Wed, Dec 14, 2022 at 11:19 AM David Antliff wrote: > How do you handle that in Yocto though? What mechanisms do you use to > refer to your code? Do you just keep it all under the files/ directories? > Sorry for the slow reply. Yes, keeping it under the recipe is the approach we use. For examp