Skip to content

Build failure: viddy #585400

Closed
Closed

Description

@desmitry

Nixpkgs version

  • Unstable (26.11)

Steps to reproduce

nix build github:NixOS/nixpkgs/f4a03c008967841f2a0b3cb7c436fc6fc31671f6#viddy

Can Hydra reproduce this build failure?

Yes, Hydra can reproduce this build failure.

Link to Hydra build job

https://hydra.nixos.org/build/352553196

Relevant log output

error: linking with `/nix/store/ii6p6kc1brz3vycqg88q4zb4xd2dmqwp-gcc-wrapper-16.2.0/bin/cc` failed: exit status: 1
  = note: /nix/store/45qppvrgigcmyjina7a6p82f2pf5kzmr-binutils-2.46/bin/ld.bfd: cannot find -lsqlite3: No such file or directory
          collect2: error: ld returned 1 exit status
error: could not compile `viddy` (bin "viddy") due to 1 previous error; 6 warnings emitted

Additional context

viddy enables rusqlite's bundled feature. Since #537108 (cargoSetupHook forces common system libs) libsqlite3-sys no longer builds the vendored SQLite and links -lsqlite3 instead, which is not in buildInputs. The package recipe itself did not change; the last successful build was before that change reached unstable. viddy is listed in the tracking issue #570940.

Adding pkg-config to nativeBuildInputs and sqlite to buildInputs fixes it; the build and the version check pass on current master. I'll open a PR with that fix.

Disclosure: I used Claude Code (Claude Opus 5.5) to find the cause, test the fix and draft this report.

System metadata

  • system: "x86_64-linux"
  • host os: NixOS 26.11 (unstable-small)
  • version: nix (Nix) 2.34.9
  • nixpkgs: f4a03c008967841f2a0b3cb7c436fc6fc31671f6

Notify maintainers

@j-hui @phanirithvij


I assert that this issue is relevant for Nixpkgs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions