Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 859850 - dev-util/maturin-0.13.0 - error: `cargo build --manifest-path Cargo.toml --release -v` failed with code 101
Summary: dev-util/maturin-0.13.0 - error: `cargo build --manifest-path Cargo.toml --re...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: Normal normal
Assignee: Ionen Wolkens
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-21 20:04 UTC by ernsteiswuerfel
Modified: 2022-07-27 14:40 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (ppc) (maturin-0.13.0:20220721-194452.log,132.96 KB, text/plain)
2022-07-21 20:04 UTC, ernsteiswuerfel
Details
emerge --info (file_859850.txt,6.54 KB, text/plain)
2022-07-21 20:04 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2022-07-21 20:04:16 UTC
Created attachment 792941 [details]
build.log (ppc)

Generated backtrace via RUST_BACKTRACE=full as the package suggested.

[...]
error: failed to run custom build command for `ring v0.16.20`

Caused by:
  process didn't exit successfully: `/var/tmp/portage/dev-util/maturin-0.13.0/work/maturin-0.13.0/target/release/build/ring-188df3450e7fad2f/build-script-build` (exit status: 101)
  --- stderr
  thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', /var/tmp/portage/dev-util/maturin-0.13.0/work/cargo_home/gentoo/ring-0.16.20/build.rs:358:10
  stack backtrace:
     0:   0x89add0 - std::backtrace_rs::backtrace::libunwind::trace::h0df357a3b8b2708b
                         at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
     1:   0x89add0 - std::backtrace_rs::backtrace::trace_unsynchronized::h2a099da09268bf16
                         at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
     2:   0x89add0 - std::sys_common::backtrace::_print_fmt::he944fc9bea18728e
                         at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:66:5
     3:   0x89add0 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h14f69c2a68ad7a3c
                         at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:45:22
     4:   0x8d8034 - core::fmt::write::h72841b42dc56dec3
                         at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/fmt/mod.rs:1190:17
     5:   0x892914 - std::io::Write::write_fmt::h313693275b313e15
                         at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/io/mod.rs:1657:15
     6:   0x89f07c - std::sys_common::backtrace::_print::he13e1a70b472fcb5
                         at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:48:5
     7:   0x89f07c - std::sys_common::backtrace::print::hadae30dc1cc0a7e9
                         at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:35:9
     8:   0x89f07c - std::panicking::default_hook::{{closure}}::h89da206e7bde1e49
                         at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:295:22
     9:   0x89ebec - std::panicking::default_hook::he88e23ca5860bd17
                         at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:314:9
    10:   0x89fa18 - std::panicking::rust_panic_with_hook::h6d2ae444c29d38be
                         at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:698:17
    11:   0x89f624 - std::panicking::begin_panic_handler::{{closure}}::h0b70034228ac6150
                         at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:586:13
    12:   0x89b3a8 - std::sys_common::backtrace::__rust_end_short_backtrace::h61a00b4335be93ad
                         at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:138:18
    13:   0x89f238 - rust_begin_unwind
                         at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:584:5
    14:   0x809070 - core::panicking::panic_fmt::he43d86486f1b9393
                         at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panicking.rs:143:14
    15:   0x808f20 - core::panicking::panic::h68c403e0a7c3e6db
                         at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panicking.rs:48:5
    16:   0x813248 - core::option::Option<T>::unwrap::ha042e25f1533b674
    17:   0x80d680 - build_script_build::build_c_code::h6cc8f41785049762
    18:   0x80ce74 - build_script_build::ring_build_rs_main::h91947b9948376c25
    19:   0x80c8c0 - build_script_build::main::h601abec5ddecdc8e
    20:   0x81d3d8 - core::ops::function::FnOnce::call_once::h513d76aa05745f86
    21:   0x812f4c - std::sys_common::backtrace::__rust_begin_short_backtrace::hb321a84957a6f9e0
    22:   0x8146e4 - std::rt::lang_start::{{closure}}::h329d86433c479097
    23:   0x89a5b4 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::h68129f3eb3fd850e
                         at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:259:13
    24:   0x89a5b4 - std::panicking::try::do_call::hc75d80451e353980
                         at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40
    25:   0x89a5b4 - std::panicking::try::hfa13612eb018e4b5
                         at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19
    26:   0x89a5b4 - std::panic::catch_unwind::h79c8a8d7397a4fd5
                         at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14
    27:   0x89a5b4 - std::rt::lang_start_internal::{{closure}}::h07c8712268021d52
                         at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/rt.rs:128:48
    28:   0x89a5b4 - std::panicking::try::do_call::hc8dbd03a35b80aba
                         at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40
    29:   0x89a5b4 - std::panicking::try::h802166e1a4ea3276
                         at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19
    30:   0x89a5b4 - std::panic::catch_unwind::h8f6a3e21c131bae9
                         at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14
    31:   0x89a5b4 - std::rt::lang_start_internal::hba6e148247b92d48
                         at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/rt.rs:128:20
    32:   0x8146b0 - std::rt::lang_start::ha09e4bb5c223809e
    33:   0x811a28 - main
    34: 0xf7629920 - __libc_start_call_main
                         at /usr/src/debug/sys-libs/glibc-2.34-r13/glibc-2.34/csu/../sysdeps/nptl/libc_start_call_main.h:58:16
    35: 0xf7629ab4 - generic_start_main
                         at /usr/src/debug/sys-libs/glibc-2.34-r13/glibc-2.34/csu/../csu/libc-start.c:392:3
    36: 0xf7629ab4 - __libc_start_main_impl
                         at /usr/src/debug/sys-libs/glibc-2.34-r13/glibc-2.34/csu/../sysdeps/unix/sysv/linux/powerpc/libc-start.c:98:10
    37:        0x0 - <unknown>
error: `cargo build --manifest-path Cargo.toml --release -v` failed with code 101
-- Output captured from stdout:

 * ERROR: dev-util/maturin-0.13.0::gentoo failed (compile phase):
 *   Wheel build failed
Comment 1 ernsteiswuerfel archtester 2022-07-21 20:04:49 UTC
Created attachment 792944 [details]
emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2022-07-22 12:36:45 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b639872101f83dd71b0265eee922ee48f47c1b12

commit b639872101f83dd71b0265eee922ee48f47c1b12
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-07-22 12:36:05 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-07-22 12:36:30 +0000

    dev-util/maturin: also add ppc to rustls exclude
    
    Bug: https://bugs.gentoo.org/859850
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 dev-util/maturin/maturin-0.13.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 3 Ionen Wolkens gentoo-dev 2022-07-22 12:37:27 UTC
Untested on ppc but please report/close if fixed
Comment 4 ernsteiswuerfel archtester 2022-07-27 14:40:04 UTC
Builds ok now on ppc, thanks!

Just fails to run the testsuite just as in bug #859577.