Source: sc
Version: 7.16-4.1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240313 ftbfs-trixie ftbfs-impfuncdef

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

This is most likely caused by a change in dpkg 1.22.6, that enabled
-Werror=implicit-function-declaration. For more information, see
https://wiki.debian.org/qa.debian.org/FTBFS#A2024-03-13_-Werror.3Dimplicit-function-declaration

Relevant part (hopefully):
> gcc -Wall -DSYSV3 -ffloat-store -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -DDFLT_PAGER=\"less\" -DSIGVOID -DSAVENAME=\"SC.SAVE\" -c sc.c
> pipe.c: In function ‘getnum’:
> pipe.c:39:16: warning: suggest explicit braces to avoid ambiguous ‘else’ 
> [-Wdangling-else]
>    39 |             if (p)
>       |                ^
> In file included from pipe.c:12:
> pipe.c: In function ‘doquery’:
> pipe.c:311:11: warning: zero-length gnu_printf format string 
> [-Wformat-zero-length]
>   311 |     error("");
>       |           ^~
> sc.h:46:101: note: in definition of macro ‘error’
>    46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && 
> !move(1,0) && !clrtoeol() && printw(format, ## msg))
>       |                                                                       
>                               ^~~~~~
> pipe.c: In function ‘getnum’:
> pipe.c:49:13: warning: ignoring return value of ‘write’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>    49 |             write(fd, line, strlen(line));
>       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> pipe.c: In function ‘fgetnum’:
> pipe.c:92:13: warning: ignoring return value of ‘write’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>    92 |             write(fd, line, strlen(line));
>       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> pipe.c: In function ‘getstring’:
> pipe.c:117:13: warning: ignoring return value of ‘write’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>   117 |             write(fd, line, strlen(line));
>       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> pipe.c: In function ‘getexp’:
> pipe.c:149:13: warning: ignoring return value of ‘write’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>   149 |             write(fd, line, strlen(line));
>       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> pipe.c: In function ‘getformat’:
> pipe.c:163:5: warning: ignoring return value of ‘write’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>   163 |     write(fd, line, strlen(line));
>       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> pipe.c: In function ‘getfmt’:
> pipe.c:182:13: warning: ignoring return value of ‘write’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>   182 |             write(fd, line, strlen(line));
>       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> pipe.c: In function ‘getframe’:
> pipe.c:206:5: warning: ignoring return value of ‘write’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>   206 |     write(fd, line, strlen(line));
>       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> pipe.c: In function ‘getrange’:
> pipe.c:249:5: warning: ignoring return value of ‘write’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>   249 |     write(fd, line, strlen(line));
>       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> pipe.c: In function ‘doeval’:
> pipe.c:271:5: warning: ignoring return value of ‘write’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>   271 |     write(fd, line, strlen(line));
>       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> pipe.c: In function ‘doseval’:
> pipe.c:288:9: warning: ignoring return value of ‘write’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>   288 |         write(fd, s, strlen(s));
>       |         ^~~~~~~~~~~~~~~~~~~~~~~
> pipe.c:289:5: warning: ignoring return value of ‘write’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>   289 |     write(fd, "\n", 1);
>       |     ^~~~~~~~~~~~~~~~~~
> pipe.c: In function ‘doquery’:
> pipe.c:305:9: warning: ignoring return value of ‘write’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>   305 |         write(fd, line, strlen(line));
>       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> pipe.c:306:9: warning: ignoring return value of ‘write’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>   306 |         write(fd, "\n", 1);
>       |         ^~~~~~~~~~~~~~~~~~
> pipe.c: In function ‘dogetkey’:
> pipe.c:347:5: warning: ignoring return value of ‘write’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>   347 |     write(macrofd, line, len);
>       |     ^~~~~~~~~~~~~~~~~~~~~~~~~
> pipe.c: In function ‘dostat’:
> pipe.c:358:5: warning: ignoring return value of ‘write’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>   358 |     write(fd, line, strlen(line));
>       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from sc.c:37:
> sc.c: In function ‘main’:
> sc.c:484:35: warning: zero-length gnu_printf format string 
> [-Wformat-zero-length]
>   484 |                             error("");
>       |                                   ^~
> sc.h:46:101: note: in definition of macro ‘error’
>    46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && 
> !move(1,0) && !clrtoeol() && printw(format, ## msg))
>       |                                                                       
>                               ^~~~~~
> sc.c:889:35: warning: zero-length gnu_printf format string 
> [-Wformat-zero-length]
>   889 |                             error("");
>       |                                   ^~
> sc.h:46:101: note: in definition of macro ‘error’
>    46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && 
> !move(1,0) && !clrtoeol() && printw(format, ## msg))
>       |                                                                       
>                               ^~~~~~
> sc.c:913:43: warning: zero-length gnu_printf format string 
> [-Wformat-zero-length]
>   913 |                                     error("");
>       |                                           ^~
> sc.h:46:101: note: in definition of macro ‘error’
>    46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && 
> !move(1,0) && !clrtoeol() && printw(format, ## msg))
>       |                                                                       
>                               ^~~~~~
> sc.c:1161:27: warning: zero-length gnu_printf format string 
> [-Wformat-zero-length]
>  1161 |                     error("");
>       |                           ^~
> sc.h:46:101: note: in definition of macro ‘error’
>    46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && 
> !move(1,0) && !clrtoeol() && printw(format, ## msg))
>       |                                                                       
>                               ^~~~~~
> sc.c:1228:31: warning: zero-length gnu_printf format string 
> [-Wformat-zero-length]
>  1228 |                         error("");
>       |                               ^~
> sc.h:46:101: note: in definition of macro ‘error’
>    46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && 
> !move(1,0) && !clrtoeol() && printw(format, ## msg))
>       |                                                                       
>                               ^~~~~~
> sc.c:1301:46: error: implicit declaration of function ‘list_frames’; did you 
> mean ‘list_ranges’? [-Werror=implicit-function-declaration]
>  1301 |                             if (!brokenpipe) list_frames(f);
>       |                                              ^~~~~~~~~~~
>       |                                              list_ranges
> sc.c:1350:31: warning: zero-length gnu_printf format string 
> [-Wformat-zero-length]
>  1350 |                         error("");
>       |                               ^~
> sc.h:46:101: note: in definition of macro ‘error’
>    46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && 
> !move(1,0) && !clrtoeol() && printw(format, ## msg))
>       |                                                                       
>                               ^~~~~~
> sc.c:1353:31: warning: zero-length gnu_printf format string 
> [-Wformat-zero-length]
>  1353 |                         error("");
>       |                               ^~
> sc.h:46:101: note: in definition of macro ‘error’
>    46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && 
> !move(1,0) && !clrtoeol() && printw(format, ## msg))
>       |                                                                       
>                               ^~~~~~
> sc.c:1356:31: warning: zero-length gnu_printf format string 
> [-Wformat-zero-length]
>  1356 |                         error("");
>       |                               ^~
> sc.h:46:101: note: in definition of macro ‘error’
>    46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && 
> !move(1,0) && !clrtoeol() && printw(format, ## msg))
>       |                                                                       
>                               ^~~~~~
> sc.c:1359:31: warning: zero-length gnu_printf format string 
> [-Wformat-zero-length]
>  1359 |                         error("");
>       |                               ^~
> sc.h:46:101: note: in definition of macro ‘error’
>    46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && 
> !move(1,0) && !clrtoeol() && printw(format, ## msg))
>       |                                                                       
>                               ^~~~~~
> sc.c:1386:31: warning: zero-length gnu_printf format string 
> [-Wformat-zero-length]
>  1386 |                         error("");      /* clear line */
>       |                               ^~
> sc.h:46:101: note: in definition of macro ‘error’
>    46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && 
> !move(1,0) && !clrtoeol() && printw(format, ## msg))
>       |                                                                       
>                               ^~~~~~
> sc.c:1414:57: error: implicit declaration of function ‘yankrow’; did you mean 
> ‘yankr’? [-Werror=implicit-function-declaration]
>  1414 |                                 if (rcqual == 'r')      yankrow(arg);
>       |                                                         ^~~~~~~
>       |                                                         yankr
> sc.c:1415:57: error: implicit declaration of function ‘yankcol’; did you mean 
> ‘backcol’? [-Werror=implicit-function-declaration]
>  1415 |                                 else                    yankcol(arg);
>       |                                                         ^~~~~~~
>       |                                                         backcol
> sc.c:1591:29: error: implicit declaration of function ‘ljustify’ 
> [-Werror=implicit-function-declaration]
>  1591 |                             ljustify(currow, curcol, currow, curcol);
>       |                             ^~~~~~~~
> sc.c:1601:29: error: implicit declaration of function ‘rjustify’ 
> [-Werror=implicit-function-declaration]
>  1601 |                             rjustify(currow, curcol, currow, curcol);
>       |                             ^~~~~~~~
> sc.c:1611:29: error: implicit declaration of function ‘center’ 
> [-Werror=implicit-function-declaration]
>  1611 |                             center(currow, curcol, currow, curcol);
>       |                             ^~~~~~
> sc.c:1671:31: warning: zero-length gnu_printf format string 
> [-Wformat-zero-length]
>  1671 |                         error("");
>       |                               ^~
> sc.h:46:101: note: in definition of macro ‘error’
>    46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && 
> !move(1,0) && !clrtoeol() && printw(format, ## msg))
>       |                                                                       
>                               ^~~~~~
> sc.c:1678:27: warning: zero-length gnu_printf format string 
> [-Wformat-zero-length]
>  1678 |                     error("");
>       |                           ^~
> sc.h:46:101: note: in definition of macro ‘error’
>    46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && 
> !move(1,0) && !clrtoeol() && printw(format, ## msg))
>       |                                                                       
>                               ^~~~~~
> sc.c:1929:31: warning: zero-length gnu_printf format string 
> [-Wformat-zero-length]
>  1929 |                         error("");
>       |                               ^~
> sc.h:46:101: note: in definition of macro ‘error’
>    46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && 
> !move(1,0) && !clrtoeol() && printw(format, ## msg))
>       |                                                                       
>                               ^~~~~~
> sc.c:1951:27: warning: zero-length gnu_printf format string 
> [-Wformat-zero-length]
>  1951 |                     error("");
>       |                           ^~
> sc.h:46:101: note: in definition of macro ‘error’
>    46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && 
> !move(1,0) && !clrtoeol() && printw(format, ## msg))
>       |                                                                       
>                               ^~~~~~
> sc.c:1988:35: warning: zero-length gnu_printf format string 
> [-Wformat-zero-length]
>  1988 |                             error("");
>       |                                   ^~
> sc.h:46:101: note: in definition of macro ‘error’
>    46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && 
> !move(1,0) && !clrtoeol() && printw(format, ## msg))
>       |                                                                       
>                               ^~~~~~
> sc.c:1997:35: warning: zero-length gnu_printf format string 
> [-Wformat-zero-length]
>  1997 |                             error("");
>       |                                   ^~
> sc.h:46:101: note: in definition of macro ‘error’
>    46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && 
> !move(1,0) && !clrtoeol() && printw(format, ## msg))
>       |                                                                       
>                               ^~~~~~
> sc.c:2005:35: warning: zero-length gnu_printf format string 
> [-Wformat-zero-length]
>  2005 |                             error("");
>       |                                   ^~
> sc.h:46:101: note: in definition of macro ‘error’
>    46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && 
> !move(1,0) && !clrtoeol() && printw(format, ## msg))
>       |                                                                       
>                               ^~~~~~
> sc.c:2018:29: error: implicit declaration of function ‘gotonote’ 
> [-Werror=implicit-function-declaration]
>  2018 |                             gotonote();
>       |                             ^~~~~~~~
> sc.c:2019:35: warning: zero-length gnu_printf format string 
> [-Wformat-zero-length]
>  2019 |                             error("");
>       |                                   ^~
> sc.h:46:101: note: in definition of macro ‘error’
>    46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && 
> !move(1,0) && !clrtoeol() && printw(format, ## msg))
>       |                                                                       
>                               ^~~~~~
> sc.c:233:14: warning: unused variable ‘home’ [-Wunused-variable]
>   233 |     char    *home;
>       |              ^~~~
> gcc -Wall -DSYSV3 -ffloat-store -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection    
> -DSIGVOID \
>  -c screen.c
> gcc -Wall -DSYSV3 -ffloat-store -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -Wdate-time -D_FORTIFY_SOURCE=2  -c -o sort.o sort.c
> screen.c: In function ‘update’:
> screen.c:457:17: warning: this ‘if’ clause does not guard... 
> [-Wmisleading-indentation]
>   457 |                 if (fr && strow < fr->or_left->row + ftoprows)
>       |                 ^~
> screen.c:459:21: note: ...this statement, but the latter is misleadingly 
> indented as if it were guarded by the ‘if’
>   459 |                     if (currow < strow)
>       |                     ^~
> gcc -Wall -DSYSV3 -ffloat-store -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -Wdate-time -D_FORTIFY_SOURCE=2  -c -o version.o version.c
> gcc -Wall -DSYSV3 -ffloat-store -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -DREGCOMP -DHISTORY_FILE=\"~/.sc_history\" -c vi.c
> gcc -Wall -DSYSV3 -ffloat-store -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -Wdate-time -D_FORTIFY_SOURCE=2  -c -o vmtbl.o vmtbl.c
> In file included from vi.c:22:
> vi.c: In function ‘write_line’:
> vi.c:136:11: warning: zero-length gnu_printf format string 
> [-Wformat-zero-length]
>   136 |     error("");
>       |           ^~
> sc.h:46:101: note: in definition of macro ‘error’
>    46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && 
> !move(1,0) && !clrtoeol() && printw(format, ## msg))
>       |                                                                       
>                               ^~~~~~
> vi.c:146:33: warning: this ‘else’ clause does not guard... 
> [-Wmisleading-indentation]
>   146 |                                 else
>       |                                 ^~~~
> vi.c:147:73: note: ...this statement, but the latter is misleadingly indented 
> as if it were guarded by the ‘else’
>   147 |                                     cr_line();                        
>   break;
>       |                                                                       
>   ^~~~~
> vi.c:516:55: error: implicit declaration of function ‘gotonote’ 
> [-Werror=implicit-function-declaration]
>   516 |         case '*':               if (nmgetch() == '*') gotonote();     
>   break;
>       |                                                       ^~~~~~~~
> vi.c: In function ‘change_case’:
> vi.c:1122:1: warning: type of ‘arg’ defaults to ‘int’ [-Wimplicit-int]
>  1122 | change_case(arg)
>       | ^~~~~~~~~~~
> gcc -Wall -DSYSV3 -ffloat-store -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -Wdate-time -D_FORTIFY_SOURCE=2  -c -o xmalloc.o xmalloc.c
> vi.c: In function ‘for_hist’:
> vi.c:1474:15: warning: zero-length gnu_printf format string 
> [-Wformat-zero-length]
>  1474 |         error("");
>       |               ^~
> sc.h:46:101: note: in definition of macro ‘error’
>    46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && 
> !move(1,0) && !clrtoeol() && printw(format, ## msg))
>       |                                                                       
>                               ^~~~~~
> vi.c: In function ‘back_hist’:
> vi.c:1503:15: warning: zero-length gnu_printf format string 
> [-Wformat-zero-length]
>  1503 |         error("");
>       |               ^~
> sc.h:46:101: note: in definition of macro ‘error’
>    46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && 
> !move(1,0) && !clrtoeol() && printw(format, ## msg))
>       |                                                                       
>                               ^~~~~~
> vi.c: In function ‘search_again’:
> vi.c:1582:11: warning: zero-length gnu_printf format string 
> [-Wformat-zero-length]
>  1582 |     error("");
>       |           ^~
> sc.h:46:101: note: in definition of macro ‘error’
>    46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && 
> !move(1,0) && !clrtoeol() && printw(format, ## msg))
>       |                                                                       
>                               ^~~~~~
> sc.c: In function ‘modcheck’:
> vi.c:1610:13: warning: this ‘else’ clause does not guard... 
> [-Wmisleading-indentation]
>  1610 |             else
>       |             ^~~~
> vi.c:1612:17: note: ...this statement, but the latter is misleadingly 
> indented as if it were guarded by the ‘else’
>  1612 |                 (void) strcpy(line, history[histp].histline);
>       |                 ^
> sc.c:2223:36: warning: ‘%s’ directive writing up to 1023 bytes into a region 
> of size 94 [-Wformat-overflow=]
>  2223 |         (void) sprintf(lin,"File \"%s\" is modified, save%s? 
> ",curfile,endstr);
>       |                                    ^~                          ~~~~~~~
> sc.c:2223:16: note: ‘sprintf’ output 28 or more bytes (assuming 1051) into a 
> destination of size 100
>  2223 |         (void) sprintf(lin,"File \"%s\" is modified, save%s? 
> ",curfile,endstr);
>       |                
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> vi.c: In function ‘query’:
> vi.c:2040:23: warning: zero-length gnu_printf format string 
> [-Wformat-zero-length]
>  2040 |                 error("");
>       |                       ^~
> sc.h:46:101: note: in definition of macro ‘error’
>    46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && 
> !move(1,0) && !clrtoeol() && printw(format, ## msg))
>       |                                                                       
>                               ^~~~~~
> vi.c:2045:23: warning: zero-length gnu_printf format string 
> [-Wformat-zero-length]
>  2045 |                 error("");
>       |                       ^~
> sc.h:46:101: note: in definition of macro ‘error’
>    46 | # define error(format, msg...) (void)(isatty(fileno(stdout)) && 
> !move(1,0) && !clrtoeol() && printw(format, ## msg))
>       |                                                                       
>                               ^~~~~~
> vi.c: In function ‘dogoto’:
> vi.c:2005:9: warning: ‘strncpy’ output truncated before terminating nul 
> copying 5 bytes from a string of the same length [-Wstringop-truncation]
>  2005 |         strncpy(line, "goto ", 5);
>       |         ^~~~~~~~~~~~~~~~~~~~~~~~~
> rm -f pvmtbl.c
> ln vmtbl.c pvmtbl.c
> rm -f pxmalloc.c
> ln xmalloc.c pxmalloc.c
> rm -f qhelp.c
> ln help.c qhelp.c
> name=sc NAME=SC LIBDIR=/usr/share/doc/sc sh torev sc.doc > sc.1
> name=sc NAME=SC LIBDIR=/usr/share/doc/sc sh torev psc.doc > psc.1
> gcc -Wall -DSYSV3 -ffloat-store -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c 
> -DPSC pvmtbl.c
> gcc -Wall -DSYSV3 -ffloat-store -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c 
> -DPSC pxmalloc.c
> gcc -Wall -DSYSV3 -ffloat-store -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -Wl,-z,relro -DQREF -DTROFF -DSCNAME=\"SC\" -o scqref qhelp.c
> gcc -Wall -DSYSV3 -ffloat-store -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -Wl,-z,relro -o psc psc.c pvmtbl.o pxmalloc.o 
> mv y.tab.c gram.c
> gcc -Wall -DSYSV3 -ffloat-store -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -DUSELOCALE -c gram.c
> gram.y: In function ‘yyparse’:
> gram.y:310:63: error: implicit declaration of function ‘ljustify’ 
> [-Werror=implicit-function-declaration]
>   310 |                                 { ljustify($2.left.vp->row, 
> $2.left.vp->col,
>       |                                                               ^~~~~~~~
> gram.y:317:63: error: implicit declaration of function ‘rjustify’ 
> [-Werror=implicit-function-declaration]
>   317 |                                 { rjustify($2.left.vp->row, 
> $2.left.vp->col,
>       |                                                               ^~~~~~~~
> gram.y:324:63: error: implicit declaration of function ‘center’ 
> [-Werror=implicit-function-declaration]
>   324 |                                 { center($2.left.vp->row, 
> $2.left.vp->col,
>       |                                                               ^~~~~~
> gram.y:619:57: error: implicit declaration of function ‘add_abbr’ 
> [-Werror=implicit-function-declaration]
>   619 |         |       S_ABBREV STRING         { add_abbr($2); }
>       |                                                         ^       
> gram.y:817:43: error: implicit declaration of function ‘yankrow’; did you 
> mean ‘yankr’? [-Werror=implicit-function-declaration]
>   817 |                                           yankrow(arg);
>       |                                           ^~~~~~~
>       |                                           yankr
> gram.y:847:43: error: implicit declaration of function ‘yankcol’; did you 
> mean ‘backcol’? [-Werror=implicit-function-declaration]
>   847 |                                           yankcol(arg);
>       |                                           ^~~~~~~
>       |                                           backcol
> gram.y:960:68: error: implicit declaration of function ‘getframe’; did you 
> mean ‘getformat’? [-Werror=implicit-function-declaration]
>   960 |         |       S_GETFRAME              { getframe(macrofd); }
>       |                                                                    ^  
>      
>       |                                                                    
> getformat
> gram.y:962:62: error: implicit declaration of function ‘getrange’; did you 
> mean ‘sortrange’? [-Werror=implicit-function-declaration]
>   962 |         |       S_GETRANGE STRING       { getrange($2, macrofd); }
>       |                                                              ^~~~~   
>       |                                                              sortrange
> gram.y:965:70: error: implicit declaration of function ‘doeval’; did you mean 
> ‘eval’? [-Werror=implicit-function-declaration]
>   965 |         |       S_EVAL e                { doeval($2, NULL, currow, 
> curcol,
>       |                                                                      
> ^~~~~ 
>       |                                                                      
> eval
> gram.y:972:69: error: implicit declaration of function ‘doseval’; did you 
> mean ‘seval’? [-Werror=implicit-function-declaration]
>   972 |         |       S_SEVAL e               { doseval($2, currow, curcol, 
> macrofd); }
>       |                                                                     
> ^~~~~~~
>       |                                                                     
> seval
> gram.y:981:70: error: implicit declaration of function ‘dogetkey’ 
> [-Werror=implicit-function-declaration]
>   981 |         |       S_GETKEY                { dogetkey(); }
>       |                                                                      
> ^       
> cmds.c: In function ‘deleterow’:
> cmds.c:325:60: warning: ‘ left’ directive writing 5 bytes into a region of 
> size between 4 and 25 [-Wformat-overflow=]
>   325 |         (void) sprintf(buf, "Can't delete %d row%s %d row%s left", 
> arg,
>       |                                                            ^~~~~
> cmds.c:325:16: note: ‘sprintf’ output between 31 and 52 bytes into a 
> destination of size 50
>   325 |         (void) sprintf(buf, "Can't delete %d row%s %d row%s left", 
> arg,
>       |                
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>   326 |                 (arg != 1 ? "s," : ","), rs, (rs != 1 ? "s" : ""));
>       |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cmds.c: In function ‘closecol’:
> cmds.c:1213:57: warning: ‘ column’ directive writing 7 bytes into a region of 
> size between 6 and 26 [-Wformat-overflow=]
>  1213 |         (void) sprintf(buf, "Can't delete %d column%s %d column%s 
> left", arg,
>       |                                                         ^~~~~~~
> cmds.c:1213:16: note: ‘sprintf’ output between 37 and 58 bytes into a 
> destination of size 50
>  1213 |         (void) sprintf(buf, "Can't delete %d column%s %d column%s 
> left", arg,
>       |                
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>  1214 |                 (arg != 1 ? "s," : ","), cs, (cs != 1 ? "s" : ""));
>       |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cc1: some warnings being treated as errors
> make[2]: *** [Makefile:453: vi.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/sc_7.16-4.1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240313;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to