From nobody Sat Nov 26 14:56:34 2022 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NKFDq29smz4jYBw for ; Sat, 26 Nov 2022 14:56:43 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NKFDq1j5Mz3m0G; Sat, 26 Nov 2022 14:56:43 +0000 (UTC) (envelope-from jbeich@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669474603; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Iw52VsYHX89baKMDdfCk719Dh0+7E1xJquV23vhijVg=; b=Z5KT6ryZ2mavS9MWMRHzeCUC7QZGaKjEsOeHNTMMxkvsfVze/x5YeEMStXhwyecNZe9Zkf BXPLgtENk2R38BDV1cVY/plAcc2q1wc7EDZoQK+gUh2/Y+HCkeaiH6ToflBFc6+7Ku+pXq +Un6wS0yhfuUYyyjEjyCWtspe2IYiMV3pWut8r6MyMUptQpIUkW+HMi6SBQDHbgN7H4k7/ sFjqarp1dYyjvWspIXxxbpDAAUEV1Vn17Apz5bUzq1p8Cwiy/eWhSd8Ry/wSYgV4J0aZM4 FSRmFYlEK7KpD5aqu1g6jthLSTYOG9D6Fa6xcOHZsrGRZxl14PtW23EhP8sN8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669474603; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Iw52VsYHX89baKMDdfCk719Dh0+7E1xJquV23vhijVg=; b=Pc7iJpimiPsm70ME8nAE90EkhGHsCASBUjVIQ+tQ+SHXjiFVVKk7xnFGhSOreUIn5W419i wLfsfWRtLjdoRmDCont9OJEuHiRHamwRkLnvD3Ygw3+YM4ymk5Z/ZsZwld4dQrl2rsTVT8 qMHJpuycBuhWHFff8BzyDO77GKA5bENQuiGTAeXNdNMNAL4TAPx2azKJG0gOeFVI4rkAbB O5jwYciK/Y0jC4XGzLmk6GHdv1lwqzeTzFzVDkSms2MPtHSApRrVIjP9Ya+ncqdhY41hfO ohtaBTEnc4bAJVUFnWlVloQC2QnylOdwAuUWtniTw4KRTQATnDDcTL8WrrMC9A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1669474603; a=rsa-sha256; cv=none; b=nkQEGHXlnuah+TSMgePUkliTmL09e0DZ6A9rp/rahafqYFwXdLUN3jdiaEDK30V/RVVJiM 8ZaDTifaCI/ObEKHVBUpriAkRvmShQBCZhFlZrtyRFtdG5r8GOyauQg0XUJVnY5YWU5qLl g2oPpvTj1BxGxIyO5Dg65FsS7NvtHKnz67/THUKZck3kMD6ifagcG5zRVMyZj3V0kllwME prX06zJqDLfMFk+lSG1DkaE8QK041fUZ+cVsgqzqdFxiIdkjgGiuREVH3y1sUgalN/K81a OgwV3Liwgk6WZcfbtF1NkGSRQy2EpBH24/7ki9n2L1cOp1k70g78gyLVhSQyxA== Received: by freefall.freebsd.org (Postfix, from userid 1354) id 1F44213B98; Sat, 26 Nov 2022 14:56:43 +0000 (UTC) From: Jan Beich To: Nuno Teixeira Cc: FreeBSD Mailing List Subject: Re: [zstd-sys 2.0.1+zstd.1.5.2] crate failing on arm64 In-Reply-To: (Nuno Teixeira's message of "Thu, 24 Nov 2022 00:33:24 +0000") References: Date: Sat, 26 Nov 2022 15:56:34 +0100 Message-ID: List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: text/plain X-ThisMailContainsUnwantedMimeParts: N Nuno Teixeira writes: > From the log it seems [zstd-sys 2.0.1+zstd.1.5.2] crate failing. Unlikely if it shows up after "warning: build failed, waiting for other jobs to finish..." due to MAKE_JOBS_NUMBER=2 in poudriere log. > https://pkg-status.freebsd.org/ampere2/data/main-arm64-default/pf323e9d40f68_s41be508d31/logs/lapce-0.2.4.log [...] > [io-lifetimes 0.7.3] error[E0554]: `#![feature]` may not be used on the stable release channel > [io-lifetimes 0.7.3] --> :1:1 > [io-lifetimes 0.7.3] | > [io-lifetimes 0.7.3] 1 | #![feature(rustc_attrs)] > [io-lifetimes 0.7.3] | ^^^^^^^^^^^^^^^^^^^^^^^^ > [io-lifetimes 0.7.3] > [io-lifetimes 0.7.3] error: aborting due to previous error Such errors don't abort build and also show up on amd64. If those ever become a problem check if adding CARGO_ENV+=RUSTC_BOOTSTRAP=1 helps. > error: unsupported platform > --> /wrkdirs/usr/ports/editors/lapce/work/lapce-0.2.4/cargo-crates/wasmtime-runtime-1.0.2/src/traphandlers/unix.rs:232:13 > | > 232 | compile_error!("unsupported platform"); > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > error[E0308]: mismatched types > --> /wrkdirs/usr/ports/editors/lapce/work/lapce-0.2.4/cargo-crates/wasmtime-runtime-1.0.2/src/traphandlers/unix.rs:167:73 > | > 167 | unsafe fn get_pc_and_fp(cx: *mut libc::c_void, _signum: libc::c_int) -> (*const u8, usize) { > | ------------- ^^^^^^^^^^^^^^^^^^ expected tuple, found `()` > | | > | implicitly returns `()` as its body has no tail or `return` expression > | > = note: expected tuple `(*const u8, usize)` > found unit type `()` > > For more information about this error, try `rustc --explain E0308`. > error: could not compile `wasmtime-runtime` due to 2 previous errors Looks like https://github.com/bytecodealliance/wasmtime/blob/main/crates/runtime/src/traphandlers/unix.rs needs something like https://github.com/wasmerio/wasmer/blob/dcfdea76999a/lib/vm/src/trap/traphandlers.rs#L302-L304