Conversation
- add patch to fix build with musl libc, - refresh patch 0004-Modify-systemd-config-directory.patch to unfuzz it - tweak patch 0002-Don-t-execute-processes-as-a-specific-user.patch to add a missing removal of DLT_USER occurrence - conditionalise systemd usage only if DISTRO_FEATURES contains it Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
… versions WARNING: dlt-daemon-2.18.4-r0 do_package_qa: QA Issue: dlt-daemon: SRC_URI uses unstable GitHub archives [src-uri-bad] Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it> Signed-off-by: Gianfranco Costamagna <locutusofborg@debian.org>
…028f695c62bd1f0b064207671b2236 with added upstream proposed pull request: GENIVI/meta-ivi#118 dlt-daemon is useful on embedded systems as a logging system Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it> Signed-off-by: Gianfranco Costamagna <gianfranco.costamagna@abinsula.com> Signed-off-by: Gianfranco Costamagna <locutusofborg@debian.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
…/openembedded-core * sources/meta-openembedded 4c27f6af2...820aec298 (6): > boinc-client: cosmetic changes, such as unifying tabs VS spaces and adding cosmetic newlines > boinc: update recipe to version 7.16.4 > python3-pycrypto: drop time.clock > mosquitto: apply upstream proposed patches to use cmake build system, simplifying a lot the build and install process. > dlt-daemon: Add initial recipe from meta-ivi, as of commit 6a5b0d6460028f695c62bd1f0b064207671b2236 with added upstream proposed pull request: GENIVI/meta-ivi#118 > rdma-core: Drop overloadable attribute for recvfrom * sources/meta-python2 32dd8ab...59ff56a (11): > python-pymongo: upgrade 3.10.0 -> 3.10.1 > python-pyyaml: upgrade 5.2 -> 5.3 > python-tqdm: add target RDEPENDS > python-tqdm: upgrade 4.38.0 -> 4.41.1 > python-waitress: upgrade 1.4.1 -> 1.4.2 > python-wcwidth: upgrade 0.1.7 -> 0.1.8 > python-pyrsistent: add target RDEPENDS > python-pyrsistent: upgrade 0.15.5 -> 0.15.7 > python-packaging: 19.2 -> 20.0 > python-javaobj-py3: add RDEPENDS > python-javaobj-py3: upgrade 0.3.0 -> 0.4.0.1 * sources/openembedded-core 4f41e8e44a...3bec1b461c (12): > gettext: Drop overloadable attibute for getcwd declaration > glibc: Drop fortify refactoring patch > glibc: Update to final 2.31 release > Musl: Update to latest master > perf: Pass LDSHARED and CCLD via EXTRA_OEMAKE > ruby: Remove __has_include and __has_include_next from preprocessed header file > nss: Pass NSS_USE_ARM_HW_CRYPTO as define in CFLAGS < Musl: Update to latest master < perf: Pass LDSHARED and CCLD via EXTRA_OEMAKE < ruby: Remove __has_include and __has_include_next from preprocessed header file < nss: Pass NSS_USE_ARM_HW_CRYPTO as define in CFLAGS < glibc: Update to final 2.31 release Signed-off-by: Khem Raj <raj.khem@gmail.com>
as of commit 6a5b0d6460028f695c62bd1f0b064207671b2236 with added upstream proposed pull request: GENIVI/meta-ivi#118 dlt-daemon is useful on embedded systems as a logging system Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it> Signed-off-by: Gianfranco Costamagna <gianfranco.costamagna@abinsula.com> Signed-off-by: Gianfranco Costamagna <locutusofborg@debian.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* sources/meta-openembedded 820aec298...2d6df8b60 (17): > sysdig: Upgrade to 0.26.4 > drone: Add CI support > packagegrop-meta-oe: remove blacklisted mpv > boinc-client: minor cosmetic changes on bb recipe, > boinc: update recipe to version 7.16.4 > mosquitto: apply upstream proposed patches to use cmake build system, > dlt-daemon: Add initial recipe from meta-ivi > python3-pycrypto: drop time.clock > rdma-core: Drop overloadable attribute for recvfrom < boinc-client: cosmetic changes, such as unifying tabs VS spaces and adding cosmetic newlines < boinc: update recipe to version 7.16.4 < python3-pycrypto: drop time.clock < mosquitto: apply upstream proposed patches to use cmake build system, simplifying a lot the build and install process. < dlt-daemon: Add initial recipe from meta-ivi, as of commit 6a5b0d6460028f695c62bd1f0b064207671b2236 with added upstream proposed pull request: GENIVI/meta-ivi#118 < rdma-core: Drop overloadable attribute for recvfrom < sysdig: Upgrade to 0.26.4 < drone: Add CI support Signed-off-by: Khem Raj <raj.khem@gmail.com>
Source: meta-openembedded MR: 00000 Type: Integration Disposition: Merged from meta-openembedded ChangeID: c063eb6 Description: as of commit 6a5b0d6460028f695c62bd1f0b064207671b2236 with added upstream proposed pull request: GENIVI/meta-ivi#118 dlt-daemon is useful on embedded systems as a logging system Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it> Signed-off-by: Gianfranco Costamagna <gianfranco.costamagna@abinsula.com> Signed-off-by: Gianfranco Costamagna <locutusofborg@debian.org> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Thanks for the PR and the heads-up @LocutusOfBorg, @kraj We should also tell the dlt-daemon maintainer about this. --> for your information @ssugiura. I was going to say that these patches should not be added, but instead fixed upstream in https://github.com/GENIVI/dlt-daemon project, but I can see you have sent at least one there too. Thanks. Concerning this PR, I think we might wait with these patches a while and rather update to the newer dlt-daemon, to reduce the churn and effort. Actually, since meta-ivi officially depends on meta-openembedded the component should presumably be dropped from meta-ivi once updated to the latest branches of poky and meta-openembedded (which is dragging behind due to limited input/resource). |
@LocutusOfBorg @kraj I merged 204.patch to dlt-daemon repository which you raised in the repo as a PR. So the patch can be removed from this PR. If you have any other changes which should be changed in general, please raise another PR to dlt-daemon git repo. |
Thanks, this will happen when the recipe is updated to latest srcrev next time. |
The reason for fixing this recipe, and moving to meta-oe is that I want to enable support for dlt-daemon in mosquitto, something really useful to have, and mosquitto is in meta-oe! Feel free to drop this recipe from meta-ivi once meta-oe is updated to the next yocto stable! For now @ssugiura I can't drop the patch because I prefer to avoid tracking "unstable" dlt-daemon releases (not tagged). Please have a look at the other two patches, I'm not the author for them, and I don't want to open PR requests for code I don't really understand! |
I think discussion would be required before dropping dlt recipes from meta-ivi. |
To summarize, again we should hold on merging this. There is no major rush and various layer/branch updates are really required first... @slawr Happy to discuss. I just believe that meta-ivi already depends on meta-openembedded i.e. you cannot really build it without it. So I saw little risk that projects depend on meta-ivi and not depend on meta-openembedded - thus little risk to drop the recipe. It's not by choice, but it seems to me that the recent meta-openembedded addition is forcing our hand here. Of course only as part of a larger upgrade. One aspect would be what the future update/maintenance will be like. @LocutusOfBorg, @kraj, will you track the component and update the recipe in the future, when new tags appear? Another reason this is not a risk for breaking a lot of things is that dropping the recipe is part of a larger update I wrote. It cannot be done without also updating the layers first. Also given some time, dlt-daemon will be tagged again including the change, and then it is time to update the component again. Therefore, overall, I would propose to not merge this PR in meta-ivi yet. |
@LocutusOfBorg Regarding 1c98eab, could you help me with information or reference to discussion on Yocto only "allowing" (otherwise warning) git as source? Overall it is a reasonable idea, but it might affect efficient local caching of the sources. EDIT: Ah, I see the message now. Yes, the GitHub archives are unstable. I misunderstood the summary. |
sorry, I don't see the problem in having the same recipe in two layers. The layer has to be in meta-oe, because I would like to enable (selectively) dlt features on packages supporting it (as I did for mosquitto), and meta-oe can't really depend on meta-ivi. Moreover, this pull request fixes lots of issues:
I propose to merge this one, so there is no difference between the two layers, and in the future we can discuss about dropping this one, or keeping them both (in case diverge) and let the user decide which one to pick up based on layer priorities. In any case, this PR makes it behave and compiler better. |
Sorry @gunnarx I answered before reading the new comment... but I don't remember where and when they have been changed, but right now, no new PR can use github tarballs anymore since one year or so... |
|
|
In zeus migration guide:
|
Sure, Yocto/bitbake has a lot of ways to control this of course, layer priorities, and other ways to state the intention. I was just anticipating that the building of our meta-ivi images are likely to need some changes to avoid any conflict. If I am right that all relevant (*meta-ivi dependent) builds have both layers then I think keeping only one copy of the recipe is the long term solution.
Agreed, but I would rather say it would be mosquitto that would depend on meta-ivi to get the dlt recipe to solve your particular situation?
If I understand, you are suggesting that there are other projects (outside meta-ivi) that depend on dlt-daemon. That's fair enough. And I would encourage the possibility for that to grow, so I think it is a good idea. Overall I understand your need, and since it is merged already I think it is not worth discussing more. |
Re: unstable github tarballs, yes we have been bitten by this a few times also. I support the change. |
... in fact come to think of it I made an investigation into the GitHub tarballs a few years ago and shared this with the Yocto community when this problem was not known by everyone at least (I forget the exact place but there was at least a bug report and IRC discussion involved, and possibly a mailing list thread). |
Everything in meta-oe can be reverted in case, please don't be scared of a patch being accepted :) Having a mosquitto feature that depends on an external layer might also be a good solution, as well has adding dlt in DISTRO_FEATURES maybe... |
It builds OK, so I think we can merge to master, based on the discussion we have had. |
@LocutusOfBorg merging this now. |
Signed-off-by: Gianfranco Costamagna costamagnagianfranco@yahoo.it