You are not logged in.
When trying to install the package, I get this error message regardless of whether I install it manually or w/ paru or yay or on a different shell:
( cd include && make DESTDIR="" RPATH_LIST="/usr/lib32" all )
make[1]: Entering directory '/home/pradyungn/lib32ncu/src/ncurses-6.3/include'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/pradyungn/lib32ncu/src/ncurses-6.3/include'
( cd ncurses && make DESTDIR="" RPATH_LIST="/usr/lib32" all )
make[1]: Entering directory '/home/pradyungn/lib32ncu/src/ncurses-6.3/ncurses'
gcc -m32 -DHAVE_CONFIG_H -DBUILDING_NCURSES -I../ncurses -I. -I../include -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -D_FILE_OFFSET_BITS=64 -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -fstack-clash-protection -fcf-protection --param max-inline-insns-single=1200 -Werror=format-security -fPIC -c ../ncurses/./tty/hardscroll.c -o ../obj_s/hardscroll.o
In file included from ../ncurses/curses.priv.h:350,
from ../ncurses/./tty/hardscroll.c:149:
../include/curses.h:1510:9: error: macro names must be identifiers
1510 | #define 6 0000 /* */
| ^
make[1]: *** [Makefile:1015: ../obj_s/hardscroll.o] Error 1
make[1]: Leaving directory '/home/pradyungn/lib32ncu/src/ncurses-6.3/ncurses'
make: *** [Makefile:132: all] Error 2
I really don't know what to do. I'm kinda freaking out. What are some first steps to take in fixing this?
Offline
tracked it down a bit more:
/*
* These definitions were generated by ./MKkey_defs.sh ./Caps ./Caps-ncurses
*/
#define 6 0000 /* */
#ifdef NCURSES_EXT_FUNCS
#define KEY_RESIZE 0532 /* Terminal resize event */
#endif
Script issue possibly?
Offline
What is the output of
$ pacman -Q `pacman -Qqg base-devel`
$ pacman -Qgq multilib-devel
$ pacman -Q `pacman -Qgq multilib-devel`
Offline
What is the output of
$ pacman -Q `pacman -Qqg base-devel` $ pacman -Qgq multilib-devel $ pacman -Q `pacman -Qgq multilib-devel`
Here you go
Σ ~ pacman -Q `pacman -Qqg base-devel`
archlinux-keyring 20220831-1
autoconf 2.71-1
automake 1.16.5-1
binutils 2.39-3
bison 3.8.2-4
fakeroot 1.29-1
file 5.42-2
findutils 4.9.0-1
flex 2.6.4-3
gawk 5.1.1-1
gcc 12.2.0-1
gettext 0.21-2
grep 3.7-1
groff 1.22.4-7
gzip 1.12-1
libtool 2.4.7-5
m4 1.4.19-1
make 4.3-3
pacman 6.0.1-7
patch 2.7.6-8
pkgconf 1.8.0-1
sed 4.8-1
sudo 1.9.11.p3-1
texinfo 6.8-2
which 2.21-5
Σ ~ pacman -Qgq multilib-devel
lib32-fakeroot
lib32-gcc-libs
lib32-libltdl
Σ ~ pacman -Q `pacman -Qgq multilib-devel`
lib32-fakeroot 1.29-1
lib32-gcc-libs 12.2.0-1
lib32-libltdl 2.4.7-2
Last edited by pradyun (2022-09-02 03:17:47)
Offline
Another update - looks like any package that requires a freshly compiled version of ncurses fails. Definitely an issue with the MKkeys step of the Ncurses compile process.
Offline
What is the output of the following
$ echo "${AWK-awk}"
$ type -a "${AWK-awk}"
$ cd src/ncurses-6.3/include
$ ./MKkey_defs.sh ./Caps ./Caps-ncurses
Offline
Σ ~/lib32ncu/src/ncurses-6.3 echo "${AWK-awk}"
awk
----
Σ ~ type -a "${AWK-awk}"
awk is /usr/bin/awk
awk is /bin/awk
----
Σ ~/lib32ncu/src/ncurses-6.3/include ./MKkey_defs.sh ./Caps ./Caps-ncurses
/*
* These definitions were generated by ./MKkey_defs.sh ./Caps ./Caps-ncurses
*/
#define 6 0000 /* */
#ifdef NCURSES_EXT_FUNCS
#define KEY_RESIZE 0532 /* Terminal resize event */
#endif
#define KEY_MAX 0777 /* Maximum key value is 0532 */
Offline
$ ./MKkey_defs.sh ./Caps ./Caps-ncurses
/*
* These definitions were generated by ./MKkey_defs.sh ./Caps ./Caps-ncurses
*/
#define KEY_DOWN 0402 /* down-arrow key */
.....
$ grep KEY_DOWN Caps
key_down kcud1 str kd KEY_DOWN 0402 YBCGE down-arrow key
Offline
Weird - yours seems much longer than mine. It also seems to have actual keys. Any reocmmended courses of action from here?
Last edited by pradyun (2022-09-02 03:48:49)
Offline