Your message dated Wed, 30 Aug 2017 19:35:01 +0000
with message-id <[email protected]>
and subject line Bug#873667: fixed in casacore 2.3.0-4
has caused the Debian Bug report #873667,
regarding casacore: Changes needed for python3.6 compatibility
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
873667: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=873667
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: casacore
Version: 2.3.0-3
Severity: important
Tags: patch
User: [email protected]
Usertags: origin-ubuntu artful ubuntu-patch
In Ubuntu, we discovered that python-casacore was failing to build from
source on i386 after casacore had been rebuilt for the python3.6 transition.
Surprisingly, the reason for this was that casacore's python3 detection - on
all architectures - had failed against python3.6 and instead linked
everything against libpython2.7. Things nevertheless continued to work,
except on i386 where python-casacore loading libpython2.7 into a running
python3.6 process caused a segfault.
The amazing thing was that this managed to work anywhere else.
I've applied the attached patch to casacore in Ubuntu to add python3.6 to
the search path, fixing the misbuild. Of course, the problem will recur
when python3.7 comes out, so a better upstream fix would be nice.
Filing this bug as important, but please note that python3.6 is coming soon
in Debian at which point this should be considered serious.
Thanks,
--
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/
[email protected] [email protected]
diff -Nru casacore-2.3.0/debian/patches/fix-python3.6-detection.patch
casacore-2.3.0/debian/patches/fix-python3.6-detection.patch
--- casacore-2.3.0/debian/patches/fix-python3.6-detection.patch 1969-12-31
16:00:00.000000000 -0800
+++ casacore-2.3.0/debian/patches/fix-python3.6-detection.patch 2017-08-29
14:58:08.000000000 -0700
@@ -0,0 +1,20 @@
+Description: add support for python3.6
+ The python3 detection code only correctly picks up listed versions of
+ python3 on Debian/Ubuntu. Otherwise it incorrectly falls back to
+ /usr/bin/python and python2.7!
+Author: Steve Langasek <[email protected]>
+Bug-Ubuntu: https://bugs.launchpad.net/bugs/1710532
+
+Index: casacore-2.3.0/python3/CMakeLists.txt
+===================================================================
+--- casacore-2.3.0.orig/python3/CMakeLists.txt
++++ casacore-2.3.0/python3/CMakeLists.txt
+@@ -18,7 +18,7 @@
+ endif()
+
+ # Detect the python properties
+-set(Python_ADDITIONAL_VERSIONS 3.5 3.4)
++set(Python_ADDITIONAL_VERSIONS 3.6 3.5 3.4)
+
+ find_package(Python REQUIRED)
+
diff -Nru casacore-2.3.0/debian/patches/series
casacore-2.3.0/debian/patches/series
--- casacore-2.3.0/debian/patches/series 2017-07-04 03:09:42.000000000
-0700
+++ casacore-2.3.0/debian/patches/series 2017-08-29 14:54:46.000000000
-0700
@@ -9,3 +9,4 @@
Fix-compilation-for-GNU-Hurd.patch
Fix-too-small-int-type-for-memory-on-32-bit-machines.patch
Fix-FTBFS-tStatisticsUtilities-tLatticeStatistics-and-tLC.patch
+fix-python3.6-detection.patch
--- End Message ---
--- Begin Message ---
Source: casacore
Source-Version: 2.3.0-4
We believe that the bug you reported is fixed in the latest version of
casacore, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Ole Streicher <[email protected]> (supplier of updated casacore package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Wed, 30 Aug 2017 17:29:15 +0200
Source: casacore
Binary: casacore-dev casacore-doc casacore-tools libcasa-casa2 libcasa-scimath2
libcasa-scimath-f2 libcasa-python2 libcasa-python3-2 libcasa-tables2
libcasa-measures2 libcasa-lattices2 libcasa-fits2 libcasa-ms2
libcasa-derivedmscal2 libcasa-msfits2 libcasa-coordinates2 libcasa-images2
libcasa-meas2 libcasa-mirlib2
Architecture: source
Version: 2.3.0-4
Distribution: unstable
Urgency: low
Maintainer: Debian Astro Team <[email protected]>
Changed-By: Ole Streicher <[email protected]>
Description:
casacore-dev - CASA core library development files
casacore-doc - CASA core library (documentation)
casacore-tools - Tools built with CASA
libcasa-casa2 - CASA core modules
libcasa-coordinates2 - CASA coordinates library
libcasa-derivedmscal2 - CASA derived mscal library
libcasa-fits2 - CASA FITS library
libcasa-images2 - CASA image processing library
libcasa-lattices2 - CASA lattice library
libcasa-meas2 - CASA functions handling measures
libcasa-measures2 - CASA measures library
libcasa-mirlib2 - CASA mirlib library
libcasa-ms2 - CASA MeasurementSet library
libcasa-msfits2 - CASA msfits library
libcasa-python2 - CASA Python bindings
libcasa-python3-2 - CASA Python bindings
libcasa-scimath-f2 - CASA scimath F library
libcasa-scimath2 - CASA basic mathematical modules
libcasa-tables2 - CASA table system
Closes: 873667
Changes:
casacore (2.3.0-4) unstable; urgency=low
.
* Add support for python3.6 (Closes: #873667)
* Push Standards-Version to 4.1.0. No changes needed.
* Set -dev package to Multi-Arch: same as suggested my Multiarch hinter
Checksums-Sha1:
f5d8ced7c92f6c34b50840b22946f273d3af4120 3340 casacore_2.3.0-4.dsc
ba0a08692fe55b972816d5d45cea28543d54c46d 22364 casacore_2.3.0-4.debian.tar.xz
Checksums-Sha256:
18062e578fcef91f2e636e9b4d38b514cb7544f0cb3b935c4373d5d437f1456a 3340
casacore_2.3.0-4.dsc
c6d1a320d755b5b53f4917092904ff36f600c62c14db1e8f8a214b46dc523628 22364
casacore_2.3.0-4.debian.tar.xz
Files:
ac7b4b71e62de55634ef0910930801a5 3340 science optional casacore_2.3.0-4.dsc
6a96a594c15f0c5929c778f4ff5fa48f 22364 science optional
casacore_2.3.0-4.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEuvxshffLFD/utvsVcRWv0HcQ3PcFAlmnEJ4ACgkQcRWv0HcQ
3PcQaA//T1zwGDQ7xnOSz1lKF/r7ekNDLp+HJQ4pXtf3LixvyJC2odz8e/d+FILx
Oag/r7SkY9X+J2ekUtPA6ZjZordXvJDVQKAS0Mqz5DE5HJraKPIMfsrRHKyFSh6+
JFldvFynQvCyEi0LF7/3o0ceX9HK6vSuWtDTnfAMC2P4iUuxd53qfsoLNjSjNYji
4sa61s942pvXeIPaXHCFR45eBpsLvHYUiCKs7+8XbBK5KnMH7SKBvYZ+YK6ab7FG
ul/x4WnzMA8cfEoQ5KTeXZCfIHm43xl3XFgn9Xx+nLOHZJQeDkUlohkztBRNawRc
O5ITGEwaAY8OuD3xYgXgjAZPyahonyn+FwbefWVkGD3Xg+mGxMwDbdvQAi31OXRL
tMQAGQFgvV/EK/q37P79gxBI5HsPzSHunkQtAPfCa7VW2xCRwUQMNUPieI+fbRBw
vExop3B9UntZ+vDfRsdXLt990c3Gj92lCyutWB5hMLSt9/pWwdSqSeaf0ECPtN6H
ZajzwMAdCSkx5SxVJB9Ob65+Ui32Vl2rg56OEIgOQmp9EJibCsnP6eaLG5+uvNB9
TgamskOQY5ztim5bExmAgoTygEpKsssaN+nDJDBLvV0in40EYVHtopHMN721qpZ3
q6H4pxi3Nv1YSBOAF2zCvL41KavFFR1f8bGUt9r55Oyd8z598PQ=
=rO5m
-----END PGP SIGNATURE-----
--- End Message ---