Your message dated Sat, 13 Jun 2020 01:33:42 +0000
with message-id <[email protected]>
and subject line Bug#946274: fixed in gnuradio 3.8.1.0-2
has caused the Debian Bug report #946274,
regarding gnuradio: Fails to build if build system has Python 3.6 installed
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.)


-- 
946274: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=946274
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: gnuradio
Version: 3.8.0.0-6
Severity: normal

If the build system has Python 3.6 (as /usr/bin/python3.6) installed while
the libpython3-dev packages uses Python 3.7, the build fails. This can
still be the case on old systems if the user has any dependencies on older
Python.
This does not happen on build daemons or in a normal
pbuilder/sbuild environment, so I'm not marking this as an important bug
(FTBFS).
However: This could easily become an issue if/when Python3.8 starts to
appear, especially if Debian switches the default to Python 3.8 before
getting rid of the need to have Python 3.7 installed.
The root cause is that cmake FindPythonLibs looks
for /usr/lib/x86_64-linux-gnu/libpython3.?m.so where the 3.? part needs to
match the version of the /usr/bin/python* binary it chose before. And for
some reason, it looks for python3.x (with x in ascending order) before
checking for python3. If the python3.6 package is present, it chooses
/usr/bin/python3.6 and would thus expect the libpython3.6m.so library, but
libpython3-dev gets the libpython3.7m.so library installed - so there is a
mismatch, cmake disables the Python support in gnuradio and the package
fails to complete the build because it can't find the python related files
mentioned in the debian/*.install files.

The workaround is simple: Enforce use of /usr/bin/python3 - This is
provided froma binary package (python3-minimal) that comes from the same
source as the libpython3-dev package (python3-defaults) and is thus
guaranteed to always match with the library cmake checks.

Index: gnuradio-3.8.0.0/debian/rules
===================================================================
--- gnuradio-3.8.0.0.orig/debian/rules
+++ gnuradio-3.8.0.0/debian/rules
@@ -6,7 +6,7 @@ export DEB_HOST_MULTIARCH
  dh $@ --with python3 --buildsystem=cmake+ninja

 override_dh_auto_configure:
- dh_auto_configure  --buildsystem=cmake+ninja --
-DLIB_SUFFIX="/$(DEB_HOST_MULTIARCH)" -DENABLE_INTERNAL_VOLK=OFF
+ dh_auto_configure  --buildsystem=cmake+ninja --
-DLIB_SUFFIX="/$(DEB_HOST_MULTIARCH)" -DENABLE_INTERNAL_VOLK=OFF
-DPYTHON_EXECUTABLE="/usr/bin/python3"

 override_dh_python3:
  dh_python3 --no-ext-rename

--- End Message ---
--- Begin Message ---
Source: gnuradio
Source-Version: 3.8.1.0-2
Done: [email protected] (A. Maitland Bottoms)

We believe that the bug you reported is fixed in the latest version of
gnuradio, 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.
A. Maitland Bottoms <[email protected]> (supplier of updated gnuradio 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: Fri, 12 Jun 2020 20:02:59 -0400
Source: gnuradio
Architecture: source
Version: 3.8.1.0-2
Distribution: unstable
Urgency: medium
Maintainer: A. Maitland Bottoms <[email protected]>
Changed-By: A. Maitland Bottoms <[email protected]>
Closes: 940523 946065 946274 958439 958558 962365
Changes:
 gnuradio (3.8.1.0-2) unstable; urgency=medium
 .
   * update to v3.8.1.0-32-ga9fc5a5dd3
   * Remove unused liborc-0.4-dev build-dep.
   * Track boost-defaults version (Closes: #962365)
   * Recommend python3-pyqt5.qwt (Closes: #958439)
   * Enforce use of /usr/bin/python3 (Closes: #946274)
   * Try tests even on i386 (Closes: #946065)
   * Drop unneeded GTK+ 2 libcanberra-gtk*-module dependencies (Closes: #958558)
   * Recent builds have enabled jack (Closes: #940523)
Checksums-Sha1:
 5314ebc8dda81e21c50eca435f52079bfa7fb7e8 4470 gnuradio_3.8.1.0-2.dsc
 b5a09852b00717715f817c7c23b6e7b51f7b765d 1498204 
gnuradio_3.8.1.0-2.debian.tar.xz
 ab2b5d98ed08e81bca32c32a28a8ab29b884b79a 32763 
gnuradio_3.8.1.0-2_amd64.buildinfo
Checksums-Sha256:
 2b3bc92e37d2d5e130cfea8a7cc4087746b70a87a86b042535e17f1f124c6c57 4470 
gnuradio_3.8.1.0-2.dsc
 c3bd25fd5f9b7c6bd094d09612a98e4687ab1639529bc8b79185c08c93e58adb 1498204 
gnuradio_3.8.1.0-2.debian.tar.xz
 4214aff88e6928a34d9788f12bb97d80ba5819e19227c7c27d78d65ec78d3fd6 32763 
gnuradio_3.8.1.0-2_amd64.buildinfo
Files:
 42cdacb7ed942dbd219d2e4b9bc008a6 4470 comm optional gnuradio_3.8.1.0-2.dsc
 e0a72ea8cf736bb675a743fe0780b6cf 1498204 comm optional 
gnuradio_3.8.1.0-2.debian.tar.xz
 1a9545679d5066a8f2dae81706071707 32763 comm optional 
gnuradio_3.8.1.0-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEB8qH3cTCsGJAtrF0UEHxiR9E4JAFAl7kKGsACgkQUEHxiR9E
4JBZFRAA0qlYyLCaoV9mj1QF5DrtHtADvoQ6ErQEi63HAH+YtbMyjzsnLVa/iQhP
COqn/9AArjGtk6YbwrfB0JHThXPIW+GOaAZlVS2rii+Fh+TYg6ct64XsW8JKTS2T
3/FAalETFViedzwz583CGAFMaLoTWBNGGXlf9ZN+4YgQuiSfP4XBuUb8bMW5mnLI
SyzGtV6GYwOpAWygHcH2aOSJq8sAogwRmjAl9gvi/WMBY9QlSapksZE/XK0pkx7t
SpaqsV6fBwZfBhC4t8IHa0ybvREjPAtMi2cfDQB0ePpz0WTb6lvQ5VKSks4BTrGE
VE9fT2wyYfwhmp3X6Zk7PYthmmtl2u2jHUJmOVkEoNe046ijBaVBb6f4T4ImCg75
v/EBaYMWdO10wkkA0Xhsqg7XDJV9RSd5WBziQ8cm6Mzw/KkoQBnFQzuejrt0R3Sz
YHZwkx9Ddocsa6Mzm3yR1E7mVHVUiLc+R6GSFRm0UmjD/VZQ1vwgbzm5abPEOcf9
gWPptk125/A/vD7NSi2qx2i0hSTTiapeEBZ3J796CA8Wo8vEen+Dfj9FLH5H3Qwx
y693sfl8XEtdB47U6t6ybWtaibryNeM+U884in8rUigrzOsUZDfxfd5yKmTIE7bM
XGYe9fsBea9FlWrijYwsO4a1xkOPM2iaOCcuDq+8E4G1fQgSOgc=
=X5vt
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to