[Git][java-team/netty-tcnative][master] Fixed the build failure with dpkg-buildpackage -A

Emmanuel Bourg gitlab at salsa.debian.org
Mon Sep 3 16:29:34 BST 2018


Emmanuel Bourg pushed to branch master at Debian Java Maintainers / netty-tcnative


Commits:
a77ba560 by Emmanuel Bourg at 2018-09-03T15:27:20Z
Fixed the build failure with dpkg-buildpackage -A

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+netty-tcnative (2.0.15-2) unstable; urgency=medium
+
+  * Team upload.
+  * Fixed the build failure with dpkg-buildpackage -A
+
+ -- Emmanuel Bourg <ebourg at apache.org>  Mon, 03 Sep 2018 17:27:16 +0200
+
 netty-tcnative (2.0.15-1) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/rules
=====================================
@@ -18,6 +18,10 @@ override_dh_auto_build-arch:
 
 override_dh_auto_test-arch:
 
+override_dh_auto_test-indep: override_dh_auto_build-arch
+	# ensure the native library is built before running the tests, otherwise the build fails with dpkg-buildpackage -A
+	dh_auto_test -i
+
 override_dh_auto_install-arch:
 	mv openssl-dynamic/target/native-build/.libs/libnetty-tcnative- at VERSION@.so openssl-dynamic/target/native-build/.libs/libnetty-tcnative.so
 	dh_install -p libnetty-tcnative-jni openssl-dynamic/target/native-build/.libs/libnetty-tcnative.so usr/lib/${DEB_HOST_MULTIARCH}/jni



View it on GitLab: https://salsa.debian.org/java-team/netty-tcnative/commit/a77ba560c53910af58e205e5e370791f7c06c37c

-- 
View it on GitLab: https://salsa.debian.org/java-team/netty-tcnative/commit/a77ba560c53910af58e205e5e370791f7c06c37c
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20180903/10f7a677/attachment.html>


More information about the pkg-java-commits mailing list