Closed UTsweetyfish closed 1 year ago
[ 85s] [ 57%] Linking C executable ark_diurnal_kry_p [ 85s] cd /usr/src/packages/BUILD/debian/build/examples/arkode/C_parallel && /usr/bin/cmake -E cmake_link_script CMakeFiles/ark_diurnal_kry_p.dir/link.txt --verbose=1 [ 85s] /usr/bin/mpicc -fcommon -Wl,-z,relro -Wl,-z,now CMakeFiles/ark_diurnal_kry_bbd_p.dir/ark_diurnal_kry_bbd_p.c.o -o ark_diurnal_kry_bbd_p -Wl,-rpath,/usr/src/packages/BUILD/debian/build/src/arkode:/usr/src/packages/BUILD/debian/build/src/nvector/parallel:/usr/src/packages/BUILD/debian/build/src/nvector/mpiplusx ../../../src/arkode/libsundials_arkode.so.4.8.0 ../../../src/nvector/parallel/libsundials_nvecparallel.so.5.8.0 ../../../src/nvector/mpiplusx/libsundials_nvecmpiplusx.so.5.8.0 -lm /usr/lib/x86_64-linux-gnu/librt.a [ 85s] In file included from /usr/lib/petscdir/petsc3.18/x86_64-linux-gnu-real/include/petscsys.h:1274, [ 85s] from /usr/lib/petscdir/petsc3.18/x86_64-linux-gnu-real/include/petscvec.h:9, [ 85s] from /usr/lib/petscdir/petsc3.18/x86_64-linux-gnu-real/include/petscmat.h:7, [ 85s] from /usr/lib/petscdir/petsc3.18/x86_64-linux-gnu-real/include/petscdm.h:6, [ 85s] from /usr/src/packages/BUILD/examples/arkode/C_petsc/ark_petsc_ex25.c:32: [ 85s] /usr/src/packages/BUILD/examples/arkode/C_petsc/ark_petsc_ex25.c: In function 'main': [ 85s] /usr/lib/petscdir/petsc3.18/x86_64-linux-gnu-real/include/petscoptions.h:182:5: error: expected expression before 'do' [ 85s] 182 | do { \ [ 85s] | ^~ [ 85s] /usr/src/packages/BUILD/examples/arkode/C_petsc/ark_petsc_ex25.c:112:10: note: in expansion of macro 'PetscOptionsBegin' [ 85s] 112 | ierr = PetscOptionsBegin(PETSC_COMM_WORLD,NULL,"Advection-reaction options",""); [ 85s] | ^~~~~~~~~~~~~~~~~ [ 85s] /usr/bin/cc -fcommon -Wl,-z,relro -Wl,-z,now CMakeFiles/ark_brusselator1D_omp.dir/ark_brusselator1D_omp.c.o -o ark_brusselator1D_omp -Wl,-rpath,/usr/src/packages/BUILD/debian/build/src/arkode:/usr/src/packages/BUILD/debian/build/src/nvector/openmp ../../../src/arkode/libsundials_arkode.so.4.8.0 ../../../src/nvector/openmp/libsundials_nvecopenmp.so.5.8.0 -lm /usr/lib/x86_64-linux-gnu/librt.a /usr/lib/gcc/x86_64-linux-gnu/11/libgomp.so /usr/lib/x86_64-linux-gnu/libpthread.a [ 85s] make[3]: Leaving directory '/usr/src/packages/BUILD/debian/build' [ 85s] make -f examples/cvode/serial/CMakeFiles/cvAdvDiff_bnd.dir/build.make examples/cvode/serial/CMakeFiles/cvAdvDiff_bnd.dir/build [ 85s] make[3]: Entering directory '/usr/src/packages/BUILD/debian/build' [ 85s] make[3]: Leaving directory '/usr/src/packages/BUILD/debian/build' [ 85s] make -f examples/cvode/serial/CMakeFiles/cvAnalytic_mels.dir/build.make examples/cvode/serial/CMakeFiles/cvAnalytic_mels.dir/build [ 85s] make[3]: Leaving directory '/usr/src/packages/BUILD/debian/build' [ 85s] /usr/bin/mpicc -fcommon -Wl,-z,relro -Wl,-z,now CMakeFiles/ark_diurnal_kry_p.dir/ark_diurnal_kry_p.c.o -o ark_diurnal_kry_p -Wl,-rpath,/usr/src/packages/BUILD/debian/build/src/arkode:/usr/src/packages/BUILD/debian/build/src/nvector/parallel:/usr/src/packages/BUILD/debian/build/src/nvector/mpiplusx ../../../src/arkode/libsundials_arkode.so.4.8.0 ../../../src/nvector/parallel/libsundials_nvecparallel.so.5.8.0 ../../../src/nvector/mpiplusx/libsundials_nvecmpiplusx.so.5.8.0 -lm /usr/lib/x86_64-linux-gnu/librt.a [ 85s] make[3]: Entering directory '/usr/src/packages/BUILD/debian/build' [ 85s] make[3]: *** [examples/arkode/C_petsc/CMakeFiles/ark_petsc_ex25.dir/build.make:79: examples/arkode/C_petsc/CMakeFiles/ark_petsc_ex25.dir/ark_petsc_ex25.c.o] Error 1 [ 85s] make[3]: Leaving directory '/usr/src/packages/BUILD/debian/build' [ 85s] make[2]: *** [CMakeFiles/Makefile2:10325: examples/arkode/C_petsc/CMakeFiles/ark_petsc_ex25.dir/all] Error 2
https://build.deepin.com/package/show/deepin:Develop:main/sundials
Ref: https://bugs.debian.org/1023457
https://build.deepin.com/package/show/deepin:Develop:main/sundials