🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #1644

Bug#1123719: ITA: bear -- generate compilation database for Clang tooling

#1644
From: Charles
Date: Wed, 21 Oct 2026 21:20
52 lines
4347 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi Syed,

On Thu, 22 Oct 2026 00:22:38 +0500, Syed Shahrukh Hussain wrote:
> It is work in progress, you asked for something for comparison.. so i
> provided something immediately..

Understood, and thanks for sharing it that quickly.

> It is moved to https://salsa.debian.org/debian/bear.

Thanks!

> I do a push so the upstream is update to latest  so you can add MR of
> your work and we can work on ward ?

Yes please. I'll rebase on top of yours and open an MR once it's there.

> 1. Please check INTERCEPT_LIBDIR to ensure packaging respect lib/lib64
> target specific.

Mine uses the default (lib) at both build and install time, as
INSTALL.md asks. It's a private dir under /usr/libexec/bear, so AFAICT
Debian doesn't need lib64 there. The smoke test passes. Happy to change
it if you see a case I'm missing.

> 2. Also i had problem with rm -f Cargo.lock under
> override_dh_auto_build, it failed sometimes using gdb.

Mine removes it in override_dh_auto_configure, not build. Do you still
have the failure log?

> 3. override_dh_auto_build does not respect hardening if enabled.

Ah, thanks. The cc crate ignores CPPFLAGS, so the C shim was built
without _FORTIFY_SOURCE. Fixed in the branch.

> 4. not sure if shell completion are enabled on not.

They are: bash, zsh, fish and elvish all ship in the .deb.

Cheers,
Charles
-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQTExIAqu3hl1PZ6dpT8wXKOmPFTNwUCatkriQAKCRD8wXKOmPFT
N4tBAQD3m8ZAk7DwqjvFSrr8gQsPcpXQyOAAzk/WCIOa2cXNuQEArArrIqHw6dFJ
bBJa9j/dgO63MUiXmSGT1Tl9plvinw0=
=8mh5
-----END PGP SIGNATURE-----
Technical Details
Message-ID: <NQLT3-73ec-7@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod
References: <NQrKF-6RJw-1@gated-at.bofh.it> <NQyCu-6VUC-11@gated-at.bofh.it> <NQBAl-6XuS-1@gated-at.bofh.it> <NQJey-71Mt-7@gated-at.bofh.it> <NQJey-71Mt-5@gated-at.bofh.it> <NQLT3-73ec-9@gated-at.bofh.it> <M42nL-4iP3-5@gated-at.bofh.it> <NQLT3-73ec-9@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod
From: Charles <boxabc1@proton.me>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1123719: ITA: bear -- generate compilation database for Clang tooling
Date: Wed, 21 Oct 2026 23:20:01 +0200
Message-ID: <NQLT3-73ec-7@gated-at.bofh.it>
References: <NQrKF-6RJw-1@gated-at.bofh.it> <NQyCu-6VUC-11@gated-at.bofh.it> <NQBAl-6XuS-1@gated-at.bofh.it> <NQJey-71Mt-7@gated-at.bofh.it> <NQJey-71Mt-5@gated-at.bofh.it> <NQLT3-73ec-9@gated-at.bofh.it> <M42nL-4iP3-5@gated-at.bofh.it> <NQLT3-73ec-9@gated-at.bofh.it>
X-Original-To: Syed Shahrukh Hussain <syed.shahrukh@ossrevival.org>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Wed Oct 21 21:19:44 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.45
Reply-To: Charles <boxabc1@proton.me>, 1123719@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: wnpp@debian.org
X-Debian-Pr-Message: followup 1123719
X-Debian-Pr-Package: wnpp
Feedback-ID: 97778844:user:proton
X-Pm-Message-ID: 863afdb984bb6ca034e0cc50566735c29f2257ed
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Greylist: delayed 40046 seconds by postgrey-1.37 at buxtehude; Wed, 21 Oct 2026 21:17:48 UTC
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1998006
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 52
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: "1123719@bugs.debian.org" <1123719@bugs.debian.org>
X-Original-Date: Wed, 21 Oct 2026 21:17:41 +0000
X-Original-Message-ID: <5Cb7cVvokehexpK6I4AoL7VkWaSnfGcYkRCR1a9iZ5tk9dzN9tZuqlHaSoBjE9429X-7WvzF6PPYW_bCEf6QKF9ZP7dO30dTihAVgdGPK78=@proton.me>
X-Original-References: <W-K1-FKmHaDxDG-QmMeWlrlj8U4TgaqKB82eDroL33ztg8rVF-ji0wqGS8Es0V6svaFpEzCRMp2MOB70zYU9Tal4xjN8SgzTKpwhz1MzjGE=@proton.me> <20261021120405.1f2ab795@latitude-7420> <RRIcYfrdCZE1R4TeH0X6TOzqOrnfNUJwrJ5QpWuo7vPSM7DdrjhAaTEebdT1GfHYCBSeOg0cbBztG5EZX1BRgTGEPSJclGWtUGtclUVKSA0=@proton.me> <20261021154314.3a159119@latitude-7420> <Z9ofOwWtaq_cshLr5Sreli_zCPR1x_rgYtbbbN4iFbKF6mu8MJgpSckbKQZhc8zWh3j6U3RBpE2gOfIsgW-E5iehSfo3r3T3BuB460ktnBk=@proton.me> <a8607617-2666-47b3-b8ce-2c24b851519d@ossrevival.org> <aUZ3kMcXH6zTnzJ7@ramacher.at> <a8607617-2666-47b3-b8ce-2c24b851519d@ossrevival.org>