diff options
author | Santiago Vila <sanvila@debian.org> | 2019-03-06 00:03:56 +0000 |
---|---|---|
committer | Andrej Shadura <andrewsh@debian.org> | 2019-03-09 22:44:58 +0000 |
commit | 5d7f473aad26f8f236373435fac54e0492cb7d11 (patch) | |
tree | f144a7663dad0e533c1afaf8b3b07d5d1702e252 | |
parent | e5f4781240279e8e9c85758824edf33fb7a37e31 (diff) |
Fix FTBFS (Timeout on instantiating de.lmu.ifi.dbs.elki.gui.util.TreePopup)
Similar failures may be seen here in a random fashion:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/elki.html
I googled a little bit and found this:
https://github.com/elki-project/elki/issues/10
and based on that maybe the patch below might work, but it's completely untested.
Closes: #923841
-rw-r--r-- | debian/patches/fix-ftbfs-bug923841.patch | 34 | ||||
-rw-r--r-- | debian/patches/series | 1 |
2 files changed, 35 insertions, 0 deletions
diff --git a/debian/patches/fix-ftbfs-bug923841.patch b/debian/patches/fix-ftbfs-bug923841.patch new file mode 100644 index 00000000..d45191a2 --- /dev/null +++ b/debian/patches/fix-ftbfs-bug923841.patch @@ -0,0 +1,34 @@ +From 8dd94a212f62a6a891c2469945e9e59b28a90e6d Mon Sep 17 00:00:00 2001 +From: Santiago Vila <sanvila@debian.org> +Date: Wed, 6 Mar 2019 00:03:56 +0000 +Subject: [PATCH] Fix FTBFS (Timeout on instantiating de.lmu.ifi.dbs.elki.gui.util.TreePopup) + +Similar failures may be seen here in a random fashion: + +https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/elki.html + +I googled a little bit and found this: + +https://github.com/elki-project/elki/issues/10 + +and based on that maybe the patch below might work, but it's completely untested. +--- + .../ifi/dbs/elki/application/internal/DocumentParameters.java | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/elki/src/main/java/de/lmu/ifi/dbs/elki/application/internal/DocumentParameters.java b/elki/src/main/java/de/lmu/ifi/dbs/elki/application/internal/DocumentParameters.java +index 8325872b..a044d0e8 100644 +--- a/elki/src/main/java/de/lmu/ifi/dbs/elki/application/internal/DocumentParameters.java ++++ b/elki/src/main/java/de/lmu/ifi/dbs/elki/application/internal/DocumentParameters.java +@@ -309,7 +309,7 @@ public class DocumentParameters { + es.submit(instantiator); + try { + // Wait up to one second. +- instantiator.get(1L, TimeUnit.SECONDS); ++ instantiator.get(10L, TimeUnit.SECONDS); + } + catch(TimeoutException e) { + LOG.warning("Timeout on instantiating " + cls.getName()); +-- +2.20.1 + diff --git a/debian/patches/series b/debian/patches/series index 730eeb6b..0c4677f2 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -7,3 +7,4 @@ batik-performance.patch java9-classloader.patch java9-lookandfeel.patch reproducible-builds.patch +fix-ftbfs-bug923841.patch |