[Debichem-devel] Bug#1076166: mdtraj: fails to build

Sudip Mukherjee sudipm.mukherjee at gmail.com
Fri Jul 12 09:56:02 BST 2024


Control: tags -1 patch
--

On Thu, Jul 11, 2024 at 10:02:07PM +0100, Sudip Mukherjee wrote:
> Source: mdtraj
> Version: 1.10.0-2
> Severity: serious
> Tags: ftbfs
> Justification: fails to build from source (but built successfully in the past)
> X-Debbugs-Cc: sudipm.mukherjee at gmail.com
> 
> Dear Maintainer,
> 
> mdtraj is failing to build from source with the error:

The attached patch will fix the build.

-- 
Regards
Sudip
-------------- next part --------------
diff -Nru mdtraj-1.10.0/debian/changelog mdtraj-1.10.0/debian/changelog
--- mdtraj-1.10.0/debian/changelog	2024-07-05 17:32:59.000000000 +0100
+++ mdtraj-1.10.0/debian/changelog	2024-07-11 21:58:27.000000000 +0100
@@ -1,3 +1,10 @@
+mdtraj (1.10.0-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * cleanup files in correct path. (Closes: #1076166)
+
+ -- Sudip Mukherjee <sudipm.mukherjee at gmail.com>  Thu, 11 Jul 2024 21:58:27 +0100
+
 mdtraj (1.10.0-2) unstable; urgency=medium
 
   * debian patch remove_six_PR1908.patch applies upstream PR#1908 to
diff -Nru mdtraj-1.10.0/debian/rules mdtraj-1.10.0/debian/rules
--- mdtraj-1.10.0/debian/rules	2024-07-05 17:32:59.000000000 +0100
+++ mdtraj-1.10.0/debian/rules	2024-07-11 21:58:21.000000000 +0100
@@ -55,8 +55,8 @@
 	# but dh_python3 can't tell the difference between the different builds,
 	# since py3.11 compiles libtheobald.o with -fwrapv, where py3.12 uses -fno-strict-overflow
 	# So clean up manually (assume the binary difference is not an issue)
-	rm -f debian/python3-$(PYBUILD_NAME)/usr/lib/python3.*/dist-packages/mdtraj/core/lib/libtheobald.a
-	rmdir -p --ignore-fail-on-non-empty debian/python3-$(PYBUILD_NAME)/usr/lib/python3.*/dist-packages/mdtraj/core/lib
+	rm -f debian/python3-$(PYBUILD_NAME)/usr/lib/python3*/dist-packages/mdtraj/core/lib/libtheobald.a
+	rmdir -p --ignore-fail-on-non-empty debian/python3-$(PYBUILD_NAME)/usr/lib/python3*/dist-packages/mdtraj/core/lib
 
 override_dh_sphinxdoc-indep:
 	dh_sphinxdoc -i


More information about the Debichem-devel mailing list