[Bug 270977] multimedia/dav1d: Fails to build with TEST=ON due to missing typedef cpu_set_t

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 21 Apr 2023 12:52:47 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270977

            Bug ID: 270977
           Summary: multimedia/dav1d: Fails to build with TEST=ON due to
                    missing typedef cpu_set_t
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: jbeich@FreeBSD.org
          Reporter: ross@exitzero.uk
             Flags: maintainer-feedback?(jbeich@FreeBSD.org)
          Assignee: jbeich@FreeBSD.org
 Attachment #241629 text/plain
         mime type:

Created attachment 241629
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=241629&action=edit
Poudriere test log for multimedia/dav1d on 12.4-RELEASE

multimedia/dav1d fails to build with TEST=ON with the message:

BEGINS
../tests/checkasm/checkasm.c:623:13: error: unknown type name 'cpu_set_t'; did
you mean 'cpuset_t'?
            cpu_set_t set;
            ^~~~~~~~~
            cpuset_t
/usr/include/sys/_cpuset.h:50:24: note: 'cpuset_t' declared here
typedef struct _cpuset cpuset_t;
                       ^
1 error generated.
ENDS

The missing cpu_set_t type appears to be a GNU extension to the POSIX standard:
https://www.gnu.org/software/libc/manual/html_node/CPU-Affinity.html

It seems equivalent to cpuset_t on FreeBSD. Other ports have been affected; see
PR 259787.

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