[debian-mysql] Bug#914112: galera-3 FTBFS: error: no matching function for call to 'asio::ssl::context::context(asio::io_service&, asio::ssl::context_base::method)'

Logan Rosen logan at ubuntu.com
Wed Dec 19 01:07:06 GMT 2018


Control: tags -1 patch

Dear Maintainer,

In Ubuntu, the attached patch was applied to achieve the following:

  * debian/rules: Use bundled asio, since system asio is too new (> 1.10.8).
  * debian/control: Remove build-dependency of libasio-dev (for now).

Thanks for considering the patch.

Logan

-- System Information:
Debian Release: buster/sid
  APT prefers cosmic-updates
  APT policy: (500, 'cosmic-updates'), (500, 'cosmic-security'), (500, 'cosmic'), (400, 'cosmic-proposed'), (100, 'cosmic-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-12-generic (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
-------------- next part --------------
diff -Nru galera-3-25.3.24/debian/control galera-3-25.3.24/debian/control
--- galera-3-25.3.24/debian/control	2018-10-15 09:23:16.000000000 -0400
+++ galera-3-25.3.24/debian/control	2018-11-17 20:37:31.000000000 -0500
@@ -6,7 +6,6 @@
 Standards-Version: 4.2.1
 Build-Depends: check,
                debhelper (>= 9.20151219~),
-               libasio-dev,
                libboost-dev (>= 1.41),
                libboost-program-options-dev (>= 1.41),
                libssl-dev,
diff -Nru galera-3-25.3.24/debian/rules galera-3-25.3.24/debian/rules
--- galera-3-25.3.24/debian/rules	2018-10-15 04:27:36.000000000 -0400
+++ galera-3-25.3.24/debian/rules	2018-11-17 20:36:49.000000000 -0500
@@ -3,6 +3,9 @@
 DPKG_EXPORT_BUILDFLAGS = 1
 include /usr/share/dpkg/default.mk
 
+# Use bundled asio, since system asio is too new (> 1.10.8)
+SCONS_ARGS += system_asio=0
+
 # Parallel build support as adviced
 # at https://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules-options
 ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))


More information about the pkg-mysql-maint mailing list