From nobody Sun Nov 10 04:51:13 2024 X-Original-To: ports-bugs@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 4XmKy95RQYz5cCvV for ; Sun, 10 Nov 2024 04:51:13 +0000 (UTC) (envelope-from bugzilla-noreply@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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XmKy94B8Zz4Fgb for ; Sun, 10 Nov 2024 04:51:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731214273; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=iQVbbd3xXnCGaiapKuii5ckyHaupVhLdvoQV/24OmyM=; b=yht6+JMARrxCP/Fr9bJlrPvluvadahRd1CjvcrSPafZZpCA8gq37OTCtySKiRVeuIJA2aY B8oZnyC6kxMy/nh3+91I8kaKj4Lb46HzrkciVM3TCD0QsmIeqBD2NmQ2ZLjB1fPPqi8yb+ 3TRkOuyV7KkpWvxfzAssOzd6IwTsnPexZb06Ejq76dzPjN12Eb/POuyQOz3R5SSglCtayp y60mb5BqPh5MkJGsFIGuG9dQrfxTEVDFG2c2Sl0YL6phatE4xehTec7bJ0MfjnLcGsDaBO xJUxdUfLit2RO4ZvvgV/hxh8UtJHu8PXGhVsde8LaSHf65dMRf43dwf6s5LRBw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731214273; a=rsa-sha256; cv=none; b=iIeVxN2s4ECpRdo87VulTx3rrhA9KHzLGB6vIC3ARWXSwZ9EhZs4SaxsH+2MaoI2JproLz Bkv2KIHu24703HIeuInvMCziV4WzUhjdYIIkr8PM+MGQFcOJb74CYpc4nytMz1rZPSOURz 8gPNYnbmxnCRcGj7rFktPGAidtgcZCdskhI62EYtLkEGjPqpMJ75k+ISwN/fP7F2QBGQUn 78thMpEGPc8dgce8NJs9+m51x1GmUnJzGG2wazX2uS2iN9kqr4JJUyDYwepnhKrKRvtQOc dXk0rdQt+teOSQ32dj2E5yvdZ4TjHp8JIHC+e8prHddXRh+D055BMu0EUmCD4Q== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4XmKy93S9QzSfG for ; Sun, 10 Nov 2024 04:51:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4AA4pDti006002 for ; Sun, 10 Nov 2024 04:51:13 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4AA4pDtZ005985 for ports-bugs@FreeBSD.org; Sun, 10 Nov 2024 04:51:13 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 282663] lang/rust: building 1.82.0 on/for armv7 fails for multiple definitions and undefined field name Date: Sun, 10 Nov 2024 04:51:13 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rust@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282663 Bug ID: 282663 Summary: lang/rust: building 1.82.0 on/for armv7 fails for multiple definitions and undefined field name Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: rust@FreeBSD.org Reporter: marklmi26-fbsd@yahoo.com Assignee: rust@FreeBSD.org Flags: maintainer-feedback?(rust@FreeBSD.org) This was a poudriere-devel based build after updating my /usr/ports/ via git. I did this because someone asked if I would also get build errors. The context is aarch64 with an armv7 poudriere jail on a Windows Dev Kit 2023. It supports user armv7 code. FreeBSD is main [so: 15]. The build log file reports . . . error[E0428]: the name `type_of_thread_id` is defined multiple times --> /rust/deps/nix-0.29.0/src/sys/signal.rs:1110:1 | 1107 | pub type type_of_thread_id =3D libc::lwpid_t; | ------------------------------------------- previous definition of t= he type `type_of_thread_id` here ... 1110 | pub type type_of_thread_id =3D libc::pid_t; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `type_of_thread_id` redefi= ned here | =3D note: `type_of_thread_id` must be defined only once in the type namespace of this module . . . error[E0609]: no field `sigev_notify_thread_id` on type `signal::sigevent::ffi::sigevent` --> /rust/deps/nix-0.29.0/src/sys/signal.rs:1364:25 | 1364 | sev.sigev_notify_thread_id =3D thread_id; | ^^^^^^^^^^^^^^^^^^^^^^ unknown field | =3D note: available fields are: `sigev_notify`, `sigev_signo`, `sigev_value`, `_sigev_un` Some errors have detailed explanations: E0428, E0609. For more information about an error, try `rustc --explain E0428`. . . . ------------- warning: `nix` (lib) generated 9 warnings error: could not compile `nix` (lib) due to 2 previous errors; 9 warnings emitted [I ignore later reporting that might be consequences of the above earlier reports of errors.] For reference: # ~/fbsd-based-on-what-commit.sh -C /usr/ports/ 716a5651faed (HEAD -> main, freebsd/main, freebsd/HEAD) net-mgmt/rubygem-oxidized-web: Fix dependency on www/rubygem-haml Author: Einar Bjarni Halld=C3=B3rsson Commit: Juraj Lutter CommitDate: 2024-11-09 20:49:29 +0000 branch: main merge-base: 716a5651faedef308ee5c267c381d6dd4483d88c merge-base: CommitDate: 2024-11-09 20:49:29 +0000 n685665 (--first-parent --count for merge-base) # uname -apKU FreeBSD aarch64-main-pbase 15.0-CURRENT FreeBSD 15.0-CURRENT main-n273174-8b2e7da70855 GENERIC-NODEBUG arm64 aarch64 1500026 1500026 (That is an install of an official PkgBase kernel that was in use.) --=20 You are receiving this mail because: You are the assignee for the bug.=