public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Davide Cavalca <dcavalca@fb.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-libcst] rawhide: Only build the library to fix build issue on ppc64le
Date: Thu, 19 Nov 2026 02:36:00 GMT	[thread overview]
Message-ID: <179505576041.1.17681686312309125801.rpms-rust-libcst-d096568170b9@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rust-libcst
Branch : rawhide
Commit : d096568170b932a6f3e0997466f2bb6cc76b2a34
Author : Davide Cavalca <dcavalca@fb.com>
Date   : 2026-11-18T18:38:55-06:00
Stats  : +5/-2 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-libcst/c/d096568170b932a6f3e0997466f2bb6cc76b2a34?branch=rawhide

Log:
Only build the library to fix build issue on ppc64le

---
diff --git a/rust-libcst.spec b/rust-libcst.spec
index 6a23ade..24c1dda 100644
--- a/rust-libcst.spec
+++ b/rust-libcst.spec
@@ -102,14 +102,17 @@ dos2unix --keepdate tests/fixtures/type_parameters.py
 %cargo_generate_buildrequires
 
 %build
-%cargo_build
+# We only build the library here because the binaries have unresolved Python
+# symbols and fail to link on ppc64le. This is due to the "py" feature enabling
+# pyo3/extension-module, which does not link libpython.
+%cargo_build -- --lib
 
 %install
 %cargo_install
 
 %if %{with check}
 %check
-%cargo_test
+%cargo_test -n
 %endif
 
 %changelog

                 reply	other threads:[~2026-11-19  2:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=179505576041.1.17681686312309125801.rpms-rust-libcst-d096568170b9@fedoraproject.org \
    --to=dcavalca@fb.com \
    --cc=git-commits@fedoraproject.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