Skip to contentSkip to conversation

New: Mongodb fails to build from sources

Buildroot bugzilla at busybox.net 1 participant 7 messages Mar 20, 2020 – Jun 15, 2024

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=12681

Bug ID: 12681
Summary: Mongodb fails to build from sources
Product: buildroot
Version: 2020.02
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: zinosat at gmail.com
CC: buildroot at uclibc.org
Target Milestone: ---

my defconfig is based on pc_x86_64_bios_defconfig
I got failures both in br 2020.2 and 2019.11.1.

it works in 2019.05

I'm trying to revert mongodb and dependencies to the 2019.05 situation: no luck so far

revert 2c938815d79d9f351512595a0a67ad25f6f3151d python-yaml revert 68dd5ab1affe95bc031f2a2a66317ba9244a1941 yaml-cpp revert 5a82a984b5c9d28fa62a3783bcc90b3addab21a4 scons revert 165e9c163c4d28025a5e1d3e5e6cfd0ad6476a7e mongodb

error log available here:
https://pastebin.com/vRPKixBy

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#1 lore raw

[Buildroot] [Bug 12681] Mongodb fails to build from sources

https://bugs.busybox.net/show_bug.cgi?id=12681

--- Comment #1 from Davide Viti <[email protected]> --- Created attachment 8406
--> https://bugs.busybox.net/attachment.cgi?id=8406&action=edit
patch to fix the problem

The fixes in the attached patch, with the help of vfazio on IRC, fix the problem for me

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#2 lore raw

[Buildroot] [Bug 12681] Mongodb fails to build from sources

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=12681

--- Comment #2 from Vincent Fazio <[email protected]> --- 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.

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#4 lore raw

[Buildroot] [Bug 12681] Mongodb fails to build from sources

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=12681

--- Comment #4 from Thomas Petazzoni <[email protected]> --- 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.

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#5 lore raw

[Buildroot] [Bug 12681] Mongodb fails to build from sources

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=12681

Thomas Petazzoni <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at buildroot.uclibc |titouan.christophe at railnova
|.org |.eu

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#6 lore raw

[Buildroot] [Bug 12681] Mongodb fails to build from sources

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=12681

Yann E. MORIN <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

                 CC|                            |[email protected]
         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED

--- Comment #5 from Yann E. MORIN <[email protected]> --- 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!

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot