Package: src:python-minijinja Version: 2.12.0-1 Severity: serious Tags: ftbfs forky sid
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202603/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you cannot reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and add an affects on src:python-minijinja, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild dh_autoreconf_clean -O--buildsystem=pybuild debian/rules override_dh_clean make[1]: Entering directory '/<<PKGBUILDDIR>>' rm -rf .mypy_cache dh_clean make[1]: Leaving directory '/<<PKGBUILDDIR>>' debian/rules binary dh binary --buildsystem=pybuild dh_update_autotools_config -O--buildsystem=pybuild dh_autoreconf -O--buildsystem=pybuild debian/rules execute_before_dh_auto_configure make[1]: Entering directory '/<<PKGBUILDDIR>>' [... snipped ...] --> src/state.rs:76:36 | 76 | Ok(Python::with_gil(|py| py.None())) | ^^^^^^^^ function or associated item not found in `pyo3::Python<'_>` | note: if you're trying to build a new `pyo3::Python<'_>` consider using one of the following associated functions: pyo3::Python::<'_>::try_attach pyo3::Python::<'unbound>::assume_attached --> /usr/share/cargo/registry/pyo3-0.28.2/src/marker.rs:440:5 | 440 | / pub fn try_attach<F, R>(f: F) -> Option<R> 441 | | where 442 | | F: for<'py> FnOnce(Python<'py>) -> R, | |_____________________________________________^ ... 790 | pub unsafe fn assume_attached() -> Python<'unbound> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0282]: type annotations needed --> src/state.rs:76:46 | 76 | Ok(Python::with_gil(|py| py.None())) | ^^ -- type must be known at this point | help: consider giving this closure parameter an explicit type | 76 | Ok(Python::with_gil(|py: /* Type */| py.None())) | ++++++++++++ error[E0599]: no function or associated item named `with_gil` found for struct `pyo3::Python<'py>` in the current scope --> src/state.rs:90:47 | 90 | .unwrap_or_else(|| Ok(Python::with_gil(|py| py.None()))) | ^^^^^^^^ function or associated item not found in `pyo3::Python<'_>` | note: if you're trying to build a new `pyo3::Python<'_>` consider using one of the following associated functions: pyo3::Python::<'_>::try_attach pyo3::Python::<'unbound>::assume_attached --> /usr/share/cargo/registry/pyo3-0.28.2/src/marker.rs:440:5 | 440 | / pub fn try_attach<F, R>(f: F) -> Option<R> 441 | | where 442 | | F: for<'py> FnOnce(Python<'py>) -> R, | |_____________________________________________^ ... 790 | pub unsafe fn assume_attached() -> Python<'unbound> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0282]: type annotations needed --> src/state.rs:90:57 | 90 | .unwrap_or_else(|| Ok(Python::with_gil(|py| py.None()))) | ^^ -- type must be known at this point | help: consider giving this closure parameter an explicit type | 90 | .unwrap_or_else(|| Ok(Python::with_gil(|py: /* Type */| py.None()))) | ++++++++++++ error[E0599]: no function or associated item named `with_gil` found for struct `pyo3::Python<'py>` in the current scope --> src/typeconv.rs:41:17 | 41 | Python::with_gil(|py| write!(f, "{}", self.inner.bind(py))) | ^^^^^^^^ function or associated item not found in `pyo3::Python<'_>` | note: if you're trying to build a new `pyo3::Python<'_>` consider using one of the following associated functions: pyo3::Python::<'_>::try_attach pyo3::Python::<'unbound>::assume_attached --> /usr/share/cargo/registry/pyo3-0.28.2/src/marker.rs:440:5 | 440 | / pub fn try_attach<F, R>(f: F) -> Option<R> 441 | | where 442 | | F: for<'py> FnOnce(Python<'py>) -> R, | |_____________________________________________^ ... 790 | pub unsafe fn assume_attached() -> Python<'unbound> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0599]: no function or associated item named `with_gil` found for struct `pyo3::Python<'py>` in the current scope --> src/typeconv.rs:47:17 | 47 | Python::with_gil(|py| { | ^^^^^^^^ function or associated item not found in `pyo3::Python<'_>` | note: if you're trying to build a new `pyo3::Python<'_>` consider using one of the following associated functions: pyo3::Python::<'_>::try_attach pyo3::Python::<'unbound>::assume_attached --> /usr/share/cargo/registry/pyo3-0.28.2/src/marker.rs:440:5 | 440 | / pub fn try_attach<F, R>(f: F) -> Option<R> 441 | | where 442 | | F: for<'py> FnOnce(Python<'py>) -> R, | |_____________________________________________^ ... 790 | pub unsafe fn assume_attached() -> Python<'unbound> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: use of deprecated method `pyo3::types::PyAnyMethods::downcast`: use `Bound::cast` instead --> src/typeconv.rs:49:22 | 49 | if inner.downcast::<PySequence>().is_ok() { | ^^^^^^^^ error[E0599]: no function or associated item named `with_gil` found for struct `pyo3::Python<'py>` in the current scope --> src/typeconv.rs:65:17 | 65 | Python::with_gil(|py| write!(f, "{}", self.inner.bind(py))) | ^^^^^^^^ function or associated item not found in `pyo3::Python<'_>` | note: if you're trying to build a new `pyo3::Python<'_>` consider using one of the following associated functions: pyo3::Python::<'_>::try_attach pyo3::Python::<'unbound>::assume_attached --> /usr/share/cargo/registry/pyo3-0.28.2/src/marker.rs:440:5 | 440 | / pub fn try_attach<F, R>(f: F) -> Option<R> 441 | | where 442 | | F: for<'py> FnOnce(Python<'py>) -> R, | |_____________________________________________^ ... 790 | pub unsafe fn assume_attached() -> Python<'unbound> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0599]: no function or associated item named `with_gil` found for struct `pyo3::Python<'py>` in the current scope --> src/typeconv.rs:69:17 | 69 | Python::with_gil(|py| -> Result<Value, Error> { | ^^^^^^^^ function or associated item not found in `pyo3::Python<'_>` | note: if you're trying to build a new `pyo3::Python<'_>` consider using one of the following associated functions: pyo3::Python::<'_>::try_attach pyo3::Python::<'unbound>::assume_attached --> /usr/share/cargo/registry/pyo3-0.28.2/src/marker.rs:440:5 | 440 | / pub fn try_attach<F, R>(f: F) -> Option<R> 441 | | where 442 | | F: for<'py> FnOnce(Python<'py>) -> R, | |_____________________________________________^ ... 790 | pub unsafe fn assume_attached() -> Python<'unbound> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0599]: no function or associated item named `with_gil` found for struct `pyo3::Python<'py>` in the current scope --> src/typeconv.rs:95:17 | 95 | Python::with_gil(|py| -> Result<Value, Error> { | ^^^^^^^^ function or associated item not found in `pyo3::Python<'_>` | note: if you're trying to build a new `pyo3::Python<'_>` consider using one of the following associated functions: pyo3::Python::<'_>::try_attach pyo3::Python::<'unbound>::assume_attached --> /usr/share/cargo/registry/pyo3-0.28.2/src/marker.rs:440:5 | 440 | / pub fn try_attach<F, R>(f: F) -> Option<R> 441 | | where 442 | | F: for<'py> FnOnce(Python<'py>) -> R, | |_____________________________________________^ ... 790 | pub unsafe fn assume_attached() -> Python<'unbound> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0599]: no function or associated item named `with_gil` found for struct `pyo3::Python<'py>` in the current scope --> src/typeconv.rs:110:17 | 110 | Python::with_gil(|py| { | ^^^^^^^^ function or associated item not found in `pyo3::Python<'_>` | note: if you're trying to build a new `pyo3::Python<'_>` consider using one of the following associated functions: pyo3::Python::<'_>::try_attach pyo3::Python::<'unbound>::assume_attached --> /usr/share/cargo/registry/pyo3-0.28.2/src/marker.rs:440:5 | 440 | / pub fn try_attach<F, R>(f: F) -> Option<R> 441 | | where 442 | | F: for<'py> FnOnce(Python<'py>) -> R, | |_____________________________________________^ ... 790 | pub unsafe fn assume_attached() -> Python<'unbound> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0599]: no function or associated item named `with_gil` found for struct `pyo3::Python<'py>` in the current scope --> src/typeconv.rs:143:17 | 143 | Python::with_gil(|py| { | ^^^^^^^^ function or associated item not found in `pyo3::Python<'_>` | note: if you're trying to build a new `pyo3::Python<'_>` consider using one of the following associated functions: pyo3::Python::<'_>::try_attach pyo3::Python::<'unbound>::assume_attached --> /usr/share/cargo/registry/pyo3-0.28.2/src/marker.rs:440:5 | 440 | / pub fn try_attach<F, R>(f: F) -> Option<R> 441 | | where 442 | | F: for<'py> FnOnce(Python<'py>) -> R, | |_____________________________________________^ ... 790 | pub unsafe fn assume_attached() -> Python<'unbound> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0599]: no function or associated item named `with_gil` found for struct `pyo3::Python<'py>` in the current scope --> src/typeconv.rs:152:17 | 152 | Python::with_gil(|py| { | ^^^^^^^^ function or associated item not found in `pyo3::Python<'_>` | note: if you're trying to build a new `pyo3::Python<'_>` consider using one of the following associated functions: pyo3::Python::<'_>::try_attach pyo3::Python::<'unbound>::assume_attached --> /usr/share/cargo/registry/pyo3-0.28.2/src/marker.rs:440:5 | 440 | / pub fn try_attach<F, R>(f: F) -> Option<R> 441 | | where 442 | | F: for<'py> FnOnce(Python<'py>) -> R, | |_____________________________________________^ ... 790 | pub unsafe fn assume_attached() -> Python<'unbound> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0599]: no function or associated item named `with_gil` found for struct `pyo3::Python<'py>` in the current scope --> src/typeconv.rs:159:17 | 159 | Python::with_gil(|py| { | ^^^^^^^^ function or associated item not found in `pyo3::Python<'_>` | note: if you're trying to build a new `pyo3::Python<'_>` consider using one of the following associated functions: pyo3::Python::<'_>::try_attach pyo3::Python::<'unbound>::assume_attached --> /usr/share/cargo/registry/pyo3-0.28.2/src/marker.rs:440:5 | 440 | / pub fn try_attach<F, R>(f: F) -> Option<R> 441 | | where 442 | | F: for<'py> FnOnce(Python<'py>) -> R, | |_____________________________________________^ ... 790 | pub unsafe fn assume_attached() -> Python<'unbound> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: use of deprecated method `pyo3::types::PyAnyMethods::downcast`: use `Bound::cast` instead --> src/typeconv.rs:161:22 | 161 | if inner.downcast::<PySequence>().is_ok() { | ^^^^^^^^ error[E0599]: no function or associated item named `with_gil` found for struct `pyo3::Python<'py>` in the current scope --> src/typeconv.rs:206:13 | 206 | Python::with_gil(|py| to_python_value_impl(py, value)) | ^^^^^^^^ function or associated item not found in `pyo3::Python<'_>` | note: if you're trying to build a new `pyo3::Python<'_>` consider using one of the following associated functions: pyo3::Python::<'_>::try_attach pyo3::Python::<'unbound>::assume_attached --> /usr/share/cargo/registry/pyo3-0.28.2/src/marker.rs:440:5 | 440 | / pub fn try_attach<F, R>(f: F) -> Option<R> 441 | | where 442 | | F: for<'py> FnOnce(Python<'py>) -> R, | |_____________________________________________^ ... 790 | pub unsafe fn assume_attached() -> Python<'unbound> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Some errors have detailed explanations: E0282, E0412, E0599, E0603. For more information about an error, try `rustc --explain E0282`. warning: `minijinja-py` (lib) generated 3 warnings error: could not compile `minijinja-py` (lib) due to 30 previous errors; 3 warnings emitted Caused by: process didn't exit successfully: `CARGO=/usr/bin/cargo CA [too-long-redacted] argo/registry` (exit status: 1) ð¥ maturin failed Caused by: Failed to build a native library through cargo Caused by: Cargo build finished with "exit status: 101": `env -u CARGO PYO3_BUILD_EXTENSION_MODULE="1" PYO3_ENVIRONMENT_SIGNATURE="cpython-3.13-64bit" PYO3_PYTHON="/usr/bin/python3.13" PYTHON_SYS_EXECUTABLE="/usr/bin/python3.13" "/usr/share/cargo/bin/cargo" "rustc" "--message-format" "json-render-diagnostics" "--manifest-path" "/<<PKGBUILDDIR>>/Cargo.toml" "--release" "--lib" "--" "-C" "strip=symbols"` Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/usr/bin/python3.13', '--compatibility', 'off'] returned non-zero exit status 1 ERROR Backend subprocess exited when trying to invoke build_wheel E: pybuild pybuild:485: build: plugin pyproject failed with: exit code=1: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_minijinja dh_auto_build: error: pybuild --build -i python{version} -p "3.14 3.13" --parallel=2 returned exit code 13 make: *** [debian/rules:22: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------

