Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 628218 Details for
Bug 715696
sys-apps/iotools-1.5 : misc.c: error: conflicting types for cpu_set_t
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
sys-apps:iotools-1.5:20200331-230731.log
sys-apps:iotools-1.5:20200331-230731.log (text/plain), 3.87 KB, created by
Toralf Förster
on 2020-04-01 07:10:18 UTC
(
hide
)
Description:
sys-apps:iotools-1.5:20200331-230731.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2020-04-01 07:10:18 UTC
Size:
3.87 KB
patch
obsolete
> * 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: *** [<builtin>: 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'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 715696
:
628210
|
628212
|
628214
|
628216
| 628218 |
628220