Bug ID 1154793
Summary pthread.h: error: unknown type name 'clockid_t'
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Other
Assignee bnc-team-screening@forge.provo.novell.com
Reporter i@guoyunhe.me
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

When packaging an emulator, I got this error only on Tumbleweed:

[   11s] cc -DSQLITE_OMIT_LOAD_EXTENSION -DGIT_VERSION=\"\" -DINLINE="inline"
-std=c99 -MMD -O2 -DNDEBUG -D__LIBRETRO__   -I./src -I./deps/tinycthread
-I./deps/noise -I./deps/lodepng -I./deps/sqlite -I./include -I./libretro
-I./deps/libretro-common/include   -fPIC   -DHAVE_OPENGL  -c src/main.c
-osrc/main.o
[   11s] In file included from ./deps/tinycthread/tinycthread.h:81,
[   11s]                  from src/main.c:23:
[   11s] /usr/include/pthread.h:775:9: error: unknown type name 'clockid_t';
did you mean 'clock_t'?
[   11s]   775 |         clockid_t __clockid,
[   11s]       |         ^~~~~~~~~
[   11s]       |         clock_t
[   11s] /usr/include/pthread.h:921:12: error: unknown type name 'clockid_t';
did you mean 'clock_t'?
[   11s]   921 |            clockid_t __clockid,
[   11s]       |            ^~~~~~~~~
[   11s]       |            clock_t
[   11s] /usr/include/pthread.h:943:12: error: unknown type name 'clockid_t';
did you mean 'clock_t'?
[   11s]   943 |            clockid_t __clockid,
[   11s]       |            ^~~~~~~~~
[   11s]       |            clock_t
[   11s] make: *** [Makefile.libretro:483: src/main.o] Error 1
[   11s] error: Bad exit status from /var/tmp/rpm-tmp.EMYvzr (%build)

The package is here
https://build.opensuse.org/package/show/home:guoyunhe:branches:Emulators/libretro-craft


You are receiving this mail because: