* Package: sys-apps/iotools-1.5 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_musl kernel_linux split-usr userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking iotools-1.5.tar.gz to /var/tmp/portage/sys-apps/iotools-1.5/work >>> Source unpacked in /var/tmp/portage/sys-apps/iotools-1.5/work >>> Preparing source in /var/tmp/portage/sys-apps/iotools-1.5/work/iotools-1.5 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-apps/iotools-1.5/work/iotools-1.5 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-apps/iotools-1.5/work/iotools-1.5 ... make -j1 CC=x86_64-gentoo-linux-musl-gcc STATIC=0 'IOTOOLS_DEBUG=-O2 -pipe -march=native' x86_64-gentoo-linux-musl-gcc -Wall -D_GNU_SOURCE -DVER_MAJOR=1 -DVER_MINOR=5 -O2 -pipe -march=native -c -o cmos_rw.o cmos_rw.c x86_64-gentoo-linux-musl-gcc -Wall -D_GNU_SOURCE -DVER_MAJOR=1 -DVER_MINOR=5 -O2 -pipe -march=native -c -o commands.o commands.c x86_64-gentoo-linux-musl-gcc -Wall -D_GNU_SOURCE -DVER_MAJOR=1 -DVER_MINOR=5 -O2 -pipe -march=native -c -o io_rw.o io_rw.c x86_64-gentoo-linux-musl-gcc -Wall -D_GNU_SOURCE -DVER_MAJOR=1 -DVER_MINOR=5 -O2 -pipe -march=native -c -o logic.o logic.c x86_64-gentoo-linux-musl-gcc -Wall -D_GNU_SOURCE -DVER_MAJOR=1 -DVER_MINOR=5 -O2 -pipe -march=native -c -o misc.o misc.c misc.c:49:3: error: conflicting types for ‘cpu_set_t’ 49 | } cpu_set_t; | ^~~~~~~~~ In file included from misc.c:32: /usr/include/sched.h:86:70: note: previous declaration of ‘cpu_set_t’ was here 86 | typedef struct cpu_set_t { unsigned long __bits[128/sizeof(long)]; } cpu_set_t; | ^~~~~~~~~ misc.c:51:13: error: expected declaration specifiers or ‘...’ before numeric constant 51 | static void CPU_ZERO(cpu_set_t *set) | ^~~~~~~~ misc.c:51:13: error: expected declaration specifiers or ‘...’ before ‘sizeof’ 51 | static void CPU_ZERO(cpu_set_t *set) | ^~~~~~~~ misc.c:55:21: error: expected identifier or ‘(’ before ‘int’ 55 | static void CPU_SET(int cpu, cpu_set_t *set) | ^~~ misc.c:55:13: error: expected ‘)’ before ‘/’ token 55 | static void CPU_SET(int cpu, cpu_set_t *set) | ^~~~~~~ misc.c: In function ‘local_setaffinity’: misc.c:67:44: warning: passing argument 3 of ‘sched_setaffinity’ from incompatible pointer type [-Wincompatible-pointer-types] 67 | return sched_setaffinity(pid, cpusetsize, (unsigned long *)mask); | ^~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int * In file included from misc.c:32: /usr/include/sched.h:90:38: note: expected ‘const cpu_set_t *’ {aka ‘const struct cpu_set_t *’} but argument is of type ‘long unsigned int *’ 90 | int sched_setaffinity(pid_t, size_t, const cpu_set_t *); | ^~~~~~~~~~~~~~~~~ make: *** [: misc.o] Error 1 * ERROR: sys-apps/iotools-1.5::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-apps/iotools-1.5::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-apps/iotools-1.5::gentoo'`. * The complete build log is located at '/var/log/portage/sys-apps:iotools-1.5:20200331-230731.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-apps/iotools-1.5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/iotools-1.5/temp/environment'. * Working directory: '/var/tmp/portage/sys-apps/iotools-1.5/work/iotools-1.5' * S: '/var/tmp/portage/sys-apps/iotools-1.5/work/iotools-1.5'