On 18/11/24 12:18 am, Attila Kovacs wrote:
I'm still looking for a sponsor to review and upload the calceph
package on salsa:
https://salsa.debian.org/debian-astro-team/calceph
Unfortunately I am very short on time, hopefully Ole/some else could
help you here.
It has some issues with the arm64 cross build. The build normally
requires gfortran, which is at the root of the issue. If I set the
build dependency as `gfortran` then the cross build complains that
the dependency cannot be met. If instead I set it to
`gfortran:native`, then the build succeeds, albeit without the
fortran modules, and then the install fails for the
`libcalceph-fortran-dev` sub-package as a result. Any advice is
welcome on how to fix the cross-compiling of the FORTRAN bindings of
the library. (Or if it cannot be fixed, maybe we can disable the
subpackage for non-native platforms -- but I don't know how to do
that either.)
This needs to be fixed at toolchain level and there may not be much
that you can do here. Using :native here is probably wrong. I would
suggest removing :native and let the cross-build
fail. It is not a critical step but just good to have.
For more context see:
https://lists.debian.org/debian-cross/2024/11/msg00000.html
Thanks for the help in advance,
-- A.
-n