Re: How to PROVIDE boost-python
Quentin Schulz
Hi Emily,
On Tue, Mar 17, 2020 at 12:06:48PM -0500, Emily wrote: Hi Quentin -I should have read more carefully, sorry. me the following error when trying to build my original recipe:So... After googling a little bit I stumbled upon: https://askubuntu.com/a/486184 "The -mt suffix had been removed. The installed Boost libraries are multi-threading safe." I couldn't find an official statement/changelog somewhere so to be taken with a grain of salt. But I think you actually need to patch whatever is requiring -lboost_python-mt and change it to -lboost_python only in your sources. At the same time, I can't believe you're trying to build a software that wasn't built in the last 7 years. So I'm sceptical this is the actual fix? I tried to access the sources of the SW you're trying to build but from the few tries I had, couldn't manage to get my hands on it. I'm guessing some credentials are required. Can you try the above suggestion and let us know how that goes? Quentin
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: [poky] Thud community support
On 3/13/20 11:03 AM, akuster via
Lists.Yoctoproject.Org wrote:
The Poky thud branch is now under 'Community support' and is seeking a maintainer to continue supporting the following repos for the thud release: bitbake, core, meta-yocto and yocto-docs. There will be no more point releases. see https://wiki.yoctoproject.org/wiki/Stable_Release_and_LTS#Maintainer_Procedures to get an idea on what is expected. The one thing we (YP) don't know is if there will be AutoBuilder resources available. Please contact me or Richard regarding that statement. If no one steps up by April 24th (six weeks -ish from now), Thud will be moved to EOL status. It was pointed out to me that there is no Maintainer selection process or criteria defined. This will have to be sorted out before we move forward on this transition. - armin - Armin
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[meta-raspberrypi] How Build Image Supports X11 and 7" Touch Display
Tom Kellogg
I'm trying to build am image that supports X11 and will use the official 7" touch screen from the Raspberry Pi organization for
the raspberrypi2. To test I've built both core-image-x11 and core-image sato with no changes to either recipe and am getting the same behavior from both. What happens is when I plug in the unit the splash screen is shown on the 7" display then the output
from the kernel booting is shown. At some point during the kernel boot process the screen goes black but it doesn't look like the display has turned off. I am hooked up to the debug pins on the header and am able to log into the pi so the device has booted
properly. Also if I attach a monitor via HDMI to the pi the core-image-x11 shows a terminal on the monitor and the core-image-sato shows the desktop. If you touch the touch screen the cursor will move around on the monitor so the touch screen is working
properly.
I can't find anything in the meta-raspberry pi documentation for how to enable to the 7" touch screen but I did find from an old mailing archive that adding
RASPBERRYPI_DISPLAY = "1" to the local.conf is all that is needed. I have added that to the end of my local.conf but that didn't fix the issue. That was from ~3years ago though so I'm wondering if things have changed.
Thanks
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: Excluding kernel configuration fragment
Bruce Ashfield
On Tue, Mar 17, 2020 at 2:41 PM Fred Baksik <fdk17@ftml.net> wrote:
That fragment is part of the BSP definition, and has been defined as "hardware dependent", which is why you get the warning when you disable it. What you are doing, is the right way to do things, unless you modify the source fragment directly. There is a way to silence the warning, but declaring it as "non hardware", aka optional. Can you send me the exact layers/branches you are using, and I'll confirm the right thing to do with a local build. This isn't commonly done, and I'm worried it may have bitrotted and don't want to waste your time. I'll write regression test for the functionality at the same time, so it will be doubly useful for me. Bruce
-- - Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Excluding kernel configuration fragment
Fred Baksik
What is the best way of excluding a kernel configuration fragment?
I am trying to disable sound support in the kernel. I can create a fragment for this but then this conflicts with the other existing fragments. For example when using meta-intel and removing sound support then you will receive warnings like: WARNING: linux-intel-4.19.73+gitAUTOINC+a7cb57afb9_ca05e9cd64-r0 do_kernel_configcheck: [kernel config]: specified values did not make it into the kernel's final configuration: ---------- CONFIG_USB_AUDIO ----------------- Config: CONFIG_USB_AUDIO From: /.../build_corei7-64/tmp/work-shared/intel-corei7-64/kernel-source/.kernel-meta/configs/v4.19/standard/intel/features/usb/usb-gadgets.cfg Requested value: CONFIG_USB_AUDIO=m Actual value: I haven't had much luck with the documentation finding how to prune machine features and fragments; I may just misunderstand how this is supposed to be done.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: How to PROVIDE boost-python
Emily
Hi Laurent - Thanks for the suggestion. It looks like there are a few packages that provide libboost_python3: find tmp/work/*/*/*/packages-split -name libboost_python\* tmp/work/aarch64-poky-linux/boost/1.64.0-r0/packages-split/boost-dev/usr/lib/libboost_python3.so tmp/work/aarch64-poky-linux/boost/1.64.0-r0/packages-split/boost-python/usr/lib/libboost_python3.so.1.64.0 tmp/work/aarch64-poky-linux/boost/1.64.0-r0/packages-split/boost-staticdev/usr/lib/libboost_python3.a tmp/work/aarch64-poky-linux/boost/1.64.0-r0/packages-split/boost-dbg/usr/lib/.debug/libboost_python3.so.1.64.0 Adding boost-python to RDEPENDS doesn't help, I have tried it before also. This sort of made sense to me as I thought RDEPENDS was for run time dependencies, but perhaps I have misunderstood. I am working with the rocko branch and python2, so perhaps that's the problem? Thanks, Emily
On Tue, Mar 17, 2020 at 1:02 PM Laurent Gauthier <laurent.gauthier@...> wrote: Hi Emily,
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: How to PROVIDE boost-python
Laurent Gauthier
Hi Emily,
toggle quoted messageShow quoted text
To find the solution to your issue in a rational and deterministic way we need to start from the error message. What I understand is that while build recipe "opc-ua-server-gfex" you get an error message that says in short "ld: cannot find -lboost_python-mt". Therefore you need to determine which recipe (and which package in that recipe) provides the "boost_python-mt" library. One way to determine this is to run something like this: find /local/d6/easmith5/rocko_bitbake/poky/build/tmp/work/*/*/*/packages-split -name libboost_python\* This should show you which recipe, and which package produced by that recipe has the library you are looking for. The names of the first-level directories inside "packages-split" are packages names. Based on things you have mentioned in your previous e-mail my guess would be that adding an RDEPENDS = "boost-python" should help, but I might be wrong. I hope this will help you move in the right direction. Kind regards, Laurent.
On Tue, Mar 17, 2020 at 6:07 PM Emily <easmith5555@gmail.com> wrote:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: How to PROVIDE boost-python
Emily
Hi Quentin - That's what I tried originally! DEPENDS on boost and not boost-python gives me the following error when trying to build my original recipe: /local/d6/easmith5/rocko_bitbake/poky/build/tmp/work/aarch64-poky-linux/opc-ua-server-gfex/1.0+gitAUTOINC+921c563309-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/7.3.0/ld: cannot find -lboost_python-mt So I tried a bunch of other this which also didn't seem to work. Thanks for the response! Emily
On Tue, Mar 17, 2020 at 11:04 AM Quentin Schulz <quentin.schulz@...> wrote: Hi Emily,
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: How to PROVIDE boost-python
Quentin Schulz
Hi Emily,
On Tue, Mar 17, 2020 at 10:44:10AM -0500, Emily wrote: Hi all -Ok so two things. Yes, I'd say you need python in PACKAGECONFIG for boost. However, it seems it's already part of the default value of PACKAGECONFIG, c.f. http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-support/boost/boost.inc?h=master#n45 so if no bbappend is overriding it, I'd say you're safe. Better check with the version in your layer that it's there. If you don't want to check manually, try `bitbake -e boost | grep -e "^PACKAGECONFIG="` DEPENDS contains only recipes (well, PROVIDES but PROVIDES has the name of the recipe in it at all times) while RDEPENDS_* (usually ${PN}*) contains only packages. So you need to DEPENDS on boost, not boost-python. That should be enough hopefully! Quentin
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
How to PROVIDE boost-python
Emily
Hi all - I'm trying to build an opca recipe (https://github.com/kratsg/meta-l1calo/blob/add/opcServer/recipes-core/opc-ua/opc-ua-server-gfex_git.bb) and it's giving me a build error like: | /local/d6/easmith5/rocko_bitbake/poky/build/tmp/work/aarch64-poky-linux/opc-ua-server-gfex/1.0+gitAUTOINC+921c563309-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/7.3.0/ld: cannot find -lboost_python-mt Which seems to indicated I need to add boost-python to my list of DEPENDS. When I do that I get the error: ERROR: Nothing PROVIDES 'boost-python' (but /local/d6/easmith5/rocko_bitbake/meta-l1calo/recipes-core/opc-ua/opc-ua-server-gfex_git.bb DEPENDS on or otherwise requires it). Close matches: boost RPROVIDES boost-python I've tried adding PACKAGECONFIG_pn-boost="python" to both my local.conf and to the image definition as I saw this online, but neither seems to work. It seems like boost-python is being built (I can see it in the list when I run oe-pkgdata-utils list-pkgs -p boost) but it doesn't seem to be available at build for this recipe. If I remove boost from my list of DEPENDS I get an error about that, so obviously boost itself is available at build for the original recipe. I've also tried adding boost-native to DEPENDS, also did not work. Is there something obvious I'm missing, or some trick to making boost-python available at build for this other recipe? Thanks! Emily Smith
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Yocto Project Status WW11'20
Stephen Jolley
Current Dev Position: YP 3.1 M4 - Stabilization Next Deadline: YP 3.1 M4 build date 3/30/2020
Next Team Meetings:
Key Status/Updates:
YP 3.1 Milestone Dates:
Planned upcoming dot releases:
Tracking Metrics:
The Yocto Project’s technical governance is through its Technical Steering Committee, more information is available at: https://wiki.yoctoproject.org/wiki/TSC
The Status reports are now stored on the wiki at: https://wiki.yoctoproject.org/wiki/Weekly_Status
[If anyone has suggestions for other information you’d like to see on this weekly status update, let us know!]
Thanks,
Stephen K. Jolley Yocto Project Program Manager ( Cell: (208) 244-4460 * Email: sjolley.yp.pm@...
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#yocto [meta-raspberrypi] Unused memory never used
#yocto
markus4dev@...
Hi!
I am building a solution on top of raspberrypi 3a+. I am having problem that around 50% of available memory never gets used by the node applications and instead the kswapd kicks in and after a while the rpi doesn´t respond anymore. I seems that 50% of the available memory is locked. I have tried the apps on the raspbian buster image and the memory is allocated as expected. My yocto setup is like this: - meta-oe
- meta-python
- meta-multimedia
- meta-networking
- meta-raspberrypi
- meta-mender-core
- meta-mender-raspberrypi
- my-custom-layer I have added a little swap file (4MB) just in case kswapd needs it (my goal is to remove that since I don´t want to get my SD card destroyed). I have added gpu_mem=16 to restrict memory allocation from GPU. I don't use the camera (not activated VIDEO_CAMERA = "1") What am I missing? Regards, Markus
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Armando Hernandez
On Wed, Mar 11, 2020 at 11:26 AM, Khem Raj wrote:
please post your recipeHello Khem Raj, Sorry for the late reply. I was not available during last week. So, I post here my recipe. But before I want to make two comments:
I made a small modification to my initial recipe (ou will see the difference between my pasted recipe and my previous post). However the result is the same. I added "set(CMAKE_FIND_DEBUG_MODE TRUE)" and "set(CMAKE_FIND_DEBUG_MODE FALSE)" before and afer the add_custom_command() call in my CMakeFile.txt but I got not relevant output that helps me to debug this (maybe that CMAKE_FIND_DEUG_MODE is not used properly, but wanted to mentioned it anyways). So... here my recipe: LICENSE = "CLOSED" LIC_FILES_CHKSUM = "" SRC_URI = "https://github.com/xxxxxxxxx/common-test.git;protocol=https" PV = "1.0+git${SRCPV}" SRCREV = "68c6e3b837ef7d8b12d8aec0f4f558c947fac0c" S = "${WORKDIR}/git" inherit cmake EXTRA_OECMAKE = "-DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=BOTH" OECMAKE_EXTRA_ROOT_PATH="/home/ahejuser/SDK/sysroots/x86_64-pokysdk-linux" Again, any hint will be pretty much appreciated. Thanks in advance! Armando Hernandez
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
M+ & H bugs with Milestone Movements WW11
Stephen Jolley
All,
Thanks,
Stephen K. Jolley Yocto Project Program Manager ( Cell: (208) 244-4460 * Email: sjolley.yp.pm@...
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Enhancements/Bugs closed WW101
Stephen Jolley
All,
Thanks,
Stephen K. Jolley Yocto Project Program Manager ( Cell: (208) 244-4460 * Email: sjolley.yp.pm@...
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Current Top developers on Yocto Project 3.1
Stephen Jolley
All,
Thanks,
Stephen K. Jolley Yocto Project Program Manager ( Cell: (208) 244-4460 * Email: sjolley.yp.pm@...
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Yocto Project Newcomer & Unassigned Bugs - Help Needed
Stephen Jolley
All,
The triage team is starting to try and collect up and classify bugs which a newcomer to the project would be able to work on in a way which means people can find them. They're being listed on the triage page under the appropriate heading:
https://wiki.yoctoproject.org/wiki/Bug_Triage#Newcomer_Bugs
The idea is these bugs should be straight forward for a person to help work on who doesn't have deep experience with the project. If anyone can help, please take ownership of the bug and send patches! If anyone needs help/advice there are people on irc who can likely do so, or some of the more experienced contributors will likely be happy to help too.
Also, the triage team meets weekly and does its best to handle the bugs reported into the Bugzilla. The number of people attending that meeting has fallen, as have the number of people available to help fix bugs. One of the things we hear users report is they don't know how to help. We (the triage team) are therefore going to start reporting out the currently 291 unassigned or newcomer bugs.
We're hoping people may be able to spare some time now and again to help out with these. Bugs are split into two types, "true bugs" where things don't work as they should and "enhancements" which are features we'd want to add to the system. There are also roughly four different "priority" classes right now, “3.1”, “3.2, "3.99" and "Future", the more pressing/urgent issues being in "3.1" and then “3.2”.
Please review this link and if a bug is something you would be able to help with either take ownership of the bug, or send me (sjolley.yp.pm@...) an e-mail with the bug number you would like and I will assign it to you (please make sure you have a Bugzilla account). The list is at: https://wiki.yoctoproject.org/wiki/Bug_Triage_Archive#Unassigned_or_Newcomer_Bugs
Thanks,
Stephen K. Jolley Yocto Project Program Manager ( Cell: (208) 244-4460 * Email: sjolley.yp.pm@...
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: git fetcher: does not execute git fetch --tags or similar when HEAD has not changed
Richard Purdie
On Thu, 2020-03-12 at 14:55 +0100, Matthias Schoepfer via Lists.Yoctoproject.Org wrote:
We have noticed the following issue: We keep the versions of outEach of the fetcher backends makes some assumptions about what it considers to be "the same". For tarballs from whatever source this is easy and we use the hash of the tarball. For git, we work off the hash from git itself. If the hash changes, the source is taken to be different. Hashes of the same data are taken to be the same. What we don't do is account for any tag that represents that hash. If you have some extra part of the build process which is using that as a factor for the build you would also have to account for it in the task hashes. Nothing does that by default. git tags are a pain as they require network access to evaluate and they break the mirroring structure as you can't know a given tag was fetched into the mirror. So no, I'd not define it as a bug, the bug is you're relying on the tag data but not adding it to the task hashes. You'd somehow need to inject the "git tag for revision X" output into the do_fetch task dependencies. For autorev this happens via: meta/classes/base.bbclass: d.setVar("SRCPV", "${@bb.fetch2.get_srcrev(d)}" so you'd need a new version of get_srcrev() and need to inject that into the vardeps of the fetch task. Cheers, Richard
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: git fetcher: does not execute git fetch --tags or similar when HEAD has not changed
Alexander Kanavin
Right, now I see what you mean. The build process does not rely on static metadata in the source tree to determine the version, and is instead poking the git checkout to determine what the version is? That's not established practice. You should write the version into a file in the source tree, then create a commit, then tag that commit with the version. Alternatively, you could pass in ${PV} to the build process instead as a command line parameter. Alex
On Mon, 16 Mar 2020 at 12:52, Matthias Schöpfer <matthias.schoepfer@...> wrote: Hi Alexander,
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: QA notification for completed autobuilder build (yocto-3.1_M3.rc1)
Sangeeta Jain
toggle quoted messageShow quoted text
-----Original Message-----Thanks for reminding! Thanks,cu
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|