From nobody Tue Nov 16 12:11:03 2021 X-Original-To: dev-commits-ports-all@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 99CEE1850527; Tue, 16 Nov 2021 12:11:05 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HtlJm4Z5Kz3MsF; Tue, 16 Nov 2021 12:11:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B08994ECD; Tue, 16 Nov 2021 12:11:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1AGCB3AY078528; Tue, 16 Nov 2021 12:11:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1AGCB3r8078527; Tue, 16 Nov 2021 12:11:03 GMT (envelope-from git) Date: Tue, 16 Nov 2021 12:11:03 GMT Message-Id: <202111161211.1AGCB3r8078527@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: 38b2862d44cc - main - net/findomain: fix build on powerpc List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 38b2862d44cccb962b8e7b70c9737518fc7b973c Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=38b2862d44cccb962b8e7b70c9737518fc7b973c commit 38b2862d44cccb962b8e7b70c9737518fc7b973c Author: Piotr Kubaj AuthorDate: 2021-11-16 12:03:44 +0000 Commit: Piotr Kubaj CommitDate: 2021-11-16 12:03:44 +0000 net/findomain: fix build on powerpc error[E0432]: unresolved imports `core::sync::atomic::AtomicI64`, `core::sync::atomic::AtomicU64` --> /wrkdirs/usr/ports/net/findomain/work/Findomain-5.0.0/cargo-crates/crossbeam-utils-0.8.5/src/lib.rs:79:49 | 79 | pub(crate) use core::sync::atomic::{AtomicI64, AtomicU64}; | ^^^^^^^^^ ^^^^^^^^^ no `AtomicU64` in `sync::atomic` | | | no `AtomicI64` in `sync::atomic` | help: a similar name exists in the module | 79 | pub(crate) use core::sync::atomic::{AtomicI8, AtomicU64}; | ~~~~~~~~ help: a similar name exists in the module | 79 | pub(crate) use core::sync::atomic::{AtomicI64, AtomicU8}; | ~~~~~~~~ error[E0412]: cannot find type `AtomicU64` in module `core::sync::atomic` --> /wrkdirs/usr/ports/net/findomain/work/Findomain-5.0.0/cargo-crates/crossbeam-utils-0.8.5/src/atomic/consume.rs:78:14 | 78 | impl_atomic!(AtomicU64, u64); | ^^^^^^^^^ help: a struct with a similar name exists: `AtomicU16` error[E0412]: cannot find type `AtomicI64` in module `core::sync::atomic` --> /wrkdirs/usr/ports/net/findomain/work/Findomain-5.0.0/cargo-crates/crossbeam-utils-0.8.5/src/atomic/consume.rs:80:14 | 80 | impl_atomic!(AtomicI64, i64); | ^^^^^^^^^ help: a struct with a similar name exists: `AtomicI16` Some errors have detailed explanations: E0412, E0432. For more information about an error, try `rustc --explain E0412`. error: could not compile `crossbeam-utils` due to 3 previous errors --- net/findomain/files/patch-powerpc | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/net/findomain/files/patch-powerpc b/net/findomain/files/patch-powerpc new file mode 100644 index 000000000000..0f536b57abf4 --- /dev/null +++ b/net/findomain/files/patch-powerpc @@ -0,0 +1,20 @@ +--- cargo-crates/crossbeam-epoch-0.9.5/no_atomic.rs.orig 2021-07-12 16:01:21.814570000 +0200 ++++ cargo-crates/crossbeam-epoch-0.9.5/no_atomic.rs 2021-07-12 16:01:34.083879000 +0200 +@@ -30,6 +30,7 @@ + "mipsel-unknown-none", + "mipsisa32r6-unknown-linux-gnu", + "mipsisa32r6el-unknown-linux-gnu", ++ "powerpc-unknown-freebsd", + "powerpc-unknown-linux-gnu", + "powerpc-unknown-linux-gnuspe", + "powerpc-unknown-linux-musl", +--- cargo-crates/crossbeam-utils-0.8.5/no_atomic.rs.orig 2021-07-12 16:01:05.023177000 +0200 ++++ cargo-crates/crossbeam-utils-0.8.5/no_atomic.rs 2021-07-12 16:01:16.538869000 +0200 +@@ -30,6 +30,7 @@ + "mipsel-unknown-none", + "mipsisa32r6-unknown-linux-gnu", + "mipsisa32r6el-unknown-linux-gnu", ++ "powerpc-unknown-freebsd", + "powerpc-unknown-linux-gnu", + "powerpc-unknown-linux-gnuspe", + "powerpc-unknown-linux-musl",