[Debichem-devel] Bug#1016414: abinit: autopkgtest failure

Adrian Bunk bunk at debian.org
Sun Aug 28 23:51:03 BST 2022


Control: reassign -1 src:netcdf-fortran 4.6.0+ds-1
Control: affects -1 src:abinit

On Mon, Aug 01, 2022 at 10:16:38PM +0200, Sebastiaan Couwenberg wrote:
> Installing the dbgsym packages makes the backtrace a little more
> informative:
> 
>  Backtrace for this error:
>  #0  0x7f889dd4b93f in ???
>          at ./signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0
>  #1  0x7f889e3c5518 in __netcdf_nc_interfaces_MOD_addcnullchar
>          at ./fortran/module_netcdf_nc_interfaces.F90:2587
>  #2  0x7f889e3b33b0 in nf_def_var_
>          at ./fortran/nf_genvar.F90:63
>  #3  0x7f889e427b8e in __netcdf_MOD_nf90_def_var_onedim
>          at ./fortran/netcdf4_variables.F90:61
>  #4  0x559ee1f317bf in __m_nctk_MOD_write_var_netcdf
>          at ./shared/common/src/27_toolbox_oop/m_nctk.F90:2941
>  #5  0x559ee1c23cd0 in __m_parser_MOD_prttagm
>          at ./src/42_parser/m_parser.F90:3538
>  #6  0x559ee1c2588f in __m_parser_MOD_prttagm_images
>          at ./src/42_parser/m_parser.F90:3668
>  #7  0x559ee18ae96f in __m_outvar_a_h_MOD_outvar_a_h
>          at ./src/57_iovars/m_outvar_a_h.F90:191
>  #8  0x559ee18ad8fa in __m_outvars_MOD_outvars
>          at ./src/57_iovars/m_outvars.F90:371
>  #9  0x559ee0bbfffd in abinit
>          at ./src/98_main/abinit.F90:323
>  #10  0x559ee0bbd88e in main
>          at ./src/98_main/abinit.F90:88
> 
> Rebuilding with netcdf-fortan (4.6.0+ds-1) resolves the issue.

Usually that's a strong indication about ABI breakage in a library.

I know nothing about Fortran ABI rules, but nf90_def_var_oneDim() 
gaining 3 (optional) parameters in 4.6.0 is suspiciously close
to #3 in the backtrace.

Please check with upstream whether a soname bump might be necessary
for libnetcdff.

> Kind Regards,
> 
> Bas

cu
Adrian



More information about the Debichem-devel mailing list