Package Details: nedit 5.8-1

Git Clone URL: https://aur.archlinux.org/nedit.git (read-only, click to copy)
Package Base: nedit
Description: A Unix text editor for programmers and general users
Upstream URL: https://sourceforge.net/projects/nedit
Licenses: GPL
Submitter: arojas
Maintainer: carlosal1015
Last Packager: carlosal1015
Votes: 0
Popularity: 0.000000
First Submitted: 2022-04-01 18:00 (UTC)
Last Updated: 2026-05-01 05:56 (UTC)

Latest Comments

marco.righi commented on 2026-07-01 15:53 (UTC) (edited on 2026-07-01 15:54 (UTC) by marco.righi)

Error on compling

(cd util; \
    make -f Makefile.linux libNUtil.a)
make[1]: Entering directory '/home/marco/.cache/yay/nedit/src/nedit-5.8/util'
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DBUILD_UNTESTED_NEDIT   -c -o DialogF.o DialogF.c
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DBUILD_UNTESTED_NEDIT   -c -o getfiles.o getfiles.c
getfiles.c: In function ‘replacementDirSearchProc’:
getfiles.c:1076:6: error: too many arguments to function ‘OrigDirSearchProc’; expected 0, have 2
 1076 |     (*OrigDirSearchProc)(w, searchData);
      |     ~^~~~~~~~~~~~~~~~~~~ ~
getfiles.c: In function ‘replacementFileSearchProc’:
getfiles.c:1092:6: error: too many arguments to function ‘OrigFileSearchProc’; expected 0, have 2
 1092 |     (*OrigFileSearchProc)(w, searchData);
      |     ~^~~~~~~~~~~~~~~~~~~~ ~
make[1]: *** [<builtin>: getfiles.o] Error 1
make[1]: Leaving directory '/home/marco/.cache/yay/nedit/src/nedit-5.8/util'
make: *** [Makefile:25: linux] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: nedit-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
nedit - exit status 4

paulkerry commented on 2026-05-04 08:22 (UTC)

The PKGBUILD build section currently contains... make CFLAGS+="${CFLAGS} -DBUILD_UNTESTED_NEDIT" linux docs

but I cannot find a reason why those extra CFLAGS are needed when looking at the docs in the source?

Changing the make line to... make linux docs

as described in the source docs, builds the package as expected.

Paul

ve7it commented on 2026-05-02 23:13 (UTC) (edited on 2026-05-03 03:04 (UTC) by ve7it)

it seems gcc 15 is much stricter on function prototypes. I did get it to build once editing line 248 in getfiles.c and adding (Widget, XtPointer) as the function parameters, but after posting instructions here, I could not replicate a successful build. Additional errors showed up in menu.c. I hope the package maintainer can take a look.

There seem to be some good hints in the gentoo bugzilla page here:

https://bugs.gentoo.org/attachment.cgi?id=935988&action=diff

cheers Lawrence

simona commented on 2026-05-01 08:12 (UTC)

getfiles.c: In function ‘replacementDirSearchProc’:
getfiles.c:1076:6: error: too many arguments to function ‘OrigDirSearchProc’; expected 0, have 2
1076 |     (OrigDirSearchProc)(w, searchData);
|     ~^~~ ~
getfiles.c: In function ‘replacementFileSearchProc’:
getfiles.c:1092:6: error: too many arguments to function ‘OrigFileSearchProc’; expected 0, have 2
1092 |     (OrigFileSearchProc)(w, searchData);
|     ~^~~~ ~
make[1]: *** [<incorporato>: getfiles.o] Error 1

FabioLolix commented on 2025-08-11 08:02 (UTC)

Hi, currently fails to build

==> Starting build()...
(cd util; \
    make -f Makefile.linux libNUtil.a)
make[1]: Entering directory '/home/fabio/Dev/pkg_make/POD2MAN/nedit/src/nedit-5.7/util'
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -flto=auto -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -flto=auto -DBUILD_UNTESTED_NEDIT   -c -o DialogF.o DialogF.c
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -flto=auto -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -flto=auto -DBUILD_UNTESTED_NEDIT   -c -o getfiles.o getfiles.c
getfiles.c: In function 'replacementDirSearchProc':
getfiles.c:1076:6: error: too many arguments to function 'OrigDirSearchProc'; expected 0, have 2
 1076 |     (*OrigDirSearchProc)(w, searchData);
      |     ~^~~~~~~~~~~~~~~~~~~ ~
getfiles.c: In function 'replacementFileSearchProc':
getfiles.c:1092:6: error: too many arguments to function 'OrigFileSearchProc'; expected 0, have 2
 1092 |     (*OrigFileSearchProc)(w, searchData);
      |     ~^~~~~~~~~~~~~~~~~~~~ ~
make[1]: *** [<builtin>: getfiles.o] Error 1
make[1]: Leaving directory '/home/fabio/Dev/pkg_make/POD2MAN/nedit/src/nedit-5.7/util'
make: *** [Makefile:25: linux] Error 2
==> ERROR: A failure occurred in build().

Also very likely don't need a makedepnds on a separate AUR pkgbuild for pod2man as is part of the perlpackage

$ which pod2man
/usr/bin/core_perl/pod2man

$ pkgfile /usr/bin/core_perl/pod2man
core/perl