<86>Aug 24 01:09:09 userdel[808017]: delete user 'rooter' <86>Aug 24 01:09:09 userdel[808017]: removed group 'rooter' owned by 'rooter' <86>Aug 24 01:09:09 userdel[808017]: removed shadow group 'rooter' owned by 'rooter' <86>Aug 24 01:09:09 groupadd[808074]: group added to /etc/group: name=rooter, GID=1847 <86>Aug 24 01:09:09 groupadd[808074]: group added to /etc/gshadow: name=rooter <86>Aug 24 01:09:09 groupadd[808074]: new group: name=rooter, GID=1847 <86>Aug 24 01:09:09 useradd[808121]: new user: name=rooter, UID=1847, GID=1847, home=/root, shell=/bin/bash, from=none <86>Aug 24 01:09:09 userdel[808171]: delete user 'builder' <86>Aug 24 01:09:09 userdel[808171]: removed group 'builder' owned by 'builder' <86>Aug 24 01:09:09 userdel[808171]: removed shadow group 'builder' owned by 'builder' <86>Aug 24 01:09:09 groupadd[808195]: group added to /etc/group: name=builder, GID=1848 <86>Aug 24 01:09:09 groupadd[808195]: group added to /etc/gshadow: name=builder <86>Aug 24 01:09:09 groupadd[808195]: new group: name=builder, GID=1848 <86>Aug 24 01:09:09 useradd[808209]: new user: name=builder, UID=1848, GID=1848, home=/usr/src, shell=/bin/bash, from=none <13>Aug 24 01:09:11 rpmi: libncursesw6-6.3.20220618-alt2 sisyphus+326886.60.11.1 1692772360 installed <13>Aug 24 01:09:11 rpmi: libtinfo-devel-6.3.20220618-alt2 sisyphus+326886.60.11.1 1692772360 installed <13>Aug 24 01:09:11 rpmi: libncursesw-devel-6.3.20220618-alt2 sisyphus+326886.60.11.1 1692772360 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/clex-4.6.6-alt1.nosrc.rpm (w1.gzdio) Installing clex-4.6.6-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.91492 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf clex-4.6.6 + echo 'Source #0 (clex-4.6.6.tar):' Source #0 (clex-4.6.6.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/clex-4.6.6.tar + cd clex-4.6.6 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (clex-4.6.6-alt1.patch):' Patch #0 (clex-4.6.6-alt1.patch): + /usr/bin/patch -p1 patching file src/inout.c patching file src/kbd-test.c + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.91492 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd clex-4.6.6 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + configure_runstatedir_flags= + grep -qF runstatedir=DIR ./configure + echo 'rpm-build: warning: ./configure script does not support --runstatedir' rpm-build: warning: ./configure script does not support --runstatedir + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --enable-largefile configure: WARNING: unrecognized options: --disable-silent-rules, --without-included-gettext checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for x86_64-alt-linux-gcc... x86_64-alt-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of x86_64-alt-linux-gcc... none checking for library containing setupterm... -ltinfo checking for library containing addwstr... -lncursesw checking how to run the C preprocessor... x86_64-alt-linux-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether sys/types.h defines makedev... no checking sys/mkdev.h usability... no checking sys/mkdev.h presence... no checking for sys/mkdev.h... no checking sys/sysmacros.h usability... yes checking sys/sysmacros.h presence... yes checking for sys/sysmacros.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for unistd.h... (cached) yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking wctype.h usability... yes checking wctype.h presence... yes checking for wctype.h... yes checking ncursesw.h usability... no checking ncursesw.h presence... no checking for ncursesw.h... no checking ncurses.h usability... no checking ncurses.h presence... no checking for ncurses.h... no checking term.h usability... yes checking term.h presence... yes checking for term.h... yes checking for uid_t in sys/types.h... yes checking for mode_t... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking for ssize_t... yes checking return type of signal handlers... void checking for struct stat.st_rdev... yes checking whether sys_siglist is declared... no checking for working POSIX fnmatch... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for working strcoll... yes checking for alarm... yes checking for btowc... yes checking for dup2... yes checking for endgrent... yes checking for endpwent... yes checking for getcwd... yes checking for iswprint... yes checking for memset... yes checking for nl_langinfo... yes checking for setenv... yes checking for setlocale... yes checking for strchr... yes checking for strerror... yes checking for strsignal... yes checking for uname... yes checking for wcwidth... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no configure: creating ./config.status config.status: creating Makefile config.status: creating clex.spec config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands configure: WARNING: unrecognized options: --disable-silent-rules, --without-included-gettext + make -j16 make all-recursive Making all in src make[2]: Entering directory '/usr/src/RPM/BUILD/clex-4.6.6/src' sed -f convert.sed help_en.hlp > help.inc make[2]: Leaving directory '/usr/src/RPM/BUILD/clex-4.6.6/src' make all-am make[3]: Entering directory '/usr/src/RPM/BUILD/clex-4.6.6/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -I/usr/include/ncurses -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -pedantic -Wstrict-overflow=0 -c lang.c make[3]: Leaving directory '/usr/src/RPM/BUILD/clex-4.6.6/src' make[3]: Entering directory '/usr/src/RPM/BUILD/clex-4.6.6/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -I/usr/include/ncurses -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -pedantic -Wstrict-overflow=0 -c directory.c make[3]: Leaving directory '/usr/src/RPM/BUILD/clex-4.6.6/src' make[3]: Entering directory '/usr/src/RPM/BUILD/clex-4.6.6/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -I/usr/include/ncurses -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -pedantic -Wstrict-overflow=0 -c filepanel.c make[3]: Leaving directory '/usr/src/RPM/BUILD/clex-4.6.6/src' make[3]: Entering directory '/usr/src/RPM/BUILD/clex-4.6.6/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -I/usr/include/ncurses -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -pedantic -Wstrict-overflow=0 -c filter.c make[3]: Leaving directory '/usr/src/RPM/BUILD/clex-4.6.6/src' make[3]: Entering directory '/usr/src/RPM/BUILD/clex-4.6.6/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -I/usr/include/ncurses -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -pedantic -Wstrict-overflow=0 -c cmp.c make[3]: Leaving directory '/usr/src/RPM/BUILD/clex-4.6.6/src' make[3]: Entering directory '/usr/src/RPM/BUILD/clex-4.6.6/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -I/usr/include/ncurses -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -pedantic -Wstrict-overflow=0 -c inschar.c make[3]: Leaving directory '/usr/src/RPM/BUILD/clex-4.6.6/src' make[3]: Entering directory '/usr/src/RPM/BUILD/clex-4.6.6/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -I/usr/include/ncurses -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -pedantic -Wstrict-overflow=0 -c bookmarks.c make[3]: Leaving directory '/usr/src/RPM/BUILD/clex-4.6.6/src' make[3]: Entering directory '/usr/src/RPM/BUILD/clex-4.6.6/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -I/usr/include/ncurses -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -pedantic -Wstrict-overflow=0 -c control.c control.c:157:18: error: 'KEY_DC' undeclared here (not in a function) 157 | { 1, 0, KEY_DC, cx_bm_del, OPT_NOFILT | OPT_CURS }, | ^~~~~~ control.c:210:18: warning: implicit declaration of function 'KEY_F' [-Wimplicit-function-declaration] 210 | { 1, 0, KEY_F(1), cx_mode_help, 0 }, | ^~~~~ control.c:210:18: error: initializer element is not constant control.c:210:18: note: (near initialization for 'tab_common[8].key') control.c:249:18: error: 'KEY_LEFT' undeclared here (not in a function) 249 | { 1, 1, KEY_LEFT, cx_edit_w_left, 0 }, | ^~~~~~~~ control.c:256:18: error: 'KEY_RIGHT' undeclared here (not in a function) 256 | { 1, 1, KEY_RIGHT, cx_edit_w_right, 0 }, | ^~~~~~~~~ control.c:258:18: error: 'KEY_BACKSPACE' undeclared here (not in a function) 258 | { 1, 0, KEY_BACKSPACE, cx_edit_backsp, 0 }, | ^~~~~~~~~~~~~ control.c:269:18: error: 'KEY_HOME' undeclared here (not in a function) 269 | { 1, 0, KEY_HOME, cx_edit_begin, 0 }, | ^~~~~~~~ control.c:270:18: error: 'KEY_END' undeclared here (not in a function) 270 | { 1, 0, KEY_END, cx_edit_end, 0 }, | ^~~~~~~ control.c:271:18: error: 'KEY_UP' undeclared here (not in a function) 271 | { 1, 1, KEY_UP, cx_edit_up, 0 }, | ^~~~~~ control.c:272:18: error: 'KEY_DOWN' undeclared here (not in a function) 272 | { 1, 1, KEY_DOWN, cx_edit_down, 0 }, | ^~~~~~~~ control.c:298:18: error: initializer element is not constant 298 | { 1, 0, KEY_F(16), cx_mode_mainmenu, 0 }, | ^~~~~ control.c:298:18: note: (near initialization for 'tab_editcmd[20].key') control.c:299:18: error: 'KEY_IC' undeclared here (not in a function) 299 | { 1, 0, KEY_IC, cx_select_toggle, OPT_CURS }, | ^~~~~~ control.c:300:18: error: 'KEY_IL' undeclared here (not in a function) 300 | { 1, 0, KEY_IL, cx_select_toggle, OPT_CURS }, | ^~~~~~ control.c:306:18: error: initializer element is not constant 306 | { 1, 0, KEY_F(2), cx_edit_cmd_f2, 0 }, | ^~~~~ control.c:306:18: note: (near initialization for 'tab_editcmd[25].key') control.c:307:18: error: initializer element is not constant 307 | { 1, 0, KEY_F(3), cx_edit_cmd_f3, 0 }, | ^~~~~ control.c:307:18: note: (near initialization for 'tab_editcmd[26].key') control.c:308:18: error: initializer element is not constant 308 | { 1, 0, KEY_F(4), cx_edit_cmd_f4, 0 }, | ^~~~~ control.c:308:18: note: (near initialization for 'tab_editcmd[27].key') control.c:309:18: error: initializer element is not constant 309 | { 1, 0, KEY_F(5), cx_edit_cmd_f5, 0 }, | ^~~~~ control.c:309:18: note: (near initialization for 'tab_editcmd[28].key') control.c:310:18: error: initializer element is not constant 310 | { 1, 0, KEY_F(6), cx_edit_cmd_f6, 0 }, | ^~~~~ control.c:310:18: note: (near initialization for 'tab_editcmd[29].key') control.c:311:18: error: initializer element is not constant 311 | { 1, 0, KEY_F(7), cx_edit_cmd_f7, 0 }, | ^~~~~ control.c:311:18: note: (near initialization for 'tab_editcmd[30].key') control.c:312:18: error: initializer element is not constant 312 | { 1, 0, KEY_F(8), cx_edit_cmd_f8, 0 }, | ^~~~~ control.c:312:18: note: (near initialization for 'tab_editcmd[31].key') control.c:313:18: error: initializer element is not constant 313 | { 1, 0, KEY_F(9), cx_edit_cmd_f9, 0 }, | ^~~~~ control.c:313:18: note: (near initialization for 'tab_editcmd[32].key') control.c:314:18: error: initializer element is not constant 314 | { 1, 0, KEY_F(10), cx_edit_cmd_f10, 0 }, | ^~~~~ control.c:314:18: note: (near initialization for 'tab_editcmd[33].key') control.c:315:18: error: initializer element is not constant 315 | { 1, 0, KEY_F(11), cx_edit_cmd_f11, 0 }, | ^~~~~ control.c:315:18: note: (near initialization for 'tab_editcmd[34].key') control.c:316:18: error: initializer element is not constant 316 | { 1, 0, KEY_F(12), cx_edit_cmd_f12, 0 }, | ^~~~~ control.c:316:18: note: (near initialization for 'tab_editcmd[35].key') control.c:361:18: error: initializer element is not constant 361 | { 1, 0, KEY_F(1), cx_help_main, 0 }, | ^~~~~ control.c:361:18: note: (near initialization for 'tab_help[8].key') control.c:495:18: error: 'KEY_PPAGE' undeclared here (not in a function) 495 | { 1, 0, KEY_PPAGE, cx_pan_pgup, 0 }, | ^~~~~~~~~ control.c:496:18: error: 'KEY_NPAGE' undeclared here (not in a function) 496 | { 1, 0, KEY_NPAGE, cx_pan_pgdown, 0 }, | ^~~~~~~~~ control.c:532:18: error: initializer element is not constant 532 | { 1, 0, KEY_F(2), cx_edit_paste_currentfile, 0 }, | ^~~~~ control.c:532:18: note: (near initialization for 'tab_pastemenu[9].key') control.c:533:18: error: initializer element is not constant 533 | { 1, 1, KEY_F(2), cx_edit_paste_filenames, 0 }, | ^~~~~ control.c:533:18: note: (near initialization for 'tab_pastemenu[10].key') control.c: In function 'do_action': control.c:807:28: error: 'KEY_ENTER' undeclared (first use in this function) 807 | if (key == KEY_ENTER) { | ^~~~~~~~~ control.c:807:28: note: each undeclared identifier is reported only once for each function it appears in make[3]: *** [Makefile:410: control.o] Error 1 make[3]: Leaving directory '/usr/src/RPM/BUILD/clex-4.6.6/src' make[3]: *** Waiting for unfinished jobs.... make[3]: Entering directory '/usr/src/RPM/BUILD/clex-4.6.6/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -I/usr/include/ncurses -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -pedantic -Wstrict-overflow=0 -c cfg.c make[3]: Leaving directory '/usr/src/RPM/BUILD/clex-4.6.6/src' make[3]: Entering directory '/usr/src/RPM/BUILD/clex-4.6.6/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -I/usr/include/ncurses -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -pedantic -Wstrict-overflow=0 -c edit.c make[3]: Leaving directory '/usr/src/RPM/BUILD/clex-4.6.6/src' make[3]: Entering directory '/usr/src/RPM/BUILD/clex-4.6.6/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -I/usr/include/ncurses -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -pedantic -Wstrict-overflow=0 -c exec.c exec.c: In function 'execute': exec.c:245:33: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 245 | system(user_data.shell); | ^~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/clex-4.6.6/src' make[3]: Entering directory '/usr/src/RPM/BUILD/clex-4.6.6/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -I/usr/include/ncurses -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -pedantic -Wstrict-overflow=0 -c history.c make[3]: Leaving directory '/usr/src/RPM/BUILD/clex-4.6.6/src' make[3]: Entering directory '/usr/src/RPM/BUILD/clex-4.6.6/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -I/usr/include/ncurses -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -pedantic -Wstrict-overflow=0 -c lex.c make[3]: Leaving directory '/usr/src/RPM/BUILD/clex-4.6.6/src' make[3]: Entering directory '/usr/src/RPM/BUILD/clex-4.6.6/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -I/usr/include/ncurses -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -pedantic -Wstrict-overflow=0 -c filerw.c make[3]: Leaving directory '/usr/src/RPM/BUILD/clex-4.6.6/src' make[3]: Entering directory '/usr/src/RPM/BUILD/clex-4.6.6/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -I/usr/include/ncurses -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -pedantic -Wstrict-overflow=0 -c notify.c make[3]: Leaving directory '/usr/src/RPM/BUILD/clex-4.6.6/src' make[3]: Entering directory '/usr/src/RPM/BUILD/clex-4.6.6/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -I/usr/include/ncurses -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -pedantic -Wstrict-overflow=0 -c completion.c make[3]: Leaving directory '/usr/src/RPM/BUILD/clex-4.6.6/src' make[3]: Entering directory '/usr/src/RPM/BUILD/clex-4.6.6/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -I/usr/include/ncurses -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -pedantic -Wstrict-overflow=0 -c help.c make[3]: Leaving directory '/usr/src/RPM/BUILD/clex-4.6.6/src' make[3]: Entering directory '/usr/src/RPM/BUILD/clex-4.6.6/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -I/usr/include/ncurses -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -pedantic -Wstrict-overflow=0 -c log.c make[3]: Leaving directory '/usr/src/RPM/BUILD/clex-4.6.6/src' make[3]: Entering directory '/usr/src/RPM/BUILD/clex-4.6.6/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -I/usr/include/ncurses -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -pedantic -Wstrict-overflow=0 -c inout.c inout.c:68:8: error: unknown type name 'chtype' 68 | static chtype attrr, attrb; /* reverse and bold or substitutes */ | ^~~~~~ inout.c: In function 'screen_draw_all': inout.c:141:17: warning: implicit declaration of function 'clear' [-Wimplicit-function-declaration] 141 | clear(); | ^~~~~ inout.c:142:17: warning: implicit declaration of function 'getmaxyx' [-Wimplicit-function-declaration] 142 | getmaxyx(stdscr,y,x); | ^~~~~~~~ inout.c:142:26: error: 'stdscr' undeclared (first use in this function); did you mean 'strstr'? 142 | getmaxyx(stdscr,y,x); | ^~~~~~ | strstr inout.c:142:26: note: each undeclared identifier is reported only once for each function it appears in inout.c:157:17: warning: implicit declaration of function 'printw'; did you mean 'wprintf'? [-Wimplicit-function-declaration] 157 | printw("CLEX: this %dx%d window is too small. " | ^~~~~~ | wprintf inout.c:163:17: warning: implicit declaration of function 'refresh' [-Wimplicit-function-declaration] 163 | refresh(); | ^~~~~~~ inout.c:164:21: warning: implicit declaration of function 'getch' [-Wimplicit-function-declaration] 164 | if (getch() == CH_CTRL('C')) | ^~~~~ inout.c:167:9: warning: implicit declaration of function 'attrset'; did you mean 'tzset'? [-Wimplicit-function-declaration] 167 | attrset(A_NORMAL); | ^~~~~~~ | tzset inout.c: In function 'curses_initialize': inout.c:195:9: warning: implicit declaration of function 'initscr' [-Wimplicit-function-declaration] 195 | initscr(); /* restores signal dispositions on FreeBSD ! */ | ^~~~~~~ inout.c:197:9: warning: implicit declaration of function 'raw' [-Wimplicit-function-declaration] 197 | raw(); | ^~~ inout.c:198:9: warning: implicit declaration of function 'nonl' [-Wimplicit-function-declaration] 198 | nonl(); | ^~~~ inout.c:199:9: warning: implicit declaration of function 'noecho' [-Wimplicit-function-declaration] 199 | noecho(); | ^~~~~~ inout.c:200:9: warning: implicit declaration of function 'keypad'; did you mean 'key_a3'? [-Wimplicit-function-declaration] 200 | keypad(stdscr,TRUE); | ^~~~~~ | key_a3 inout.c:200:16: error: 'stdscr' undeclared (first use in this function); did you mean 'strstr'? 200 | keypad(stdscr,TRUE); | ^~~~~~ | strstr inout.c:200:23: error: 'TRUE' undeclared (first use in this function) 200 | keypad(stdscr,TRUE); | ^~~~ inout.c:201:9: warning: implicit declaration of function 'notimeout' [-Wimplicit-function-declaration] 201 | notimeout(stdscr,TRUE); | ^~~~~~~~~ inout.c:202:9: warning: implicit declaration of function 'scrollok' [-Wimplicit-function-declaration] 202 | scrollok(stdscr,FALSE); | ^~~~~~~~ inout.c:202:25: error: 'FALSE' undeclared (first use in this function) 202 | scrollok(stdscr,FALSE); | ^~~~~ inout.c:57:20: error: 'A_STANDOUT' undeclared (first use in this function) 57 | # define A_REVERSE A_STANDOUT | ^~~~~~~~~~ inout.c:208:25: note: in expansion of macro 'A_REVERSE' 208 | attrr = A_REVERSE; | ^~~~~~~~~ inout.c: In function 'curses_restart': inout.c:261:9: warning: implicit declaration of function 'reset_prog_mode' [-Wimplicit-function-declaration] 261 | reset_prog_mode(); | ^~~~~~~~~~~~~~~ inout.c:262:9: warning: implicit declaration of function 'touchwin' [-Wimplicit-function-declaration] 262 | touchwin(stdscr); | ^~~~~~~~ inout.c:262:18: error: 'stdscr' undeclared (first use in this function); did you mean 'strstr'? 262 | touchwin(stdscr); | ^~~~~~ | strstr inout.c: In function 'curses_stop': inout.c:273:9: warning: implicit declaration of function 'endwin' [-Wimplicit-function-declaration] 273 | endwin(); | ^~~~~~ inout.c: In function 'curses_cbreak': inout.c:280:9: warning: implicit declaration of function 'cbreak' [-Wimplicit-function-declaration] 280 | cbreak(); | ^~~~~~ inout.c: In function 'screen_refresh': inout.c:301:17: warning: implicit declaration of function 'move' [-Wimplicit-function-declaration] 301 | move(LNO_FRAME2,CNO_FILTER + wc_cols(panel->filter->line,0,panel->filter->curs)); | ^~~~ inout.c: In function 'mouse_data': inout.c:450:16: error: 'stdscr' undeclared (first use in this function); did you mean 'strstr'? 450 | keypad(stdscr,FALSE); | ^~~~~~ | strstr inout.c:450:23: error: 'FALSE' undeclared (first use in this function) 450 | keypad(stdscr,FALSE); | ^~~~~ inout.c:454:23: error: 'TRUE' undeclared (first use in this function) 454 | keypad(stdscr,TRUE); | ^~~~ inout.c: In function 'kbd_rawkey': inout.c:539:32: warning: implicit declaration of function 'get_wch'; did you mean 'getwc'? [-Wimplicit-function-declaration] 539 | type = get_wch(&kinp.key); | ^~~~~~~ | getwc inout.c:540:34: error: 'ERR' undeclared (first use in this function) 540 | } while (type == ERR || kinp.key == WEOF); | ^~~ inout.c:541:29: error: 'KEY_CODE_YES' undeclared (first use in this function) 541 | if (type == KEY_CODE_YES) { | ^~~~~~~~~~~~ inout.c: In function 'kbd_getany': inout.c:567:25: warning: implicit declaration of function 'wrefresh'; did you mean 'key_refresh'? [-Wimplicit-function-declaration] 567 | wrefresh(curscr); /* redraw screen */ | ^~~~~~~~ | key_refresh inout.c:567:34: error: 'curscr' undeclared (first use in this function) 567 | wrefresh(curscr); /* redraw screen */ | ^~~~~~ inout.c: In function 'char_code': inout.c:588:9: warning: implicit declaration of function 'sprintf' [-Wimplicit-function-declaration] 588 | sprintf(buffer + 2,"%0*X",value > 0xFF ? 4 : 2,value); | ^~~~~~~ inout.c:47:1: note: include '' or provide a declaration of 'sprintf' 46 | #include "tty.h" /* tty_press_enter() */ +++ |+#include 47 | inout.c:588:9: warning: incompatible implicit declaration of built-in function 'sprintf' [-Wbuiltin-declaration-mismatch] 588 | sprintf(buffer + 2,"%0*X",value > 0xFF ? 4 : 2,value); | ^~~~~~~ inout.c:588:9: note: include '' or provide a declaration of 'sprintf' inout.c: In function 'shift_key': inout.c:645:33: error: 'KEY_LEFT' undeclared (first use in this function) 645 | { "LFT", KEY_LEFT }, | ^~~~~~~~ inout.c:646:33: error: 'KEY_RIGHT' undeclared (first use in this function) 646 | { "RIT", KEY_RIGHT }, | ^~~~~~~~~ inout.c:647:33: error: 'KEY_UP' undeclared (first use in this function) 647 | { "UP", KEY_UP }, | ^~~~~~ inout.c:648:33: error: 'KEY_DOWN' undeclared (first use in this function) 648 | { "DN", KEY_DOWN }, | ^~~~~~~~ inout.c:649:33: error: 'KEY_HOME' undeclared (first use in this function) 649 | { "HOM", KEY_HOME }, | ^~~~~~~~ inout.c:650:33: error: 'KEY_END' undeclared (first use in this function) 650 | { "END", KEY_END }, | ^~~~~~~ inout.c:651:33: error: 'KEY_IC' undeclared (first use in this function) 651 | { "IC", KEY_IC }, | ^~~~~~ inout.c:652:33: error: 'KEY_DC' undeclared (first use in this function) 652 | { "DC", KEY_DC }, | ^~~~~~ inout.c:653:33: error: 'KEY_PPAGE' undeclared (first use in this function) 653 | { "PRV", KEY_PPAGE }, | ^~~~~~~~~ inout.c:654:33: error: 'KEY_NPAGE' undeclared (first use in this function) 654 | { "NXT", KEY_NPAGE } | ^~~~~~~~~ inout.c:657:16: warning: implicit declaration of function 'keyname' [-Wimplicit-function-declaration] 657 | name = keyname(key); | ^~~~~~~ inout.c:657:14: warning: assignment to 'const char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 657 | name = keyname(key); | ^ inout.c: In function 'kbd_input': inout.c:689:28: warning: implicit declaration of function 'KEY_F' [-Wimplicit-function-declaration] 689 | kinp.key = KEY_F(((kinp.key - L'0') + 9) % 10 + 1); | ^~~~~ inout.c: In function 'char_line': inout.c:730:17: warning: implicit declaration of function 'addch' [-Wimplicit-function-declaration] 730 | addch(ch); | ^~~~~ inout.c: In function 'putwcs_trunc': inout.c:803:33: warning: implicit declaration of function 'addnwstr' [-Wimplicit-function-declaration] 803 | addnwstr(str,i); | ^~~~~~~~ inout.c: In function 'putstr_trunc': inout.c:847:17: warning: implicit declaration of function 'addstr' [-Wimplicit-function-declaration] 847 | addstr(str); | ^~~~~~ inout.c:852:25: warning: implicit declaration of function 'addnstr' [-Wimplicit-function-declaration] 852 | addnstr(str,chcnt = maxwidth); | ^~~~~~~ inout.c: In function 'putwcs_trunc_col': inout.c:869:42: warning: implicit declaration of function 'getcurx' [-Wimplicit-function-declaration] 869 | return putwcs_trunc(str,endcol - getcurx(stdscr),options); | ^~~~~~~ inout.c:869:50: error: 'stdscr' undeclared (first use in this function); did you mean 'strstr'? 869 | return putwcs_trunc(str,endcol - getcurx(stdscr),options); | ^~~~~~ | strstr inout.c: In function 'putstr_trunc_col': inout.c:875:50: error: 'stdscr' undeclared (first use in this function); did you mean 'strstr'? 875 | return putstr_trunc(str,endcol - getcurx(stdscr),options); | ^~~~~~ | strstr inout.c: In function 'twodirs': inout.c:931:9: warning: implicit declaration of function 'attron' [-Wimplicit-function-declaration] 931 | attron(attrb); | ^~~~~~ inout.c:933:9: warning: implicit declaration of function 'attroff' [-Wimplicit-function-declaration] 933 | attroff(attrb); | ^~~~~~~ inout.c: In function 'print_position': inout.c:1006:9: warning: implicit declaration of function 'addwstr' [-Wimplicit-function-declaration] 1006 | addwstr(msg); | ^~~~~~~ inout.c: In function 'win_infoline': inout.c:1320:17: warning: implicit declaration of function 'clrtoeol'; did you mean 'clr_eol'? [-Wimplicit-function-declaration] 1320 | clrtoeol(); | ^~~~~~~~ | clr_eol inout.c: In function 'win_helpline': inout.c:1375:17: warning: implicit declaration of function 'flash'; did you mean 'tcflush'? [-Wimplicit-function-declaration] 1375 | flash(); | ^~~~~ | tcflush inout.c: In function 'win_edit': inout.c:1489:17: warning: implicit declaration of function 'clrtobot' [-Wimplicit-function-declaration] 1489 | clrtobot(); | ^~~~~~~~ inout.c: In function 'putstr_trunc_col': inout.c:876:1: warning: control reaches end of non-void function [-Wreturn-type] 876 | } | ^ inout.c: In function 'putwcs_trunc_col': inout.c:870:1: warning: control reaches end of non-void function [-Wreturn-type] 870 | } | ^ make[3]: *** [Makefile:410: inout.o] Error 1 make[3]: Leaving directory '/usr/src/RPM/BUILD/clex-4.6.6/src' make[3]: Entering directory '/usr/src/RPM/BUILD/clex-4.6.6/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -I/usr/include/ncurses -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -pedantic -Wstrict-overflow=0 -c list.c make[3]: Leaving directory '/usr/src/RPM/BUILD/clex-4.6.6/src' make[2]: *** [Makefile:242: all] Error 2 make[1]: *** [Makefile:281: all-recursive] Error 1 make: *** [Makefile:219: all] Error 2 error: Bad exit status from /usr/src/tmp/rpm-tmp.91492 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.91492 (%build) Command exited with non-zero status 1 2.62user 1.86system 0:04.44elapsed 100%CPU (0avgtext+0avgdata 27856maxresident)k 0inputs+0outputs (0major+610298minor)pagefaults 0swaps hsh-rebuild: rebuild of `clex-4.6.6-alt1.src.rpm' failed. Command exited with non-zero status 1 2.79user 1.27system 0:09.90elapsed 41%CPU (0avgtext+0avgdata 125536maxresident)k 0inputs+0outputs (0major+179297minor)pagefaults 0swaps