[Debichem-devel] Bug#1025761: opendrop FTBFS with sundials 6.4.1
Adrian Bunk
bunk at debian.org
Thu Dec 8 17:37:20 GMT 2022
Source: opendrop
Version: 3.3.1-3
Severity: serious
Tags: ftbfs
https://buildd.debian.org/status/logs.php?pkg=opendrop&ver=3.3.1-3%2Bb3
...
In file included from include/opendrop/younglaplace.hpp:135,
from opendrop/fit/younglaplace/.checkpoints/shape.cpp:763:
include/opendrop/younglaplace_detail.hpp: In constructor 'opendrop::younglaplace::YoungLaplaceShape<realtype>::YoungLaplaceShape(realtype)':
include/opendrop/younglaplace_detail.hpp:54:23: error: too few arguments to function '_generic_N_Vector* N_VNew_Serial(sunindextype, SUNContext)'
54 | nv = N_VNew_Serial(4);
| ~~~~~~~~~~~~~^~~
In file included from include/opendrop/younglaplace.hpp:10:
/usr/include/nvector/nvector_serial.h:85:26: note: declared here
85 | SUNDIALS_EXPORT N_Vector N_VNew_Serial(sunindextype vec_length, SUNContext sunctx);
| ^~~~~~~~~~~~~
include/opendrop/younglaplace_detail.hpp:56:27: error: too few arguments to function '_generic_N_Vector* N_VNew_Serial(sunindextype, SUNContext)'
56 | nv_DBo = N_VNew_Serial(4);
| ~~~~~~~~~~~~~^~~
/usr/include/nvector/nvector_serial.h:85:26: note: declared here
85 | SUNDIALS_EXPORT N_Vector N_VNew_Serial(sunindextype vec_length, SUNContext sunctx);
| ^~~~~~~~~~~~~
include/opendrop/younglaplace_detail.hpp:78:31: error: too few arguments to function 'void* ERKStepCreate(ARKRhsFn, realtype, N_Vector, SUNContext)'
78 | arkode_mem = ERKStepCreate(arkrhs, RCONST(0.0), nv);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from include/opendrop/younglaplace.hpp:9:
/usr/include/arkode/arkode_erkstep.h:76:23: note: declared here
76 | SUNDIALS_EXPORT void* ERKStepCreate(ARKRhsFn f, realtype t0,
| ^~~~~~~~~~~~~
include/opendrop/younglaplace_detail.hpp:97:35: error: too few arguments to function 'void* ERKStepCreate(ARKRhsFn, realtype, N_Vector, SUNContext)'
97 | arkode_mem_DBo = ERKStepCreate(arkrhs_DBo, RCONST(0.0), nv_DBo);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/arkode/arkode_erkstep.h:76:23: note: declared here
76 | SUNDIALS_EXPORT void* ERKStepCreate(ARKRhsFn f, realtype t0,
| ^~~~~~~~~~~~~
include/opendrop/younglaplace_detail.hpp: In member function 'realtype opendrop::younglaplace::YoungLaplaceShape<realtype>::volume(realtype)':
include/opendrop/younglaplace_detail.hpp:334:37: error: too few arguments to function '_generic_N_Vector* N_VMake_Serial(sunindextype, realtype*, SUNContext)'
334 | N_Vector nv_vol = N_VMake_Serial(1, data);
| ~~~~~~~~~~~~~~^~~~~~~~~
/usr/include/nvector/nvector_serial.h:89:26: note: declared here
89 | SUNDIALS_EXPORT N_Vector N_VMake_Serial(sunindextype vec_length, realtype *v_data, SUNContext sunctx);
| ^~~~~~~~~~~~~~
include/opendrop/younglaplace_detail.hpp:337:41: error: too few arguments to function 'void* ERKStepCreate(ARKRhsFn, realtype, N_Vector, SUNContext)'
337 | void *arkode_mem_vol = ERKStepCreate(arkrhs_vol, RCONST(0.0), nv_vol);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/arkode/arkode_erkstep.h:76:23: note: declared here
76 | SUNDIALS_EXPORT void* ERKStepCreate(ARKRhsFn f, realtype t0,
| ^~~~~~~~~~~~~
include/opendrop/younglaplace_detail.hpp: In member function 'realtype opendrop::younglaplace::YoungLaplaceShape<realtype>::surface_area(realtype)':
include/opendrop/younglaplace_detail.hpp:371:38: error: too few arguments to function '_generic_N_Vector* N_VMake_Serial(sunindextype, realtype*, SUNContext)'
371 | N_Vector nv_surf = N_VMake_Serial(1, data);
| ~~~~~~~~~~~~~~^~~~~~~~~
/usr/include/nvector/nvector_serial.h:89:26: note: declared here
89 | SUNDIALS_EXPORT N_Vector N_VMake_Serial(sunindextype vec_length, realtype *v_data, SUNContext sunctx);
| ^~~~~~~~~~~~~~
include/opendrop/younglaplace_detail.hpp:374:42: error: too few arguments to function 'void* ERKStepCreate(ARKRhsFn, realtype, N_Vector, SUNContext)'
374 | void *arkode_mem_surf = ERKStepCreate(arkrhs_surf, RCONST(0.0), nv_surf);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/arkode/arkode_erkstep.h:76:23: note: declared here
76 | SUNDIALS_EXPORT void* ERKStepCreate(ARKRhsFn f, realtype t0,
| ^~~~~~~~~~~~~
include/opendrop/younglaplace_detail.hpp: In instantiation of 'opendrop::younglaplace::YoungLaplaceShape<realtype>::YoungLaplaceShape(realtype) [with realtype = double]':
opendrop/fit/younglaplace/.checkpoints/shape.cpp:2760:79: required from here
include/opendrop/younglaplace_detail.hpp:90:43: error: invalid conversion from 'int' to 'ARKODE_ERKTableID' [-fpermissive]
90 | flag = ERKStepSetTableNum(arkode_mem, DEFAULT_ERK_6);
| ^~~~~~~~~~~~~
| |
| int
/usr/include/arkode/arkode_erkstep.h:112:76: note: initializing argument 2 of 'int ERKStepSetTableNum(void*, ARKODE_ERKTableID)'
112 | SUNDIALS_EXPORT int ERKStepSetTableNum(void *arkode_mem, ARKODE_ERKTableID etable);
| ~~~~~~~~~~~~~~~~~~^~~~~~
include/opendrop/younglaplace_detail.hpp:106:47: error: invalid conversion from 'int' to 'ARKODE_ERKTableID' [-fpermissive]
106 | flag = ERKStepSetTableNum(arkode_mem_DBo, DEFAULT_ERK_6);
| ^~~~~~~~~~~~~
| |
| int
/usr/include/arkode/arkode_erkstep.h:112:76: note: initializing argument 2 of 'int ERKStepSetTableNum(void*, ARKODE_ERKTableID)'
112 | SUNDIALS_EXPORT int ERKStepSetTableNum(void *arkode_mem, ARKODE_ERKTableID etable);
| ~~~~~~~~~~~~~~~~~~^~~~~~
...
More information about the Debichem-devel
mailing list