[arch-commits] Commit in libgcrypt/trunk (PKGBUILD)

Andreas Radke andyrtr at archlinux.org
Tue Dec 19 18:47:03 UTC 2017


    Date: Tuesday, December 19, 2017 @ 18:46:55
  Author: andyrtr
Revision: 313355

upgpkg: libgcrypt 1.8.2-1

upstream update 1.8.2

Modified:
  libgcrypt/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++++++++
 1 file changed, 12 insertions(+)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-19 17:11:56 UTC (rev 313354)
+++ PKGBUILD	2017-12-19 18:46:55 UTC (rev 313355)
@@ -22,6 +22,18 @@
               'D8692123C4065DEA5E0F3AB5249B39D24F25E3B6') # Werner Koch
 options=(!makeflags)
 
+prepare() {
+  cd ${pkgname}-${pkgver}
+  # tests fail due to systemd+libseccomp preventing memory syscalls when building in chroots
+  #  t-secmem: line 176: gcry_control (GCRYCTL_INIT_SECMEM, pool_size, 0) failed: General error
+  #  FAIL: t-secmem
+  #  t-sexp: line 1174: gcry_control (GCRYCTL_INIT_SECMEM, 16384, 0) failed: General error
+  #  FAIL: t-sexp
+  sed -i "s:t-secmem::" tests/Makefile.am
+  sed -i "s:t-sexp::" tests/Makefile.am
+  autoreconf -vfi
+}
+
 build() {
   cd ${pkgname}-${pkgver}
   ./configure --prefix=/usr \



More information about the arch-commits mailing list