commit: 24e3e1afaca561d90238c5a94d5f5af7d401e840 Author: hololeap <hololeap <AT> protonmail <DOT> com> AuthorDate: Mon Dec 4 20:14:01 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Dec 22 05:05:41 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24e3e1af
dev-haskell/vector-algorithms: Require gmp source It appears that vector-algorithms implicitly depends on gmp either via ghc or the bitvec package. If neither source for gmp is available, packages in vector-algorithm's reverse dependency tree may run into linker errors during compile time: libHSbitvec-1.1.3.0-*.so: undefined symbol: __gmpn_popcount Closes: https://bugs.gentoo.org/917291 Closes: https://bugs.gentoo.org/917267 Closes: https://bugs.gentoo.org/916208 Closes: https://bugs.gentoo.org/916191 Closes: https://bugs.gentoo.org/916186 Closes: https://bugs.gentoo.org/916183 Closes: https://bugs.gentoo.org/920461 Signed-off-by: hololeap <hololeap <AT> protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/34391 Signed-off-by: Sam James <sam <AT> gentoo.org> ...rithms-0.9.0.1.ebuild => vector-algorithms-0.9.0.1-r1.ebuild} | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dev-haskell/vector-algorithms/vector-algorithms-0.9.0.1.ebuild b/dev-haskell/vector-algorithms/vector-algorithms-0.9.0.1-r1.ebuild similarity index 93% rename from dev-haskell/vector-algorithms/vector-algorithms-0.9.0.1.ebuild rename to dev-haskell/vector-algorithms/vector-algorithms-0.9.0.1-r1.ebuild index 46514559ce74..1bb09c174af8 100644 --- a/dev-haskell/vector-algorithms/vector-algorithms-0.9.0.1.ebuild +++ b/dev-haskell/vector-algorithms/vector-algorithms-0.9.0.1-r1.ebuild @@ -24,6 +24,15 @@ RDEPEND=">=dev-haskell/bitvec-1.0:=[profile?] <dev-haskell/bitvec-1.2:=[profile? >=dev-haskell/vector-0.6:=[profile?] <dev-haskell/vector-0.14:=[profile?] >=dev-lang/ghc-8.4.3:= " + +# bug 916191 +RDEPEND+=" + || ( + dev-haskell/bitvec[gmp] + dev-lang/ghc[gmp] + ) +" + DEPEND="${RDEPEND} >=dev-haskell/cabal-2.2.0.1 test? ( properties? ( >dev-haskell/quickcheck-2.9 <dev-haskell/quickcheck-2.15 ) )