Skip to content

cutter 2.5.0 fails to build (Qt uic rejects BreakpointWidget.ui) — blocks fleet switch #5269

Closed

Description

@dezren39

Fleet switch attempt 2 (2026-11-03 20:25 CST, log /home/user/switch-20261103-202506.log, SWITCH_EXIT=1) failed building the amd toplevel. The ONLY root failure in the graph is cutter 2.5.0 — everything else in the cascade is its dependents. The fork is not the blocker: the build consumed opencode input ae5d5920 (#1581) fine. Generation remains the 2026-11-01 build.

Root failure

/nix/store/9nr2p5sn2llahr0l6lr44rbxqala2r01-cutter-2.5.0.drv — builder failed with exit code 2. From nix log of that derivation:

The uic process failed to compile
/build/source/src/widgets/BreakpointWidget.ui: Invalid class name: "AddressableItemList<>"
File /build/source/src/widgets/BreakpointWidget.ui is not valid
make[2]: *** [src/CMakeFiles/Cutter_autogen.dir/build.make:75: src/Cutter_autogen/timestamp] Error 1

Qt uic at the code flake's current nixpkgs pin (toplevel evaluates as 26.11.20261102.f9887a8) rejects the templated class name in cutter 2.5.0's BreakpointWidget.ui — an upstream cutter/Qt incompatibility, not a local config error.

Cascade (all "1 dependency failed")

  • cutter-2.5.0_fish-completions
  • man-paths
  • system-path
  • nixos-system-amd toplevel drv

Fix directions (owning line's call)

Patch the .ui class name via an overlay on the cutter package, override cutter to a version whose .ui files pass the current uic, or drop/replace cutter in the amd configuration. Until one lands, every fleet switch attempt fails at this derivation.

Context: switch attempt 1 (2026-11-03 16:46) never reached this — it died earlier on the fork node_modules FOD hash (fixed in opencode#1581). Attempt 2 ran with --option max-silent-time 1800; no silence-kill occurred during the attempt.

Activity

  1. added 2 commits that reference this issue on Nov 4, 2026
  2. dezren39 commented on Nov 4, 2026

    @dezren39
    MemberAuthor

    Fixed by PR #5270, merged to main as a4c2f18.

    Fix

    Overlay in nixos/nixpkgs/default.nix: cutter postPatch mirrors upstream rizinorg/cutter's own fix for this exact incompatibility —

    • adds using AddressableItemListView = AddressableItemList<CutterTreeView>; to src/widgets/AddressableItemList.h
    • renames AddressableItemList&lt;&gt; -> AddressableItemListView in all seven affected .ui files (XrefsDialog, BreakpointWidget, FlagsWidget, GlobalsWidget, ListDockWidget, SearchWidget, StringsWidget)

    Pre-build validation on amd-6: the pinned Qt 6.12.0 uic fails on the original BreakpointWidget.ui with the exact issue error and passes on the renamed one; the full template-id spelling is also rejected by uic, and a plain rename without the alias does not compile (the uic-generated member declaration needs a complete type name), which is why the alias is required.

    Proof

    nix build .#nixosConfigurations.amd.pkgs.cutter from the fix branch -> /nix/store/kp5hzyrq9x0h9yq2fdj3w7rsj7yhq1z2-cutter-2.5.0 (green; unpatched drv was 9nr2p5sn2llahr0l6lr44rbxqala2r01). Cutter remains in the system package set; no version bump, no Qt change. Fleet switch attempt 3 re-runs against main including this merge.

  3. dezren39 commented on Nov 4, 2026

    @dezren39
    MemberAuthor

    Attempt-3 confirmation: fleet switch attempt 3 (2026-11-03 21:40 CST, log /home/user/switch-20261103-214031.log) built the full amd toplevel graph from main a4c2f18 + deploy pin. Cutter is NOT in the failure set — the patched drv (g54srvlzn1ikjhbx3xibjwj2wrnsrk0x, output kp5hzyrq9x0h9yq2fdj3w7rsj7yhq1z2) realized cleanly in the toplevel build. The attempt failed on a different, unrelated derivation (cargo-llvm-cov check phase), filed as #5275. This issue stays closed: the cutter failure is resolved.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions