Lix build error - editline dependency #788

Closed
opened 2025-04-06 16:04:34 +00:00 by nairou · 1 comment

Describe the bug

Suddenly getting an error during rebuild. It appears to be a patch failure while building the editline dependency.

error: builder for '/nix/store/ijmks2l7yflyjsbp474ijbm042mja5iq-editline-1.17.1.drv' failed with exit code 1;
       last 23 log lines:
       > Running phase: unpackPhase
       > unpacking source archive /nix/store/ng2ljlas55wm30b3yriazqabj9p0pnia-source
       > source root is source
       > Running phase: patchPhase
       > applying patch /nix/store/80jn5n4dvbx01wggsqq04sxdnhyics61-fix-for-home-end-in-tmux.patch
       > patching file src/editline.c
       > applying patch /nix/store/qabqcjq9irxx887x1dnj9sk5ci7gxg6i-autoconf-2.72.patch
       > patching file configure.ac
       > Hunk #1 succeeded at 83 with fuzz 1 (offset -6 lines).
       > Hunk #2 succeeded at 94 (offset -6 lines).
       > applying patch /nix/store/ifc3a9bay8g0p78bcpnkxcm29vp97a0q-alt-left-alt-right-word-navigation.patch
       > patching file src/editline.c
       > applying patch /nix/store/qm45krrr5332f0pis8rawn8yqgaqqhkz-editline.patch
       > patching file src/editline.c
       > Reversed (or previously applied) patch detected!  Assume -R? [n]
       > Apply anyway? [n]
       > Skipping patch.
       > 3 out of 3 hunks ignored -- saving rejects to file src/editline.c.rej
       > patching file src/editline.c
       > Reversed (or previously applied) patch detected!  Assume -R? [n]
       > Apply anyway? [n]
       > Skipping patch.
       > 1 out of 1 hunk ignored -- saving rejects to file src/editline.c.rej

nix --version output

nix (Lix, like Nix) 2.92.0
System type: x86_64-linux
Additional system types: i686-linux, x86_64-v1-linux, x86_64-v2-linux, x86_64-v3-linux
Features: gc, signed-caches
System configuration file: /etc/nix/nix.conf
User configuration files: /home/nairou/.config/nix/nix.conf:/etc/xdg/nix/nix.conf:/home/nairou/.nix-profile/etc/xdg/nix/nix.conf:/nix/profile/etc/xdg/nix/nix.conf:/home/nairou/.local/state/nix/profile/etc/xdg/nix/nix.conf:/etc/profiles/per-user/nairou/etc/xdg/nix/nix.conf:/nix/var/nix/profiles/default/etc/xdg/nix/nix.conf:/run/current-system/sw/etc/xdg/nix/nix.conf
Store directory: /nix/store
State directory: /nix/var/nix
Data directory: /nix/store/8qy58qkdq5a32zv58izqlgn3zpn1r3cv-lix-2.92.0/share
## Describe the bug Suddenly getting an error during rebuild. It appears to be a patch failure while building the `editline` dependency. ``` error: builder for '/nix/store/ijmks2l7yflyjsbp474ijbm042mja5iq-editline-1.17.1.drv' failed with exit code 1; last 23 log lines: > Running phase: unpackPhase > unpacking source archive /nix/store/ng2ljlas55wm30b3yriazqabj9p0pnia-source > source root is source > Running phase: patchPhase > applying patch /nix/store/80jn5n4dvbx01wggsqq04sxdnhyics61-fix-for-home-end-in-tmux.patch > patching file src/editline.c > applying patch /nix/store/qabqcjq9irxx887x1dnj9sk5ci7gxg6i-autoconf-2.72.patch > patching file configure.ac > Hunk #1 succeeded at 83 with fuzz 1 (offset -6 lines). > Hunk #2 succeeded at 94 (offset -6 lines). > applying patch /nix/store/ifc3a9bay8g0p78bcpnkxcm29vp97a0q-alt-left-alt-right-word-navigation.patch > patching file src/editline.c > applying patch /nix/store/qm45krrr5332f0pis8rawn8yqgaqqhkz-editline.patch > patching file src/editline.c > Reversed (or previously applied) patch detected! Assume -R? [n] > Apply anyway? [n] > Skipping patch. > 3 out of 3 hunks ignored -- saving rejects to file src/editline.c.rej > patching file src/editline.c > Reversed (or previously applied) patch detected! Assume -R? [n] > Apply anyway? [n] > Skipping patch. > 1 out of 1 hunk ignored -- saving rejects to file src/editline.c.rej ``` ## `nix --version` output ``` nix (Lix, like Nix) 2.92.0 System type: x86_64-linux Additional system types: i686-linux, x86_64-v1-linux, x86_64-v2-linux, x86_64-v3-linux Features: gc, signed-caches System configuration file: /etc/nix/nix.conf User configuration files: /home/nairou/.config/nix/nix.conf:/etc/xdg/nix/nix.conf:/home/nairou/.nix-profile/etc/xdg/nix/nix.conf:/nix/profile/etc/xdg/nix/nix.conf:/home/nairou/.local/state/nix/profile/etc/xdg/nix/nix.conf:/etc/profiles/per-user/nairou/etc/xdg/nix/nix.conf:/nix/var/nix/profiles/default/etc/xdg/nix/nix.conf:/run/current-system/sw/etc/xdg/nix/nix.conf Store directory: /nix/store State directory: /nix/var/nix Data directory: /nix/store/8qy58qkdq5a32zv58izqlgn3zpn1r3cv-lix-2.92.0/share ```
Owner

Please update your module version. lix-project/nixos-module#58

Please update your module version. https://git.lix.systems/lix-project/nixos-module/issues/58
jade closed this issue 2025-04-06 17:44:19 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/lix#788
No description provided.