Bug#1105686: xgks: FTBFS with make --shuffle=reverse: ld: cannot find -lxgks: No such file or directory

Lucas Nussbaum lucas at debian.org
Tue May 13 20:18:47 BST 2025


Source: xgks
Version: 2.6.1+dfsg.2-17
Severity: minor
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-shuffle

Hi,

GNU Make now has a --shuffle option that simulates non-deterministic ordering
of target prerequisites. See
https://trofi.github.io/posts/238-new-make-shuffle-mode.html and also previous
work in Debian by Santiago Vila:
https://people.debian.org/~sanvila/make-shuffle/

This package fails to build with make --shuffle=reverse.
This is likely to be caused by a missing dependency in
debian/rules or an upstream Makefile.

More information about this mass bug filing is available at
https://wiki.debian.org/qa.debian.org/FTBFS/Shuffle

Relevant part (hopefully):
> make[3]: Entering directory '/build/reproducible-path/xgks-2.6.1+dfsg.2/build-gfortran/progs'
> Makefile:197: update target 'gksdemo.o' due to: target does not exist
> gfortran -c -fallow-argument-mismatch  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  
> Warning: 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  
> Warning: Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-1)
> gksdemo.f:1200:26:
> 
>  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   
> Warning: Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-1)
> gksdemo.f:1201:33:
> 
>  1201 |      *             ERRIND,LDRDUM,DTRDUM)
>       |                                 1
> ......
>  3717 |      *           ERRIND,LENGTH,DTREC)
>       |                               2  
> Warning: Type mismatch between actual argument at (1) and actual argument at (2) (REAL(4)/CHARACTER(*)).
> 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  
> Warning: 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  
> Warning: Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-1)
> gksdemo.f:1376:26:
> 
>  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   
> Warning: 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
> Warning: 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
> Warning: 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
> Warning: 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
> Warning: 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
> Warning: Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-1)
> gksdemo.f:3264:36:
> 
>  1840 |       CALL GTXS(0.07,0.965,6,'RETURN')
>       |                     2               
> ......
>  3264 |                       CALL GTXS(PAX,PAY,4,'TOP ')
>       |                                    1
> Warning: 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
> Warning: Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-1)
> gksdemo.f:3265:43:
> 
>  3023 |             CALL GQTXXS(WKID,PX,PY,1,HEIGHT(I),ERRIND,CPX,CPY,
>       |                                2           
> ......
>  3265 |                       CALL GQTXXS(WKID,PAX,PAY,4,'TOP ',ERRIND,
>       |                                           1
> Warning: 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
> Warning: Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-1)
> gksdemo.f:3269:38:
> 
>  1840 |       CALL GTXS(0.07,0.965,6,'RETURN')
>       |                     2                 
> ......
>  3269 |                         CALL GTXS(PAX,PAY,4,'CAP ')
>       |                                      1
> Warning: 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
> Warning: Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-1)
> gksdemo.f:3270:45:
> 
>  3023 |             CALL GQTXXS(WKID,PX,PY,1,HEIGHT(I),ERRIND,CPX,CPY,
>       |                                2             
> ......
>  3270 |                         CALL GQTXXS(WKID,PAX,PAY,4,'CAP ',ERRIND,
>       |                                             1
> Warning: 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
> Warning: Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-1)
> gksdemo.f:3274:40:
> 
>  1840 |       CALL GTXS(0.07,0.965,6,'RETURN')
>       |                     2                   
> ......
>  3274 |                           CALL GTXS(PAX,PAY,5,'HALF ')
>       |                                        1
> Warning: 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
> Warning: Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-1)
> gksdemo.f:3275:47:
> 
>  3023 |             CALL GQTXXS(WKID,PX,PY,1,HEIGHT(I),ERRIND,CPX,CPY,
>       |                                2               
> ......
>  3275 |                           CALL GQTXXS(WKID,PAX,PAY,5,'HALF ',ERRIND,
>       |                                               1
> Warning: 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
> Warning: Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-1)
> gksdemo.f:3279:42:
> 
>  1840 |       CALL GTXS(0.07,0.965,6,'RETURN')
>       |                     2                     
> ......
>  3279 |                             CALL GTXS(PAX,PAY,5,'BASE ')
>       |                                          1
> Warning: 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
> Warning: Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-1)
> gksdemo.f:3280:49:
> 
>  3023 |             CALL GQTXXS(WKID,PX,PY,1,HEIGHT(I),ERRIND,CPX,CPY,
>       |                                2                 
> ......
>  3280 |                             CALL GQTXXS(WKID,PAX,PAY,5,'HALF ',ERRIND,
>       |                                                 1
> Warning: 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
> Warning: Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-1)
> gksdemo.f:3284:44:
> 
>  1840 |       CALL GTXS(0.07,0.965,6,'RETURN')
>       |                     2                       
> ......
>  3284 |                               CALL GTXS(PAX,PAY,6,'BOTTOM')
>       |                                            1
> Warning: 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
> Warning: Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-1)
> gksdemo.f:3297:32:
> 
>  1840 |       CALL GTXS(0.07,0.965,6,'RETURN')
>       |                     2           
> ......
>  3297 |                   CALL GTXS(PAX,PAY,6,'CENTER')
>       |                                1
> Warning: 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
> Warning: Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-1)
> gksdemo.f:3301:32:
> 
>  1840 |       CALL GTXS(0.07,0.965,6,'RETURN')
>       |                     2           
> ......
>  3301 |                   CALL GTXS(PAX,PAY,5,'RIGHT')
>       |                                1
> Warning: 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
> Warning: Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-1)
> gksdemo.f:3306:32:
> 
>  1840 |       CALL GTXS(0.07,0.965,6,'RETURN')
>       |                     2           
> ......
>  3306 |                   CALL GTXS(PAX,PAY,4,'LEFT')
>       |                                1
> Warning: 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
> Warning: Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-1)
> gksdemo.f:369:24:
> 
>   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 
> Warning: Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-1)
> gksdemo.f:369:33:
> 
>   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
> Warning: Type mismatch between actual argument at (1) and actual argument at (2) (CHARACTER(1)/INTEGER(4)).
> 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 
> Warning: Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-1)
> gksdemo.f:372:25:
> 
>   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  
> Warning: Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-1)
> Makefile:61: update target 'gksdemo' due to: target does not exist
> gfortran -fallow-argument-mismatch  -Wl,-z,relro gksdemo.o -L../lib/c -lxgks -L../port/misc -ludport -L/usr/lib -lxgks -lX11  -lm -o gksdemo
> /usr/bin/ld: cannot find -lxgks: No such file or directory
> /usr/bin/ld: cannot find -ludport: No such file or directory
> /usr/bin/ld: cannot find -lxgks: No such file or directory
> collect2: error: ld returned 1 exit status


The full build log is available from:
http://qa-logs.debian.net/2025/05/05/shuffle/reverse/xgks_2.6.1+dfsg.2-17_unstable_reverse.log

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



More information about the debian-science-maintainers mailing list