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

Bug#928073: unblock: beancount/2.2.0-3



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package beancount

Santiago Villa has discovered an unpredictability in the cleanup of a gnupg
socket file, which might randomly make the package FTBFS. The version I've just
uploaded to unstable includes a patch by Santiago that fixes this. It would be
nice to have this fix in testing, to make rebuilding the next stable release
more predicatble.

debdiff attached.

unblock beancount/2.2.0-3

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-4-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
diff -Nru beancount-2.2.0/debian/changelog beancount-2.2.0/debian/changelog
--- beancount-2.2.0/debian/changelog	2019-01-14 10:01:37.000000000 +0100
+++ beancount-2.2.0/debian/changelog	2019-04-21 17:00:36.000000000 +0200
@@ -1,3 +1,11 @@
+beancount (2.2.0-3) unstable; urgency=medium
+
+  [ Santiago Vila ]
+  * patches/0003: Ignore FileNotFoundError from self.tmpdir.cleanup().
+    Fixes a FTBFS problem which happens randomly (Closes: #923606)
+
+ -- Stefano Zacchiroli <zack@debian.org>  Sun, 21 Apr 2019 17:00:36 +0200
+
 beancount (2.2.0-2) unstable; urgency=medium
 
   * rules: do not ship *.picklecache files with Python examples (fixes
diff -Nru beancount-2.2.0/debian/patches/0003-Ignore-FileNotFoundError-from-self.tmpdir.cleanup.patch beancount-2.2.0/debian/patches/0003-Ignore-FileNotFoundError-from-self.tmpdir.cleanup.patch
--- beancount-2.2.0/debian/patches/0003-Ignore-FileNotFoundError-from-self.tmpdir.cleanup.patch	1970-01-01 01:00:00.000000000 +0100
+++ beancount-2.2.0/debian/patches/0003-Ignore-FileNotFoundError-from-self.tmpdir.cleanup.patch	2019-04-21 17:00:36.000000000 +0200
@@ -0,0 +1,18 @@
+From: Santiago Vila <sanvila@debian.org>
+Date: Sun, 21 Apr 2019 16:48:40 +0200
+Subject: Ignore FileNotFoundError from self.tmpdir.cleanup()
+
+--- a/beancount/utils/encryption_test.py
++++ b/beancount/utils/encryption_test.py
+@@ -98,7 +98,10 @@
+         self.run_gpg('--import', stdin=TEST_SECRET_KEY.encode('ascii'))
+ 
+     def tearDown(self):
+-        self.tmpdir.cleanup()
++        try:
++            self.tmpdir.cleanup()
++        except FileNotFoundError:
++            pass
+ 
+     def run_gpg(self, *args, **kw):
+         command = ('gpg',
diff -Nru beancount-2.2.0/debian/patches/series beancount-2.2.0/debian/patches/series
--- beancount-2.2.0/debian/patches/series	2019-01-14 10:01:37.000000000 +0100
+++ beancount-2.2.0/debian/patches/series	2019-04-21 17:00:36.000000000 +0200
@@ -1,2 +1,3 @@
 0001-Remove-fonts.googleapis.com-links-for-the-bean-web-t.patch
 0002-make-test_version-more-lax-to-accept-non-git-hg-vers.patch
+0003-Ignore-FileNotFoundError-from-self.tmpdir.cleanup.patch

Reply to: