Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Nov 2021 17:05:19 +0000
From:      bugzilla-noreply@freebsd.org
To:        desktop@FreeBSD.org
Subject:   [Bug 259787] sched.h: unknown type name 'cpu_set_t' after 160b4b922b6021848b6b48afc894d16b879b7af2
Message-ID:  <bug-259787-39348-59oKXmb1dH@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-259787-39348@https.bugs.freebsd.org/bugzilla/>
References:  <bug-259787-39348@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259787

--- Comment #25 from khb <khb.dev@gmail.com> ---
I believe lang/guile2 is also affected by this:

posix.c:2114:29: error: unknown type name 'cpu_set_t'; did you mean 'cpuset=
_t'?
cpu_set_to_bitvector (const cpu_set_t *cs)
                            ^~~~~~~~~
                            cpuset_t
/usr/include/sys/_cpuset.h:50:24: note: 'cpuset_t' declared here
typedef struct _cpuset cpuset_t;
                       ^
posix.c:2141:3: error: unknown type name 'cpu_set_t'; did you mean 'cpuset_=
t'?
  cpu_set_t cs;
  ^~~~~~~~~
  cpuset_t
/usr/include/sys/_cpuset.h:50:24: note: 'cpuset_t' declared here
typedef struct _cpuset cpuset_t;
                       ^
posix.c:2144:9: warning: implicit declaration of function 'sched_getaffinit=
y'
is invalid in C99 [-Wimplicit-function-declaration]
  err =3D sched_getaffinity (scm_to_int (pid), sizeof (cs), &cs);
        ^
posix.c:2161:3: error: unknown type name 'cpu_set_t'; did you mean 'cpuset_=
t'?
  cpu_set_t cs;
  ^~~~~~~~~
  cpuset_t
/usr/include/sys/_cpuset.h:50:24: note: 'cpuset_t' declared here
typedef struct _cpuset cpuset_t;
                       ^
posix.c:2180:9: warning: implicit declaration of function 'sched_setaffinit=
y'
is invalid in C99 [-Wimplicit-function-declaration]
  err =3D sched_setaffinity (scm_to_int (pid), sizeof (cs), &cs);
        ^
2 warnings and 3 errors generated.
gmake[5]: *** [Makefile:3540: libguile_2.2_la-posix.lo] Error 1
gmake[5]: Leaving directory '/usr/ports/lang/guile2/work/guile-2.2.7/libgui=
le'
gmake[4]: *** [Makefile:2423: all] Error 2
gmake[4]: Leaving directory '/usr/ports/lang/guile2/work/guile-2.2.7/libgui=
le'
gmake[3]: *** [Makefile:1857: all-recursive] Error 1
gmake[3]: Leaving directory '/usr/ports/lang/guile2/work/guile-2.2.7'
gmake[2]: *** [Makefile:1743: all] Error 2
gmake[2]: Leaving directory '/usr/ports/lang/guile2/work/guile-2.2.7'
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/lang/guile2
*** Error code 1

Stop.
make: stopped in /usr/ports/lang/guile2

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-259787-39348-59oKXmb1dH>