On 10/22/26 02:17, Charles wrote:
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
Hi Charles,I have pushed changes mainly packaging related, a patch and d/rules for reference and they are not tested at all..
https://salsa.debian.org/debian/bear Updates branches: upstream, pristine-tar and master. This is the baseline you can use for all the real package building stuff.Upstream suggestion for packaging to use the INTERCEPT_LIBDIR https://github.com/rizsotto/Bear/blob/master/INSTALL.md
So ideally it should be like that... these minor things can be fixed in some later releases but a good start here will go a long run.
I had problem with gbp while triage build issue.. normally all builds on Debian are sbuild so it won't be an issue CI wise.
Thank you again for fixing the tests, Rust is not my forte yet :-) 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/
OpenPGP_0xEB62B1057DE7A8B1.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature

