Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

domoticz: disable searching for boost-cmake #8934

Closed
wants to merge 1 commit into from

Conversation

ammubhave
Copy link
Contributor

Summary:
This package fails to compile with boost 1.70 when the boost cmake
config gets used.
As far as I can tell, Boost 1.70 introduced
BoostConfigVersion.cmake. In that file, the value of PACKAGE_VERSION is
set to 1.70. This makes CMake auto set the variable Boost_VERSION to
1.70. Historically, Boost_VERSION has been using the format like 170000,
and not 1.70. Some package cmake files still depend on this behavior
and make assertions such as Boost_VERSION > 168000. This is incompatible
with the new scheme.

Test Plan:
make package/domoticz/compile
Also compiled all other packages that have a boost dependency, they seem
to be working fine.
tested on nbg6817

Summary:
This package fails to compile with boost 1.70 when the boost cmake
config gets used.
As far as I can tell, Boost 1.70 introduced
BoostConfigVersion.cmake. In that file, the value of PACKAGE_VERSION is
set to 1.70. This makes CMake auto set the variable Boost_VERSION to
1.70. Historically, Boost_VERSION has been using the format like 170000,
and not 1.70. Some package cmake files still depend on this behavior
and make assertions such as Boost_VERSION > 168000. This is incompatible
with the new scheme.

Test Plan:
`make package/domoticz/compile`
Also compiled all other packages that have a boost dependency, they seem
to be working fine.
tested on nbg6817

Signed-off-by: Amol Bhave <ambhave@fb.com>
@neheb
Copy link
Contributor

neheb commented May 9, 2019

ping @stintel

@kofec
Copy link
Contributor

kofec commented May 9, 2019

Hi @stintel,
These changes are fine - tested.
Can you also update to latest stable release. I remove the patch which is not needed any more on latest release

@BKPepe BKPepe mentioned this pull request May 17, 2019
@stintel
Copy link
Member

stintel commented May 23, 2019

Why did you include -DBUILD_SHARED_LIBS=yes? Is it required for the Cmake change? If not, remove it, if yes, explain it in the commit message.

@stintel
Copy link
Member

stintel commented Jun 5, 2019

Both changes were required, but the fix a different problem, so they should go in a different commit. Fixed with b93d39a and a73b3b2

@stintel stintel closed this Jun 5, 2019
@ammubhave ammubhave deleted the fixboostpkgs branch June 5, 2019 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants