fix name clash between libite and LiTE
cover fix name clash between libite and LiTE
Hi,
this patch series updates libite and watchdogd to correct the unfortunate name clash between libite and the DirectFB LiTE project's header files.
http://autobuild.buildroot.net/results/185c753af2aa159b494b13f78b0826dddbe4aed6
Note: if applying this series in fragments, please update watchdogd
first, otherwise the build will fail due to the relocation of the libite headers.
Best regards
/Joachim
Joachim Wiberg (2):
package/watchdogd: bump to version 3.5
package/libite: bump to version 2.5.1
package/libite/libite.hash | 2 +- package/libite/libite.mk | 3 ++- package/watchdogd/watchdogd.hash | 2 +- package/watchdogd/watchdogd.mk | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-)
Signature · 6 lines
2.25.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 1/2 package/watchdogd: bump to version 3.5
This addresses the autobuilder failure for master as per 2021-11-27. The root cause was a name clash in a dependency, the libite library, clashing with the DirectFB LiTE library header files. Hence, this update alone does not fix [1], libite also needs to be updated. To provide a smooth transition though, watchdogd should be updated first.
[1]: http://autobuild.buildroot.net/results/185c753af2aa159b494b13f78b0826dddbe4aed6
--- package/watchdogd/watchdogd.hash | 2 +- package/watchdogd/watchdogd.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
package/watchdogd/watchdogd.hash +1 -1
@@ -1,5 +1,5 @@ # Upstream .sha256 from GitHub -sha256 f36fdea9b323534a704c4c23d9af8050480bca4bdad89cdb50d26fcac316d172 watchdogd-3.4.tar.gz +sha256 33ec4edc8cb4ada7a4d8324a27d897d33aae5e83257ed64d3d37508825c11237 watchdogd-3.5.tar.gz # Locally calculated sha256 fd685e20931174308c45a26418a7ce34d66704c4e4b92ab1d8299deb255cd676 LICENSE
package/watchdogd/watchdogd.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -WATCHDOGD_VERSION = 3.4 +WATCHDOGD_VERSION = 3.5 WATCHDOGD_SITE = https://github.com/troglobit/watchdogd/releases/download/$(WATCHDOGD_VERSION) WATCHDOGD_LICENSE = ISC WATCHDOGD_LICENSE_FILES = LICENSE
Signature · 6 lines
2.25.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH next 1/2] package/watchdogd: bump to version 3.5
Quoted 6 lines · On Thu, 2 Dec 2021 02:39:01 +0100 Joachim Wiberg <[email protected]> wrote:
This addresses the autobuilder failure for master as per 2021-11-27. The root cause was a name clash in a dependency, the libite library, clashing with the DirectFB LiTE library header files. Hence, this update alone does not fix [1], libite also needs to be updated. To provide a smooth transition though, watchdogd should be updated first.
Quoted 7 lines
[1]: http://autobuild.buildroot.net/results/185c753af2aa159b494b13f78b0826dddbe4aed6
Signed-off-by Joachim Wiberg <[email protected]>--- package/watchdogd/watchdogd.hash | 2 +- package/watchdogd/watchdogd.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Thanks, I've applied both to next, as indicated in the patch title. However, in the commit log, you seem to indicate that it's fixing a build issue in master. Could you confirm?
Thanks,
Thomas
Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH next 1/2] package/watchdogd: bump to version 3.5
Quoted 8 lines · Thomas Petazzoni
Quoted 3 lines · On Thu, 2 Dec 2021 02:39:01 +0100 Joachim Wiberg <[email protected]> wrote:
This addresses the autobuilder failure for master as per 2021-11-27. The root cause was a name clash in a dependency, the libite library, clashing with the DirectFB LiTE library header files.
Thanks, I've applied both to next, as indicated in the patch title. However, in the commit log, you seem to indicate that it's fixing a build issue in master. Could you confirm?
Very unfortunate name clash between include files in two packages.
http://autobuild.buildroot.net/results/185c753af2aa159b494b13f78b0826dddbe4aed6
However, I think it's highly unlikely they'll be enabled at the same time. My recommendation is to go for next and let 2021.11 out the door.
Best regards
/Joachim
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH next 1/2] package/watchdogd: bump to version 3.5
Quoted 1 line · On Sat, 4 Dec 2021 21:23:23 +0100 Joachim Wiberg <[email protected]> wrote:
Very unfortunate name clash between include files in two packages.
Yes, I had followed this.
Quoted 4 lines
http://autobuild.buildroot.net/results/185c753af2aa159b494b13f78b0826dddbe4aed6
However, I think it's highly unlikely they'll be enabled at the same time. My recommendation is to go for next and let 2021.11 out the door.
But if the build issue exists in master, we need to fix it in master, or the issue will keep popping up again and again in the autobuilders.
Thomas
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH next 1/2] package/watchdogd: bump to version 3.5
In reply to Joachim WibergThomas, All,
On 2021-12-04 21:23 +0100, Joachim Wiberg spake thusly:
Quoted 9 lines · Thomas Petazzoni
Quoted 8 lines
Quoted 3 lines · On Thu, 2 Dec 2021 02:39:01 +0100 Joachim Wiberg <[email protected]> wrote:
This addresses the autobuilder failure for master as per 2021-11-27. The root cause was a name clash in a dependency, the libite library, clashing with the DirectFB LiTE library header files.
Thanks, I've applied both to next, as indicated in the patch title. However, in the commit log, you seem to indicate that it's fixing a build issue in master. Could you confirm?
We've discussed this on IRC with Joachim, and it was my expectation that the patches would be aimed at master, because they *do* fix an actual build failure in master.
The reasoning for accepting the bump in master was that libite is only ever used by watchdogd in Buldroot. Both packages are maintained upstream and in Buildroot by Joachim, which is pretty fast at addressing build issues.
Quoted 5 lines
Very unfortunate name clash between include files in two packages.
http://autobuild.buildroot.net/results/185c753af2aa159b494b13f78b0826dddbe4aed6However, I think it's highly unlikely they'll be enabled at the same time. My recommendation is to go for next and let 2021.11 out the door.
Even if that were true, it will still happen in our CI and thus cause build failures, which creates noise and may hide other, more intersting failures. Besides, once a package is in the tree, people are going to use it.
DirectFB is often used in embedded, and watchdogd is a process supervisor for embedded, and so it is not too far-fetched to see that the two could be easily used on the same system. For real. We want to avoid name-clashing for those.
So I would say that we should also apply them to master.
Regards,
Yann E. MORIN.
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH next 1/2] package/watchdogd: bump to version 3.5
Hi everyone!
Quoted 15 lines · Yann E. MORIN
On 2021-12-04 21:23 +0100, Joachim Wiberg spake thusly:
Quoted 9 lines · Thomas Petazzoni
Quoted 8 lines
Quoted 3 lines · On Thu, 2 Dec 2021 02:39:01 +0100 Joachim Wiberg <[email protected]> wrote:
This addresses the autobuilder failure for master as per 2021-11-27. The root cause was a name clash in a dependency, the libite library, clashing with the DirectFB LiTE library header files.
Thanks, I've applied both to next, as indicated in the patch title. However, in the commit log, you seem to indicate that it's fixing a build issue in master. Could you confirm?
We've discussed this on IRC with Joachim, and it was my expectation that the patches would be aimed at master, because they *do* fix an actual build failure in master.
[snip]
So I would say that we should also apply them to master.
Quoted 5 lines · Thomas Petazzoni
Quoted 2 lines · On Sat, 4 Dec 2021 Joachim Wiberg <[email protected]> wrote:
However, I think it's highly unlikely they'll be enabled at the same time. My recommendation is for next and let 2021.11 out the door.
But if the build issue exists in master, we need to fix it in master, or the issue will keep popping up again and again in the autobuilders.
I'm sorry for the misunderstanding on my part. I simply didn't realize how seriously you viewed the issue, and also did not want to needlessly block the release.
I leave release critical decisions up to your discretion, obviously.
Best regards
/Joachim
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 2/2 package/libite: bump to version 2.5.1
In reply to Joachim WibergThis bump is mainly to fix the header file nameclash problem with LiTE, in package/lite. See the libite project's README for how to adapt to this change, and the ChangeLog for details. In short, libite now use the /usr/include/libite/*.h prefix.
--- package/libite/libite.hash | 2 +- package/libite/libite.mk | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-)
package/libite/libite.hash +1 -1
@@ -1,5 +1,5 @@ # Upstream .sha256 from GitHub -sha256 8fad6b8a1e7e0d6b546863104dfe25dfe0bb2d2a9b98ec8e155d23392ef58514 libite-2.4.1.tar.xz +sha256 5278fa0ca933727c78f4e05082cea58256d9302afac30bad0c3760cf2a18ef8f libite-2.5.1.tar.xz # Locally calculated sha256 20db0601195f708d68ff7907907b3cd3b25808efa8332e064b11f00c839a5d2f LICENSE
package/libite/libite.mk +2 -1
@@ -4,11 +4,12 @@ # ################################################################################ -LIBITE_VERSION = 2.4.1 +LIBITE_VERSION = 2.5.1 LIBITE_SOURCE = libite-$(LIBITE_VERSION).tar.xz LIBITE_SITE = https://github.com/troglobit/libite/releases/download/v$(LIBITE_VERSION) LIBITE_LICENSE = MIT, X11, ISC, BSD-2-Clause LIBITE_LICENSE_FILES = LICENSE src/chomp.c src/pidfile.c LIBITE_INSTALL_STAGING = YES +LIBITE_CONF_OPTS = --without-symlink $(eval $(autotools-package))
Signature · 6 lines
2.25.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Joachim, All,
On 2021-12-02 02:39 +0100, Joachim Wiberg spake thusly:
Quoted 9 lines
this patch series updates libite and watchdogd to correct the unfortunate name clash between libite and the DirectFB LiTE project's header files.
http://autobuild.buildroot.net/results/185c753af2aa159b494b13f78b0826dddbe4aed6
Note: if applying this series in fragments, please update watchdogd
first, otherwise the build will fail due to the relocation of the libite headers.
Series cherry-picked from next into master, now. Thanks for the fast round-trip in fixing this! 👍
Regards,
Yann E. MORIN.
Quoted 20 lines
Best regards
/JoachimJoachim Wiberg (2):
package/watchdogd: bump to version 3.5
package/libite: bump to version 2.5.1package/libite/libite.hash | 2 +- package/libite/libite.mk | 3 ++- package/watchdogd/watchdogd.hash | 2 +- package/watchdogd/watchdogd.mk | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-)Signature · 6 lines
2.25.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot