Repository navigation
Closed
Labels
0.kind: build failureA package fails to build
Description
Nixpkgs version
- Unstable (25.05)
Steps to reproduce
❯ nix shell nixpkgs#nvi
Can Hydra reproduce this build failure?
Yes, Hydra can reproduce this build failure.
Link to Hydra build job
Relevant log output
error: builder for '/nix/store/vnzbgmh1shngw3slf6dj4s0jny42d9sb-nvi-1.81.6.drv' failed with exit code 2;
last 25 log lines:
> /nix/store/fd118hwh7d1ncib4mdw56ylv3g9k0iyj-bash-5.2p37/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../dist -D__REGEX_PRIVATE -I. -I../dist/../include -DVI=\"/nix/store/33z7hl3vq8dv67jc0x32pwnlarayzdnk-nvi-1.81.6/bin/`echo vi-ipc | sed 's,x,x,'`\" -I../dist/../regex -O -c -o key.lo `test -f '../dist/../common/key.c' || echo '../dist/'`../dist/../common/key.c
> gcc -DHAVE_CONFIG_H -I. -I../dist -D__REGEX_PRIVATE -I. -I../dist/../include -DVI=\"/nix/store/33z7hl3vq8dv67jc0x32pwnlarayzdnk-nvi-1.81.6/bin/vi-ipc\" -I../dist/../regex -O -c ../dist/../common/key.c -fPIC -DPIC -o .libs/key.o
> /nix/store/fd118hwh7d1ncib4mdw56ylv3g9k0iyj-bash-5.2p37/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../dist -D__REGEX_PRIVATE -I. -I../dist/../include -DVI=\"/nix/store/33z7hl3vq8dv67jc0x32pwnlarayzdnk-nvi-1.81.6/bin/`echo vi-ipc | sed 's,x,x,'`\" -I../dist/../regex -O -c -o db.lo `test -f '../dist/../common/db.c' || echo '../dist/'`../dist/../common/db.c
> gcc -DHAVE_CONFIG_H -I. -I../dist -D__REGEX_PRIVATE -I. -I../dist/../include -DVI=\"/nix/store/33z7hl3vq8dv67jc0x32pwnlarayzdnk-nvi-1.81.6/bin/vi-ipc\" -I../dist/../regex -O -c ../dist/../common/db.c -fPIC -DPIC -o .libs/db.o
> /nix/store/fd118hwh7d1ncib4mdw56ylv3g9k0iyj-bash-5.2p37/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../dist -D__REGEX_PRIVATE -I. -I../dist/../include -DVI=\"/nix/store/33z7hl3vq8dv67jc0x32pwnlarayzdnk-nvi-1.81.6/bin/`echo vi-ipc | sed 's,x,x,'`\" -I../dist/../regex -O -c -o main.lo `test -f '../dist/../common/main.c' || echo '../dist/'`../dist/../common/main.c
> gcc -DHAVE_CONFIG_H -I. -I../dist -D__REGEX_PRIVATE -I. -I../dist/../include -DVI=\"/nix/store/33z7hl3vq8dv67jc0x32pwnlarayzdnk-nvi-1.81.6/bin/vi-ipc\" -I../dist/../regex -O -c ../dist/../common/main.c -fPIC -DPIC -o .libs/main.o
> ../dist/../common/main.c: In function 'editor':
> ../dist/../common/main.c:389:23: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
> 389 | (void)write(STDOUT_FILENO, p, len);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /nix/store/fd118hwh7d1ncib4mdw56ylv3g9k0iyj-bash-5.2p37/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../dist -D__REGEX_PRIVATE -I. -I../dist/../include -DVI=\"/nix/store/33z7hl3vq8dv67jc0x32pwnlarayzdnk-nvi-1.81.6/bin/`echo vi-ipc | sed 's,x,x,'`\" -I../dist/../regex -O -c -o mark.lo `test -f '../dist/../common/mark.c' || echo '../dist/'`../dist/../common/mark.c
> gcc -DHAVE_CONFIG_H -I. -I../dist -D__REGEX_PRIVATE -I. -I../dist/../include -DVI=\"/nix/store/33z7hl3vq8dv67jc0x32pwnlarayzdnk-nvi-1.81.6/bin/vi-ipc\" -I../dist/../regex -O -c ../dist/../common/mark.c -fPIC -DPIC -o .libs/mark.o
> /nix/store/fd118hwh7d1ncib4mdw56ylv3g9k0iyj-bash-5.2p37/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../dist -D__REGEX_PRIVATE -I. -I../dist/../include -DVI=\"/nix/store/33z7hl3vq8dv67jc0x32pwnlarayzdnk-nvi-1.81.6/bin/`echo vi-ipc | sed 's,x,x,'`\" -I../dist/../regex -O -c -o msg.lo `test -f '../dist/../common/msg.c' || echo '../dist/'`../dist/../common/msg.c
> gcc -DHAVE_CONFIG_H -I. -I../dist -D__REGEX_PRIVATE -I. -I../dist/../include -DVI=\"/nix/store/33z7hl3vq8dv67jc0x32pwnlarayzdnk-nvi-1.81.6/bin/vi-ipc\" -I../dist/../regex -O -c ../dist/../common/msg.c -fPIC -DPIC -o .libs/msg.o
> /nix/store/fd118hwh7d1ncib4mdw56ylv3g9k0iyj-bash-5.2p37/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../dist -D__REGEX_PRIVATE -I. -I../dist/../include -DVI=\"/nix/store/33z7hl3vq8dv67jc0x32pwnlarayzdnk-nvi-1.81.6/bin/`echo vi-ipc | sed 's,x,x,'`\" -I../dist/../regex -O -c -o options.lo `test -f '../dist/../common/options.c' || echo '../dist/'`../dist/../common/options.c
> gcc -DHAVE_CONFIG_H -I. -I../dist -D__REGEX_PRIVATE -I. -I../dist/../include -DVI=\"/nix/store/33z7hl3vq8dv67jc0x32pwnlarayzdnk-nvi-1.81.6/bin/vi-ipc\" -I../dist/../regex -O -c ../dist/../common/options.c -fPIC -DPIC -o .libs/options.o
> /nix/store/fd118hwh7d1ncib4mdw56ylv3g9k0iyj-bash-5.2p37/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../dist -D__REGEX_PRIVATE -I. -I../dist/../include -DVI=\"/nix/store/33z7hl3vq8dv67jc0x32pwnlarayzdnk-nvi-1.81.6/bin/`echo vi-ipc | sed 's,x,x,'`\" -I../dist/../regex -O -c -o options_f.lo `test -f '../dist/../common/options_f.c' || echo '../dist/'`../dist/../common/options_f.c
> gcc -DHAVE_CONFIG_H -I. -I../dist -D__REGEX_PRIVATE -I. -I../dist/../include -DVI=\"/nix/store/33z7hl3vq8dv67jc0x32pwnlarayzdnk-nvi-1.81.6/bin/vi-ipc\" -I../dist/../regex -O -c ../dist/../common/options_f.c -fPIC -DPIC -o .libs/options_f.o
> ../dist/../common/options_f.c: In function 'f_encoding':
> ../dist/../common/options_f.c:324:16: error: implicit declaration of function 'conv_enc' [-Wimplicit-function-declaration]
> 324 | return conv_enc(sp, offset, str);
> | ^~~~~~~~
> make[1]: *** [Makefile:902: options_f.lo] Error 1
> make[1]: Leaving directory '/build/nvi-1.81.6/build.unix'
> make: *** [Makefile:570: all] Error 2Additional context
last successful build 2024-02-04, also failing on staging-next
System metadata
- system:
"x86_64-linux" - host os:
Linux 6.12.13, NixOS, 25.05 (Warbler), 25.05.20250216.d74a233 - multi-user?:
yes - sandbox:
yes - version:
nix-env (Lix, like Nix) 2.93.0-dev-pre20250217-02c1231 System type: x86_64-linux Additional system types: aarch64-linux, i686-linux Features: gc, signed-caches System configuration file: /etc/nix/nix.conf User configuration files: /home/dan/.config/nix/nix.conf:/etc/xdg/nix/nix.conf:/home/dan/.nix-profile/etc/xdg/nix/nix.conf:/nix/profile/etc/xdg/nix/nix.conf:/home/dan/.local/state/nix/profile/etc/xdg/nix/nix.conf:/etc/profiles/per-user/dan/etc/xdg/nix/nix.conf:/nix/var/nix/profiles/default/etc/xdg/nix/nix.conf:/run/current-system/sw/etc/xdg/nix/nix.conf:/nix/store/gxdk4pwnr44ql8fzin6h1fpqfsvfyjbg-gnome-settings-daemon-47.2/etc/xdg/nix/nix.conf Store directory: /nix/store State directory: /nix/var/nix Data directory: /nix/store/swjziqy15fbs1hghdkghsc7ns57adq3l-lix-2.93.0-dev-pre20250217-02c1231/share - nixpkgs:
/nix/store/s1fbk6a410xn8vcaj54iqv22agyn0ria-source
Notify maintainers
Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)
I assert that this issue is relevant for Nixpkgs
- I assert that this is a bug and not a support request.
- I assert that this is not a duplicate of an existing issue.
- I assert that I have read the NixOS Code of Conduct and agree to abide by it.
Is this issue important to you?
Add a 👍 reaction to issues you find important.
Reacted by Antoine du Hamel, Scott Edlund, Artem Leshchev and Maxwell Anderson
Metadata
Metadata
Assignees
Labels
0.kind: build failureA package fails to build
Activity
TomaSajt commentedon Feb 18, 2025
For reference, it broke after this staging-next merge: #361878
Probably the gcc13 -> gcc14 bump is the issue
aduh95 commentedon May 18, 2025
Maybe relevant: neovim/neovim#32180
tnias commentedon May 30, 2025
A related PR was opened by @suominen at #410629
ddz commentedon Sep 15, 2025
I was not aware that there was already an open PR that fixes this issue, but I had also opened one that also updates nvi by applying all of Debian's patches to it: #442968
suominen commentedon Sep 15, 2025
@ddz — I think
--enable-widecharis important to have. It would also be nice to get the recovery files stored in/var/tmp/vi.recoverlike on other systems, and to enable notifications on boot (needssendmail). They definitely should not be in/tmpand blown away on reboot.ddz commentedon Sep 15, 2025
@suominen: Both fair points, I didn't have any opinions about them except trying to preserve existing behavior unless there are reasons to change it.
ddz commentedon Nov 14, 2025
FWIW, #442968 currently enables widechar support but keeps recovery files in
/tmpto preserve existing behavior (NixOS usessystemd-tmpfilesfor both/tmpand/var/tmp, but perhaps you are using nixpkgs on another OS?). There is also a stylistic difference between our PRs is that mine uses themaintainers/scripts/debian-patches.shscript whereas yours downloads the patches itself.