Skip to content

nixseparatedebuginfod2: use system zstd - #580579

Merged
whispersofthedawn merged 1 commit into
NixOS:masterfrom
NyCodeGHG:push-qprwxzxptrtv
Oct 29, 2026
Merged

whispersofthedawn merged 1 commit into
NixOS:masterfrom
NyCodeGHG:push-qprwxzxptrtv

Conversation

@NyCodeGHG

Copy link
Copy Markdown
Member

Things done

@nixpkgs-ci
nixpkgs-ci Bot requested review from Feyorsh and symphorien October 29, 2026 16:31
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". labels Oct 29, 2026
@nixpkgs-ci nixpkgs-ci Bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Oct 29, 2026
@SuperSandroBot

Copy link
Copy Markdown

✅ nixpkgs-review result

Generated using nixpkgs-review-gha (b97195b)

Command: nixpkgs-review pr 580579
Commit: cf213e417b45ee3c5ee4d2459ea826f6cd4dbacd (subsequent changes)
Merge: 217cf3623e20110f774de9e1297d934e853587e7

Logs: https://github.com/SuperSandro2000/nixpkgs-review-gha/actions/runs/40919654908/attempts/1


x86_64-linux

✅ 1 package built:
  • nixseparatedebuginfod2

aarch64-linux

✅ 1 package built:
  • nixseparatedebuginfod2

@Feyorsh

Feyorsh commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Tested on aarch64-darwin with GDB built using debuginfod-zig.

Tested like so (see also #526141)

Terminal 1 (Linux)

nix shell nixpkgs#{gdb,gnumake}
gdbserver :1338 $(command -v make)

Terminal 2 (macOS)

rm -rf ~/.cache/debuginfod_client
nixpkgs-review pr 580579
nixseparatedebuginfod2 --listen-address 127.0.0.1:1949 --substituter local: --substituter https://cache.nixos.org --expiration "1 day"

Terminal 3 (macOS)

ssh -L 1338:localhost:1338 ...
DEBUGINFOD_URLS="http://127.0.0.1:1949" gdb
(gdb) target extended-remote localhost:1338
...
(gdb) start
...
(gdb) list read
file: "../sysdeps/unix/sysv/linux/read.c", line number: 26, symbol: "__GI___libc_read"
Downloading source file /build/glibc-2.42/io/../sysdeps/unix/sysv/linux/read.c
⚠️ warning: Source file is more recent than executable.                          21
22      /* Read NBYTES into BUF from FD.  Return the number read or -1.  */
23      ssize_t
24      __libc_read (int fd, void *buf, size_t nbytes)
25      {
26        return SYSCALL_CANCEL (read, fd, buf, nbytes);
27      }
28      libc_hidden_def (__libc_read)
29
30      libc_hidden_def (__read)
file: "/nix/store/6rgkfqr5mcjr39irv7wlbhfih2r5s2nl-glibc-2.42-84-dev/include/bits/unistd.h", line number: 32, symbol: "read"
⚠️ warning: 27   /nix/store/6rgkfqr5mcjr39irv7wlbhfih2r5s2nl-glibc-2.42-84-dev/include/bits/unistd.h: No such file or directory

@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 2 This PR was reviewed and approved by two persons. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. and removed 12.approvals: 1 This PR was reviewed and approved by one person. labels Oct 29, 2026

@whispersofthedawn whispersofthedawn left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

builds look good on x86_64-linux on staging-next, links to libzstd properly. deferring to maintainer testing above for runtime testing.

@whispersofthedawn
whispersofthedawn added this pull request to the merge queue Oct 29, 2026
@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 3+ This PR was reviewed and approved by three or more persons. and removed 12.approvals: 2 This PR was reviewed and approved by two persons. labels Oct 29, 2026
Merged via the queue into NixOS:master with commit cddec0f Oct 29, 2026
39 checks passed
@NyCodeGHG
NyCodeGHG deleted the push-qprwxzxptrtv branch November 29, 2026 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 12.approvals: 3+ This PR was reviewed and approved by three or more persons. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants