Bug#793449: adios build fails with python3.5
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 Developerhttp://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.0 -0700 +++ adios-1.8.0/debian/rules 2015-07-23 23:59:21.0 -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
Bug#793449: adios build fails with python3.5
Thanks, I've applied this patch in the repo. adios is part of the netcdf transition which we hope to start in the next few days. This patch should go in as part of that, ahead of the gcc / libstdc++ transition. regards Alastair On 24/07/2015 08:34, Steve Langasek wrote: 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. -- Alastair McKinstry, alast...@sceal.ie, mckins...@debian.org, https://diaspora.sceal.ie/u/amckinstry Misentropy: doubting that the Universe is becoming more disordered. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org