[Bug 282663] lang/rust: building 1.82.0 on/for armv7 fails for multiple definitions and undefined field name
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 10 Nov 2024 04:51:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282663 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 = libc::lwpid_t; | ------------------------------------------- previous definition of the type `type_of_thread_id` here ... 1110 | pub type type_of_thread_id = libc::pid_t; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `type_of_thread_id` redefined here | = 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 = thread_id; | ^^^^^^^^^^^^^^^^^^^^^^ unknown field | = 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órsson <einar@isnic.is> Commit: Juraj Lutter <otis@FreeBSD.org> 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.) -- You are receiving this mail because: You are the assignee for the bug.