libdex fails to build on mips
- libdex 0.1.0
- Debian Unstable/Experimental
libdex fails to build on arm* and mips*.
For the full build log, click Build-Attempted at
https://buildd.debian.org/status/package.php?p=libdex&suite=experimental
Debian considers the architectures at the top of the list without gray shading to be release architectures.
build log excerpt for armhf
../src/dex-ucontext.c: In function ‘makecontext’:
../src/dex-ucontext.c:109:32: error: ‘mcontext_t’ has no member named ‘gregs’
109 | uc->uc_mcontext.gregs[i] = va_arg(arg, uint);
| ^
In file included from ../src/dex-ucontext-private.h:24,
from ../src/dex-ucontext.c:7:
../src/dex-ucontext.c:109:56: error: unknown type name ‘uint’
109 | uc->uc_mcontext.gregs[i] = va_arg(arg, uint);
| ^~~~
../src/dex-ucontext.c:111:24: error: ‘mcontext_t’ has no member named ‘gregs’
111 | uc->uc_mcontext.gregs[13] = (uint)sp;
| ^
../src/dex-ucontext.c:111:38: error: ‘uint’ undeclared (first use in this function); did you mean ‘int’?
111 | uc->uc_mcontext.gregs[13] = (uint)sp;
| ^~~~
| int
../src/dex-ucontext.c:111:38: note: each undeclared identifier is reported only once for each function it appears in
../src/dex-ucontext.c:111:43: error: expected ‘;’ before ‘sp’
111 | uc->uc_mcontext.gregs[13] = (uint)sp;
| ^~
| ;
../src/dex-ucontext.c:112:24: error: ‘mcontext_t’ has no member named ‘gregs’
112 | uc->uc_mcontext.gregs[14] = (uint)fn;
| ^
../src/dex-ucontext.c:112:43: error: expected ‘;’ before ‘fn’
112 | uc->uc_mcontext.gregs[14] = (uint)fn;
| ^~
| ;
build log excerpt for mips
../src/dex-fiber-context-private.h: In function ‘_dex_fiber_context_makecontext’:
../src/dex-fiber-context-private.h:107:3: error: implicit declaration of function ‘makecontext’ [-Werror=implicit-function-declaration]