Package: ocserv
Version: 0.11.6-1~bpo8+1
Severity: serious
Tags: patch
Justification: fails to build from source (but built successfully in the past)
Dear Maintainer,
build is failing for arm have tested this patch on armhf, on backported
package results in installable package, fails on other arms from
autobuild logs this may fix them aswell.
Keep up the hard work would be grateful if you could fix up the
backports etc.
Thanks
Phill.
--- ocserv-0.11.6.orig/debian/rules 2017-01-02 16:18:52.000000000 +0000
+++ ocserv-0.11.6/debian/rules 2017-01-25 12:31:01.117711166 +0000
@@ -14,6 +14,11 @@
OTHER_CONF_OPTS = --enable-systemd --enable-linux-namespaces
#endif
+DEB_BUILD_ARCH_CPU = $(dpkg-architecture -qDEB_BUILD_ARCH_CPU)
+#ifeq ($(DEB_BUILD_ARCH_CPU),arm)
+ OTHER_CONF_OPTS = --enable-systemd --enable-linux-namespaces
--disable-seccomp
+#endif
+
%:
dh $@ --with systemd
-- System Information:
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 8.0 (jessie)
Release: 8.0
Codename: jessie
Architecture: armv7l
Kernel: Linux 4.4.38-v7+ (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages ocserv depends on:
ii dbus 1.8.22-0+deb8u1
ii init-system-helpers 1.22
ii libc6 2.19-18+deb8u7
ii libev4 1:4.15-3
ii libgnutls-deb0-28 3.3.8-6+deb8u4
ii libgssapi-krb5-2 1.12.1+dfsg-19+deb8u2
ii libhttp-parser2.1 2.1-2
ii liblz4-1 0.0~r122-2
ii libnettle4 2.7.1-5+deb8u2
ii libnl-3-200 3.2.24-2
ii libnl-route-3-200 3.2.24-2
ii liboath0 2.4.1-1
ii libopts25 1:5.18.4-3
ii libpam0g 1.1.8-3.1+deb8u2
ii libpcl1 1.6-1
ii libprotobuf-c1 1.0.2-1+b1
ii libradcli4 1.2.6-3~bpo8+1
ii libreadline6 6.3-8
ii libsystemd0 215-17+deb8u6
ii libtalloc2 2.1.2-0+deb8u1
ii libtasn1-6 4.2-3+deb8u2
ii libwrap0 7.6.q-25
ii lsb-base 4.1+Debian13+rpi1+nmu1
ii ssl-cert 1.0.35
Versions of packages ocserv recommends:
ii ca-certificates 20141019+deb8u2
ocserv suggests no packages.
-- no debconf information