public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Mair-Keimberger" <mm1ke@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/rencode/
Date: Thu, 17 Jul 2025 19:06:57 +0000 (UTC)	[thread overview]
Message-ID: <1752779133.4e45b62ce4d995366b063dc1d475fbee3f986527.mm1ke@gentoo> (raw)

commit:     4e45b62ce4d995366b063dc1d475fbee3f986527
Author:     Michael Mair-Keimberger <mm1ke <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 15 17:16:39 2025 +0000
Commit:     Michael Mair-Keimberger <mm1ke <AT> gentoo <DOT> org>
CommitDate: Thu Jul 17 19:05:33 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e45b62c

dev-python/rencode: fix build on non amd64/x86 platforms

On platforms without sse/sse2/fma support, rencode fails to build with
following errors:
aarch64-unknown-linux-gnu-gcc: error: unrecognized command-line option ‘-msse’
aarch64-unknown-linux-gnu-gcc: error: unrecognized command-line option ‘-msse2’
aarch64-unknown-linux-gnu-gcc: error: unrecognized command-line option ‘-mfma’
aarch64-unknown-linux-gnu-gcc: error: unrecognized command-line option ‘-mfpmath=sse’

Bug: https://github.com/aresch/rencode/issues/38
Signed-off-by: Michael Mair-Keimberger <mm1ke <AT> gentoo.org>
Part-of: https://github.com/gentoo/gentoo/pull/43015
Closes: https://github.com/gentoo/gentoo/pull/43015
Signed-off-by: Michael Mair-Keimberger <mm1ke <AT> gentoo.org>

 .../rencode/{rencode-1.0.8.ebuild => rencode-1.0.8-r1.ebuild}      | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/dev-python/rencode/rencode-1.0.8.ebuild b/dev-python/rencode/rencode-1.0.8-r1.ebuild
similarity index 86%
rename from dev-python/rencode/rencode-1.0.8.ebuild
rename to dev-python/rencode/rencode-1.0.8-r1.ebuild
index 6e7d3b21f525..cc03a610e886 100644
--- a/dev-python/rencode/rencode-1.0.8.ebuild
+++ b/dev-python/rencode/rencode-1.0.8-r1.ebuild
@@ -30,6 +30,13 @@ BDEPEND="
 
 distutils_enable_tests pytest
 
+src_prepare() {
+	# remove forced -O3
+	sed -e '/extra_compile_args=/d' -i build.py || die
+
+	distutils-r1_src_prepare
+}
+
 python_test() {
 	rm -rf rencode || die
 	epytest


             reply	other threads:[~2025-07-17 19:07 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-17 19:06 Michael Mair-Keimberger [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-06-14 15:41 [gentoo-commits] repo/gentoo:master commit in: dev-python/rencode/ Arthur Zamarin
2025-06-14 13:54 Sam James
2025-05-31 13:12 Michał Górny
2025-05-31 12:58 Arthur Zamarin
2025-05-31 10:47 Michał Górny
2025-05-30  2:05 Michał Górny
2025-05-30  2:05 Michał Górny
2025-05-29 20:14 Sebastian Pipping
2025-05-29 20:06 Sebastian Pipping
2025-05-13 18:36 Arthur Zamarin
2024-08-10 13:20 Michał Górny
2024-05-18  8:59 Michał Górny
2023-10-27 18:07 Michał Górny
2022-09-16  2:52 Yixun Lan
2022-06-29 13:05 Michał Górny
2022-06-29  6:11 Joonas Niilola
2022-06-29  0:11 Sam James
2022-05-29 18:26 Arthur Zamarin
2022-05-29 18:26 Arthur Zamarin
2021-09-17 14:19 Arthur Zamarin
2021-09-17 14:14 Agostino Sarubbo
2021-09-15  6:36 Agostino Sarubbo
2021-09-12  7:49 Michał Górny
2021-09-12  7:24 Agostino Sarubbo
2021-09-12  7:09 Agostino Sarubbo
2021-03-05 18:39 Sam James
2020-10-14 10:51 Alexey Shvetsov
2020-07-17  7:21 Agostino Sarubbo
2020-07-09  8:59 Agostino Sarubbo
2020-05-31  8:25 Michał Górny
2020-05-06  6:41 Sergei Trofimovich
2020-04-18 14:11 Craig Andrews
2020-04-17 14:43 Craig Andrews
2020-04-17 14:43 Craig Andrews
2020-02-19 19:06 Andreas Sturmlechner
2020-02-11 19:50 Agostino Sarubbo
2020-02-11 19:43 Agostino Sarubbo
2020-02-05 21:21 Michał Górny
2020-02-01 12:36 Sergei Trofimovich
2020-01-31 22:17 Sergei Trofimovich
2020-01-27 11:41 Mikle Kolyada
2019-08-04 13:44 Alexey Shvetsov
2018-06-26 18:09 Pacho Ramos
2017-03-09 11:53 Michael Weber
2017-01-23 15:46 Agostino Sarubbo
2017-01-23 13:51 Agostino Sarubbo
2016-12-10 20:40 Michael Weber
2016-01-02 12:44 Michael Weber
2015-11-11  9:12 Agostino Sarubbo
2015-11-09 10:31 Agostino Sarubbo

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=1752779133.4e45b62ce4d995366b063dc1d475fbee3f986527.mm1ke@gentoo \
    --to=mm1ke@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