| Summary: | Mongodb fails to build from sources | ||
|---|---|---|---|
| Product: | buildroot | Reporter: | Davide Viti <zinosat> |
| Component: | Other | Assignee: | Titouan Christophe <titouan.christophe> |
| Status: | RESOLVED MOVED | ||
| Severity: | normal | CC: | buildroot, yann.morin.1998 |
| Priority: | P5 | ||
| Version: | 2020.02 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
| Attachments: | patch to fix the problem | ||
|
Description
Davide Viti
2020-03-20 12:33:51 UTC
Created attachment 8406 [details]
patch to fix the problem
The fixes in the attached patch, with the help of vfazio on IRC, fix the problem for me
The libyaml-cpp issue should be fixed at some point when a release is cut including https://github.com/jbeder/yaml-cpp/commit/52a1378e48e15d42a0b755af7146394c6eff998c It should inherit the BUILD_SHARED_LIBS values defined in pkg-cmake. Until a new version is cut, we could either hack libyaml-cpp.mk or patch CMakeLists.txt I haven't root-caused the mongodb issue. If it worked in 2019.05 but doesn't now, that seems to imply the jump from 4.0.6 to 4.0.12 caused the break. Hi, is there a plan to merge the patch to the buildroot master? Regards, Ameya So, this issue has been fixed by the bump of Mongodb to 4.2.4 in commit fdd30c7daaf384eb31a767f691b0acbbe84f3d49, which will be part of Buildroot 2020.05. However, it is not great to have this failing on 2020.02. However, MongoDB 4.2.4 still doesn't have the include <cxxabi.h>, and the build no longer fails. The yaml-cpp issue has been fixed in master with commit 4f2ba910b519a195622ccc56a8fe6c04995524e7. Interestingly, mongodb seems to no longer fails on the 2020.02.x branch since April 24. Thank you for your report.
The issue tracker for the Buildroot project has been moved to
the Gitlab.com issue tracker:
https://gitlab.com/buildroot.org/buildroot/-/issues
We are taking this opportunity to close old issues in this old
tracker. If you believe your issue is still relevant, please
open one in the new issue tracker.
Thank you!
|