Revert "package/domoticz: drop boost date-time dependency"
PATCH v2 1/2 Revert "package/domoticz: drop boost date-time dependency"
This reverts commit 4b4d98e2c5165c3121e670192970fc909cae6d8a as Boost::date_time is still used by domoticz (in pmain/Scheduler.cpp and push/BasePush.cpp)
Fixes:
- http://autobuild.buildroot.org/results/493a2e93fe6121f118293a268f986ee51009b7e8
--- package/domoticz/Config.in | 1 + 1 file changed, 1 insertion(+)
package/domoticz/Config.in +1 -0
@@ -11,6 +11,7 @@ config BR2_PACKAGE_DOMOTICZ depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-thread depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # exception_ptr select BR2_PACKAGE_BOOST + select BR2_PACKAGE_BOOST_DATE_TIME select BR2_PACKAGE_BOOST_SYSTEM select BR2_PACKAGE_BOOST_THREAD select BR2_PACKAGE_CEREAL
Signature · 1 line
2.30.2
PATCH v2 2/2 package/domoticz: select boost atomic
domoticz does not use Boost::atomic but cmake is so "smart" that it (wrongly) assumes that Boost::thread depends on Boost:date_time and Boost::atomic since boost version 1.54:
set(_Boost_THREAD_DEPENDENCIES chrono date_time atomic)
Extracted from:
- https://gitlab.kitware.com/cmake/cmake/-/blob/master/Modules/FindBoost.cmake#L1113
As we can't patch every cmake on the field, just select boost atomic
It should be noted that build failures are only raised since commit 8a46b41b4a5d1c2f5ebefd7fc23fec7e8ba0598c as this commit drop the patch that was decreasing cmake version but also removing:
target_link_libraries(domoticz Boost::thread Boost::system)
Fixes:
- http://autobuild.buildroot.org/results/4306c0a725ed9a34bd55550df428866db6e4f052
- http://autobuild.buildroot.org/results/2478e7a2ec1c63dcc2b36d29a39004468b230211
---
Changes v1 -> v2:
- Fix patch title
package/domoticz/Config.in | 1 + 1 file changed, 1 insertion(+)
package/domoticz/Config.in +1 -0
@@ -11,6 +11,7 @@ config BR2_PACKAGE_DOMOTICZ depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-thread depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # exception_ptr select BR2_PACKAGE_BOOST + select BR2_PACKAGE_BOOST_ATOMIC select BR2_PACKAGE_BOOST_DATE_TIME select BR2_PACKAGE_BOOST_SYSTEM select BR2_PACKAGE_BOOST_THREAD
Signature · 1 line
2.30.2
Yann E. MORIN
AppliedPATCH v2 2/2 package/domoticz: select boost atomic
Fabrice, All,
On 2021-04-26 21:11 +0200, Fabrice Fontaine spake thusly:
Quoted 15 lines
domoticz does not use
Boost::atomicbut cmake is so "smart" that it (wrongly) assumes thatBoost::threaddepends on Boost:date_time andBoost::atomicsince boost version 1.54:
set(_Boost_THREAD_DEPENDENCIES chrono date_time atomic)Extracted from:
- https://gitlab.kitware.com/cmake/cmake/-/blob/master/Modules/FindBoost.cmake#L1113As we can't patch every cmake on the field, just select boost atomic
It should be noted that build failures are only raised since commit
8a46b41b4a5d1c2f5ebefd7fc23fec7e8ba0598cas this commit drop the patch that was decreasing cmake version but also removing:
Quoted 7 lines
target_link_libraries(domoticz Boost::thread Boost::system)Fixes:
- http://autobuild.buildroot.org/results/4306c0a725ed9a34bd55550df428866db6e4f052
- http://autobuild.buildroot.org/results/2478e7a2ec1c63dcc2b36d29a39004468b230211Signed-off-by Fabrice Fontaine <[email protected]>
Applied to master, thanks.
Regards,
Yann E. MORIN.
Quoted 26 lines
---
Changes v1 -> v2:
- Fix patch titlepackage/domoticz/Config.in | 1 + 1 file changed, 1 insertion(+)package/domoticz/Config.in +1
-0@@ -11,6 +11,7 @@ config BR2_PACKAGE_DOMOTICZ depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-thread depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # exception_ptr select BR2_PACKAGE_BOOST + select BR2_PACKAGE_BOOST_ATOMIC select BR2_PACKAGE_BOOST_DATE_TIME select BR2_PACKAGE_BOOST_SYSTEM select BR2_PACKAGE_BOOST_THREADSignature · 6 lines
2.30.2 _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 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. | '------------------------------^-------^------------------^--------------------'
PATCH v2 2/2 package/domoticz: select boost atomic
In reply to Fabrice FontaineQuoted 19 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Fabrice" == Fabrice Fontaine <[email protected]> writes:
domoticz does not use
Boost::atomicbut cmake is so "smart" that it (wrongly) assumes thatBoost::threaddepends on Boost:date_time andBoost::atomicsince boost version 1.54:
set(_Boost_THREAD_DEPENDENCIES chrono date_time atomic)Extracted from:
- https://gitlab.kitware.com/cmake/cmake/-/blob/master/Modules/FindBoost.cmake#L1113As we can't patch every cmake on the field, just select boost atomic
It should be noted that build failures are only raised since commit
8a46b41b4a5d1c2f5ebefd7fc23fec7e8ba0598cas this commit drop the patch that was decreasing cmake version but also removing:
target_link_libraries(domoticz Boost::thread Boost::system)
Quoted 8 lines
Fixes:
- http://autobuild.buildroot.org/results/4306c0a725ed9a34bd55550df428866db6e4f052
- http://autobuild.buildroot.org/results/2478e7a2ec1c63dcc2b36d29a39004468b230211Signed-off-by Fabrice Fontaine <[email protected]>---
Changes v1 -> v2:
- Fix patch title
Committed to 2021.02.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard
Yann E. MORIN
AppliedPATCH v2 1/2 Revert "package/domoticz: drop boost date-time dependency"
In reply to Fabrice FontaineFabrice, All,
On 2021-04-26 21:11 +0200, Fabrice Fontaine spake thusly:
Quoted 8 lines
This reverts commit
4b4d98e2c5165c3121e670192970fc909cae6d8aasBoost::date_timeis still used by domoticz (in pmain/Scheduler.cpp and push/BasePush.cpp)Fixes:
- http://autobuild.buildroot.org/results/493a2e93fe6121f118293a268f986ee51009b7e8Signed-off-by Fabrice Fontaine <[email protected]>
Applied to master, thanks.
Regards,
Yann E. MORIN.
Quoted 23 lines
--- package/domoticz/Config.in | 1 + 1 file changed, 1 insertion(+)package/domoticz/Config.in +1
-0@@ -11,6 +11,7 @@ config BR2_PACKAGE_DOMOTICZ depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-thread depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # exception_ptr select BR2_PACKAGE_BOOST + select BR2_PACKAGE_BOOST_DATE_TIME select BR2_PACKAGE_BOOST_SYSTEM select BR2_PACKAGE_BOOST_THREAD select BR2_PACKAGE_CEREALSignature · 6 lines
2.30.2 _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 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. | '------------------------------^-------^------------------^--------------------'
PATCH v2 1/2 Revert "package/domoticz: drop boost date-time dependency"
In reply to Fabrice FontaineQuoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Fabrice" == Fabrice Fontaine <[email protected]> writes:
This reverts commit
4b4d98e2c5165c3121e670192970fc909cae6d8aasBoost::date_timeis still used by domoticz (in pmain/Scheduler.cpp and push/BasePush.cpp)Fixes:
- http://autobuild.buildroot.org/results/493a2e93fe6121f118293a268f986ee51009b7e8Signed-off-by Fabrice Fontaine <[email protected]>
Committed to 2021.02.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard