Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/gpgme On macOS, the build intermittently brea...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f507ec7f271b
branches:  trunk
changeset: 437515:f507ec7f271b
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Tue Aug 25 08:54:52 2020 +0000

description:
On macOS, the build intermittently breaks because tests intermittently
give "gpg: can't connect to the agent: File name too long". Make this
less annoying by not running tests before 'make test' (and fixing that
pkgsrc target).

diffstat:

 security/gpgme/Makefile                  |   5 +++--
 security/gpgme/distinfo                  |   3 ++-
 security/gpgme/patches/patch-Makefile.in |  15 +++++++++++++++
 3 files changed, 20 insertions(+), 3 deletions(-)

diffs (52 lines):

diff -r 1f0fb8f8a1a1 -r f507ec7f271b security/gpgme/Makefile
--- a/security/gpgme/Makefile   Tue Aug 25 08:54:39 2020 +0000
+++ b/security/gpgme/Makefile   Tue Aug 25 08:54:52 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.98 2020/08/03 15:32:31 adam Exp $
+# $NetBSD: Makefile,v 1.99 2020/08/25 08:54:52 schmonz Exp $
 
 DISTNAME=      gpgme-1.14.0
 CATEGORIES=    security
@@ -29,7 +29,8 @@
 
 BUILDLINK_TRANSFORM+=  rm:-Wsuggest-override
 
-TEST_TARGET=           check
+TEST_TARGET=           all
+TEST_DIRS=             tests
 
 .include "options.mk"
 
diff -r 1f0fb8f8a1a1 -r f507ec7f271b security/gpgme/distinfo
--- a/security/gpgme/distinfo   Tue Aug 25 08:54:39 2020 +0000
+++ b/security/gpgme/distinfo   Tue Aug 25 08:54:52 2020 +0000
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.45 2020/08/14 10:32:43 tnn Exp $
+$NetBSD: distinfo,v 1.46 2020/08/25 08:54:52 schmonz Exp $
 
 SHA1 (gpgme-1.14.0.tar.bz2) = 90a1b678703b0cabdb953035a4bee012e5685dce
 RMD160 (gpgme-1.14.0.tar.bz2) = 1889520e54ca69b06386b7b53f5dc82c6f8d036a
 SHA512 (gpgme-1.14.0.tar.bz2) = b7ffa30a046c75215e1c73e2f34e5e65532e4dcf6bea55796adc6f82fd38dafe264bcd4332b2001155d6f9476d6fd82a77112dad31c1bb29db9ddefc532ae668
 Size (gpgme-1.14.0.tar.bz2) = 1678910 bytes
+SHA1 (patch-Makefile.in) = 3277143d4aca64067249e03f584c9f7381c9037e
 SHA1 (patch-aa) = 6b81bc9b6b17f14329e0dbf1917d1352c142c072
 SHA1 (patch-lang_cpp_src_editinteractor.cpp) = f6e7234c31956ce81353d012b52011a72713e45d
diff -r 1f0fb8f8a1a1 -r f507ec7f271b security/gpgme/patches/patch-Makefile.in
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/gpgme/patches/patch-Makefile.in  Tue Aug 25 08:54:52 2020 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-Makefile.in,v 1.1 2020/08/25 08:54:52 schmonz Exp $
+
+Don't run tests before TEST_TARGET.
+
+--- Makefile.in.orig   2020-07-16 15:21:00.000000000 +0000
++++ Makefile.in
+@@ -458,7 +458,7 @@ EXTRA_DIST = autogen.sh autogen.rc gpgme
+              conf/whatisthis VERSION
+ 
+ @RUN_GPG_TESTS_FALSE@tests = 
+-@RUN_GPG_TESTS_TRUE@tests = tests
++@RUN_GPG_TESTS_TRUE@tests = #tests
+ SUBDIRS = src ${tests} doc lang
+ gen_start_date = 2011-12-01T00:00:00
+ 



Home | Main Index | Thread Index | Old Index