Skip to contentSkip to conversation

New: leveldb won't detect that snappy is present (static libs only)

Buildroot bugzilla at busybox.net 1 participant 5 messages Mar 19, 2020 – Jun 3, 2020

lore
Share & tools
lore
#0 lore raw

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

Bug ID: 12671
Summary: leveldb won't detect that snappy is present (static
libs only)
Product: buildroot
Version: 2020.02
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: maksis33 at gmail.com
CC: buildroot at uclibc.org
Target Milestone: ---

Fresh installation of 2020.02 with the following config:

Toolchain -> Enable C++ support -> enabled
Build options -> libraries -> static only
Target packages -> Libraries -> Database -> leveldb -> enabled

From the cmake output of leveldb:

-- Looking for snappy_compress in snappy
-- Looking for snappy_compress in snappy - not found

Snappy is being detect correctly when building with shared libraries. This issue wasn't present in buildroot 2019.02.

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

[Buildroot] [Bug 12671] leveldb won't detect that snappy is present (static libs only)

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

--- Comment #1 from maksis33 at gmail.com ---
Applying changes from https://github.com/google/leveldb/pull/686/files seems to fix the detection (and makes the library compatible with existing compresses databases again)

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

[Buildroot] [Bug 12671] leveldb won't detect that snappy is present (static libs only)

In reply to bugzilla at busybox.net

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

--- Comment #2 from Thomas Petazzoni <[email protected]> --- I have submitted Buildroot patches to address this issue:
https://patchwork.ozlabs.org/project/buildroot/list/?series=177533

Thanks for your bug report!

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

[Buildroot] [Bug 12671] leveldb won't detect that snappy is present (static libs only)

In reply to bugzilla at busybox.net

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

Thomas Petazzoni <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at buildroot.uclibc |thomas.petazzoni at free-elect
|.org |rons.com

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

[Buildroot] [Bug 12671] leveldb won't detect that snappy is present (static libs only)

In reply to bugzilla at busybox.net

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

Peter Korsgaard <[email protected]> changed:

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

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Peter Korsgaard <[email protected]> --- These patches have now been merged and are part of 2020.05 and the upcoming 2020.02.3

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