[Pkg-rust-maintainers] Bug#1123821: rust-libcst: FTBFS on ppc64el, but built there in the past

Chris Hofstädtler zeha at debian.org
Mon Dec 22 11:33:00 GMT 2025


Source: rust-libcst
Version: 1.8.6-1
Severity: serious
Tags: ftbfs
X-Debbugs-Cc: debian-powerpc at lists.debian.org, jelmer at debian.org
User: debian-powerpc at lists.debian.org
Usertags: ppc64el

Issues preventing migration:
∙ ∙ Missing build on ppc64el

https://buildd.debian.org/status/fetch.php?pkg=rust-libcst&arch=ppc64el&ver=1.8.6-1&stamp=1765077189&raw=0


...

  = note:  "powerpc64le-linux-gnu-gcc" "-m64" "/tmp/rustckr8q8N/symbols.o" "<33 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/build/reproducible-path/rust-libcst-1.8.6/target/powerpc64le-unknown-linux-gnu/debug/deps/{liblibcst_native,libannotate_snippets-08d6ec8ed20df241,libunicode_width-175cecfe2c409bd3,libanstyle-f0153a694c4de563,libpeg-a715b9a68e54cc1c,libpeg_runtime-e218dc42836bd5f4,libpyo3-b52e432ab377f4af,libonce_cell-e8650851e2b39c9a,libpyo3_ffi-1b71c73ed1c628a3,liblibc-8bf462d210ecde15,libmemoffset-e28ea1ad87c201c5,libunindent-5f3a9212ec9d2c5b,libthiserror-5c2143e02d41929d,libregex-c9937e8eece87cde,libregex_automata-b752d4e0a135c270,libaho_corasick-1eefa9d8c29ef786,libmemchr-808f67dd3c525d9d,libregex_syntax-b82c42f509097ba5}.rlib" "<sysroot>/lib/rustlib/powerpc64le-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustckr8q8N/raw-dylibs" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "<sysroot>/lib/rustlib/powerpc64le-unknown-linux-gnu/lib" "-o" "/build/reproducible-path/rust-libcst-1.8.6/target/powerpc64le-unknown-linux-gnu/debug/deps/parse-85bf7e9bce3801ee" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "-Wl,-z,relro"
  = note: some arguments are omitted. use `--verbose` to show all linker arguments
  = note: /usr/bin/ld: /build/reproducible-path/rust-libcst-1.8.6/target/powerpc64le-unknown-linux-gnu/debug/deps/liblibcst_native.rlib(libcst_native.aqvdm7s5woboip1ymiawptccm.1t84k7t.rcgu.o): in function `pyo3::types::tuple::try_new_from_iter':
          /usr/share/cargo/registry/pyo3-0.27.2/src/types/tuple.rs:28:(.text._ZN4pyo35types5tuple17try_new_from_iter17h069b0655ff9897f3E+0xac): undefined reference to `PyTuple_New'
          /usr/bin/ld: /build/reproducible-path/rust-libcst-1.8.6/target/powerpc64le-unknown-linux-gnu/debug/deps/liblibcst_native.rlib(libcst_native.75fejvt0sqv068u4d1bxfa7qf.1t84k7t.rcgu.o):(.toc+0x0): undefined reference to `_Py_NoneStruct'
          /usr/bin/ld: /build/reproducible-path/rust-libcst-1.8.6/target/powerpc64le-unknown-linux-gnu/debug/deps/liblibcst_native.rlib(libcst_native.8eympbnprwwciruyzyrk1b1pn.1t84k7t.rcgu.o):(.toc+0x0): undefined reference to `_Py_TrueStruct'
          /usr/bin/ld: /build/reproducible-path/rust-libcst-1.8.6/target/powerpc64le-unknown-linux-gnu/debug/deps/liblibcst_native.rlib(libcst_native.8eympbnprwwciruyzyrk1b1pn.1t84k7t.rcgu.o):(.toc+0x8): undefined reference to `_Py_FalseStruct'
          /usr/bin/ld: /build/reproducible-path/rust-libcst-1.8.6/target/powerpc64le-unknown-linux-gnu/debug/deps/libpyo3-b52e432ab377f4af.rlib(pyo3-b52e432ab377f4af.pyo3.34a566889493a2bb-cgu.00.rcgu.o): in function `<pyo3::instance::Borrowed<pyo3::types::tuple::PyTuple> as pyo3::call::PyCallArgs>::call':
          /usr/share/cargo/registry/pyo3-0.27.2/src/call.rs:201:(.text._ZN102_$LT$pyo3..instance..Borrowed$LT$pyo3..types..tuple..PyTuple$GT$$u20$as$u20$pyo3..call..PyCallArgs$GT$4call17hfe76cdd5fde3aa22E+0x6c): undefined reference to `PyObject_Call'
          /usr/bin/ld: /build/reproducible-path/rust-libcst-1.8.6/target/powerpc64le-unknown-linux-gnu/debug/deps/libpyo3-b52e432ab377f4af.rlib(pyo3-b52e432ab377f4af.pyo3.34a566889493a2bb-cgu.00.rcgu.o): in function `<pyo3::instance::Borrowed<pyo3::types::tuple::PyTuple> as pyo3::call::PyCallArgs>::call_positional':
          /usr/share/cargo/registry/pyo3-0.27.2/src/call.rs:213:(.text._ZN102_$LT$pyo3..instance..Borrowed$LT$pyo3..types..tuple..PyTuple$GT$$u20$as$u20$pyo3..call..PyCallArgs$GT$15call_positional17h582d0ae27fa21df5E+0x50): undefined reference to `PyObject_Call'
          /usr/bin/ld: /build/reproducible-path/rust-libcst-1.8.6/target/powerpc64le-unknown-linux-gnu/debug/deps/libpyo3-b52e432ab377f4af.rlib(pyo3-b52e432ab377f4af.pyo3.34a566889493a2bb-cgu.00.rcgu.o): in function `pyo3_ffi::refcount::Py_DECREF':
          /usr/share/cargo/registry/pyo3-ffi-0.27.2/src/refcount.rs:305:(.text._ZN72_$LT$pyo3..instance..Bound$LT$T$GT$$u20$as$u20$core..ops..drop..Drop$GT$4drop17h1e35df3aeed0b852E+0x1b4): undefined reference to `_Py_Dealloc'
          /usr/bin/ld: /usr/share/cargo/registry/pyo3-ffi-0.27.2/src/refcount.rs:305:(.text._ZN72_$LT$pyo3..instance..Bound$LT$T$GT$$u20$as$u20$core..ops..drop..Drop$GT$4drop17h4a4aaaa18f284a93E+0x1b4): undefined reference to `_Py_Dealloc'
          /usr/bin/ld: /usr/share/cargo/registry/pyo3-ffi-0.27.2/src/refcount.rs:305:(.text._ZN72_$LT$pyo3..instance..Bound$LT$T$GT$$u20$as$u20$core..ops..drop..Drop$GT$4drop17h6c677876cb66e3b2E+0x1b4): undefined reference to `_Py_Dealloc'
          /usr/bin/ld: /usr/share/cargo/registry/pyo3-ffi-0.27.2/src/refcount.rs:305:(.text._ZN72_$LT$pyo3..instance..Bound$LT$T$GT$$u20$as$u20$core..ops..drop..Drop$GT$4drop17h6f92abbc702fbab4E+0x1b4): undefined reference to `_Py_Dealloc'
          /usr/bin/ld: /usr/share/cargo/registry/pyo3-ffi-0.27.2/src/refcount.rs:305:(.text._ZN72_$LT$pyo3..instance..Bound$LT$T$GT$$u20$as$u20$core..ops..drop..Drop$GT$4drop17h726ab53e5b7a86f6E+0x1b4): undefined reference to `_Py_Dealloc'
          /usr/bin/ld: /build/reproducible-path/rust-libcst-1.8.6/target/powerpc64le-unknown-linux-gnu/debug/deps/libpyo3-b52e432ab377f4af.rlib(pyo3-b52e432ab377f4af.pyo3.34a566889493a2bb-cgu.00.rcgu.o):/usr/share/cargo/registry/pyo3-ffi-0.27.2/src/refcount.rs:305: more undefined references to `_Py_Dealloc' follow
          /usr/bin/ld: /build/reproducible-path/rust-libcst-1.8.6/target/powerpc64le-unknown-linux-gnu/debug/deps/libpyo3-b52e432ab377f4af.rlib(pyo3-b52e432ab377f4af.pyo3.34a566889493a2bb-cgu.00.rcgu.o): in function `<pyo3::instance::Bound<pyo3::types::any::PyAny> as pyo3::types::any::PyAnyMethods>::call0':
          /usr/share/cargo/registry/pyo3-0.27.2/src/types/any.rs:1310:(.text._ZN103_$LT$pyo3..instance..Bound$LT$pyo3..types..any..PyAny$GT$$u20$as$u20$pyo3..types..any..PyAnyMethods$GT$5call017hce6ed1ea93d7eae6E+0x30): undefined reference to `PyObject_CallNoArgs'
          /usr/bin/ld: /build/reproducible-path/rust-libcst-1.8.6/target/powerpc64le-unknown-linux-gnu/debug/deps/libpyo3-b52e432ab377f4af.rlib(pyo3-b52e432ab377f4af.pyo3.34a566889493a2bb-cgu.00.rcgu.o): in function `<pyo3::instance::Bound<pyo3::types::any::PyAny> as pyo3::types::any::PyAnyMethods>::repr':
          /usr/share/cargo/registry/pyo3-0.27.2/src/types/any.rs:1536:(.text._ZN103_$LT$pyo3..instance..Bound$LT$pyo3..types..any..PyAny$GT$$u20$as$u20$pyo3..types..any..PyAnyMethods$GT$4repr17h334f2ac842fe6f27E+0x30): undefined reference to `PyObject_Repr'
          /usr/bin/ld: /build/reproducible-path/rust-libcst-1.8.6/target/powerpc64le-unknown-linux-gnu/debug/deps/libpyo3-b52e432ab377f4af.rlib(pyo3-b52e432ab377f4af.pyo3.34a566889493a2bb-cgu.00.rcgu.o): in function `<pyo3::instance::Bound<pyo3::types::any::PyAny> as pyo3::types::any::PyAnyMethods>::str':
          /usr/share/cargo/registry/pyo3-0.27.2/src/types/any.rs:1544:(.text._ZN103_$LT$pyo3..instance..Bound$LT$pyo3..types..any..PyAny$GT$$u20$as$u20$pyo3..types..any..PyAnyMethods$GT$3str17h87b5141943f94d83E+0x30): undefined reference to `PyObject_Str'
          /usr/bin/ld: /build/reproducible-path/rust-libcst-1.8.6/target/powerpc64le-unknown-linux-gnu/debug/deps/libpyo3-b52e432ab377f4af.rlib(pyo3-b52e432ab377f4af.pyo3.34a566889493a2bb-cgu.00.rcgu.o): in function `pyo3::types::bytes::<impl pyo3::instance::Borrowed<pyo3::types::bytes::PyBytes>>::as_bytes':
          /usr/share/cargo/registry/pyo3-0.27.2/src/types/bytes.rs:152:(.text._ZN4pyo35types5bytes77_$LT$impl$u20$pyo3..instance..Borrowed$LT$pyo3..types..bytes..PyBytes$GT$$GT$8as_bytes17h84cb4c62dd2ef5caE+0x24): undefined reference to `PyBytes_AsString'
          /usr/bin/ld: /usr/share/cargo/registry/pyo3-0.27.2/src/types/bytes.rs:153:(.text._ZN4pyo35types5bytes77_$LT$impl$u20$pyo3..instance..Borrowed$LT$pyo3..types..bytes..PyBytes$GT$$GT$8as_bytes17h84cb4c62dd2ef5caE+0x4c): undefined reference to `PyBytes_Size'
          /usr/bin/ld: /build/reproducible-path/rust-libcst-1.8.6/target/powerpc64le-unknown-linux-gnu/debug/deps/libpyo3-b52e432ab377f4af.rlib(pyo3-b52e432ab377f4af.pyo3.34a566889493a2bb-cgu.00.rcgu.o): in function `pyo3::types::string::<impl pyo3::instance::Borrowed<pyo3::types::string::PyString>>::to_str':
          /usr/share/cargo/registry/pyo3-0.27.2/src/types/string.rs:335:(.text._ZN4pyo35types6string79_$LT$impl$u20$pyo3..instance..Borrowed$LT$pyo3..types..string..PyString$GT$$GT$6to_str17h6ec861dd1397cc79E+0x34): undefined reference to `PyUnicode_AsUTF8AndSize'
          /usr/bin/ld: /build/reproducible-path/rust-libcst-1.8.6/target/powerpc64le-unknown-linux-gnu/debug/deps/libpyo3-b52e432ab377f4af.rlib(pyo3-b52e432ab377f4af.pyo3.34a566889493a2bb-cgu.00.rcgu.o): in function `pyo3::types::string::<impl pyo3::instance::Borrowed<pyo3::types::string::PyString>>::to_string_lossy':
          /usr/share/cargo/registry/pyo3-0.27.2/src/types/string.rs:374:(.text._ZN4pyo35types6string79_$LT$impl$u20$pyo3..instance..Borrowed$LT$pyo3..types..string..PyString$GT$$GT$15to_string_lossy17hc316e20ee064e12cE+0xc4): undefined reference to `PyUnicode_AsEncodedString'
          /usr/bin/ld: /build/reproducible-path/rust-libcst-1.8.6/target/powerpc64le-unknown-linux-gnu/debug/deps/libpyo3-b52e432ab377f4af.rlib(pyo3-b52e432ab377f4af.pyo3.34a566889493a2bb-cgu.00.rcgu.o): in function `<pyo3::instance::Bound<pyo3::types::traceback::PyTraceback> as pyo3::types::traceback::PyTracebackMethods>::format':
          /usr/share/cargo/registry/pyo3-0.27.2/src/types/traceback.rs:69:(.text._ZN127_$LT$pyo3..instance..Bound$LT$pyo3..types..traceback..PyTraceback$GT$$u20$as$u20$pyo3..types..traceback..PyTracebackMethods$GT$6format17ha62021866e3b3dd7E+0x328): undefined reference to `PyTraceBack_Print'
          /usr/bin/ld: /build/reproducible-path/rust-libcst-1.8.6/target/powerpc64le-unknown-linux-gnu/debug/deps/libpyo3-b52e432ab377f4af.rlib(pyo3-b52e432ab377f4af.pyo3.34a566889493a2bb-cgu.00.rcgu.o): in function `<pyo3::instance::Bound<pyo3::types::typeobject::PyType> as pyo3::types::typeobject::PyTypeMethods>::name':
          /usr/share/cargo/registry/pyo3-0.27.2/src/types/typeobject.rs:113:(.text._ZN119_$LT$pyo3..instance..Bound$LT$pyo3..types..typeobject..PyType$GT$$u20$as$u20$pyo3..types..typeobject..PyTypeMethods$GT$4name17h585646c421d5e1b0E+0x2c): undefined reference to `PyType_GetName'
          /usr/bin/ld: /build/reproducible-path/rust-libcst-1.8.6/target/powerpc64le-unknown-linux-gnu/debug/deps/libpyo3-b52e432ab377f4af.rlib(pyo3-b52e432ab377f4af.pyo3.34a566889493a2bb-cgu.00.rcgu.o): in function `<pyo3::instance::Bound<pyo3::types::typeobject::PyType> as pyo3::types::typeobject::PyTypeMethods>::qualname':
          /usr/share/cargo/registry/pyo3-0.27.2/src/types/typeobject.rs:132:(.text._ZN119_$LT$pyo3..instance..Bound$LT$pyo3..types..typeobject..PyType$GT$$u20$as$u20$pyo3..types..typeobject..PyTypeMethods$GT$8qualname17h2e69276c91c445e0E+0x2c): undefined reference to `PyType_GetQualName'
          /usr/bin/ld: /build/reproducible-path/rust-libcst-1.8.6/target/powerpc64le-unknown-linux-gnu/debug/deps/libpyo3-b52e432ab377f4af.rlib(pyo3-b52e432ab377f4af.pyo3.34a566889493a2bb-cgu.03.rcgu.o): in function `pyo3::interpreter_lifecycle::initialize::{{closure}}':
          /usr/share/cargo/registry/pyo3-0.27.2/src/interpreter_lifecycle.rs:13:(.text._ZN4pyo321interpreter_lifecycle10initialize28_$u7b$$u7b$closure$u7d$$u7d$17h2fd3632393919e12E+0x18): undefined reference to `Py_IsInitialized'
          /usr/bin/ld: /usr/share/cargo/registry/pyo3-0.27.2/src/interpreter_lifecycle.rs:14:(.text._ZN4pyo321interpreter_lifecycle10initialize28_$u7b$$u7b$closure$u7d$$u7d$17h2fd3632393919e12E+0x30): undefined reference to `Py_InitializeEx'
          /usr/bin/ld: /usr/share/cargo/registry/pyo3-0.27.2/src/interpreter_lifecycle.rs:17:(.text._ZN4pyo321interpreter_lifecycle10initialize28_$u7b$$u7b$closure$u7d$$u7d$17h2fd3632393919e12E+0x38): undefined reference to `PyEval_SaveThread'
          /usr/bin/ld: /build/reproducible-path/rust-libcst-1.8.6/target/powerpc64le-unknown-linux-gnu/debug/deps/libpyo3-b52e432ab377f4af.rlib(pyo3-b52e432ab377f4af.pyo3.34a566889493a2bb-cgu.03.rcgu.o): in function `pyo3::interpreter_lifecycle::ensure_initialized::{{closure}}':
          /usr/share/cargo/registry/pyo3-0.27.2/src/interpreter_lifecycle.rs:118:(.text._ZN4pyo321interpreter_lifecycle18ensure_initialized28_$u7b$$u7b$closure$u7d$$u7d$17hd32f455d20d35100E+0x18): undefined reference to `Py_IsInitialized'
          /usr/bin/ld: /build/reproducible-path/rust-libcst-1.8.6/target/powerpc64le-unknown-linux-gnu/debug/deps/libpyo3-b52e432ab377f4af.rlib(pyo3-b52e432ab377f4af.pyo3.34a566889493a2bb-cgu.03.rcgu.o): in function `<pyo3::instance::Bound<pyo3::types::any::PyAny> as pyo3::types::any::PyAnyMethods>::getattr::inner':
          /usr/share/cargo/registry/pyo3-0.27.2/src/types/any.rs:998:(.text._ZN103_$LT$pyo3..instance..Bound$LT$pyo3..types..any..PyAny$GT$$u20$as$u20$pyo3..types..any..PyAnyMethods$GT$7getattr5inner17h3d2903ee24814f0cE+0x54): undefined reference to `PyObject_GetAttr'
          /usr/bin/ld: /build/reproducible-path/rust-libcst-1.8.6/target/powerpc64le-unknown-linux-gnu/debug/deps/libpyo3-b52e432ab377f4af.rlib(pyo3-b52e432ab377f4af.pyo3.34a566889493a2bb-cgu.03.rcgu.o): in function `pyo3::types::tuple::PyTuple::empty':
          /usr/share/cargo/registry/pyo3-0.27.2/src/types/tuple.rs:113:(.text._ZN4pyo35types5tuple7PyTuple5empty17h9feaa615befcdabfE+0x18): undefined reference to `PyTuple_New'
          /usr/bin/ld: /build/reproducible-path/rust-libcst-1.8.6/target/powerpc64le-unknown-linux-gnu/debug/deps/libpyo3-b52e432ab377f4af.rlib(pyo3-b52e432ab377f4af.pyo3.34a566889493a2bb-cgu.03.rcgu.o):(.toc+0x0): undefined reference to `PyTuple_Type'
          /usr/bin/ld: /build/reproducible-path/rust-libcst-1.8.6/target/powerpc64le-unknown-linux-gnu/debug/deps/libpyo3-b52e432ab377f4af.rlib(pyo3-b52e432ab377f4af.pyo3.34a566889493a2bb-cgu.04.rcgu.o): in function `pyo3::internal::state::AttachGuard::try_attach':
          /usr/share/cargo/registry/pyo3-0.27.2/src/internal/state.rs:98:(.text._ZN4pyo38internal5state11AttachGuard10try_attach17h22bd03bd9c456cbcE+0x44): undefined reference to `Py_IsInitialized'
          /usr/bin/ld: /usr/share/cargo/registry/pyo3-0.27.2/src/internal/state.rs:108:(.text._ZN4pyo38internal5state11AttachGuard10try_attach17h22bd03bd9c456cbcE+0xd4): undefined reference to `Py_IsFinalizing'
          /usr/bin/ld: /build/reproducible-path/rust-libcst-1.8.6/target/powerpc64le-unknown-linux-gnu/debug/deps/libpyo3-b52e432ab377f4af.rlib(pyo3-b52e432ab377f4af.pyo3.34a566889493a2bb-cgu.04.rcgu.o): in function `<pyo3::internal::state::AttachGuard as core::ops::drop::Drop>::drop':
          /usr/share/cargo/registry/pyo3-0.27.2/src/internal/state.rs:171:(.text._ZN76_$LT$pyo3..internal..state..AttachGuard$u20$as$u20$core..ops..drop..Drop$GT$4drop17h7425339df76411b8E+0x38): undefined reference to `PyGILState_Release'
          /usr/bin/ld: /build/reproducible-path/rust-libcst-1.8.6/target/powerpc64le-unknown-linux-gnu/debug/deps/libpyo3-b52e432ab377f4af.rlib(pyo3-b52e432ab377f4af.pyo3.34a566889493a2bb-cgu.04.rcgu.o): in function `pyo3_ffi::refcount::Py_DECREF':
          /usr/share/cargo/registry/pyo3-ffi-0.27.2/src/refcount.rs:305:(.text._ZN4pyo38internal5state13ReferencePool24drop_deferred_references17h5feee2e503f0c29eE+0x468): undefined reference to `_Py_Dealloc'
          /usr/bin/ld: /build/reproducible-path/rust-libcst-1.8.6/target/powerpc64le-unknown-linux-gnu/debug/deps/libpyo3-b52e432ab377f4af.rlib(pyo3-b52e432ab377f4af.pyo3.34a566889493a2bb-cgu.04.rcgu.o): in function `pyo3::internal::state::SuspendAttach::new':
          /usr/share/cargo/registry/pyo3-0.27.2/src/internal/state.rs:246:(.text._ZN4pyo38internal5state13SuspendAttach3new17h70812098c4ff16fbE+0x2c): undefined reference to `PyEval_SaveThread'
          /usr/bin/ld: /build/reproducible-path/rust-libcst-1.8.6/target/powerpc64le-unknown-linux-gnu/debug/deps/libpyo3-b52e432ab377f4af.rlib(pyo3-b52e432ab377f4af.pyo3.34a566889493a2bb-cgu.04.rcgu.o): in function `<pyo3::internal::state::SuspendAttach as core::ops::drop::Drop>::drop':
          /usr/share/cargo/registry/pyo3-0.27.2/src/internal/state.rs:256:(.text._ZN78_$LT$pyo3..internal..state..SuspendAttach$u20$as$u20$core..ops..drop..Drop$GT$4drop17h92ad0f4247ddddccE+0x38): undefined reference to `PyEval_RestoreThread'
          /usr/bin/ld: /build/reproducible-path/rust-libcst-1.8.6/target/powerpc64le-unknown-linux-gnu/debug/deps/libpyo3-b52e432ab377f4af.rlib(pyo3-b52e432ab377f4af.pyo3.34a566889493a2bb-cgu.05.rcgu.o): in function `pyo3::types::dict::PyDict::new':
          /usr/share/cargo/registry/pyo3-0.27.2/src/types/dict.rs:68:(.text._ZN4pyo35types4dict6PyDict3new17hc36f8c15fbfb669aE+0x14): undefined reference to `PyDict_New'
          /usr/bin/ld: /build/reproducible-path/rust-libcst-1.8.6/target/powerpc64le-unknown-linux-gnu/debug/deps/libpyo3-b52e432ab377f4af.rlib(pyo3-b52e432ab377f4af.pyo3.34a566889493a2bb-cgu.05.rcgu.o): in function `<pyo3::instance::Bound<pyo3::types::dict::PyDict> as pyo3::types::dict::PyDictMethods>::set_item::inner':
          /usr/share/cargo/registry/pyo3-0.27.2/src/types/dict.rs:285:(.text._ZN107_$LT$pyo3..instance..Bound$LT$pyo3..types..dict..PyDict$GT$$u20$as$u20$pyo3..types..dict..PyDictMethods$GT$8set_item5inner17h470c5978e1e6254eE+0x80): undefined reference to `PyDict_SetItem'
          /usr/bin/ld: /build/reproducible-path/rust-libcst-1.8.6/target/powerpc64le-unknown-linux-gnu/debug/deps/libpyo3-b52e432ab377f4af.rlib(pyo3-b52e432ab377f4af.pyo3.34a566889493a2bb-cgu.05.rcgu.o): in function `pyo3::types::module::PyModule::import':
          /usr/share/cargo/registry/pyo3-0.27.2/src/types/module.rs:90:(.text._ZN4pyo35types6module8PyModule6import17h37377aacd95ede0aE+0xf8): undefined reference to `PyImport_Import'
          /usr/bin/ld: /build/reproducible-path/rust-libcst-1.8.6/target/powerpc64le-unknown-linux-gnu/debug/deps/libpyo3-b52e432ab377f4af.rlib(pyo3-b52e432ab377f4af.pyo3.34a566889493a2bb-cgu.05.rcgu.o): in function `pyo3::types::module::PyModule::import':
          /usr/share/cargo/registry/pyo3-0.27.2/src/types/module.rs:90:(.text._ZN4pyo35types6module8PyModule6import17he6e16159415e28d9E+0xf0): undefined reference to `PyImport_Import'
          /usr/bin/ld: /build/reproducible-path/rust-libcst-1.8.6/target/powerpc64le-unknown-linux-gnu/debug/deps/libpyo3-b52e432ab377f4af.rlib(pyo3-b52e432ab377f4af.pyo3.34a566889493a2bb-cgu.07.rcgu.o): in function `pyo3::types::string::PyString::new':
          /usr/share/cargo/registry/pyo3-0.27.2/src/types/string.rs:165:(.text._ZN4pyo35types6string8PyString3new17hc08e6633be7d317dE+0x44): undefined reference to `PyUnicode_FromStringAndSize'
          /usr/bin/ld: /build/reproducible-path/rust-libcst-1.8.6/target/powerpc64le-unknown-linux-gnu/debug/deps/libpyo3-b52e432ab377f4af.rlib(pyo3-b52e432ab377f4af.pyo3.34a566889493a2bb-cgu.07.rcgu.o): in function `pyo3::types::string::PyString::intern':
          /usr/share/cargo/registry/pyo3-0.27.2/src/types/string.rs:197:(.text._ZN4pyo35types6string8PyString6intern17h9770a5b9dcee7deaE+0x44): undefined reference to `PyUnicode_FromStringAndSize'
          /usr/bin/ld: /usr/share/cargo/registry/pyo3-0.27.2/src/types/string.rs:199:(.text._ZN4pyo35types6string8PyString6intern17h9770a5b9dcee7deaE+0x6c): undefined reference to `PyUnicode_InternInPlace'
          /usr/bin/ld: /build/reproducible-path/rust-libcst-1.8.6/target/powerpc64le-unknown-linux-gnu/debug/deps/libpyo3-b52e432ab377f4af.rlib(pyo3-b52e432ab377f4af.pyo3.34a566889493a2bb-cgu.07.rcgu.o):(.toc+0x0): undefined reference to `PyUnicode_Type'
          /usr/bin/ld: /build/reproducible-path/rust-libcst-1.8.6/target/powerpc64le-unknown-linux-gnu/debug/deps/libpyo3-b52e432ab377f4af.rlib(pyo3-b52e432ab377f4af.pyo3.34a566889493a2bb-cgu.11.rcgu.o): in function `pyo3::err::err_state::PyErrStateNormalized::ptraceback':
          /usr/share/cargo/registry/pyo3-0.27.2/src/err/err_state.rs:179:(.text._ZN4pyo33err9err_state20PyErrStateNormalized10ptraceback17h5a0692c6b6d9947eE+0x20): undefined reference to `PyException_GetTraceback'
          /usr/bin/ld: /build/reproducible-path/rust-libcst-1.8.6/target/powerpc64le-unknown-linux-gnu/debug/deps/libpyo3-b52e432ab377f4af.rlib(pyo3-b52e432ab377f4af.pyo3.34a566889493a2bb-cgu.11.rcgu.o): in function `pyo3::err::err_state::PyErrStateNormalized::take':
          /usr/share/cargo/registry/pyo3-0.27.2/src/err/err_state.rs:190:(.text._ZN4pyo33err9err_state20PyErrStateNormalized4take17hb7527aca0f116aa3E+0x14): undefined reference to `PyErr_GetRaisedException'
          /usr/bin/ld: /build/reproducible-path/rust-libcst-1.8.6/target/powerpc64le-unknown-linux-gnu/debug/deps/libpyo3-b52e432ab377f4af.rlib(pyo3-b52e432ab377f4af.pyo3.34a566889493a2bb-cgu.11.rcgu.o): in function `pyo3::err::err_state::PyErrStateInner::restore':
          /usr/share/cargo/registry/pyo3-0.27.2/src/err/err_state.rs:322:(.text._ZN4pyo33err9err_state15PyErrStateInner7restore17h031c93dcb3ed6bb9E+0x3c): undefined reference to `PyErr_SetRaisedException'
          /usr/bin/ld: /build/reproducible-path/rust-libcst-1.8.6/target/powerpc64le-unknown-linux-gnu/debug/deps/libpyo3-b52e432ab377f4af.rlib(pyo3-b52e432ab377f4af.pyo3.34a566889493a2bb-cgu.11.rcgu.o): in function `pyo3::err::err_state::raise_lazy':
          /usr/share/cargo/registry/pyo3-0.27.2/src/err/err_state.rs:357:(.text._ZN4pyo33err9err_state10raise_lazy17hcb3fbbd928560d4aE+0xec): undefined reference to `PyErr_SetString'
          /usr/bin/ld: /usr/share/cargo/registry/pyo3-0.27.2/src/err/err_state.rs:362:(.text._ZN4pyo33err9err_state10raise_lazy17hcb3fbbd928560d4aE+0x120): undefined reference to `PyErr_SetObject'
          /usr/bin/ld: /build/reproducible-path/rust-libcst-1.8.6/target/powerpc64le-unknown-linux-gnu/debug/deps/libpyo3-b52e432ab377f4af.rlib(pyo3-b52e432ab377f4af.pyo3.34a566889493a2bb-cgu.11.rcgu.o):(.toc+0x0): undefined reference to `PyExc_BaseException'
          /usr/bin/ld: /build/reproducible-path/rust-libcst-1.8.6/target/powerpc64le-unknown-linux-gnu/debug/deps/libpyo3-b52e432ab377f4af.rlib(pyo3-b52e432ab377f4af.pyo3.34a566889493a2bb-cgu.11.rcgu.o):(.toc+0x8): undefined reference to `PyExc_TypeError'
          /usr/bin/ld: /build/reproducible-path/rust-libcst-1.8.6/target/powerpc64le-unknown-linux-gnu/debug/deps/libpyo3-b52e432ab377f4af.rlib(pyo3-b52e432ab377f4af.pyo3.34a566889493a2bb-cgu.14.rcgu.o): in function `pyo3::err::PyErr::print_panic_and_unwind':
          /usr/share/cargo/registry/pyo3-0.27.2/src/err/mod.rs:302:(.text._ZN4pyo33err5PyErr22print_panic_and_unwind17ha427df512b7d87e4E+0x114): undefined reference to `PyErr_PrintEx'
          /usr/bin/ld: /build/reproducible-path/rust-libcst-1.8.6/target/powerpc64le-unknown-linux-gnu/debug/deps/libpyo3-b52e432ab377f4af.rlib(pyo3-b52e432ab377f4af.pyo3.34a566889493a2bb-cgu.14.rcgu.o): in function `pyo3::err::PyErr::new_type':
          /usr/share/cargo/registry/pyo3-0.27.2/src/err/mod.rs:364:(.text._ZN4pyo33err5PyErr8new_type17h50f87838efc1cb22E+0x1c8): undefined reference to `PyErr_NewExceptionWithDoc'
          /usr/bin/ld: /build/reproducible-path/rust-libcst-1.8.6/target/powerpc64le-unknown-linux-gnu/debug/deps/libpyo3-b52e432ab377f4af.rlib(pyo3-b52e432ab377f4af.pyo3.34a566889493a2bb-cgu.14.rcgu.o): in function `pyo3::err::PyErr::write_unraisable':
          /usr/share/cargo/registry/pyo3-0.27.2/src/err/mod.rs:473:(.text._ZN4pyo33err5PyErr16write_unraisable17h3c18644bdef68e8cE+0x34): undefined reference to `PyErr_WriteUnraisable'
          /usr/bin/ld: /build/reproducible-path/rust-libcst-1.8.6/target/powerpc64le-unknown-linux-gnu/debug/deps/libpyo3-b52e432ab377f4af.rlib(pyo3-b52e432ab377f4af.pyo3.34a566889493a2bb-cgu.14.rcgu.o): in function `pyo3::err::panic_after_error':
          /usr/share/cargo/registry/pyo3-0.27.2/src/err/mod.rs:708:(.text._ZN4pyo33err17panic_after_error17ha6d03ae42419fe3cE+0x18): undefined reference to `PyErr_Print'
          /usr/bin/ld: /build/reproducible-path/rust-libcst-1.8.6/target/powerpc64le-unknown-linux-gnu/debug/deps/libpyo3-b52e432ab377f4af.rlib(pyo3-b52e432ab377f4af.pyo3.34a566889493a2bb-cgu.14.rcgu.o):(.toc+0x0): undefined reference to `PyLong_Type'
          /usr/bin/ld: /build/reproducible-path/rust-libcst-1.8.6/target/powerpc64le-unknown-linux-gnu/debug/deps/libpyo3-b52e432ab377f4af.rlib(pyo3-b52e432ab377f4af.pyo3.34a566889493a2bb-cgu.14.rcgu.o):(.toc+0x8): undefined reference to `PyBool_Type'
          /usr/bin/ld: /build/reproducible-path/rust-libcst-1.8.6/target/powerpc64le-unknown-linux-gnu/debug/deps/libpyo3-b52e432ab377f4af.rlib(pyo3-b52e432ab377f4af.pyo3.34a566889493a2bb-cgu.14.rcgu.o):(.toc+0x10): undefined reference to `PyType_Type'
          /usr/bin/ld: /build/reproducible-path/rust-libcst-1.8.6/target/powerpc64le-unknown-linux-gnu/debug/deps/libpyo3_ffi-1b71c73ed1c628a3.rlib(pyo3_ffi-1b71c73ed1c628a3.pyo3_ffi.b7da045d5198272b-cgu.0.rcgu.o): in function `pyo3_ffi::pystate::PyGILState_Ensure':
          /usr/share/cargo/registry/pyo3-ffi-0.27.2/src/pystate.rs:138:(.text._ZN8pyo3_ffi7pystate17PyGILState_Ensure17hc319b5e29ad0c54dE+0x24): undefined reference to `PyGILState_Ensure'
          collect2: error: ld returned 1 exit status
          
  = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
  = note: use the `-l` flag to specify native libraries to link
  = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib)

error: could not compile `libcst` (bin "parse") due to 1 previous error



More information about the Pkg-rust-maintainers mailing list