[Bug 282712] lang/rust: Multiple ports fail to build on armv7 with the error: the name `type_of_thread_id` is defined multiple times

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 12 Nov 2024 18:07:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282712

            Bug ID: 282712
           Summary: lang/rust: Multiple ports fail to build on armv7 with
                    the error: the name `type_of_thread_id` is defined
                    multiple times
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: rust@FreeBSD.org
          Reporter: yuri@freebsd.org
          Assignee: rust@FreeBSD.org
             Flags: maintainer-feedback?(rust@FreeBSD.org)

Error message:

> error[E0428]: the name `type_of_thread_id` is defined multiple times
>     --> /wrkdirs/usr/ports/deskutils/pueue/work/pueue-3.4.1/cargo-crates/nix-0.27.1/src/sys/signal.rs:1023:1
>      |
> 1020 | pub type type_of_thread_id = libc::lwpid_t;
>      | ------------------------------------------- previous definition of the type `type_of_thread_id` here
> ...
> 1023 | 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


Sample log:
https://pkg-status.freebsd.org/ampere2/data/main-armv7-default/p380be9c7980a_s5036d9652a/logs/pueue-3.4.1_3.log

-- 
You are receiving this mail because:
You are the assignee for the bug.