Package: adios Version: 1.8.0-2 Severity: normal Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu wily ubuntu-patch
Hi Alastair, Ubuntu is in the process of enabling python3.5 support for the upcoming release, and has found that adios fails to build because of differences in how multiarch is handled upstream between python3.4 and python3.5. The attached patch fixes the build failure, for the moment by special-casing python3.5. As Debian will be transitioning to python3.5 fairly soon, I expect the severity of this bug will be raised before too long. Thanks for considering the patch. -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. Ubuntu Developer http://www.debian.org/ slanga...@ubuntu.com vor...@debian.org
diff -Nru adios-1.8.0/debian/rules adios-1.8.0/debian/rules --- adios-1.8.0/debian/rules 2015-07-02 11:59:39.000000000 -0700 +++ adios-1.8.0/debian/rules 2015-07-23 23:59:21.000000000 -0700 @@ -87,10 +87,14 @@ for p in $(PY3VERS); do \ v=`echo $$p | cut -c7,9` ;\ CYV=cpython-$${v}m ;\ + CYVM=cpython-$${v}m-${DEB_HOST_MULTIARCH} ;\ + if [ $$p = python3.5 ]; then \ + CYV=$$CYVM ;\ + fi;\ mv $(TOP)/debian/tmpp/lib/$${p}/site-packages/adios.$${CYV}.so \ - debian/tmp/usr/lib/python3/dist-packages/adios.$${CYV}-${DEB_HOST_MULTIARCH}.so ; \ + debian/tmp/usr/lib/python3/dist-packages/adios.$${CYVM}.so ; \ mv $(TOP)/debian/tmpp/lib/$${p}/site-packages/adios_mpi.$${CYV}.so \ - debian/tmp/usr/lib/python3/dist-packages/adios_mpi.$${CYV}-${DEB_HOST_MULTIARCH}.so ; \ + debian/tmp/usr/lib/python3/dist-packages/adios_mpi.$${CYVM}.so ; \ done mv $(TOP)/debian/tmpp/lib/${PY2VERS}/site-packages/adios_mpi.so \ debian/tmp/usr/lib/${PY2VERS}/dist-packages/adios_mpi.${DEB_HOST_MULTIARCH}.so