<86>Jul 21 00:03:10 userdel[2340527]: delete user 'rooter' <86>Jul 21 00:03:10 userdel[2340527]: removed group 'rooter' owned by 'rooter' <86>Jul 21 00:03:10 userdel[2340527]: removed shadow group 'rooter' owned by 'rooter' <86>Jul 21 00:03:10 groupadd[2340566]: group added to /etc/group: name=rooter, GID=2570 <86>Jul 21 00:03:10 groupadd[2340566]: group added to /etc/gshadow: name=rooter <86>Jul 21 00:03:10 groupadd[2340566]: new group: name=rooter, GID=2570 <86>Jul 21 00:03:10 useradd[2340598]: new user: name=rooter, UID=2570, GID=2570, home=/root, shell=/bin/bash, from=none <86>Jul 21 00:03:10 userdel[2340686]: delete user 'builder' <86>Jul 21 00:03:10 userdel[2340686]: removed group 'builder' owned by 'builder' <86>Jul 21 00:03:10 userdel[2340686]: removed shadow group 'builder' owned by 'builder' <86>Jul 21 00:03:10 groupadd[2340735]: group added to /etc/group: name=builder, GID=2571 <86>Jul 21 00:03:10 groupadd[2340735]: group added to /etc/gshadow: name=builder <86>Jul 21 00:03:10 groupadd[2340735]: new group: name=builder, GID=2571 <86>Jul 21 00:03:10 useradd[2340774]: new user: name=builder, UID=2571, GID=2571, home=/usr/src, shell=/bin/bash, from=none /usr/src/in/srpm/ee-1.5.2-alt1.src.rpm: The use of such a license name is ambiguous: Artistic Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/ee-1.5.2-alt1.nosrc.rpm (w1.gzdio) Installing ee-1.5.2-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpmb-tmp.qKFrat + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf ee-1.5.2 + echo 'Source #0 (ee-1.5.2.tar):' Source #0 (ee-1.5.2.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/ee-1.5.2.tar + cd ee-1.5.2 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #1 (ee-signal.patch):' Patch #1 (ee-signal.patch): + /usr/bin/patch -p1 patching file ee.c Hunk #1 succeeded at 552 with fuzz 2. + echo 'Patch #2 (ee-gcc-10.patch):' Patch #2 (ee-gcc-10.patch): + /usr/bin/patch -p1 patching file new_curse.c patching file new_curse.h + echo 'Patch #3 (ee-Wformat-security.patch):' Patch #3 (ee-Wformat-security.patch): + /usr/bin/patch -p1 patching file ee.c + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpmb-tmp.tuKh7e + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd ee-1.5.2 + make make: Entering directory '/usr/src/RPM/BUILD/ee-1.5.2' Generating make.local make -f make.local make[1]: Entering directory '/usr/src/RPM/BUILD/ee-1.5.2' cc -c ee.c -DBSD_SELECT -DNCURSE -DHAS_UNISTD -DHAS_STDLIB -DHAS_CTYPE -DHAS_SYS_IOCTL -DHAS_SYS_WAIT -DSLCT_HDR -s ee.c: In function 'main': ee.c:549:1: warning: old-style function definition [-Wold-style-definition] 549 | main(argc, argv) /* beginning of main program */ | ^~~~ ee.c: In function 'resiz_line': ee.c:673:1: warning: old-style function definition [-Wold-style-definition] 673 | resiz_line(factor, rline, rpos) /* resize the line to length + factor*/ | ^~~~~~~~~~ ee.c: In function 'insert': ee.c:689:1: warning: old-style function definition [-Wold-style-definition] 689 | insert(character) /* insert character into line */ | ^~~~~~ ee.c: In function 'delete': ee.c:774:1: warning: old-style function definition [-Wold-style-definition] 774 | delete(disp) /* delete character */ | ^~~~~~ ee.c: In function 'scanline': ee.c:881:1: warning: old-style function definition [-Wold-style-definition] 881 | scanline(pos) /* find the proper horizontal position for the pointer */ | ^~~~~~~~ ee.c: In function 'tabshift': ee.c:921:1: warning: old-style function definition [-Wold-style-definition] 921 | tabshift(temp_int) /* give the number of spaces to shift */ | ^~~~~~~~ ee.c: In function 'out_char': ee.c:934:1: warning: old-style function definition [-Wold-style-definition] 934 | out_char(window, character, column) /* output non-printing character */ | ^~~~~~~~ ee.c: In function 'len_char': ee.c:983:1: warning: old-style function definition [-Wold-style-definition] 983 | len_char(character, column) /* return the length of the character */ | ^~~~~~~~ ee.c: In function 'draw_line': ee.c:1006:1: warning: old-style function definition [-Wold-style-definition] 1006 | draw_line(vertical, horiz, ptr, t_pos, length) /* redraw line from current position */ | ^~~~~~~~~ ee.c: In function 'insert_line': ee.c:1063:1: warning: old-style function definition [-Wold-style-definition] 1063 | insert_line(disp) /* insert new line */ | ^~~~~~~~~~~ ee.c: In function 'next_word': ee.c:1149:16: warning: old-style function definition [-Wold-style-definition] 1149 | unsigned char *next_word(string) /* move to next word in string */ | ^~~~~~~~~ ee.c: In function 'left': ee.c:1405:1: warning: old-style function definition [-Wold-style-definition] 1405 | left(disp) /* move left one character */ | ^~~~ ee.c: In function 'right': ee.c:1440:1: warning: old-style function definition [-Wold-style-definition] 1440 | right(disp) /* move right one character */ | ^~~~~ ee.c: In function 'command': ee.c:1691:1: warning: old-style function definition [-Wold-style-definition] 1691 | command(cmd_str1) /* process commands from keyboard */ | ^~~~~~~ ee.c: In function 'scan': ee.c:1845:1: warning: old-style function definition [-Wold-style-definition] 1845 | scan(line, offset, column) /* determine horizontal position for get_string */ | ^~~~ ee.c: In function 'get_string': ee.c:1867:1: warning: old-style function definition [-Wold-style-definition] 1867 | get_string(prompt, advance) /* read string from input on command line */ | ^~~~~~~~~~ ee.c: In function 'compare': ee.c:1948:1: warning: old-style function definition [-Wold-style-definition] 1948 | compare(string1, string2, sensitive) /* compare two strings */ | ^~~~~~~ ee.c: In function 'goto_line': ee.c:1986:1: warning: old-style function definition [-Wold-style-definition] 1986 | goto_line(cmd_str) | ^~~~~~~~~ ee.c: In function 'midscreen': ee.c:2044:1: warning: old-style function definition [-Wold-style-definition] 2044 | midscreen(line, pnt) /* put current line in middle of screen */ | ^~~~~~~~~ ee.c: In function 'get_options': ee.c:2065:1: warning: old-style function definition [-Wold-style-definition] 2065 | get_options(numargs, arguments) /* get arguments from command line */ | ^~~~~~~~~~~ ee.c: In function 'get_file': ee.c:2239:1: warning: old-style function definition [-Wold-style-definition] 2239 | get_file(file_name) /* read specified file into current buffer */ | ^~~~~~~~ ee.c: In function 'get_line': ee.c:2307:1: warning: old-style function definition [-Wold-style-definition] 2307 | get_line(length, in_string, append) /* read string and split into lines */ | ^~~~~~~~ ee.c: In function 'quit': ee.c:2435:1: warning: old-style function definition [-Wold-style-definition] 2435 | quit(noverify) /* exit editor */ | ^~~~ ee.c: In function 'edit_abort': ee.c:2472:1: warning: old-style function definition [-Wold-style-definition] 2472 | edit_abort(arg) | ^~~~~~~~~~ ee.c: In function 'write_file': ee.c:2504:1: warning: old-style function definition [-Wold-style-definition] 2504 | write_file(file_name, warn_if_exists) | ^~~~~~~~~~ ee.c: In function 'search': ee.c:2580:1: warning: old-style function definition [-Wold-style-definition] 2580 | search(display_message) /* search for string in srch_str */ | ^~~~~~ ee.c: In function 'move_rel': ee.c:2942:1: warning: old-style function definition [-Wold-style-definition] 2942 | move_rel(direction, lines) /* move relative to current line */ | ^~~~~~~~ ee.c: In function 'sh_command': ee.c:3071:1: warning: old-style function definition [-Wold-style-definition] 3071 | sh_command(string) /* execute shell command */ | ^~~~~~~~~~ ee.c: In function 'menu_op': ee.c:3341:1: warning: old-style function definition [-Wold-style-definition] 3341 | menu_op(menu_list) | ^~~~~~~ ee.c: In function 'paint_menu': ee.c:3557:1: warning: old-style function definition [-Wold-style-definition] 3557 | paint_menu(menu_list, max_width, max_height, list_size, top_offset, menu_win, | ^~~~~~~~~~ ee.c: In function 'file_op': ee.c:3756:1: warning: old-style function definition [-Wold-style-definition] 3756 | file_op(arg) | ^~~~~~~ ee.c: In function 'Blank_Line': ee.c:3872:1: warning: old-style function definition [-Wold-style-definition] 3872 | Blank_Line(test_line) /* test if line has any non-space characters */ | ^~~~~~~~~~ ee.c: In function 'echo_string': ee.c:4357:1: warning: old-style function definition [-Wold-style-definition] 4357 | echo_string(string) /* echo the given string */ | ^~~~~~~~~~~ ee.c: In function 'first_word_len': ee.c:4461:1: warning: old-style function definition [-Wold-style-definition] 4461 | first_word_len(test_line) | ^~~~~~~~~~~~~~ ee.c: In function 'is_in_string': ee.c:4858:1: warning: old-style function definition [-Wold-style-definition] 4858 | is_in_string(string, substring) /* a strchr() look-alike for systems without | ^~~~~~~~~~~~ ee.c: In function 'resolve_name': ee.c:4882:1: warning: old-style function definition [-Wold-style-definition] 4882 | resolve_name(name) | ^~~~~~~~~~~~ ee.c: In function 'unique_test': ee.c:5026:1: warning: old-style function definition [-Wold-style-definition] 5026 | unique_test(string, list) | ^~~~~~~~~~~ ee.c: In function 'catgetlocal': ee.c:5054:1: warning: old-style function definition [-Wold-style-definition] 5054 | catgetlocal(number, string) | ^~~~~~~~~~~ cc new_curse.c -c -DBSD_SELECT -DNCURSE -DHAS_UNISTD -DHAS_STDLIB -DHAS_CTYPE -DHAS_SYS_IOCTL -DHAS_SYS_WAIT -DSLCT_HDR -s new_curse.c: In function 'copy_window': new_curse.c:705:1: warning: old-style function definition [-Wold-style-definition] 705 | copy_window(origin, destination) | ^~~~~~~~~~~ new_curse.c: In function 'reinitscr': new_curse.c:740:1: warning: old-style function definition [-Wold-style-definition] 740 | reinitscr(foo) | ^~~~~~~~~ new_curse.c: In function 'initscr': new_curse.c:862:26: error: 'TIOCGETP' undeclared (first use in this function); did you mean 'TIOCGETD'? 862 | value = ioctl(0, TIOCGETP, &Terminal); | ^~~~~~~~ | TIOCGETD new_curse.c:862:26: note: each undeclared identifier is reported only once for each function it appears in new_curse.c:863:21: error: invalid use of undefined type 'struct sgttyb' 863 | if (Terminal.sg_flags & EVENP) | ^ new_curse.c:863:33: error: 'EVENP' undeclared (first use in this function) 863 | if (Terminal.sg_flags & EVENP) | ^~~~~ new_curse.c:865:26: error: invalid use of undefined type 'struct sgttyb' 865 | else if (Terminal.sg_flags & ODDP) | ^ new_curse.c:865:38: error: 'ODDP' undeclared (first use in this function) 865 | else if (Terminal.sg_flags & ODDP) | ^~~~ new_curse.c:867:25: error: invalid use of undefined type 'struct sgttyb' 867 | value = Terminal.sg_ospeed; | ^ new_curse.c:910:38: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 910 | Data_Line_len = 23 + strlen(TERM_PATH) + strlen(TERMINAL_TYPE); | ^~~~~~ new_curse.c:79:1: note: include '' or provide a declaration of 'strlen' 78 | #include +++ |+#include 79 | #endif new_curse.c:910:38: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 910 | Data_Line_len = 23 + strlen(TERM_PATH) + strlen(TERMINAL_TYPE); | ^~~~~~ new_curse.c:910:38: note: include '' or provide a declaration of 'strlen' new_curse.c:924:38: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 924 | Data_Line_len = 23 + strlen(TERM_PATH) + strlen(TERMINAL_TYPE); | ^~~~~~ new_curse.c:924:38: note: include '' or provide a declaration of 'strlen' new_curse.c: In function 'INFO_PARSE': new_curse.c:1126:9: error: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] 1126 | memcpy(Strings, temp_ptr, string_table_len); | ^~~~~~ new_curse.c:1126:9: note: include '' or provide a declaration of 'memcpy' new_curse.c:1126:9: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] new_curse.c:1126:9: note: include '' or provide a declaration of 'memcpy' new_curse.c: In function 'Key_Get': new_curse.c:1196:51: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 1196 | Spoint->element->length = strlen(String_table[key_def]); | ^~~~~~ new_curse.c:1196:51: note: include '' or provide a declaration of 'strlen' new_curse.c:1218:33: error: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 1218 | strcpy(Spoint->element->string, String_table[key_def]); | ^~~~~~ new_curse.c:1218:33: note: include '' or provide a declaration of 'strcpy' new_curse.c:1218:33: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] new_curse.c:1218:33: note: include '' or provide a declaration of 'strcpy' new_curse.c: In function 'keys_vt100': new_curse.c:1255:24: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 1255 | Klen = strlen(Spoint->element->string); | ^~~~~~ new_curse.c:1255:24: note: include '' or provide a declaration of 'strlen' new_curse.c: In function 'Screenalloc': new_curse.c:1465:1: warning: old-style function definition [-Wold-style-definition] 1465 | Screenalloc(columns) | ^~~~~~~~~~~ new_curse.c: In function 'newwin': new_curse.c:1490:9: warning: old-style function definition [-Wold-style-definition] 1490 | WINDOW *newwin(lines, cols, start_l, start_c) | ^~~~~~ new_curse.c: In function 'Operation': new_curse.c:1645:1: warning: old-style function definition [-Wold-style-definition] 1645 | Operation(Temp_Stack, place) /* handle conditional operations */ | ^~~~~~~~~ new_curse.c:1657:19: error: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] 1657 | else if (!strncmp(Otemp, "2d", 2)) | ^~~~~~~ new_curse.c:1657:19: note: include '' or provide a declaration of 'strncmp' new_curse.c:1657:40: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1657 | else if (!strncmp(Otemp, "2d", 2)) | ^ : note: built-in 'strncmp' declared here new_curse.c:1664:40: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1664 | else if (!strncmp(Otemp, "3d", 2)) | ^ : note: built-in 'strncmp' declared here new_curse.c:1671:41: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1671 | else if (!strncmp(Otemp, "02d", 3)) | ^ : note: built-in 'strncmp' declared here new_curse.c:1679:41: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1679 | else if (!strncmp(Otemp, "03d", 3)) | ^ : note: built-in 'strncmp' declared here new_curse.c: In function 'Info_Out': new_curse.c:1830:1: warning: old-style function definition [-Wold-style-definition] 1830 | Info_Out(string, p_list, place) /* interpret the output string if necessary */ | ^~~~~~~~ new_curse.c:1888:78: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1888 | while ((strncmp(Otemp, "%t", 2)) && (*Otemp != '\0')) | ^ : note: built-in 'strncmp' declared here new_curse.c:1916:86: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1916 | while ((strncmp(Otemp, "%e", 2)) && (strncmp(Otemp, "%;", 2)) && (*Otemp != '\0')) | ^ : note: built-in 'strncmp' declared here new_curse.c:1916:115: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1916 | while ((strncmp(Otemp, "%e", 2)) && (strncmp(Otemp, "%;", 2)) && (*Otemp != '\0')) | ^ : note: built-in 'strncmp' declared here new_curse.c:1921:104: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1921 | if ((*Otemp != '\0') && (!strncmp(Otemp, "%e", 2))) | ^ : note: built-in 'strncmp' declared here new_curse.c:1929:114: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1929 | while ((*tchar != '\0') && (strncmp(tchar, "%t", 2)) && (strncmp(tchar, "%;", 2))) | ^ : note: built-in 'strncmp' declared here new_curse.c:1929:143: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1929 | while ((*tchar != '\0') && (strncmp(tchar, "%t", 2)) && (strncmp(tchar, "%;", 2))) | ^ : note: built-in 'strncmp' declared here new_curse.c:1945:96: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1945 | else if (!strncmp(tchar, "%;", 2)) | ^ : note: built-in 'strncmp' declared here new_curse.c:1958:109: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1958 | else if ((*Otemp != '\0') && (!strncmp(Otemp, "%;", 2))) | ^ : note: built-in 'strncmp' declared here new_curse.c:1978:98: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1978 | while ((*Otemp != '\0') && (strncmp(Otemp, "%;", 2))) | ^ : note: built-in 'strncmp' declared here new_curse.c:1995:48: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1995 | else if (!strncmp(Otemp, "$<", 2)) | ^ : note: built-in 'strncmp' declared here new_curse.c: In function 'wmove': new_curse.c:2025:1: warning: old-style function definition [-Wold-style-definition] 2025 | wmove(window, row, column) /* move cursor to indicated position in window */ | ^~~~~ new_curse.c: In function 'clear_line': new_curse.c:2037:1: warning: old-style function definition [-Wold-style-definition] 2037 | clear_line(line, column, cols) | ^~~~~~~~~~ new_curse.c: In function 'werase': new_curse.c:2059:1: warning: old-style function definition [-Wold-style-definition] 2059 | werase(window) /* clear the specified window */ | ^~~~~~ new_curse.c: In function 'wclrtoeol': new_curse.c:2072:1: warning: old-style function definition [-Wold-style-definition] 2072 | wclrtoeol(window) /* erase from current cursor position to end of line */ | ^~~~~~~~~ new_curse.c: In function 'wrefresh': new_curse.c:2087:1: warning: old-style function definition [-Wold-style-definition] 2087 | wrefresh(window) /* flush all previous output */ | ^~~~~~~~ new_curse.c: In function 'touchwin': new_curse.c:2126:1: warning: old-style function definition [-Wold-style-definition] 2126 | touchwin(window) | ^~~~~~~~ new_curse.c: In function 'wnoutrefresh': new_curse.c:2141:1: warning: old-style function definition [-Wold-style-definition] 2141 | wnoutrefresh(window) | ^~~~~~~~~~~~ new_curse.c: In function 'ungetch': new_curse.c:2218:1: warning: old-style function definition [-Wold-style-definition] 2218 | ungetch(c) /* push a character back on input */ | ^~~~~~~ new_curse.c: In function 'wgetch': new_curse.c:2259:1: warning: old-style function definition [-Wold-style-definition] 2259 | wgetch(window) /* get character from specified window */ | ^~~~~~ new_curse.c: In function 'Get_key': new_curse.c:2326:1: warning: old-style function definition [-Wold-style-definition] 2326 | Get_key(first_char) /* try to decode key sequence */ | ^~~~~~~ new_curse.c:2337:23: error: storage size of 'Gterminal' isn't known 2337 | struct sgttyb Gterminal; | ^~~~~~~~~ new_curse.c:2375:38: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 2375 | if (!strcmp(string, St_point->element->string)) | ^~~~~~ new_curse.c:2375:38: note: include '' or provide a declaration of 'strcmp' new_curse.c:2389:26: error: 'TIOCSETP' undeclared (first use in this function); did you mean 'TIOCSETD'? 2389 | value = ioctl(0, TIOCSETP, &Terminal); | ^~~~~~~~ | TIOCSETD new_curse.c: In function 'waddch': new_curse.c:2415:1: warning: old-style function definition [-Wold-style-definition] 2415 | waddch(window, c) /* output the character in the specified window */ | ^~~~~~ new_curse.c: In function 'winsertln': new_curse.c:2493:1: warning: old-style function definition [-Wold-style-definition] 2493 | winsertln(window) /* insert a blank line into the specified window */ | ^~~~~~~~~ new_curse.c: In function 'wdeleteln': new_curse.c:2542:1: warning: old-style function definition [-Wold-style-definition] 2542 | wdeleteln(window) /* delete a line in the specified window */ | ^~~~~~~~~ new_curse.c: In function 'wclrtobot': new_curse.c:2596:1: warning: old-style function definition [-Wold-style-definition] 2596 | wclrtobot(window) /* delete from current position to end of the window */ | ^~~~~~~~~ new_curse.c: In function 'wstandout': new_curse.c:2617:1: warning: old-style function definition [-Wold-style-definition] 2617 | wstandout(window) /* begin standout mode in window */ | ^~~~~~~~~ new_curse.c: In function 'wstandend': new_curse.c:2625:1: warning: old-style function definition [-Wold-style-definition] 2625 | wstandend(window) /* end standout mode in window */ | ^~~~~~~~~ new_curse.c: In function 'waddstr': new_curse.c:2632:1: warning: old-style function definition [-Wold-style-definition] 2632 | waddstr(window, string) /* write 'string' in window */ | ^~~~~~~ new_curse.c: In function 'clearok': new_curse.c:2643:1: warning: old-style function definition [-Wold-style-definition] 2643 | clearok(window, flag) /* erase screen and redraw at next refresh */ | ^~~~~~~ new_curse.c: In function 'echo': new_curse.c:2660:17: error: invalid use of undefined type 'struct sgttyb' 2660 | Terminal.sg_flags |= ECHO; /* enable echo */ | ^ new_curse.c:2660:30: error: 'ECHO' undeclared (first use in this function) 2660 | Terminal.sg_flags |= ECHO; /* enable echo */ | ^~~~ new_curse.c:2661:26: error: 'TIOCSETP' undeclared (first use in this function); did you mean 'TIOCSETD'? 2661 | value = ioctl(0, TIOCSETP, &Terminal); /* set characteristics */ | ^~~~~~~~ | TIOCSETD new_curse.c: In function 'noecho': new_curse.c:2674:17: error: invalid use of undefined type 'struct sgttyb' 2674 | Terminal.sg_flags &= ~ECHO; /* disable echo */ | ^ new_curse.c:2674:31: error: 'ECHO' undeclared (first use in this function) 2674 | Terminal.sg_flags &= ~ECHO; /* disable echo */ | ^~~~ new_curse.c:2675:26: error: 'TIOCSETP' undeclared (first use in this function); did you mean 'TIOCSETD'? 2675 | value = ioctl(0, TIOCSETP, &Terminal); /* set characteristics */ | ^~~~~~~~ | TIOCSETD new_curse.c: In function 'raw': new_curse.c:2702:17: error: invalid use of undefined type 'struct sgttyb' 2702 | Terminal.sg_flags |= RAW; /* enable raw mode */ | ^ new_curse.c:2702:30: error: 'RAW' undeclared (first use in this function) 2702 | Terminal.sg_flags |= RAW; /* enable raw mode */ | ^~~ new_curse.c:2703:26: error: 'TIOCSETP' undeclared (first use in this function); did you mean 'TIOCSETD'? 2703 | value = ioctl(0, TIOCSETP, &Terminal); /* set characteristics */ | ^~~~~~~~ | TIOCSETD new_curse.c: In function 'noraw': new_curse.c:2720:17: error: invalid use of undefined type 'struct sgttyb' 2720 | Terminal.sg_flags &= ~RAW; /* disable raw mode */ | ^ new_curse.c:2720:31: error: 'RAW' undeclared (first use in this function) 2720 | Terminal.sg_flags &= ~RAW; /* disable raw mode */ | ^~~ new_curse.c:2721:26: error: 'TIOCSETP' undeclared (first use in this function); did you mean 'TIOCSETD'? 2721 | value = ioctl(0, TIOCSETP, &Terminal); /* set characteristics */ | ^~~~~~~~ | TIOCSETD new_curse.c: In function 'nodelay': new_curse.c:2766:1: warning: old-style function definition [-Wold-style-definition] 2766 | nodelay(window, flag) | ^~~~~~~ new_curse.c: In function 'idlok': new_curse.c:2773:1: warning: old-style function definition [-Wold-style-definition] 2773 | idlok(window, flag) | ^~~~~ new_curse.c: In function 'keypad': new_curse.c:2780:1: warning: old-style function definition [-Wold-style-definition] 2780 | keypad(window, flag) | ^~~~~~ new_curse.c: In function 'savetty': new_curse.c:2798:26: error: 'TIOCGETP' undeclared (first use in this function); did you mean 'TIOCGETD'? 2798 | value = ioctl(0, TIOCGETP, &Saved_tty); /* set characteristics */ | ^~~~~~~~ | TIOCGETD new_curse.c: In function 'resetty': new_curse.c:2810:26: error: 'TIOCSETP' undeclared (first use in this function); did you mean 'TIOCSETD'? 2810 | value = ioctl(0, TIOCSETP, &Saved_tty); /* set characteristics */ | ^~~~~~~~ | TIOCSETD new_curse.c: In function 'delwin': new_curse.c:2832:1: warning: old-style function definition [-Wold-style-definition] 2832 | delwin(window) /* delete the window structure */ | ^~~~~~ new_curse.c: In function 'iout': new_curse.c:2932:1: warning: old-style function definition [-Wold-style-definition] 2932 | iout(window, value) /* output characters */ | ^~~~ new_curse.c: In function 'Comp_line': new_curse.c:2944:1: warning: old-style function definition [-Wold-style-definition] 2944 | Comp_line(line1, line2) /* compare lines */ | ^~~~~~~~~ new_curse.c: In function 'Insert_line': new_curse.c:2974:1: warning: old-style function definition [-Wold-style-definition] 2974 | Insert_line(row, end_row, window) /* insert line into screen */ | ^~~~~~~~~~~ new_curse.c: In function 'Delete_line': new_curse.c:3036:1: warning: old-style function definition [-Wold-style-definition] 3036 | Delete_line(row, end_row, window) /* delete a line on screen */ | ^~~~~~~~~~~ new_curse.c: In function 'CLEAR_TO_EOL': new_curse.c:3107:1: warning: old-style function definition [-Wold-style-definition] 3107 | CLEAR_TO_EOL(window, row, column) | ^~~~~~~~~~~~ new_curse.c: In function 'check_delete': new_curse.c:3143:1: warning: old-style function definition [-Wold-style-definition] 3143 | check_delete(window, line, offset, pointer_new, pointer_old) | ^~~~~~~~~~~~ new_curse.c: In function 'check_insert': new_curse.c:3195:1: warning: old-style function definition [-Wold-style-definition] 3195 | check_insert(window, line, offset, pointer_new, pointer_old) | ^~~~~~~~~~~~ new_curse.c: In function 'Position': new_curse.c:3669:1: warning: old-style function definition [-Wold-style-definition] 3669 | Position(window, row, col) /* position the cursor for output on the screen */ | ^~~~~~~~ new_curse.c: In function 'Char_del': new_curse.c:3699:1: warning: old-style function definition [-Wold-style-definition] 3699 | Char_del(line, attrib, offset, maxlen) /* delete chars from line */ | ^~~~~~~~ new_curse.c: In function 'Char_ins': new_curse.c:3716:1: warning: old-style function definition [-Wold-style-definition] 3716 | Char_ins(line, attrib, newc, newatt, offset, maxlen) /* insert chars in line */ | ^~~~~~~~ new_curse.c: In function 'Char_out': new_curse.c:3766:1: warning: old-style function definition [-Wold-style-definition] 3766 | Char_out(newc, newatt, line, attrib, offset) /* output character with proper attribute */ | ^~~~~~~~ new_curse.c: In function 'nc_setattrib': new_curse.c:3809:1: warning: old-style function definition [-Wold-style-definition] 3809 | nc_setattrib(flag) | ^~~~~~~~~~~~ new_curse.c: In function 'nc_clearattrib': new_curse.c:3816:1: warning: old-style function definition [-Wold-style-definition] 3816 | nc_clearattrib(flag) | ^~~~~~~~~~~~~~ new_curse.c: At top level: new_curse.c:651:15: error: storage size of 'Terminal' isn't known 651 | struct sgttyb Terminal; | ^~~~~~~~ new_curse.c:652:15: error: storage size of 'Saved_tty' isn't known 652 | struct sgttyb Saved_tty; | ^~~~~~~~~ make[1]: *** [make.local:18: new_curse.o] Error 1 make[1]: Leaving directory '/usr/src/RPM/BUILD/ee-1.5.2' make: *** [Makefile:18: buildee] Error 2 make: Leaving directory '/usr/src/RPM/BUILD/ee-1.5.2' error: Bad exit status from /usr/src/tmp/rpmb-tmp.tuKh7e (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpmb-tmp.tuKh7e (%build) Command exited with non-zero status 1 0.11user 0.02system 0:00.14elapsed 100%CPU (0avgtext+0avgdata 37244maxresident)k 0inputs+0outputs (0major+12322minor)pagefaults 0swaps hsh-rebuild: rebuild of `ee-1.5.2-alt1.src.rpm' failed. Command exited with non-zero status 1 0.58user 0.46system 0:02.10elapsed 49%CPU (0avgtext+0avgdata 12432maxresident)k 0inputs+0outputs (0major+92267minor)pagefaults 0swaps