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

Sudip Mukherjee sudipm.mukherjee at gmail.com
Thu Jul 11 22:02:07 BST 2024


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:

dh_numpy3
	mv debian/python3-mdtraj.substvars.new debian/python3-mdtraj.substvars
	mv debian/python-mdtraj-doc.substvars.new debian/python-mdtraj-doc.substvars
# setup.py builds the static lib libtheobald.a for each python version
# 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-mdtraj/usr/lib/python3.*/dist-packages/mdtraj/core/lib/libtheobald.a
rmdir -p --ignore-fail-on-non-empty debian/python3-mdtraj/usr/lib/python3.*/dist-packages/mdtraj/core/lib
rmdir: failed to remove 'debian/python3-mdtraj/usr/lib/python3.*/dist-packages/mdtraj/core/lib': No such file or directory
make[1]: *** [debian/rules:59: execute_after_dh_python3] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:11: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2


The latest log can be seen at https://buildd.debian.org/status/fetch.php?pkg=mdtraj&arch=amd64&ver=1.10.0-2%2Bb1&stamp=1720720921&raw=0

-- 
Regards
Sudip



More information about the Debichem-devel mailing list