Bug#992924: freefem++: autopkgtest failure on arm64/ppc64el

2021-08-25 Thread François Mazen
Hello Adrian,

thanks for making the failures visible with this bug. 

I'm waiting for my access to porter boxes [1] in order to debug and fix
the issue(s).

In the meantime, do not hesitate to provide patch or any kind of help.

Best Regards,
François

[1]: https://nm.debian.org/process/920/approval/



Bug#992924: freefem++: autopkgtest failure on arm64/ppc64el

2021-08-25 Thread Adrian Bunk
Source: freefem++
Version: 4.9+dfsg1-2
Severity: serious

https://ci.debian.net/data/autopkgtest/testing/arm64/f/freefem++/14730686/log.gz
https://ci.debian.net/data/autopkgtest/testing/ppc64el/f/freefem++/14702337/log.gz

...
g++ -c -fPIC '-I/usr/include/freefem++' -g -O2 -fstack-protector-strong 
-Wformat -Werror=format-security -DNDEBUG -O3 -std=c++14 -DBAMG_LONG_LONG 
-DNCHECKPTR -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/suitesparse 
-I/usr/include/hdf5/serial -I/usr/include 
'/tmp/autopkgtest-lxc.pbpt2s9x/downtmp/build.g9L/src/plugin/seq/myfunction.cpp'

g++ -shared -fPIC -g -O2 -fstack-protector-strong -Wformat 
-Werror=format-security -DNDEBUG -O3 -std=c++14 -DBAMG_LONG_LONG -DNCHECKPTR 
-fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/suitesparse 
-I/usr/include/hdf5/serial -I/usr/include 'myfunction.o' -o myfunction.so

build: OK
running myfunction with load.edp...
-- FreeFem++ v4.9 ( - git no git)
 Load: lg_fem lg_mesh lg_mesh3 eigenvalue 
1 : // Example of dynamic function load
2 : // 
3 : // $Id$
4 : 
5 :  load "myfunction"
6 : // dumptable(cout);
7 :  mesh Th=square(5,5);
8 :  fespace Vh(Th,P1);
9 :  Vh uh= myfunction(); // warning  do not forget () 
   10 :  cout << uh[].min << " " << uh[].max << endl;
   11 :  cout << " test io ( " << endl;
   12 :  testio();
   13 :  cout << " )  end test io .. " << endl; sizestack + 1024 =1416  ( 392 )

  -- Square mesh : nb vertices  =36 ,  nb triangles = 50 ,  nb boundary edges 20
0 0.841471
 test io ( 
 test cout 3.14159
 test cout 512
 test cerr 3.14159
 test cerr 512
 )  end test io .. 
times: compile 0.005264s, execution 0.000154s,  mpirank:0
 CodeAlloc : nb ptr  3586,  size :484696 mpirank: 0
Ok: Normal End
Segmentation fault
autopkgtest [22:45:03]: test build-and-run-lib: ---]
build-and-run-libFAIL non-zero exit status 139
...