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.

Regards,
Aurelien

-- 
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 14:17:19.000000000 +0000
+++ imath-3.1.6/debian/changelog	2023-08-13 09:25:04.000000000 +0000
@@ -1,3 +1,11 @@
+imath (3.1.6-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Define the Python modules installation directory using
+    PYIMATH_OVERRIDE_PYTHON_INSTALL_DIR. Closes: #1042171.
+
+ -- Aurelien Jarno <aure...@debian.org>  Sun, 13 Aug 2023 09:25:04 +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 14:16:33.000000000 +0000
+++ imath-3.1.6/debian/rules	2023-08-13 09:25:03.000000000 +0000
@@ -21,7 +21,8 @@
 	dh_auto_configure -- \
 		-DDOCS=$(BUILDDOC) \
 		-DCMAKE_BUILD_RPATH_USE_ORIGIN=ON \
-		-DPYTHON=ON
+		-DPYTHON=ON \
+		-DPYIMATH_OVERRIDE_PYTHON_INSTALL_DIR=lib/python3/dist-packages
 
 # https://github.com/AcademySoftwareFoundation/Imath/issues/226
 override_dh_auto_test-arch:

Attachment: signature.asc
Description: PGP signature

Reply via email to