[pkg-gnupg-maint] Bug#963782: gpgme1.0: autopkgtest failure due to bash wrong syntax
Gianfranco Costamagna
locutusofborg at debian.org
Fri Jun 26 22:47:17 BST 2020
Source: gpgme1.0
Version: 1.13.1-8
Severity: serious
Tags: patch
Hello, please accept this patch to fix a bad syntax.
(two main issues, missing
Processing triggers for libc-bin (2.31-0ubuntu10) ...
(Reading database ... 78068 files and directories currently installed.)
Removing autopkgtest-satdep (0) ...
autopkgtest [15:17:55]: test checky2106: [-----------------------
unsigned long on this platform is 4 octets.
This means that GPGME will fail when encountering expiration
dates after 2106-02-07 06:28:16Z.
Please see https://dev.gnupg.org/T4766 and https://dev.gnupg.org/T4826
for more details.
/tmp/autopkgtest.FpdOQK/build.XhH/src/debian/tests/checky2106: line 25: [: missing `]'
autopkgtest [15:17:57]: test checky2106: -----------------------]
autopkgtest [15:18:00]: test checky2106: - - - - - - - - - - results - - - - - - - - - -
checky2106 FAIL non-zero exit status 1
autopkgtest [15:18:00]: test checky2106: - - - - - - - - - - stderr - - - - - - - - - -
/tmp/autopkgtest.FpdOQK/build.XhH/src/debian/tests/checky2106: line 25: [: missing `]'
autopkgtest [15:18:02]: @@@@@@@@@@@@@@@@@@@@ summary
python3 PASS
checky2106 FAIL non-zero exit status 1
diff -Nru gpgme1.0-1.13.1/debian/changelog gpgme1.0-1.13.1/debian/changelog
--- gpgme1.0-1.13.1/debian/changelog 2020-06-26 10:16:00.000000000 +0200
+++ gpgme1.0-1.13.1/debian/changelog 2020-06-26 23:44:40.000000000 +0200
@@ -1,3 +1,9 @@
+gpgme1.0 (1.13.1-8ubuntu2) groovy; urgency=medium
+
+ * Fix test sadness on 32bit systems due to bad bash syntax.
+
+ -- Gianfranco Costamagna <locutusofborg at debian.org> Fri, 26 Jun 2020 23:44:40 +0200
+
gpgme1.0 (1.13.1-8ubuntu1) groovy; urgency=low
* Merge from Debian unstable. Remaining changes:
diff -Nru gpgme1.0-1.13.1/debian/tests/checky2106 gpgme1.0-1.13.1/debian/tests/checky2106
--- gpgme1.0-1.13.1/debian/tests/checky2106 2020-06-26 10:15:43.000000000 +0200
+++ gpgme1.0-1.13.1/debian/tests/checky2106 2020-06-26 23:44:17.000000000 +0200
@@ -22,8 +22,8 @@
Please see https://dev.gnupg.org/T4766 and https://dev.gnupg.org/T4826
for more details.
" "$sz" "$limit"
- if [ "$(dpkg-architecture -qDEB_HOST_ARCH_BITS)" == 32 &&
- $(date +%s) -lt $(TZ=UTC date +%s 2031-02-07) ]; then
+ if [ "$(dpkg-architecture -qDEB_HOST_ARCH_BITS)" == 32 ] &&
+ [ $(date +%s) -lt $(TZ=UTC date +%s --date='2031-02-07') ]; then
printf "We permit skipping this test during autopkgtest until 75 years
before the cutoff.
thanks!
Gianfranco
More information about the pkg-gnupg-maint
mailing list