Your message dated Fri, 29 May 2026 11:48:42 +0000
with message-id <[email protected]>
and subject line Bug#1120039: fixed in flexpart 9.02-28
has caused the Debian Bug report #1120039,
regarding flexpart: fix FTBFS on riscv64
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1120039: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1120039
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: flexpart
Version: 9.02-27
Severity: important
Tags: ftbfs patch
User: [email protected]
Usertags: riscv64
X-Debbugs-Cc: [email protected]

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.

-- 
Regards,
--
  Bo YU

diff -Nru flexpart-9.02/debian/changelog flexpart-9.02/debian/changelog
--- flexpart-9.02/debian/changelog      2025-11-02 17:53:20.000000000 +0800
+++ flexpart-9.02/debian/changelog      2025-11-04 09:12:08.000000000 +0800
@@ -1,3 +1,10 @@
+flexpart (9.02-27.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS on riscv64. Closes: #-1
+
+ -- Bo YU <[email protected]>  Tue, 04 Nov 2025 09:12:08 +0800
+
 flexpart (9.02-27) unstable; urgency=medium
 
   * Use dh-fortran-mod to get default fmoddir, flibdrir. Closes: #1119734
diff -Nru flexpart-9.02/debian/rules flexpart-9.02/debian/rules
--- flexpart-9.02/debian/rules  2025-11-02 17:52:40.000000000 +0800
+++ flexpart-9.02/debian/rules  2025-11-03 20:36:45.000000000 +0800
@@ -20,6 +20,9 @@
 ifeq ($(CPU), ppc64el)
   export FCFLAGS:= $(FCFLAGS) -mcmodel=large
 endif
+ifeq ($(CPU), riscv64)
+  export FCFLAGS:= $(FCFLAGS) -mcmodel=large -fno-pie
+endif
 
 LC_ALL=C
 export LC_ALL

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: flexpart
Source-Version: 9.02-28
Done: Alastair McKinstry <[email protected]>

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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alastair McKinstry <[email protected]> (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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

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 <[email protected]>
Changed-By: Alastair McKinstry <[email protected]>
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-----

Attachment: pgpjX8RdqwOXU.pgp
Description: PGP signature


--- End Message ---

Reply via email to