Tool to generate compilation database for clang tooling

Edit Package Bear
https://github.com/rizsotto/Bear

Bear is a tool to generate compilation database for clang tooling.

One way to get compilation database is to use cmake as build tool. When the
project compiles with no cmake, but another build system, there is no free json
file. Bear is a tool to generate such file during the build process.

Refresh
Refresh
Source Files
Filename Size Changed
Bear-3.1.6.tar.gz 0000170892 167 KB
Bear.changes 0000008709 8.5 KB
Bear.spec 0000003098 3.03 KB
no-BUILD_ALWAYS.patch 0000000561 561 Bytes
Comments 4

Oto Šťáva's avatar

Hi! When I run bear on latest Tumbleweed, I get the following result:

bear: symbol lookup error: bear: undefined symbol: _ZN6spdlog7details7log_msgC1ENS_10source_locEN3fmt2v917basic_string_viewIcEENS_5level10level_enumES6_

Something similar has recently happened with waybar, but that has since been fixed.


Mashitian's avatar

Hello, can you ask how do you test the timeout disable test in OBS, I see your source code modification, it seems that there is no change related to disable timeout test?


Michael Göke's avatar

It's not possible to use bear on actual Tumbleweed (20250310):

WARNING: All log messages before absl::InitializeLog() is called are written to STDERR E0000 00:00:1741860780.158118 23740 metrics.cc:48] Metric name grpc.lb.pick_first.disconnections has already been registered.

boo#1237422


Michael Göke's avatar

After updating Tumbleweed to 20250329 it works again.

openSUSE Build Service is sponsored by