#1120039 flexpart: fix FTBFS on riscv64

Package:
flexpart
Source:
flexpart
Description:
Particle Dispersion model for tracing air transport phenomena
Submitter:
Bo YU
Date:
2026-05-29 11:51:01 UTC
Severity:
normal
Tags:
#1120039#5
Date:
2025-11-04 10:12:59 UTC
From:
To:
Dear Maintainer,

Now flexpart has one FTBFS issue on riscv64 like:

```
...
gfortran `LC_ALL=C ls *.o` -o flexpart.gfs -Wl,-z,relro -O2 -I/usr/lib/riscv64-linux-gnu/fortran/gfortran-mod-16 -L/usr/lib/riscv64-linux-gnu/fortran/gnu -O2 -fdefault-real-8 -fconvert=little-endian -frecord-marker=4 -I/usr/include -L/usr/lib -Wl,--as-needed  -leccodes_f90 -leccodes -lm
convmix_gfs.o: in function `convmix_':
convmix_gfs.f90:(.text+0xdc): relocation truncated to fit: R_RISCV_PCREL_HI20 against `igrid.1'
getfields.o: in function `getfields_':
getfields.f90:(.text+0x1f4): relocation truncated to fit: R_RISCV_PCREL_HI20 against `wwh.1'
gridcheck_gfs.o: in function `gridcheck_':
gridcheck_gfs.f90:(.text+0x5e6): relocation truncated to fit: R_RISCV_PCREL_HI20 against `zsec4.0'
gridcheck_nests.o: in function `gridcheck_nests_':
gridcheck_nests.f90:(.text+0x450): relocation truncated to fit: R_RISCV_PCREL_HI20 against `zsec4.0'
init_domainfill.o: in function `init_domainfill_':
init_domainfill.f90:(.text+0x356): relocation truncated to fit: R_RISCV_PCREL_HI20 against `colmass.1'
partoutput_short.o: in function `partoutput_short_':
partoutput_short.f90:(.text+0x2ac): relocation truncated to fit: R_RISCV_PCREL_HI20 against `idump.1'
plumetraj.o: in function `plumetraj_':
plumetraj.f90:(.text+0x210): relocation truncated to fit: R_RISCV_PCREL_HI20 against `yl.1'
random.o: in function `ran3_':
random.f90:(.text+0x2): relocation truncated to fit: R_RISCV_PCREL_HI20 against `.LANCHOR0'
readavailable.o: in function `readavailable_':
readavailable.f90:(.text+0x208): relocation truncated to fit: R_RISCV_PCREL_HI20 against `wfname1.2'
readlanduse.o: in function `readlanduse_':
readlanduse.f90:(.text+0xe0): relocation truncated to fit: R_RISCV_PCREL_HI20 against `ilr_buffer.0'
readwind_gfs.o: in function `readwind_':

```

I follow the tip of other architectures then the package can
be built on riscv64.

Could we have a try on it? Please let me know any issue.

#1120039#10
Date:
2026-05-29 11:48:42 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
flexpart, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1120039@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alastair McKinstry <mckinstry@debian.org> (supplier of updated flexpart package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Fri, 29 May 2026 12:24:01 +0100
Source: flexpart
Architecture: source
Version: 9.02-28
Distribution: unstable
Urgency: medium
Maintainer: Alastair McKinstry <mckinstry@debian.org>
Changed-By: Alastair McKinstry <mckinstry@debian.org>
Closes: 1120039
Changes:
 flexpart (9.02-28) unstable; urgency=medium
 .
   * Depend on dh-fortran
   * Standards-Version: 4.7.4
   * Apply fix for riscv64, thanks Bo Yu. Closes: #1120039
Checksums-Sha1:
 db236f52054d35aebf89a92b957ec0167b9cf39d 1936 flexpart_9.02-28.dsc
 43df27083dc42ad6e8552056a43cb2a30df8153c 5516 flexpart_9.02-28.debian.tar.xz
Checksums-Sha256:
 212c2e36a37d09d29e470210c58355fd44335271c33d1c2c466da2fa3c68c076 1936 flexpart_9.02-28.dsc
 e95801ac17f327f814f83f62e775742d03d57144ce0f36c3efe9c1ef67831e46 5516 flexpart_9.02-28.debian.tar.xz
Files:
 e541e6b7bfa5bf35d3620cd86230cfbf 1936 science optional flexpart_9.02-28.dsc
 ddf1ca1ea25348300793120a418b9db7 5516 science optional flexpart_9.02-28.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEgjg86RZbNHx4cIGiy+a7Tl2a06UFAmoZeCwACgkQy+a7Tl2a
06Unbw//edoj7sOqbxCKlewuUrkKSVnmS3kJZoor4Ee2/mOZJc8XdkdwAr+ib8hJ
k2Xb3/24+GbqaOEYPCGdHcvinFtV0Hz0kGYTWWQzJwdVQxJQpMRk2nGeCBY6/fKX
lIjr67wlVVHiANoqPQZCsFq1nyfMOosgFLQYsremk1AZinlPeboGsqQxP2hCXYzu
lUOEsMPYtIrnT0iw/tNDJ9defkIXptkdQFQGXUBLrVFFeho6/LOjfnI0o8B7RMXg
ul28fnMvBWF3U+SIGGGuAsgAjZsgh8+AEXBaTIl1xNysedCzaQtzNOnyO+84zLkS
tSg9kVALfpU3fXocGCdYcjoa/fI/Vt+QtuRs+YsoevkCL0JUJ0yMxYxgDX0GxLRQ
ExHuFz23Zcjly1epQGy9/gLoKNCz1+r6F8lFFFiyaNBPj7dmXdRfKcHovpmwIxbP
zWglNtjaC41JAfcaDUH8dcAB7Pv4b/AVJuYXCtBab73OzdYRSMBBLlTBv8UdLvQS
3lK6Enoe346dnzAzyS8maX9Zzkl5VRpEoBq6nJPrqH6YM1dFdK+AFgeqQqMbpOZ7
DQ/yicgSimLBtVkast4j0X+YPU6tNAkEGanZV50isJtBmF1zylXL08wB4fyKZ4Jh
wKFFnyJ8L9ubvDUO1Yq+KcFD/8mUXw4SnjOfTUlxqF2tRupBtAs=
=Z6eu
-----END PGP SIGNATURE-----