Your message dated Mon, 02 Dec 2024 16:20:09 +0000
with message-id <[email protected]>
and subject line Bug#1085491: fixed in ray 2.3.1-9
has caused the Debian Bug report #1085491,
regarding ray FTCBFS: uses mpicxx
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.)


-- 
1085491: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1085491
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: ray
Version: 2.3.1-8
Tags: patch
User: [email protected]
Usertags: ftcbfs

ray fails to cross build from source, because it uses mpicxx. The
problem here is that both mpi and cross building want to change the
compiler name (for injecting compiler flags and for selecting the
architecture to build for respectively). Usage of mpicxx is
fundamentally incompatible with cross building - and unnecessary. One
can simply pass the necessary flags by querying .pc files as is done for
any other library. I'm attaching a patch for your convenience.

Helmut
diff --minimal -Nru ray-2.3.1/debian/changelog ray-2.3.1/debian/changelog
--- ray-2.3.1/debian/changelog  2023-12-06 14:16:19.000000000 +0100
+++ ray-2.3.1/debian/changelog  2024-10-19 22:06:00.000000000 +0200
@@ -1,3 +1,10 @@
+ray (2.3.1-8.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Compute mpi compile flags using pkgconf. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Sat, 19 Oct 2024 22:06:00 +0200
+
 ray (2.3.1-8) unstable; urgency=medium
 
   * Team upload.
diff --minimal -Nru ray-2.3.1/debian/control ray-2.3.1/debian/control
--- ray-2.3.1/debian/control    2023-12-06 14:16:19.000000000 +0100
+++ ray-2.3.1/debian/control    2024-10-19 22:06:00.000000000 +0200
@@ -7,7 +7,8 @@
 Build-Depends: debhelper-compat (= 13),
                zlib1g-dev,
                libbz2-dev,
-               mpi-default-dev
+               mpi-default-dev,
+               pkgconf,
 Standards-Version: 4.6.2
 Vcs-Browser: https://salsa.debian.org/med-team/ray
 Vcs-Git: https://salsa.debian.org/med-team/ray.git
diff --minimal -Nru ray-2.3.1/debian/rules ray-2.3.1/debian/rules
--- ray-2.3.1/debian/rules      2023-12-06 14:16:19.000000000 +0100
+++ ray-2.3.1/debian/rules      2024-10-19 22:06:00.000000000 +0200
@@ -1,10 +1,14 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
 
+include /usr/share/dpkg/buildtools.mk
+
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export DEB_CXXFLAGS_MAINT_APPEND = $(shell $(PKG_CONFIG) --cflags mpi-c)
+export DEB_LDFLAGS_MAINT_APPEND = $(shell $(PKG_CONFIG) --libs mpi-c)
 
 %:
        dh $@
@@ -15,7 +19,7 @@
        rm -f README.Ray README.RayPlatform RayPlatform/README
 
 override_dh_auto_build:
-       dh_auto_build -- CXXFLAGS="$(CXXFLAGS)" DEBLDFLAGS="$(LDFLAGS) 
-lpthread" HAVE_LIBBZ2=y HAVE_LIBZ=y
+       dh_auto_build -- MPICXX='$(CXX)' CXXFLAGS="$(CXXFLAGS)" 
DEBLDFLAGS="$(LDFLAGS) -lpthread" HAVE_LIBBZ2=y HAVE_LIBZ=y
        #Rename 2 docs to make more sence in package context
        cp README.md README.Ray
        cp RayPlatform/README.md README.RayPlatform

--- End Message ---
--- Begin Message ---
Source: ray
Source-Version: 2.3.1-9
Done: Andreas Tille <[email protected]>

We believe that the bug you reported is fixed in the latest version of
ray, 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.
Andreas Tille <[email protected]> (supplier of updated ray 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: Mon, 02 Dec 2024 16:37:51 +0100
Source: ray
Architecture: source
Version: 2.3.1-9
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team 
<[email protected]>
Changed-By: Andreas Tille <[email protected]>
Closes: 1085491
Changes:
 ray (2.3.1-9) unstable; urgency=medium
 .
   [ Helmut Grohne ]
   * Fix FTCBFS: Compute mpi compile flags using pkgconf. (Closes: #1085491)
 .
   [ Andreas Tille ]
   * Standards-Version: 4.7.0 (routine-update)
Checksums-Sha1:
 ba9a22c0c3997c170c79217754b0224a74e73666 2123 ray_2.3.1-9.dsc
 529817b66f6283a93b5188879a686be740375aea 213116 ray_2.3.1-9.debian.tar.xz
 338e5e59f4c74c0264947b9bd0ae47156ae1277e 10857 ray_2.3.1-9_amd64.buildinfo
Checksums-Sha256:
 a87757a55c5de347d48382e6ec5ba093d19bdd21f99b755d5d3b17399335211a 2123 
ray_2.3.1-9.dsc
 79bf6911836b001e28a2ebfb6f104db9dc71317daa06d9b5096419466a55a660 213116 
ray_2.3.1-9.debian.tar.xz
 6ce8d6c09fff81eeb60d2b21b43337cc47b29f11f4515ab4a09c000cbd6c31b6 10857 
ray_2.3.1-9_amd64.buildinfo
Files:
 90c3cd34aa266fd24090b5f29096628d 2123 science optional ray_2.3.1-9.dsc
 ea3a621fb863fcd3d3d56f98921f4c17 213116 science optional 
ray_2.3.1-9.debian.tar.xz
 ef561b1d81799aadab7c6aa13b623871 10857 science optional 
ray_2.3.1-9_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAmdN2isRHHRpbGxlQGRl
Ymlhbi5vcmcACgkQV4oElNHGRtFoIg/+MVlZtTyBKNtQUiBpeQEbyDY3YzvhKyYG
uANN09+tUiXdcY7Sn58L78S6px+BdVC+1+mzFhYbqKSCh/fcp/hPH3Djr0E+tnqA
BYSqbQpaJs5aSoiVltEsiDZqXwDWI7oEzShzqZSaM7RAYW3LtcZTi8h7bR28z97C
2vKCHU/s+DQTPF0faPJB9lEKuUd5EnTQkH5xT8q2jOD1LN3ILfdT/00ua3X6D+Nv
PvmX16c3a+G7DSKb7uXAXIt6ycQycfVD/uxxkHAt5Ez0fWkzJl4xfQwdb5Lr72eM
FLinTcsoBjyDiH74GRT5MzcSxNLRXr2IVLCh2OwnHdsQaUNkUZgTXsvX46ckZ/+U
D/ueAPczmNaVbX8gMRxo/8gWlzfQQ2bBykZK6AS5Se/I9CaJc5OkTNxXAQNDUQAB
wIN8ze5yikW0eKYgMkPQPkKaZ++7i5+TJ73MASxF5CHJZkmUuhJV1VKT+fx4Zv2S
rNkkIVr7jqw96d+WAYHEOGjcLQUYAQ2TPHGp8OLYlVaBGaL9nZ4/AgyWbxUnUgX/
8J/EmkMYCeqyqUUFOtHp0x2EY+YyrTRddA+y7dANNZKDado5G+Lfq1cgPV7Y/QKC
iBe1dFsGdNkkbh183D+b/60SV/edfZDktZfzoxPLbbu94ykipXTu4vrzZ6H0PhIQ
xkvMzSs7SaE=
=ntji
-----END PGP SIGNATURE-----

Attachment: pgp_wfanJ4pjr.pgp
Description: PGP signature


--- End Message ---

Reply via email to