control: tag -1 + patch

Hi,

On 2025-03-01 21:01, Santiago Vila wrote:
> In file included from src/send.c:31:
> src/common.h:41:8: error: redefinition of ‘struct sched_attr’
>    41 | struct sched_attr {
>       |        ^~~~~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/bits/sched.h:63,
>                  from /usr/include/sched.h:43,
>                  from /usr/include/pthread.h:22,
>                  from src/send.c:27:
> /usr/include/linux/sched/types.h:98:8: note: originally defined here
>    98 | struct sched_attr {
>       |        ^~~~~~~~~~
> src/common.h:55:19: error: conflicting types for ‘sched_setattr’; have 
> ‘int(pid_t,  const struct sched_attr *, unsigned int)’ {aka ‘int(int,  const 
> struct sched_attr *, unsigned int)’}
>    55 | static inline int sched_setattr(pid_t pid, const struct sched_attr 
> *attr,
>       |                   ^~~~~~~~~~~~~
> /usr/include/x86_64-linux-gnu/bits/sched.h:148:5: note: previous declaration 
> of ‘sched_setattr’ with type ‘int(pid_t,  struct sched_attr *, unsigned int)’ 
> {aka ‘int(int,  struct sched_attr *, unsigned int)’}
>   148 | int sched_setattr (pid_t tid, struct sched_attr *attr, unsigned int 
> flags)
>       |     ^~~~~~~~~~~~~
> make[1]: *** [Makefile:94: src/send.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_build: error: make -j2 "INSTALL=install --strip-program=true" 
> returned exit code 2
> make: *** [debian/rules:9: binary] Error 25

This build failure is due to glibc 2.41 which started to define
sched_setattr() and struct sched_attr. I am sorry I missed this when
preparing this version.

I have posted a patch upstream that fixes the issue:
https://github.com/NXP/isochron/pull/27

Regards
Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurel...@aurel32.net                     http://aurel32.net

Reply via email to