1 |
commit: ef30e8a1e8ba6e56b365f8dbaddd1b4812306392 |
2 |
Author: Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> |
3 |
AuthorDate: Fri Dec 2 23:27:56 2016 +0000 |
4 |
Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> |
5 |
CommitDate: Fri Dec 2 23:27:56 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=ef30e8a1 |
7 |
|
8 |
sci-biology/ncbi-tools++: fix bug #579248#c by disabling more tests |
9 |
|
10 |
This will likely also fix the #579248 bug in rmblast (untested). |
11 |
|
12 |
Our $FILESDIR/disable-testsuite-compilation.txt only excludes test |
13 |
applications from usingboost, not the support library. Hence the above |
14 |
bug. |
15 |
|
16 |
We could either add --without-boost to the configuration command line |
17 |
to disable the bosost-related code in support library or, which is the |
18 |
path we take in this commit, we disable building of the yet escaping |
19 |
unit_tests which needed boost. |
20 |
|
21 |
Upstream further said: |
22 |
|
23 |
The C++ Toolkit makes very little use of Boost outside of unit tests, |
24 |
but that's a fair question. The simplest fix preserving other uses of |
25 |
Boost would be to edit .../src/corelib/Makefile.in and remove test_boost |
26 |
from LIB_PROJ. (You'll still also need to exclude building the tests by |
27 |
adding '-.*/unit_tests' to the $FILESDIR/disable-testsuite-compilation.txt |
28 |
file.) |
29 |
|
30 |
Package-Manager: portage-2.3.2 |
31 |
|
32 |
.../ncbi-tools++/files/disable-testsuite-compilation.txt | 1 + |
33 |
.../files/ncbi-tools++-12.0.0-never_build_test_boost.patch | 11 +++++++++++ |
34 |
sci-biology/ncbi-tools++/ncbi-tools++-12.0.0.ebuild | 1 + |
35 |
3 files changed, 13 insertions(+) |
36 |
|
37 |
diff --git a/sci-biology/ncbi-tools++/files/disable-testsuite-compilation.txt b/sci-biology/ncbi-tools++/files/disable-testsuite-compilation.txt |
38 |
index aeaf75e..8df346f 100644 |
39 |
--- a/sci-biology/ncbi-tools++/files/disable-testsuite-compilation.txt |
40 |
+++ b/sci-biology/ncbi-tools++/files/disable-testsuite-compilation.txt |
41 |
@@ -1,3 +1,4 @@ |
42 |
.* |
43 |
-.*/test |
44 |
-.*/unit_test |
45 |
+-.*/unit_tests |
46 |
|
47 |
diff --git a/sci-biology/ncbi-tools++/files/ncbi-tools++-12.0.0-never_build_test_boost.patch b/sci-biology/ncbi-tools++/files/ncbi-tools++-12.0.0-never_build_test_boost.patch |
48 |
new file mode 100644 |
49 |
index 0000000..68baea0 |
50 |
--- /dev/null |
51 |
+++ b/sci-biology/ncbi-tools++/files/ncbi-tools++-12.0.0-never_build_test_boost.patch |
52 |
@@ -0,0 +1,11 @@ |
53 |
+--- ncbi_cxx--12_0_0/src/corelib/Makefile.in.ori 2016-12-01 20:28:33.239758102 +0100 |
54 |
++++ ncbi_cxx--12_0_0/src/corelib/Makefile.in 2016-12-01 20:28:46.330110659 +0100 |
55 |
+@@ -7,7 +7,7 @@ |
56 |
+ ################################# |
57 |
+ |
58 |
+ USR_PROJ = precompile |
59 |
+-LIB_PROJ = corelib test_mt test_boost |
60 |
++LIB_PROJ = corelib test_mt |
61 |
+ SUB_PROJ = test |
62 |
+ PROJ_TAG = core |
63 |
+ |
64 |
|
65 |
diff --git a/sci-biology/ncbi-tools++/ncbi-tools++-12.0.0.ebuild b/sci-biology/ncbi-tools++/ncbi-tools++-12.0.0.ebuild |
66 |
index c9f6911..1236c13 100644 |
67 |
--- a/sci-biology/ncbi-tools++/ncbi-tools++-12.0.0.ebuild |
68 |
+++ b/sci-biology/ncbi-tools++/ncbi-tools++-12.0.0.ebuild |
69 |
@@ -120,6 +120,7 @@ src_prepare() { |
70 |
"${FILESDIR}"/${P}-drop-STATIC-from-LIB.patch |
71 |
"${FILESDIR}"/${P}-fix-install.patch |
72 |
"${FILESDIR}"/${P}-bdb6.patch |
73 |
+ "${FILESDIR}"/${P}-never_build_test_boost.patch # bug #579248 |
74 |
) |
75 |
# "${FILESDIR}"/${P}-as-needed.patch |
76 |
# "${FILESDIR}"/${P}-fix-creaders-linking.patch |