🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
7 messages
7 total messages Started by Charles Tue, 20 Oct 2026 23:50
Bug#1123719: ITA: bear -- generate compilation database for Clang tooling
#1535
Author: Charles
Date: Tue, 20 Oct 2026 23:50
20 lines
2296 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi Syed,

You took the ITA for bear in September. Are you working on the 4.x (Rust)
transition? I started this and have a first version ready to go. Happy to adopt
this instead if you are short on time.

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

iHUEARYKAB0WIQTExIAqu3hl1PZ6dpT8wXKOmPFTNwUCatf4wgAKCRD8wXKOmPFT
N6OfAQD3kHmdw3KNFR6ptFJcr/on7bCgyE+hNHePInfjkyIHRwEA/H+OotlJkoVM
3OpuJ1LXBH+5Gwc0EhkOggI4NUN2AgM=
=pNnc
-----END PGP SIGNATURE-----
Bug#1123719: ITA: bear -- generate compilation database for Clang tooling
#1558
Author: Syed Shahrukh Hussain
Date: Wed, 21 Oct 2026 07:10
68 lines
5253 bytes
--Sig_/9vRptuxC9BEoUu3+2rCiC.C
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Tue, 20 Oct 2026 23:29:07 +0000
Charles <boxabc1@proton.me> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>=20
> Hi Syed,
>=20
> You took the ITA for bear in September. Are you working on the 4.x
> (Rust) transition? I started this and have a first version ready to
> go. Happy to adopt this instead if you are short on time.
>=20
> Cheers,
> Charles
> -----BEGIN PGP SIGNATURE-----
>=20
> iHUEARYKAB0WIQTExIAqu3hl1PZ6dpT8wXKOmPFTNwUCatf4wgAKCRD8wXKOmPFT
> N6OfAQD3kHmdw3KNFR6ptFJcr/on7bCgyE+hNHePInfjkyIHRwEA/H+OotlJkoVM
> 3OpuJ1LXBH+5Gwc0EhkOggI4NUN2AgM=3D
> =3DpNnc
> -----END PGP SIGNATURE-----

Hi Charles,

Thank you for reaching out, yes i am working on this package rust
conversion.

I do have an update ready which is in pipeline due to dependency failure
on testing. So pushing it to unstable won't be fruitful.

https://tracker.debian.org/pkg/rust-serde-saphyr

I didn't have the bandwidth to look into problem with
debcargo-conf rust-serde-saphyr package.


Do you wish to co-maintain bear package?

Best regards,

Syed Shahrukh Hussain.

--Sig_/9vRptuxC9BEoUu3+2rCiC.C
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEljcSQ3PBMBm+EUvM62KxBX3nqLEFAmrYY+UACgkQ62KxBX3n
qLGTiRAAiiev7FKdws3xzx/JR9vgw1KXOEH+PltVBdZaEDS4W55c7siYtqahTQ26
GpbXaw6Wo0ZypREMxTsmR6FCh6y/wr+QfRhNsndYkiV0TMNcyqI/LUyHFD8P0Bxy
n1MnpLGj6lSgEdpH+AiDCZQ4YQN0ky4J6C7glMoPFEDh8GeUtYFSI5VqUXwGycxO
3ZyXVN/FBeLFCyPPVJtNPFLoH7b6bXM7n1iP+RtQdri1iNY9wFbetf9SuZUgEekC
Rc7/jqu0rNKf3nSjEHsG1jgzkSozmXE5chvJT+uS7P1Foy2Qk5fTaN6FvgSs6rkR
dqNekoE+XOQJuXXfYaQTM1wre79BEWYkuROWlQSjJuGOKpXfLWnTWxYi9faabl7r
bWkvcfMLMSX/SI8JB5xTjugtwbFthFGh5Iu2VOtAXFWJ2r2GAEd5KNu7yM+AK2ae
szRn1QnTma8cxSX82WISLUBj8HJcZIz8ECTFFgYA41ks5fngSDBlIMx+WrS0EGO9
VEXM6obwNhTOql4KL4lwdQMQ3JTV0lJJEq2MHzcz13B6811ZFBJw8emsIhDfvJ1K
TamL4ItvqEWAEet+BfV8plHiMhtpa6lHnG4WYnp+VH5jnesV977AobLc3MqM+jzf
7CPKBV7Fs3GA3LGL7oXoLVfTk5kt2S6/e/2Q4869pG09rVUkwb8=
=dSiy
-----END PGP SIGNATURE-----

--Sig_/9vRptuxC9BEoUu3+2rCiC.C--
Bug#1123719: ITA: bear -- generate compilation database for Clang tooling
#1565
Author: Charles
Date: Wed, 21 Oct 2026 10:20
42 lines
3556 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi Syed,

On Wednesday, 21 October 2026 at 07:04, Syed Shahrukh Hussain <syed.shahrukh@ossrevival.org> wrote:
> I do have an update ready which is in pipeline due to dependency failure
> on testing. So pushing it to unstable won't be fruitful.

That shouldn't block bear though. 4.x can go to unstable now and simply
won't migrate until serde-saphyr does? It gets exposure in the meantime.

> I didn't have the bandwidth to look into problem with
> debcargo-conf rust-serde-saphyr package.

The migration block is resource exhaustion on the 32-bit CI runners, not
a bug in serde-saphyr AFAICT.
i386 fails with "No space left on device" while linking the test binaries.
armhf fails on the all-features test. Everything else passes.
I'll take it to the Rust team in debcargo-conf.

> Do you wish to co-maintain bear package?

Yes, happy to co-maintain.

Some Q's
* Move the repo from sramacher/bear to debian/bear on salsa?
* Can you push your branch? I'll compare with mine and we merge the best
  of both.
* Who sponsors the first upload? As far as I know neither of us has DM
  rights on bear yet.

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

iHUEARYKAB0WIQTExIAqu3hl1PZ6dpT8wXKOmPFTNwUCatiPWQAKCRD8wXKOmPFT
N/rYAQDxzj4whROkE3y4egaLwYtqg0WPOuMqh9M4xuij3ZF0qgEA2YgMDrZ5MIYQ
cj/0Dagb0CtXnHHRkhH9pIR/M+fyTQ8=
=Yxyu
-----END PGP SIGNATURE-----
Bug#1123719: ITA: bear -- generate compilation database for Clang tooling
#1622
Author: Charles
Date: Wed, 21 Oct 2026 18:30
37 lines
3582 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi Syed,

On Wed, 21 Oct 2026 15:43:14 +0500, Syed Shahrukh Hussain wrote:
> not sure if ignoring the arch or skip-not-installable maybe an option
> for autopkgtests.

I propose a fix for the cause here:
https://salsa.debian.org/rust-team/debcargo-conf/-/merge_requests/1494

> sure.. a temporary fork for review: https://salsa.debian.org/syed/bear

Mine, 4.2.3, builds and passes all tests in sbuild:
https://salsa.debian.org/charles05/bear/-/tree/wip/4.x
Main difference: it keeps the exit_codes tests (run serially) instead
of disabling them. Also, does yours build on amd64? bear.install only
lists lib64 AFAICT.

Can send these as MRs to your base once it is on debian/bear if you like?

> I will request DM rights, maybe get before or after uploaded.

AFAIU DM rights need a DD grant after an upload lists you, so the first upload
needs a sponsor either way.

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

iHUEARYKAB0WIQTExIAqu3hl1PZ6dpT8wXKOmPFTNwUCatkDZwAKCRD8wXKOmPFT
N4bNAP9R9ufdUsCWYiWQkWN+00WJSvasyfWEEuX0QXRsFygB+wD/ZGAogNsozjzb
nnbm9bOmekffOQ4QkC6v5IzQfwj9mgE=
=Bbjv
-----END PGP SIGNATURE-----
Bug#1123719: ITA: bear -- generate compilation database for Clang tooling
#1644
Author: 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-----
Bug#1123719: ITA: bear -- generate compilation database for Clang tooling
#1864
Author: Charles
Date: Fri, 23 Oct 2026 17:10
31 lines
3728 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi Syed,

On Fri, 23 Oct 2026 00:25:34 +0500, Syed Shahrukh Hussain wrote:
> This is the baseline you can use for all the real package building stuff.

Proposed some changes in:
https://salsa.debian.org/debian/bear/-/merge_requests/3

sbuild and autopkgtest pass with it.

> Upstream suggestion for packaging  to use the INTERCEPT_LIBDIR
> https://github.com/rizsotto/Bear/blob/master/INSTALL.md

Hmm INSTALL also mentions the special value $LIB, which ld.so expands at
runtime. AFAIU on Debian that would allow a multiarch libexec.so, so a 64-bit
bear could intercept 32-bit compilers too. Can investigate more after first
upload?

Thank you,
Charles
-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQTExIAqu3hl1PZ6dpT8wXKOmPFTNwUCatuTZAAKCRD8wXKOmPFT
N88lAQDlnkHREgso9GQgyIYJk4Kparg0+q6U5WyXbmVSwF3TSgD6AxRwCleY6Ci3
un6YjxoO3GhCEnyLpV+T+xLduOJxXwU=
=WDyi
-----END PGP SIGNATURE-----
Bug#1123719: ITA: bear -- generate compilation database for Clang tooling
#2573
Author: Charles
Date: Thu, 29 Oct 2026 10:30
69 lines
4796 bytes
Hi Syed,

One more fix for the CI:
https://salsa.debian.org/debian/bear/-/merge_requests/4

With that, I think we can ask for sponsorship?

Thank you,
Charles.

On Friday, 23 October 2026 at 18:08, Syed Shahrukh Hussain <syed.shahrukh@ossrevival.org> wrote:

> On 10/23/26 22:04, Charles wrote:
> 
> > Hi Syed,
> > 
> > On Fri, 23 Oct 2026 00:25:34 +0500, Syed Shahrukh Hussain wrote:
> > > This is the baseline you can use for all the real package building stuff.
> > 
> > Proposed some changes in:
> > https://salsa.debian.org/debian/bear/-/merge_requests/3
> > 
> > sbuild and autopkgtest pass with it.
> 
> great!
> 
> I forgot to enable CI, just pushed it now.. will run on MR.
> 
> > 
> > > Upstream suggestion for packaging  to use the INTERCEPT_LIBDIR
> > > https://github.com/rizsotto/Bear/blob/master/INSTALL.md
> > 
> > Hmm INSTALL also mentions the special value $LIB, which ld.so expands at
> > runtime. AFAIU on Debian that would allow a multiarch libexec.so, so a 64-bit
> > bear could intercept 32-bit compilers too. Can investigate more after first
> > upload?
> 
> Sure! 
> not critical.. can be done later.
> Only having INTERCEPT_LIBDIR in build will be sufficient.. 
> As glibc is not in the deps so in my opinion its not required.
> 
> 
> 
> > 
> > Thank you,
> > Charles
> 
> >
> 
> Thank you MR Merged!
> 
> Best,
> 
> Syed Shahrukh Hussain.
> 
> 
> 
> -- 
> Fingerprint: 9637 1243 73C1 3019 BE11  4BCC EB62 B105 7DE7 A8B1
> 
> OSS Revival
> Empowering open-source, one project at a time.
> https://ossrevival.org/
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads