public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-haskell/vector-algorithms/
Date: Fri, 22 Dec 2023 05:07:44 +0000 (UTC)	[thread overview]
Message-ID: <1703221541.24e3e1afaca561d90238c5a94d5f5af7d401e840.sam@gentoo> (raw)

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 ) )


             reply	other threads:[~2023-12-22  5:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-22  5:07 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-07-22 22:16 [gentoo-commits] repo/gentoo:master commit in: dev-haskell/vector-algorithms/ Sam James
2019-12-14  1:04 Aaron Bauman
2016-01-16 19:43 Sergei Trofimovich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1703221541.24e3e1afaca561d90238c5a94d5f5af7d401e840.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox