Dear maintainer,

On 2023-08-13 11:40, Aurelien Jarno wrote:
> Dear maintainer,
> 
> On 2023-08-13 10:53, Aurelien Jarno wrote:
> > On 2023-07-26 22:03, Lucas Nussbaum wrote:
> > > Source: imath
> > > Version: 3.1.6-1
> > > Severity: serious
> > > Justification: FTBFS
> > > Tags: trixie sid ftbfs
> > > User: lu...@debian.org
> > > Usertags: ftbfs-20230726 ftbfs-trixie
> > > 
> > > Hi,
> > > 
> > > During a rebuild of all packages in sid, your package failed to build
> > > on amd64.
> > > 
> 
> The solution to fix this is to use PYIMATH_OVERRIDE_PYTHON_INSTALL_DIR
> to define the installation of the Python modules instead of relying on
> autodetection.
> 
> I have prepared a NMU for imath (versioned as 3.1.6-1.1) to fix this
> FTBFS, you will find the diff attached. I have uploaded DELAYED/2.
> Please feel free to tell me if I should delay it further or cancel it.

In the meantime, I have found a thread about the behavior change for
Python packages built with CMake on debian-devel@l.d.o [1]. I have
updated the NMU accordingly, please find attached the new diff.

Regards,
Aurelien

[1] https://lists.debian.org/debian-devel/2023/07/msg00307.html

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurel...@aurel32.net                     http://aurel32.net
diff -Nru imath-3.1.6/debian/changelog imath-3.1.6/debian/changelog
--- imath-3.1.6/debian/changelog	2023-01-21 15:17:19.000000000 +0100
+++ imath-3.1.6/debian/changelog	2023-08-13 18:36:57.000000000 +0200
@@ -1,3 +1,11 @@
+imath (3.1.6-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Export DEB_PYTHON_INSTALL_LAYOUT = deb in debian/rules to adjust to recent
+    change in CMake's Python_SITEARCH (Closes: #1042171).
+
+ -- Aurelien Jarno <aure...@debian.org>  Sun, 13 Aug 2023 16:36:57 +0000
+
 imath (3.1.6-1) unstable; urgency=medium
 
   * New upstream release
diff -Nru imath-3.1.6/debian/rules imath-3.1.6/debian/rules
--- imath-3.1.6/debian/rules	2023-01-21 15:16:33.000000000 +0100
+++ imath-3.1.6/debian/rules	2023-08-13 18:36:57.000000000 +0200
@@ -4,6 +4,7 @@
 
 export DH_OPTIONS
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export DEB_PYTHON_INSTALL_LAYOUT = deb
 
 INSTDIR = debian/tmp
 

Attachment: signature.asc
Description: PGP signature

Reply via email to