home  bbs  files  messages ]

      ZZLI4416             linux.debian.bugs.dist             15322 messages      

[ previous | next | reply ]

[ list messages | list forums ]

  Msg # 14 of 15322 on ZZLI4416, Wednesday 11-04-25, 11:20  
  From: BO YU  
  To: ALL  
  Subj: Bug#1120039: flexpart: fix FTBFS on risc  
 10: 
 io/blob/master/_includes/ 
 protocol="application/pgp- 
 From: vimer@debian.org 
  
 --lgdlucb73c3dunsn 
 Content-Type: text/plain; charset=us-ascii 
 Content-Disposition: inline 
 Content-Transfer-Encoding: quoted-printable 
  
 Package: flexpart 
 Version: 9.02-27 
 Severity: important 
 Tags: ftbfs patch 
 User: debian-riscv@lists.debian.org 
 Usertags: riscv64 
 X-Debbugs-Cc: debian-riscv@lists.debian.org 
  
 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 
  
  
 --lgdlucb73c3dunsn 
 Content-Type: text/plain; charset=us-ascii 
 Content-Disposition: attachment; filename="flexpart-ftbfs-riscv64.debdiff" 
 Content-Transfer-Encoding: quoted-printable 
  
 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   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 
  
 --lgdlucb73c3dunsn-- 
  
 -----BEGIN PGP SIGNATURE----- 
  
 iQIzBAABCgAdFiEEIcmhjYVTlmab0tjp+RVP3hQ+S68FAmkJ0aMACgkQ+RVP3hQ+ 
 S6/4aQ/+KiLlNV0HV4ww0JxJZRgRL41l3g041UOXYL9AqqKL4XQmxU/9VzwqUlhi 
 9aqF/P3Q8w72nodAclPj/411GOTAPtDVwU5tdtX6j0ETNrV8FCmQulZ0DqPiS/nR 
 AF0e2q7nSXvNdY88eFixOJ0Bw87ksswhpg6XWTVp7R33OBc9RQpXmQ1lapsk7QdK 
 Gs3BlrCKnrmHYSmcAXioWzWqK9CoQWFrBkz+OaKn698IekEFishEZDx7kFxSbXtw 
 +vH/RffzcC5/j+bFPyHIavQTPwM8QtxMOXBxQ8nlGIOAxU5EgMPS+4X2PruG2Tcb 
 GBAy2AwlZttgMEY6kWpNkMbjrNKSq16k+KsL5/WNuVyhhNbPOPi9heO/XRwUxfhe 
 nieprLEApSdkZjBKazUOHAxib0X6B49JuocGpLttla2fA7yvBI6I4AR6bPTwGGw9 
 hRtyEVtdDd0D6Jy9XRaqIb8jIGes4kEZwBsCMIFCOk4pCY0eVS0JcJY7rb5e1Irc 
 FPTEXI/+GW56ggMogyuaT4aQvjWLEl/5CVg7fGL3mouLmvdvH6vT/P3h7TmUDF5L 
 SA1zbbCdaN9UjIOTxgoJwrbcZfiyginctKn+3MGfHBNc7bH5vGwH1qAq9+yzB0Ye 
 cL+YOlckhnExnYH2oPwayCtc229J1RYp7ixiQrUa7CVUMuuvNx4= 
 =3dgp 
 -----END PGP SIGNATURE----- 
  
 --- SoupGate-Win32 v1.05 
  * Origin: you cannot sedate... all the things you hate (1:229/2) 
    

[ list messages | list forums | previous | next | reply ]

search for:

328,136 visits
(c) 1994,  bbs@darkrealms.ca