Source: xgks
Version: 2.6.1+dfsg.2-9
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200802 ftbfs-bullseye

Hi,

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

Relevant part (hopefully):
> make[3]: Entering directory '/<<PKGBUILDDIR>>/build-gfortran/progs'
> gcc -c -I../lib/c -I../port/misc  -g -O2 
> -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 defcolors.c
> In file included from defcolors.c:45:
> demo.h:58:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
>    58 | WaitForBreak( ws_id )
>       | ^~~~~~~~~~~~
> demo.h: In function ‘WaitForBreak’:
> demo.h:73:5: warning: implicit declaration of function ‘ginitchoice’ 
> [-Wimplicit-function-declaration]
>    73 |     ginitchoice( ws_id, 1, &init, 1, &earea, &record );
>       |     ^~~~~~~~~~~
> demo.h:74:5: warning: implicit declaration of function ‘gsetchoicemode’ 
> [-Wimplicit-function-declaration]
>    74 |     gsetchoicemode( ws_id, 1, GREQUEST, GECHO );
>       |     ^~~~~~~~~~~~~~
> demo.h:76:2: warning: implicit declaration of function ‘greqchoice’ 
> [-Wimplicit-function-declaration]
>    76 |  greqchoice( ws_id, 1, &init );
>       |  ^~~~~~~~~~
> In file included from defcolors.c:43:
> defcolors.c: In function ‘FillBox’:
> ../lib/c/xgks.h:1507:26: warning: implicit declaration of function 
> ‘gsetfillcolourind’; did you mean ‘gsetfillcolorind’? 
> [-Wimplicit-function-declaration]
>  1507 | #define gsetfillcolorind gsetfillcolourind
>       |                          ^~~~~~~~~~~~~~~~~
> defcolors.c:68:5: note: in expansion of macro ‘gsetfillcolorind’
>    68 |     gsetfillcolorind(color);
>       |     ^~~~~~~~~~~~~~~~
> defcolors.c:69:5: warning: implicit declaration of function ‘gfillarea’ 
> [-Wimplicit-function-declaration]
>    69 |     gfillarea(5, pts);
>       |     ^~~~~~~~~
> defcolors.c:74:5: warning: implicit declaration of function ‘gtext’ 
> [-Wimplicit-function-declaration]
>    74 |     gtext(pts, num);
>       |     ^~~~~
> defcolors.c: At top level:
> defcolors.c:78:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
>    78 | main(argc, argv)
>       | ^~~~
> defcolors.c: In function ‘main’:
> defcolors.c:115:5: warning: implicit declaration of function ‘gopengks’ 
> [-Wimplicit-function-declaration]
>   115 |     gopengks(stdout, 0);
>       |     ^~~~~~~~
> defcolors.c:116:5: warning: implicit declaration of function ‘gopenws’; did 
> you mean ‘popen’? [-Wimplicit-function-declaration]
>   116 |     gopenws(ws_id, conn, conn);
>       |     ^~~~~~~
>       |     popen
> defcolors.c:117:5: warning: implicit declaration of function ‘gactivatews’ 
> [-Wimplicit-function-declaration]
>   117 |     gactivatews(ws_id);
>       |     ^~~~~~~~~~~
> defcolors.c:119:5: warning: implicit declaration of function ‘gsetwindow’ 
> [-Wimplicit-function-declaration]
>   119 |     gsetwindow(1, &Window);
>       |     ^~~~~~~~~~
> defcolors.c:120:5: warning: implicit declaration of function ‘gsetviewport’ 
> [-Wimplicit-function-declaration]
>   120 |     gsetviewport(1, &WsWindow);
>       |     ^~~~~~~~~~~~
> defcolors.c:121:5: warning: implicit declaration of function ‘gselntran’ 
> [-Wimplicit-function-declaration]
>   121 |     gselntran(1);
>       |     ^~~~~~~~~
> defcolors.c:122:5: warning: implicit declaration of function ‘gsetwswindow’ 
> [-Wimplicit-function-declaration]
>   122 |     gsetwswindow(ws_id, &WsWindow);
>       |     ^~~~~~~~~~~~
> defcolors.c:124:5: warning: implicit declaration of function 
> ‘gsetfillintstyle’ [-Wimplicit-function-declaration]
>   124 |     gsetfillintstyle(GSOLID);
>       |     ^~~~~~~~~~~~~~~~
> defcolors.c:126:5: warning: implicit declaration of function 
> ‘gsettextfontprec’ [-Wimplicit-function-declaration]
>   126 |     gsettextfontprec(&txfp);
>       |     ^~~~~~~~~~~~~~~~
> defcolors.c:127:5: warning: implicit declaration of function ‘gsetcharheight’ 
> [-Wimplicit-function-declaration]
>   127 |     gsetcharheight(28.0);
>       |     ^~~~~~~~~~~~~~
> defcolors.c:128:5: warning: implicit declaration of function ‘gsetcharspace’ 
> [-Wimplicit-function-declaration]
>   128 |     gsetcharspace(0.2);
>       |     ^~~~~~~~~~~~~
> defcolors.c:129:5: warning: implicit declaration of function ‘gsettextalign’; 
> did you mean ‘gsettextcolorind’? [-Wimplicit-function-declaration]
>   129 |     gsettextalign(&txalign);
>       |     ^~~~~~~~~~~~~
>       |     gsettextcolorind
> In file included from defcolors.c:43:
> ../lib/c/xgks.h:1510:26: warning: implicit declaration of function 
> ‘gsettextcolourind’; did you mean ‘gsettextcolorind’? 
> [-Wimplicit-function-declaration]
>  1510 | #define gsettextcolorind gsettextcolourind
>       |                          ^~~~~~~~~~~~~~~~~
> defcolors.c:130:5: note: in expansion of macro ‘gsettextcolorind’
>   130 |     gsettextcolorind(0);
>       |     ^~~~~~~~~~~~~~~~
> defcolors.c:139:5: warning: implicit declaration of function ‘gdeactivatews’ 
> [-Wimplicit-function-declaration]
>   139 |     gdeactivatews(ws_id);
>       |     ^~~~~~~~~~~~~
> defcolors.c:140:5: warning: implicit declaration of function ‘gclosews’; did 
> you mean ‘pclose’? [-Wimplicit-function-declaration]
>   140 |     gclosews(ws_id);
>       |     ^~~~~~~~
>       |     pclose
> defcolors.c:141:5: warning: implicit declaration of function ‘gclosegks’ 
> [-Wimplicit-function-declaration]
>   141 |     gclosegks();
>       |     ^~~~~~~~~
> gcc -I../lib/c -I../port/misc  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro 
> defcolors.o -L../lib/c -lxgks -L../port/misc -ludport -L/usr/lib -lxgks -lX11 
>  -lm -o defcolors
> gcc -c -I../lib/c -I../port/misc  -g -O2 
> -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 font.c
> In file included from font.c:47:
> demo.h:58:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
>    58 | WaitForBreak( ws_id )
>       | ^~~~~~~~~~~~
> demo.h: In function ‘WaitForBreak’:
> demo.h:73:5: warning: implicit declaration of function ‘ginitchoice’ 
> [-Wimplicit-function-declaration]
>    73 |     ginitchoice( ws_id, 1, &init, 1, &earea, &record );
>       |     ^~~~~~~~~~~
> demo.h:74:5: warning: implicit declaration of function ‘gsetchoicemode’ 
> [-Wimplicit-function-declaration]
>    74 |     gsetchoicemode( ws_id, 1, GREQUEST, GECHO );
>       |     ^~~~~~~~~~~~~~
> demo.h:76:2: warning: implicit declaration of function ‘greqchoice’ 
> [-Wimplicit-function-declaration]
>    76 |  greqchoice( ws_id, 1, &init );
>       |  ^~~~~~~~~~
> font.c: In function ‘show_font’:
> font.c:69:9: warning: implicit declaration of function ‘gsettextfontprec’ 
> [-Wimplicit-function-declaration]
>    69 |     if (gsettextfontprec(&txfp) != 0)
>       |         ^~~~~~~~~~~~~~~~
> In file included from font.c:46:
> ../lib/c/xgks.h:1510:26: warning: implicit declaration of function 
> ‘gsettextcolourind’; did you mean ‘gsettextcolorind’? 
> [-Wimplicit-function-declaration]
>  1510 | #define gsettextcolorind gsettextcolourind
>       |                          ^~~~~~~~~~~~~~~~~
> font.c:74:5: note: in expansion of macro ‘gsettextcolorind’
>    74 |     gsettextcolorind(WHITE);
>       |     ^~~~~~~~~~~~~~~~
> font.c:76:5: warning: implicit declaration of function ‘gsetcharheight’ 
> [-Wimplicit-function-declaration]
>    76 |     gsetcharheight(0.05);
>       |     ^~~~~~~~~~~~~~
> font.c:79:5: warning: implicit declaration of function ‘gsetcharup’; did you 
> mean ‘getchar’? [-Wimplicit-function-declaration]
>    79 |     gsetcharup(&up);
>       |     ^~~~~~~~~~
>       |     getchar
> font.c:82:5: warning: implicit declaration of function ‘gsettextalign’; did 
> you mean ‘gsettextcolorind’? [-Wimplicit-function-declaration]
>    82 |     gsettextalign(&align);
>       |     ^~~~~~~~~~~~~
>       |     gsettextcolorind
> font.c:83:5: warning: implicit declaration of function ‘gsettextpath’ 
> [-Wimplicit-function-declaration]
>    83 |     gsettextpath(GTP_RIGHT);
>       |     ^~~~~~~~~~~~
> font.c:88:5: warning: implicit declaration of function ‘gtext’; did you mean 
> ‘atexit’? [-Wimplicit-function-declaration]
>    88 |     gtext(&tpt, s);
>       |     ^~~~~
>       |     atexit
> font.c: At top level:
> font.c:115:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
>   115 | main(argc, argv)
>       | ^~~~
> font.c: In function ‘main’:
> font.c:127:17: warning: implicit declaration of function ‘getopt’ 
> [-Wimplicit-function-declaration]
>   127 |     while ((c = getopt(argc, argv, "d:o:")) != -1) {
>       |                 ^~~~~~
> font.c:138:5: warning: implicit declaration of function ‘gopengks’ 
> [-Wimplicit-function-declaration]
>   138 |     gopengks(stdout, 0);
>       |     ^~~~~~~~
> font.c:140:19: warning: implicit declaration of function ‘gopenws’; did you 
> mean ‘popen’? [-Wimplicit-function-declaration]
>   140 |     if ((result = gopenws(ws_id, conn, conn)) != 0)
>       |                   ^~~~~~~
>       |                   popen
> font.c:141:2: warning: implicit declaration of function ‘perr’; did you mean 
> ‘perror’? [-Wimplicit-function-declaration]
>   141 |  perr(result, "...open_ws");
>       |  ^~~~
>       |  perror
> font.c:142:5: warning: implicit declaration of function ‘gactivatews’ 
> [-Wimplicit-function-declaration]
>   142 |     gactivatews(ws_id);
>       |     ^~~~~~~~~~~
> font.c:151:5: warning: implicit declaration of function ‘gsetwswindow’ 
> [-Wimplicit-function-declaration]
>   151 |     gsetwswindow(200, &wsw);
>       |     ^~~~~~~~~~~~
> font.c:157:5: warning: implicit declaration of function ‘gsetwsviewport’ 
> [-Wimplicit-function-declaration]
>   157 |     gsetwsviewport(200, &wsv);
>       |     ^~~~~~~~~~~~~~
> font.c:163:5: warning: implicit declaration of function ‘gsetwindow’ 
> [-Wimplicit-function-declaration]
>   163 |     gsetwindow(1, &w);
>       |     ^~~~~~~~~~
> font.c:169:5: warning: implicit declaration of function ‘gsetviewport’ 
> [-Wimplicit-function-declaration]
>   169 |     gsetviewport(1, &v);
>       |     ^~~~~~~~~~~~
> font.c:174:5: warning: implicit declaration of function ‘gselntran’ 
> [-Wimplicit-function-declaration]
>   174 |     gselntran(1);
>       |     ^~~~~~~~~
> font.c:176:5: warning: implicit declaration of function ‘ginqtextfacil’ 
> [-Wimplicit-function-declaration]
>   176 |     ginqtextfacil((char*)NULL, &fac);
>       |     ^~~~~~~~~~~~~
> font.c:179:5: warning: implicit declaration of function ‘test_font’ 
> [-Wimplicit-function-declaration]
>   179 |     test_font(fac.fps);
>       |     ^~~~~~~~~
> font.c:186:2: warning: implicit declaration of function ‘gclearws’ 
> [-Wimplicit-function-declaration]
>   186 |  gclearws(200, GALWAYS);
>       |  ^~~~~~~~
> font.c:196:19: warning: implicit declaration of function ‘gdeactivatews’ 
> [-Wimplicit-function-declaration]
>   196 |     if ((result = gdeactivatews(200)) != 0)
>       |                   ^~~~~~~~~~~~~
> font.c:199:19: warning: implicit declaration of function ‘gclosews’; did you 
> mean ‘pclose’? [-Wimplicit-function-declaration]
>   199 |     if ((result = gclosews(200)) != 0)
>       |                   ^~~~~~~~
>       |                   pclose
> font.c:208:19: warning: implicit declaration of function ‘gclosegks’ 
> [-Wimplicit-function-declaration]
>   208 |     if ((result = gclosegks()) != 0)
>       |                   ^~~~~~~~~
> font.c: At top level:
> font.c:216:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
>   216 | perr(i, s)
>       | ^~~~
> font.c:233:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
>   233 | test_font(nfonts)
>       | ^~~~~~~~~
> font.c: In function ‘test_font’:
> font.c:259:5: warning: implicit declaration of function ‘gsetasf’ 
> [-Wimplicit-function-declaration]
>   259 |     gsetasf(&asf);
>       |     ^~~~~~~
> font.c:276:2: warning: implicit declaration of function ‘SetColor’ 
> [-Wimplicit-function-declaration]
>   276 |  SetColor(i);
>       |  ^~~~~~~~
> font.c: At top level:
> font.c:286:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
>   286 | SetColor(hash)
>       | ^~~~~~~~
> font.c: In function ‘SetColor’:
> font.c:341:5: warning: implicit declaration of function ‘gsetcolourrep’; did 
> you mean ‘gsetcolorrep’? [-Wimplicit-function-declaration]
>   341 |     gsetcolourrep(1, color_index, &rep);
>       |     ^~~~~~~~~~~~~
>       |     gsetcolorrep
> font.c:345:5: warning: ‘return’ with no value, in function returning non-void
>   345 |     return;
>       |     ^~~~~~
> font.c:286:1: note: declared here
>   286 | SetColor(hash)
>       | ^~~~~~~~
> gcc -I../lib/c -I../port/misc  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro font.o 
> -L../lib/c -lxgks -L../port/misc -ludport -L/usr/lib -lxgks -lX11  -lm -o font
> gcc -c -I../lib/c -I../port/misc  -g -O2 
> -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 hanoi.c
> In file included from hanoi.c:52:
> demo.h:58:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
>    58 | WaitForBreak( ws_id )
>       | ^~~~~~~~~~~~
> demo.h: In function ‘WaitForBreak’:
> demo.h:73:5: warning: implicit declaration of function ‘ginitchoice’ 
> [-Wimplicit-function-declaration]
>    73 |     ginitchoice( ws_id, 1, &init, 1, &earea, &record );
>       |     ^~~~~~~~~~~
> demo.h:74:5: warning: implicit declaration of function ‘gsetchoicemode’ 
> [-Wimplicit-function-declaration]
>    74 |     gsetchoicemode( ws_id, 1, GREQUEST, GECHO );
>       |     ^~~~~~~~~~~~~~
> demo.h:76:2: warning: implicit declaration of function ‘greqchoice’ 
> [-Wimplicit-function-declaration]
>    76 |  greqchoice( ws_id, 1, &init );
>       |  ^~~~~~~~~~
> hanoi.c: In function ‘SetColor’:
> hanoi.c:68:1: warning: type of ‘id’ defaults to ‘int’ [-Wimplicit-int]
>    68 | SetColor(id)
>       | ^~~~~~~~
> hanoi.c:75:5: warning: implicit declaration of function ‘gsetcolourrep’; did 
> you mean ‘gsetcolorrep’? [-Wimplicit-function-declaration]
>    75 |     gsetcolourrep(id, WHITE, &rep);
>       |     ^~~~~~~~~~~~~
>       |     gsetcolorrep
> hanoi.c: At top level:
> hanoi.c:126:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
>   126 | main(argc, argv)
>       | ^~~~
> hanoi.c: In function ‘main’:
> hanoi.c:144:17: warning: implicit declaration of function ‘getopt’ 
> [-Wimplicit-function-declaration]
>   144 |     while ((c = getopt(argc, argv, "d:n:o:")) != -1) {
>       |                 ^~~~~~
> hanoi.c:150:11: warning: implicit declaration of function ‘atoi’ 
> [-Wimplicit-function-declaration]
>   150 |      n  = atoi(optarg);
>       |           ^~~~
> hanoi.c:158:5: warning: implicit declaration of function ‘gopengks’ 
> [-Wimplicit-function-declaration]
>   158 |     gopengks(stdout, 0);
>       |     ^~~~~~~~
> hanoi.c:160:5: warning: implicit declaration of function ‘gopenws’; did you 
> mean ‘popen’? [-Wimplicit-function-declaration]
>   160 |     gopenws(ws_id, conn, conn);
>       |     ^~~~~~~
>       |     popen
> hanoi.c:163:5: warning: implicit declaration of function ‘gactivatews’ 
> [-Wimplicit-function-declaration]
>   163 |     gactivatews(ws_id);
>       |     ^~~~~~~~~~~
> hanoi.c:169:5: warning: implicit declaration of function ‘gsetwswindow’ 
> [-Wimplicit-function-declaration]
>   169 |     gsetwswindow(ws_id, &WsWindow);
>       |     ^~~~~~~~~~~~
> hanoi.c:172:5: warning: implicit declaration of function ‘title’ 
> [-Wimplicit-function-declaration]
>   172 |     title();
>       |     ^~~~~
> hanoi.c:177:5: warning: implicit declaration of function ‘inittower’ 
> [-Wimplicit-function-declaration]
>   177 |     inittower(n);
>       |     ^~~~~~~~~
> hanoi.c:178:5: warning: implicit declaration of function ‘f’ 
> [-Wimplicit-function-declaration]
>   178 |     f(n, 0, 1, 2);
>       |     ^
> hanoi.c:184:5: warning: implicit declaration of function ‘gdeactivatews’ 
> [-Wimplicit-function-declaration]
>   184 |     gdeactivatews(mo_id);
>       |     ^~~~~~~~~~~~~
> hanoi.c:186:5: warning: implicit declaration of function ‘gclosews’; did you 
> mean ‘pclose’? [-Wimplicit-function-declaration]
>   186 |     gclosews(mo_id);
>       |     ^~~~~~~~
>       |     pclose
> hanoi.c:188:5: warning: implicit declaration of function ‘gclosegks’ 
> [-Wimplicit-function-declaration]
>   188 |     gclosegks();
>       |     ^~~~~~~~~
> hanoi.c: At top level:
> hanoi.c:201:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
>   201 | f(n, a, b, c)
>       | ^
> hanoi.c: In function ‘f’:
> hanoi.c:208:2: warning: ‘return’ with no value, in function returning non-void
>   208 |  return;
>       |  ^~~~~~
> hanoi.c:201:1: note: declared here
>   201 | f(n, a, b, c)
>       | ^
> hanoi.c:211:5: warning: implicit declaration of function ‘movedisk’ 
> [-Wimplicit-function-declaration]
>   211 |     movedisk(a, b);
>       |     ^~~~~~~~
> hanoi.c: At top level:
> hanoi.c:216:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
>   216 | box(l)
>       | ^~~
> In file included from hanoi.c:51:
> hanoi.c: In function ‘box’:
> ../lib/c/xgks.h:1507:26: warning: implicit declaration of function 
> ‘gsetfillcolourind’; did you mean ‘gsetfillcolorind’? 
> [-Wimplicit-function-declaration]
>  1507 | #define gsetfillcolorind gsetfillcolourind
>       |                          ^~~~~~~~~~~~~~~~~
> hanoi.c:233:5: note: in expansion of macro ‘gsetfillcolorind’
>   233 |     gsetfillcolorind(WHITE);
>       |     ^~~~~~~~~~~~~~~~
> hanoi.c:234:5: warning: implicit declaration of function ‘gfillarea’ 
> [-Wimplicit-function-declaration]
>   234 |     gfillarea(5, pts);
>       |     ^~~~~~~~~
> hanoi.c: At top level:
> hanoi.c:241:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
>   241 | title()
>       | ^~~~~
> hanoi.c: In function ‘title’:
> hanoi.c:265:5: warning: implicit declaration of function ‘gsetdeferst’ 
> [-Wimplicit-function-declaration]
>   265 |     gsetdeferst(1, GASAP, GALLOWED);
>       |     ^~~~~~~~~~~
> hanoi.c:266:5: warning: implicit declaration of function ‘gsetwindow’ 
> [-Wimplicit-function-declaration]
>   266 |     gsetwindow(1, &Window);
>       |     ^~~~~~~~~~
> hanoi.c:267:5: warning: implicit declaration of function ‘gsetviewport’ 
> [-Wimplicit-function-declaration]
>   267 |     gsetviewport(1, &Viewport);
>       |     ^~~~~~~~~~~~
> hanoi.c:268:5: warning: implicit declaration of function ‘gselntran’ 
> [-Wimplicit-function-declaration]
>   268 |     gselntran(1);
>       |     ^~~~~~~~~
> hanoi.c:274:5: warning: implicit declaration of function ‘gsettextfontprec’ 
> [-Wimplicit-function-declaration]
>   274 |     gsettextfontprec(&txfp);
>       |     ^~~~~~~~~~~~~~~~
> hanoi.c:275:5: warning: implicit declaration of function ‘gsetcharspace’ 
> [-Wimplicit-function-declaration]
>   275 |     gsetcharspace(0.2);
>       |     ^~~~~~~~~~~~~
> hanoi.c:276:5: warning: implicit declaration of function ‘gsetcharheight’ 
> [-Wimplicit-function-declaration]
>   276 |     gsetcharheight(1.0);
>       |     ^~~~~~~~~~~~~~
> hanoi.c:277:5: warning: implicit declaration of function ‘gsettextalign’; did 
> you mean ‘gsettextcolorind’? [-Wimplicit-function-declaration]
>   277 |     gsettextalign(&txalign);
>       |     ^~~~~~~~~~~~~
>       |     gsettextcolorind
> In file included from hanoi.c:51:
> ../lib/c/xgks.h:1510:26: warning: implicit declaration of function 
> ‘gsettextcolourind’; did you mean ‘gsettextcolorind’? 
> [-Wimplicit-function-declaration]
>  1510 | #define gsettextcolorind gsettextcolourind
>       |                          ^~~~~~~~~~~~~~~~~
> hanoi.c:278:5: note: in expansion of macro ‘gsettextcolorind’
>   278 |     gsettextcolorind(YELLOW);
>       |     ^~~~~~~~~~~~~~~~
> hanoi.c:282:5: warning: implicit declaration of function ‘gtext’ 
> [-Wimplicit-function-declaration]
>   282 |     gtext(&p, "Tower of Hanoi");
>       |     ^~~~~
> hanoi.c: At top level:
> hanoi.c:289:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
>   289 | inittower(n)
>       | ^~~~~~~~~
> hanoi.c: In function ‘inittower’:
> hanoi.c:308:5: warning: implicit declaration of function ‘border’ 
> [-Wimplicit-function-declaration]
>   308 |     border(0.0, WINDWD, 0.0, WINDHT);
>       |     ^~~~~~
> hanoi.c:311:2: warning: implicit declaration of function ‘placedisk’ 
> [-Wimplicit-function-declaration]
>   311 |  placedisk(0, i);
>       |  ^~~~~~~~~
> hanoi.c: At top level:
> hanoi.c:329:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
>   329 | movedisk(a, b)
>       | ^~~~~~~~
> hanoi.c: In function ‘movedisk’:
> hanoi.c:329:1: warning: type of ‘a’ defaults to ‘int’ [-Wimplicit-int]
> hanoi.c:329:1: warning: type of ‘b’ defaults to ‘int’ [-Wimplicit-int]
> hanoi.c:333:5: warning: implicit declaration of function ‘path’ 
> [-Wimplicit-function-declaration]
>   333 |     path(a, b);
>       |     ^~~~
> hanoi.c:334:14: warning: implicit declaration of function ‘DiskRemove’ 
> [-Wimplicit-function-declaration]
>   334 |     diskno = DiskRemove(a);
>       |              ^~~~~~~~~~
> hanoi.c:335:5: warning: implicit declaration of function ‘unpath’ 
> [-Wimplicit-function-declaration]
>   335 |     unpath();
>       |     ^~~~~~
> hanoi.c: At top level:
> hanoi.c:340:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
>   340 | placedisk(tower, diskno)
>       | ^~~~~~~~~
> hanoi.c: In function ‘placedisk’:
> hanoi.c:344:5: warning: implicit declaration of function ‘gsetfillintstyle’ 
> [-Wimplicit-function-declaration]
>   344 |     gsetfillintstyle(GSOLID);
>       |     ^~~~~~~~~~~~~~~~
> hanoi.c:346:5: warning: implicit declaration of function ‘disk’ 
> [-Wimplicit-function-declaration]
>   346 |     disk(diskno, TOWERSPC * (1 + tower) - (Gfloat) (diskno) /
>       |     ^~~~
> hanoi.c:349:5: warning: implicit declaration of function ‘pushdisk’ 
> [-Wimplicit-function-declaration]
>   349 |     pushdisk(tower, diskno);
>       |     ^~~~~~~~
> hanoi.c: At top level:
> hanoi.c:353:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
>   353 | DiskRemove(tower)
>       | ^~~~~~~~~~
> hanoi.c: In function ‘DiskRemove’:
> hanoi.c:358:14: warning: implicit declaration of function ‘popdisk’ 
> [-Wimplicit-function-declaration]
>   358 |     diskno = popdisk(tower);
>       |              ^~~~~~~
> hanoi.c: At top level:
> hanoi.c:369:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
>   369 | disk(diskno, x, y)
>       | ^~~~
> hanoi.c:399:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
>   399 | path(a, b)
>       | ^~~~
> In file included from hanoi.c:51:
> hanoi.c: In function ‘path’:
> ../lib/c/xgks.h:1508:26: warning: implicit declaration of function 
> ‘gsetlinecolourind’; did you mean ‘gsetlinecolorind’? 
> [-Wimplicit-function-declaration]
>  1508 | #define gsetlinecolorind gsetlinecolourind
>       |                          ^~~~~~~~~~~~~~~~~
> hanoi.c:402:5: note: in expansion of macro ‘gsetlinecolorind’
>   402 |     gsetlinecolorind(GREEN);
>       |     ^~~~~~~~~~~~~~~~
> hanoi.c:403:5: warning: implicit declaration of function ‘gsetlinetype’ 
> [-Wimplicit-function-declaration]
>   403 |     gsetlinetype(GLN_DASH);
>       |     ^~~~~~~~~~~~
> hanoi.c:404:5: warning: implicit declaration of function ‘gsetlinewidth’ 
> [-Wimplicit-function-declaration]
>   404 |     gsetlinewidth(3.0);
>       |     ^~~~~~~~~~~~~
> hanoi.c:414:5: warning: implicit declaration of function ‘gpolyline’ 
> [-Wimplicit-function-declaration]
>   414 |     gpolyline(4, pathpts);
>       |     ^~~~~~~~~
> hanoi.c: At top level:
> hanoi.c:418:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
>   418 | unpath()
>       | ^~~~~~
> hanoi.c:425:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
>   425 | border(x1, x2, y_1, y2)
>       | ^~~~~~
> hanoi.c:448:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
>   448 | pushdisk(tower, diskno)
>       | ^~~~~~~~
> hanoi.c:456:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
>   456 | popdisk(tower)
>       | ^~~~~~~
> gcc -I../lib/c -I../port/misc  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro 
> hanoi.o -L../lib/c -lxgks -L../port/misc -ludport -L/usr/lib -lxgks -lX11  
> -lm -o hanoi
> gcc -c -I../lib/c -I../port/misc  -g -O2 
> -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 mi.c
> In file included from mi.c:45:
> demo.h:58:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
>    58 | WaitForBreak( ws_id )
>       | ^~~~~~~~~~~~
> demo.h: In function ‘WaitForBreak’:
> demo.h:73:5: warning: implicit declaration of function ‘ginitchoice’ 
> [-Wimplicit-function-declaration]
>    73 |     ginitchoice( ws_id, 1, &init, 1, &earea, &record );
>       |     ^~~~~~~~~~~
> demo.h:74:5: warning: implicit declaration of function ‘gsetchoicemode’ 
> [-Wimplicit-function-declaration]
>    74 |     gsetchoicemode( ws_id, 1, GREQUEST, GECHO );
>       |     ^~~~~~~~~~~~~~
> demo.h:76:2: warning: implicit declaration of function ‘greqchoice’ 
> [-Wimplicit-function-declaration]
>    76 |  greqchoice( ws_id, 1, &init );
>       |  ^~~~~~~~~~
> mi.c: At top level:
> mi.c:54:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
>    54 | main(argc, argv)
>       | ^~~~
> mi.c: In function ‘main’:
> mi.c:76:17: warning: implicit declaration of function ‘getopt’ 
> [-Wimplicit-function-declaration]
>    76 |     while ((c = getopt(argc, argv, "d:o:")) != -1) {
>       |                 ^~~~~~
> mi.c:93:5: warning: implicit declaration of function ‘gopengks’ 
> [-Wimplicit-function-declaration]
>    93 |     gopengks(stderr, 0);
>       |     ^~~~~~~~
> mi.c:95:5: warning: implicit declaration of function ‘gopenws’; did you mean 
> ‘popen’? [-Wimplicit-function-declaration]
>    95 |     gopenws(MI_WSID, mi_path, "MI");
>       |     ^~~~~~~
>       |     popen
> mi.c:100:5: warning: implicit declaration of function ‘gactivatews’ 
> [-Wimplicit-function-declaration]
>   100 |     gactivatews(X_WSID);
>       |     ^~~~~~~~~~~
> mi.c:105:10: warning: implicit declaration of function ‘ggetgksm’ 
> [-Wimplicit-function-declaration]
>   105 |  error = ggetgksm(MI_WSID, &gksmit);
>       |          ^~~~~~~~
> mi.c:113:10: warning: implicit declaration of function ‘ginqwsdeferupdatest’ 
> [-Wimplicit-function-declaration]
>   113 |   (void) ginqwsdeferupdatest(X_WSID, &du);
>       |          ^~~~~~~~~~~~~~~~~~~
> mi.c:133:11: warning: implicit declaration of function ‘greadgksm’ 
> [-Wimplicit-function-declaration]
>   133 |   error = greadgksm(MI_WSID, maxsize, record);
>       |           ^~~~~~~~~
> mi.c:142:12: warning: implicit declaration of function ‘ginterpret’ 
> [-Wimplicit-function-declaration]
>   142 |    error = ginterpret(&gksmit, record);
>       |            ^~~~~~~~~~
> mi.c:159:5: warning: implicit declaration of function ‘gdeactivatews’ 
> [-Wimplicit-function-declaration]
>   159 |     gdeactivatews(X_WSID);
>       |     ^~~~~~~~~~~~~
> mi.c:163:5: warning: implicit declaration of function ‘gclosews’; did you 
> mean ‘pclose’? [-Wimplicit-function-declaration]
>   163 |     gclosews(X_WSID);
>       |     ^~~~~~~~
>       |     pclose
> mi.c:168:5: warning: implicit declaration of function ‘gclosegks’ 
> [-Wimplicit-function-declaration]
>   168 |     gclosegks();
>       |     ^~~~~~~~~
> gcc -I../lib/c -I../port/misc  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro mi.o 
> -L../lib/c -lxgks -L../port/misc -ludport -L/usr/lib -lxgks -lX11  -lm -o mi
> gcc -c -I../lib/c -I../port/misc  -g -O2 
> -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 pline.c
> pline.c:48:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
>    48 | WaitForBreak(wsid)
>       | ^~~~~~~~~~~~
> pline.c: In function ‘WaitForBreak’:
> pline.c:63:5: warning: implicit declaration of function ‘ginitchoice’ 
> [-Wimplicit-function-declaration]
>    63 |     ginitchoice(wsid, 1, &init, 1, &earea, &record);
>       |     ^~~~~~~~~~~
> pline.c:64:5: warning: implicit declaration of function ‘gsetchoicemode’ 
> [-Wimplicit-function-declaration]
>    64 |     gsetchoicemode(wsid, 1, GREQUEST, GECHO);
>       |     ^~~~~~~~~~~~~~
> pline.c:66:2: warning: implicit declaration of function ‘greqchoice’ 
> [-Wimplicit-function-declaration]
>    66 |  greqchoice(wsid, 1, &init);
>       |  ^~~~~~~~~~
> pline.c: At top level:
> pline.c:70:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
>    70 | main(argc, argv)
>       | ^~~~
> pline.c: In function ‘main’:
> pline.c:78:19: warning: implicit declaration of function ‘gopengks’ 
> [-Wimplicit-function-declaration]
>    78 |     if ((result = gopengks(stdout, 0)) != 0)
>       |                   ^~~~~~~~
> pline.c:79:2: warning: implicit declaration of function ‘perr’; did you mean 
> ‘perror’? [-Wimplicit-function-declaration]
>    79 |  perr(result, "...open_gks");
>       |  ^~~~
>       |  perror
> pline.c:81:19: warning: implicit declaration of function ‘gopenws’; did you 
> mean ‘popen’? [-Wimplicit-function-declaration]
>    81 |     if ((result = gopenws(ws_id, argv[1], argv[1])) != 0)
>       |                   ^~~~~~~
>       |                   popen
> pline.c:84:19: warning: implicit declaration of function ‘gactivatews’ 
> [-Wimplicit-function-declaration]
>    84 |     if ((result = gactivatews(ws_id)) != 0)
>       |                   ^~~~~~~~~~~
> pline.c:87:5: warning: implicit declaration of function ‘test_pline’; did you 
> mean ‘getline’? [-Wimplicit-function-declaration]
>    87 |     test_pline(ws_id);
>       |     ^~~~~~~~~~
>       |     getline
> pline.c:93:19: warning: implicit declaration of function ‘gdeactivatews’ 
> [-Wimplicit-function-declaration]
>    93 |     if ((result = gdeactivatews(ws_id)) != 0)
>       |                   ^~~~~~~~~~~~~
> pline.c:96:19: warning: implicit declaration of function ‘gclosews’; did you 
> mean ‘pclose’? [-Wimplicit-function-declaration]
>    96 |     if ((result = gclosews(ws_id)) != 0)
>       |                   ^~~~~~~~
>       |                   pclose
> pline.c:99:19: warning: implicit declaration of function ‘gclosegks’ 
> [-Wimplicit-function-declaration]
>    99 |     if ((result = gclosegks()) != 0)
>       |                   ^~~~~~~~~
> pline.c: At top level:
> pline.c:106:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
>   106 | perr(i, s)
>       | ^~~~
> pline.c:137:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
>   137 | LoadColors(wsid)
>       | ^~~~~~~~~~
> In file included from pline.c:44:
> pline.c: In function ‘LoadColors’:
> ../lib/c/xgks.h:1506:23: warning: implicit declaration of function 
> ‘gsetcolourrep’; did you mean ‘gsetcolorrep’? 
> [-Wimplicit-function-declaration]
>  1506 | #define gsetcolorrep  gsetcolourrep
>       |                       ^~~~~~~~~~~~~
> pline.c:143:2: note: in expansion of macro ‘gsetcolorrep’
>   143 |  gsetcolorrep(wsid, i, &Colors[i]);
>       |  ^~~~~~~~~~~~
> pline.c: At top level:
> pline.c:151:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
>   151 | test_pline(ws_id)
>       | ^~~~~~~~~~
> pline.c: In function ‘test_pline’:
> pline.c:162:5: warning: implicit declaration of function ‘gsetdeferst’ 
> [-Wimplicit-function-declaration]
>   162 |     gsetdeferst(ws_id, GASAP, GALLOWED);
>       |     ^~~~~~~~~~~
> pline.c:166:5: warning: implicit declaration of function ‘gsettextfontprec’ 
> [-Wimplicit-function-declaration]
>   166 |     gsettextfontprec(&txfp);
>       |     ^~~~~~~~~~~~~~~~
> pline.c:167:5: warning: implicit declaration of function ‘gsetcharexpan’ 
> [-Wimplicit-function-declaration]
>   167 |     gsetcharexpan(0.5);
>       |     ^~~~~~~~~~~~~
> pline.c:168:5: warning: implicit declaration of function ‘gsetcharspace’ 
> [-Wimplicit-function-declaration]
>   168 |     gsetcharspace(0.2);
>       |     ^~~~~~~~~~~~~
> In file included from pline.c:44:
> ../lib/c/xgks.h:1510:26: warning: implicit declaration of function 
> ‘gsettextcolourind’; did you mean ‘gsettextcolorind’? 
> [-Wimplicit-function-declaration]
>  1510 | #define gsettextcolorind gsettextcolourind
>       |                          ^~~~~~~~~~~~~~~~~
> pline.c:169:5: note: in expansion of macro ‘gsettextcolorind’
>   169 |     gsettextcolorind(WHITE);
>       |     ^~~~~~~~~~~~~~~~
> pline.c:171:5: warning: implicit declaration of function ‘gsetcharheight’ 
> [-Wimplicit-function-declaration]
>   171 |     gsetcharheight(0.05);
>       |     ^~~~~~~~~~~~~~
> pline.c:174:5: warning: implicit declaration of function ‘gsetcharup’; did 
> you mean ‘getchar’? [-Wimplicit-function-declaration]
>   174 |     gsetcharup(&up);
>       |     ^~~~~~~~~~
>       |     getchar
> pline.c:177:5: warning: implicit declaration of function ‘gsettextalign’; did 
> you mean ‘gsettextcolorind’? [-Wimplicit-function-declaration]
>   177 |     gsettextalign(&align);
>       |     ^~~~~~~~~~~~~
>       |     gsettextcolorind
> pline.c:178:5: warning: implicit declaration of function ‘gsettextpath’ 
> [-Wimplicit-function-declaration]
>   178 |     gsettextpath(GTP_RIGHT);
>       |     ^~~~~~~~~~~~
> pline.c:182:5: warning: implicit declaration of function ‘gtext’; did you 
> mean ‘atexit’? [-Wimplicit-function-declaration]
>   182 |     gtext(&tpt, "GKS POLYLINES");
>       |     ^~~~~
>       |     atexit
> pline.c:202:2: warning: implicit declaration of function ‘gsetlinetype’ 
> [-Wimplicit-function-declaration]
>   202 |  gsetlinetype(lntbl[(i % 7)]);
>       |  ^~~~~~~~~~~~
> pline.c:203:2: warning: implicit declaration of function ‘gsetlinewidth’ 
> [-Wimplicit-function-declaration]
>   203 |  gsetlinewidth((float) (2.0 * i));
>       |  ^~~~~~~~~~~~~
> In file included from pline.c:44:
> ../lib/c/xgks.h:1508:26: warning: implicit declaration of function 
> ‘gsetlinecolourind’; did you mean ‘gsetlinecolorind’? 
> [-Wimplicit-function-declaration]
>  1508 | #define gsetlinecolorind gsetlinecolourind
>       |                          ^~~~~~~~~~~~~~~~~
> pline.c:204:2: note: in expansion of macro ‘gsetlinecolorind’
>   204 |  gsetlinecolorind((i % 7) + 1);
>       |  ^~~~~~~~~~~~~~~~
> pline.c:207:2: warning: implicit declaration of function ‘gpolyline’ 
> [-Wimplicit-function-declaration]
>   207 |  gpolyline(2, lpts);
>       |  ^~~~~~~~~
> gcc -I../lib/c -I../port/misc  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro 
> pline.o -L../lib/c -lxgks -L../port/misc -ludport -L/usr/lib -lxgks -lX11  
> -lm -o pline
> gcc -c -I../lib/c -I../port/misc  -g -O2 
> -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 pmark.c
> pmark.c:48:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
>    48 | WaitForBreak(ws_id)
>       | ^~~~~~~~~~~~
> pmark.c: In function ‘WaitForBreak’:
> pmark.c:63:5: warning: implicit declaration of function ‘ginitchoice’ 
> [-Wimplicit-function-declaration]
>    63 |     ginitchoice(ws_id, 1, &init, 1, &earea, &record);
>       |     ^~~~~~~~~~~
> pmark.c:64:5: warning: implicit declaration of function ‘gsetchoicemode’ 
> [-Wimplicit-function-declaration]
>    64 |     gsetchoicemode(ws_id, 1, GREQUEST, GECHO);
>       |     ^~~~~~~~~~~~~~
> pmark.c:66:2: warning: implicit declaration of function ‘greqchoice’ 
> [-Wimplicit-function-declaration]
>    66 |  greqchoice(ws_id, 1, &init);
>       |  ^~~~~~~~~~
> pmark.c: At top level:
> pmark.c:74:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
>    74 | main(argc, argv)
>       | ^~~~
> pmark.c: In function ‘main’:
> pmark.c:86:19: warning: implicit declaration of function ‘gopengks’ 
> [-Wimplicit-function-declaration]
>    86 |     if ((result = gopengks(stdout, 0)) != 0)
>       |                   ^~~~~~~~
> pmark.c:87:2: warning: implicit declaration of function ‘perr’; did you mean 
> ‘perror’? [-Wimplicit-function-declaration]
>    87 |  perr(result, "...open_gks");
>       |  ^~~~
>       |  perror
> pmark.c:89:19: warning: implicit declaration of function ‘gopenws’; did you 
> mean ‘popen’? [-Wimplicit-function-declaration]
>    89 |     if ((result = gopenws(ws_id, conn, conn)) != 0)
>       |                   ^~~~~~~
>       |                   popen
> pmark.c:92:19: warning: implicit declaration of function ‘gactivatews’ 
> [-Wimplicit-function-declaration]
>    92 |     if ((result = gactivatews(ws_id)) != 0)
>       |                   ^~~~~~~~~~~
> pmark.c:95:5: warning: implicit declaration of function ‘test_pmark’ 
> [-Wimplicit-function-declaration]
>    95 |     test_pmark();
>       |     ^~~~~~~~~~
> pmark.c:101:19: warning: implicit declaration of function ‘gdeactivatews’ 
> [-Wimplicit-function-declaration]
>   101 |     if ((result = gdeactivatews(ws_id)) != 0)
>       |                   ^~~~~~~~~~~~~
> pmark.c:104:19: warning: implicit declaration of function ‘gclosews’; did you 
> mean ‘pclose’? [-Wimplicit-function-declaration]
>   104 |     if ((result = gclosews(ws_id)) != 0)
>       |                   ^~~~~~~~
>       |                   pclose
> pmark.c:107:19: warning: implicit declaration of function ‘gclosegks’ 
> [-Wimplicit-function-declaration]
>   107 |     if ((result = gclosegks()) != 0)
>       |                   ^~~~~~~~~
> pmark.c: At top level:
> pmark.c:115:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
>   115 | perr(i, s)
>       | ^~~~
> pmark.c:149:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
>   149 | LoadColors(ws_id)
>       | ^~~~~~~~~~
> In file included from pmark.c:44:
> pmark.c: In function ‘LoadColors’:
> ../lib/c/xgks.h:1506:23: warning: implicit declaration of function 
> ‘gsetcolourrep’; did you mean ‘gsetcolorrep’? 
> [-Wimplicit-function-declaration]
>  1506 | #define gsetcolorrep  gsetcolourrep
>       |                       ^~~~~~~~~~~~~
> pmark.c:155:2: note: in expansion of macro ‘gsetcolorrep’
>   155 |  gsetcolorrep(ws_id, i, &Colors[i]);
>       |  ^~~~~~~~~~~~
> pmark.c: At top level:
> pmark.c:174:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
>   174 | test_pmark()
>       | ^~~~~~~~~~
> pmark.c: In function ‘test_pmark’:
> pmark.c:184:5: warning: implicit declaration of function ‘gsetdeferst’ 
> [-Wimplicit-function-declaration]
>   184 |     gsetdeferst(ws_id, GASAP, GALLOWED);
>       |     ^~~~~~~~~~~
> pmark.c:188:5: warning: implicit declaration of function ‘gsettextfontprec’ 
> [-Wimplicit-function-declaration]
>   188 |     gsettextfontprec(&txfp);;
>       |     ^~~~~~~~~~~~~~~~
> pmark.c:189:5: warning: implicit declaration of function ‘gsetcharexpan’ 
> [-Wimplicit-function-declaration]
>   189 |     gsetcharexpan(0.5);
>       |     ^~~~~~~~~~~~~
> pmark.c:190:5: warning: implicit declaration of function ‘gsetcharspace’ 
> [-Wimplicit-function-declaration]
>   190 |     gsetcharspace(0.4);
>       |     ^~~~~~~~~~~~~
> In file included from pmark.c:44:
> ../lib/c/xgks.h:1510:26: warning: implicit declaration of function 
> ‘gsettextcolourind’; did you mean ‘gsettextcolorind’? 
> [-Wimplicit-function-declaration]
>  1510 | #define gsettextcolorind gsettextcolourind
>       |                          ^~~~~~~~~~~~~~~~~
> pmark.c:191:5: note: in expansion of macro ‘gsettextcolorind’
>   191 |     gsettextcolorind(WHITE);   /* WHITE */
>       |     ^~~~~~~~~~~~~~~~
> pmark.c:193:5: warning: implicit declaration of function ‘gsetcharheight’ 
> [-Wimplicit-function-declaration]
>   193 |     gsetcharheight(0.05);
>       |     ^~~~~~~~~~~~~~
> pmark.c:196:5: warning: implicit declaration of function ‘gsetcharup’; did 
> you mean ‘getchar’? [-Wimplicit-function-declaration]
>   196 |     gsetcharup(&up);
>       |     ^~~~~~~~~~
>       |     getchar
> pmark.c:199:5: warning: implicit declaration of function ‘gsettextalign’; did 
> you mean ‘gsettextcolorind’? [-Wimplicit-function-declaration]
>   199 |     gsettextalign(&align);
>       |     ^~~~~~~~~~~~~
>       |     gsettextcolorind
> pmark.c:200:5: warning: implicit declaration of function ‘gsettextpath’ 
> [-Wimplicit-function-declaration]
>   200 |     gsettextpath(GTP_RIGHT);
>       |     ^~~~~~~~~~~~
> pmark.c:204:5: warning: implicit declaration of function ‘gtext’; did you 
> mean ‘atexit’? [-Wimplicit-function-declaration]
>   204 |     gtext(&tpt, "GKS POLYMARKERS");
>       |     ^~~~~
>       |     atexit
> pmark.c:221:2: warning: implicit declaration of function ‘gsetmarkersize’ 
> [-Wimplicit-function-declaration]
>   221 |  gsetmarkersize((float) (2.0 * i));
>       |  ^~~~~~~~~~~~~~
> In file included from pmark.c:44:
> ../lib/c/xgks.h:1509:28: warning: implicit declaration of function 
> ‘gsetmarkercolourind’; did you mean ‘gsetmarkercolorind’? 
> [-Wimplicit-function-declaration]
>  1509 | #define gsetmarkercolorind gsetmarkercolourind
>       |                            ^~~~~~~~~~~~~~~~~~~
> pmark.c:222:2: note: in expansion of macro ‘gsetmarkercolorind’
>   222 |  gsetmarkercolorind((i % 7) + 1);
>       |  ^~~~~~~~~~~~~~~~~~
> pmark.c:226:6: warning: implicit declaration of function ‘gsetmarkertype’ 
> [-Wimplicit-function-declaration]
>   226 |      gsetmarkertype(type);
>       |      ^~~~~~~~~~~~~~
> pmark.c:227:6: warning: implicit declaration of function ‘gpolymarker’ 
> [-Wimplicit-function-declaration]
>   227 |      gpolymarker(1, &pt);
>       |      ^~~~~~~~~~~
> gcc -I../lib/c -I../port/misc  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro 
> pmark.o -L../lib/c -lxgks -L../port/misc -ludport -L/usr/lib -lxgks -lX11  
> -lm -o pmark
> gfortran -c  star.f
> gfortran  -Wl,-z,relro star.o -L../lib/c -lxgks -L../port/misc -ludport 
> -L/usr/lib -lxgks -lX11  -lm -o star
> gfortran -c  gksdemo.f
> gksdemo.f:1724:21:
> 
>  1724 |         CALL GPREC(0,IA,0,0.0,0,LCHDUM,MENDUM,NELDUM,
>       |                     1
> ......
>  3716 |       CALL GPREC(0,0,0,0.0,NUMELA,LCHSTR,MENU,NUMELA,
>       |                   2  
> Error: Rank mismatch between actual argument at (1) and actual argument at 
> (2) (scalar and rank-1)
> gksdemo.f:1200:21:
> 
>  1200 |         CALL GPREC(2,IA,3,SKIVAL,0,LCHDUM,MENDUM,NELDUM,
>       |                     1
> ......
>  3716 |       CALL GPREC(0,0,0,0.0,NUMELA,LCHSTR,MENU,NUMELA,
>       |                   2  
> Error: Rank mismatch between actual argument at (1) and actual argument at 
> (2) (scalar and rank-1)
> gksdemo.f:1565:21:
> 
>  1565 |   530   CALL GPREC(0,IA,0,0.0,0,LCHDUM,MENDUM,NELDUM,ERRIND,
>       |                     1
> ......
>  3716 |       CALL GPREC(0,0,0,0.0,NUMELA,LCHSTR,MENU,NUMELA,
>       |                   2  
> Error: Rank mismatch between actual argument at (1) and actual argument at 
> (2) (scalar and rank-1)
> gksdemo.f:1376:21:
> 
>  1376 |         CALL GPREC(2,IA,3,SKIVAL,0,LCHDUM,MENDUM,NELDUM,
>       |                     1
> ......
>  3716 |       CALL GPREC(0,0,0,0.0,NUMELA,LCHSTR,MENU,NUMELA,
>       |                   2  
> Error: Rank mismatch between actual argument at (1) and actual argument at 
> (2) (scalar and rank-1)
> gksdemo.f:1379:30:
> 
>  1203 |      *             337,LDRDUM,DTRDUM)
>       |                              2
> ......
>  1379 |      *             337,LDRDUM,DTRDUM)
>       |                              1
> Error: Type mismatch between actual argument at (1) and actual argument at 
> (2) (CHARACTER(80)/REAL(4)).
> gksdemo.f:900:72:
> 
>   900 |             CALL SETCOL(WKID)
>       |                                                                       
>  1
> Error: More actual than formal arguments in procedure call at (1)
> gksdemo.f:4693:43:
> 
>  3716 |       CALL GPREC(0,0,0,0.0,NUMELA,LCHSTR,MENU,NUMELA,
>       |                                              2
> ......
>  4693 |         CALL GPREC(0,0,0,0.0,1,LCHSTR,MENU,LCHSTR,ERRIND,LENG1,DTREC1)
>       |                                           1
> Error: Rank mismatch between actual argument at (1) and actual argument at 
> (2) (scalar and rank-1)
> gksdemo.f:4696:44:
> 
>  3716 |       CALL GPREC(0,0,0,0.0,NUMELA,LCHSTR,MENU,NUMELA,
>       |                                              2
> ......
>  4696 |         CALL 
> GPREC(0,0,0,0.0,2,LCHST2,MENU2,LCHST2,ERRIND,LENG1,DTREC1)
>       |                                            1
> Error: Rank mismatch between actual argument at (1) and actual argument at 
> (2) (scalar and rank-1)
> gksdemo.f:3264:32:
> 
>  1840 |       CALL GTXS(0.07,0.965,6,'RETURN')
>       |                2                
> ......
>  3264 |                       CALL GTXS(PAX,PAY,4,'TOP ')
>       |                                1
> Error: Rank mismatch between actual argument at (1) and actual argument at 
> (2) (scalar and rank-1)
> gksdemo.f:3265:39:
> 
>  3023 |             CALL GQTXXS(WKID,PX,PY,1,HEIGHT(I),ERRIND,CPX,CPY,
>       |                             2          
> ......
>  3265 |                       CALL GQTXXS(WKID,PAX,PAY,4,'TOP ',ERRIND,
>       |                                       1
> Error: Rank mismatch between actual argument at (1) and actual argument at 
> (2) (scalar and rank-1)
> gksdemo.f:3269:34:
> 
>  1840 |       CALL GTXS(0.07,0.965,6,'RETURN')
>       |                2                  
> ......
>  3269 |                         CALL GTXS(PAX,PAY,4,'CAP ')
>       |                                  1
> Error: Rank mismatch between actual argument at (1) and actual argument at 
> (2) (scalar and rank-1)
> gksdemo.f:3270:41:
> 
>  3023 |             CALL GQTXXS(WKID,PX,PY,1,HEIGHT(I),ERRIND,CPX,CPY,
>       |                             2            
> ......
>  3270 |                         CALL GQTXXS(WKID,PAX,PAY,4,'CAP ',ERRIND,
>       |                                         1
> Error: Rank mismatch between actual argument at (1) and actual argument at 
> (2) (scalar and rank-1)
> gksdemo.f:3274:36:
> 
>  1840 |       CALL GTXS(0.07,0.965,6,'RETURN')
>       |                2                    
> ......
>  3274 |                           CALL GTXS(PAX,PAY,5,'HALF ')
>       |                                    1
> Error: Rank mismatch between actual argument at (1) and actual argument at 
> (2) (scalar and rank-1)
> gksdemo.f:3275:43:
> 
>  3023 |             CALL GQTXXS(WKID,PX,PY,1,HEIGHT(I),ERRIND,CPX,CPY,
>       |                             2              
> ......
>  3275 |                           CALL GQTXXS(WKID,PAX,PAY,5,'HALF ',ERRIND,
>       |                                           1
> Error: Rank mismatch between actual argument at (1) and actual argument at 
> (2) (scalar and rank-1)
> gksdemo.f:3279:38:
> 
>  1840 |       CALL GTXS(0.07,0.965,6,'RETURN')
>       |                2                      
> ......
>  3279 |                             CALL GTXS(PAX,PAY,5,'BASE ')
>       |                                      1
> Error: Rank mismatch between actual argument at (1) and actual argument at 
> (2) (scalar and rank-1)
> gksdemo.f:3280:45:
> 
>  3023 |             CALL GQTXXS(WKID,PX,PY,1,HEIGHT(I),ERRIND,CPX,CPY,
>       |                             2                
> ......
>  3280 |                             CALL GQTXXS(WKID,PAX,PAY,5,'HALF ',ERRIND,
>       |                                             1
> Error: Rank mismatch between actual argument at (1) and actual argument at 
> (2) (scalar and rank-1)
> gksdemo.f:3284:40:
> 
>  1840 |       CALL GTXS(0.07,0.965,6,'RETURN')
>       |                2                        
> ......
>  3284 |                               CALL GTXS(PAX,PAY,6,'BOTTOM')
>       |                                        1
> Error: Rank mismatch between actual argument at (1) and actual argument at 
> (2) (scalar and rank-1)
> gksdemo.f:3297:28:
> 
>  1840 |       CALL GTXS(0.07,0.965,6,'RETURN')
>       |                2            
> ......
>  3297 |                   CALL GTXS(PAX,PAY,6,'CENTER')
>       |                            1
> Error: Rank mismatch between actual argument at (1) and actual argument at 
> (2) (scalar and rank-1)
> gksdemo.f:3301:28:
> 
>  1840 |       CALL GTXS(0.07,0.965,6,'RETURN')
>       |                2            
> ......
>  3301 |                   CALL GTXS(PAX,PAY,5,'RIGHT')
>       |                            1
> Error: Rank mismatch between actual argument at (1) and actual argument at 
> (2) (scalar and rank-1)
> gksdemo.f:3306:28:
> 
>  1840 |       CALL GTXS(0.07,0.965,6,'RETURN')
>       |                2            
> ......
>  3306 |                   CALL GTXS(PAX,PAY,4,'LEFT')
>       |                            1
> Error: Rank mismatch between actual argument at (1) and actual argument at 
> (2) (scalar and rank-1)
> gksdemo.f:369:19:
> 
>   369 |       CALL GPREC(0,IA,0,EMPTRP,0,DUMMYA,CHAR,4,ERRIND,LDRCDU,DRCDUM)
>       |                   1
> ......
>  3716 |       CALL GPREC(0,0,0,0.0,NUMELA,LCHSTR,MENU,NUMELA,
>       |                   2
> Error: Rank mismatch between actual argument at (1) and actual argument at 
> (2) (scalar and rank-1)
> gksdemo.f:372:20:
> 
>   372 |       CALL GPREC(32,IA,0,EMPTRP,0,DUMMYA,CHAR,4,ERRIND,LDRCDU,DRCDUM)
>       |                    1
> ......
>  3716 |       CALL GPREC(0,0,0,0.0,NUMELA,LCHSTR,MENU,NUMELA,
>       |                   2 
> Error: Rank mismatch between actual argument at (1) and actual argument at 
> (2) (scalar and rank-1)
> make[3]: *** [Makefile:197: gksdemo.o] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/08/02/xgks_2.6.1+dfsg.2-9_unstable.log

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!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.

Reply via email to