id	summary	reporter	owner	description	type	status	priority	component	version	resolution	keywords	cc	blockedby	blocking	reproduced	analyzed
99	Build failure on OpenBSD (wrt sem_timedwait)	vext01	michael	"On today's git I get the following build failure:

% V=1 gmake                   
gcc -L""/home/edd/source/ffmpeg""/libavcodec -L""/home/edd/source/ffmpeg""/libavdevice -L""/home/edd/source/ffmpeg""/libavfilter -L""/home/edd/source/ffmpeg""/libavformat -L""/home/edd/source/ffmpeg""/libavutil -L""/home/edd/source/ffmpeg""/libpostproc -L""/home/edd/source/ffmpeg""/libswscale -L/usr/local/lib -Wl,--as-needed -Wl,--warn-common -Wl,-rpath-link,""/home/edd/source/ffmpeg""/libpostproc -Wl,-rpath-link,""/home/edd/source/ffmpeg""/libswscale -Wl,-rpath-link,""/home/edd/source/ffmpeg""/libavfilter -Wl,-rpath-link,""/home/edd/source/ffmpeg""/libavdevice -Wl,-rpath-link,""/home/edd/source/ffmpeg""/libavformat -Wl,-rpath-link,""/home/edd/source/ffmpeg""/libavcodec -Wl,-rpath-link,""/home/edd/source/ffmpeg""/libavutil -o ffmpeg_g ffmpeg.o cmdutils.o -lavdevice -lavfilter -lavformat -lavcodec -lswscale -lavutil -lossaudio -lossaudio -lsndio -ljack -lmp3lame -lm -pthread -lbz2 -lz 
/home/edd/source/ffmpeg/libavformat/libavformat.a(avio.o)(.text+0x695): In function `url_alloc_for_protocol':
libavformat/avio.c:100: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libjack.so.0.0: warning: sprintf() is often misused, please use snprintf()
/usr/local/lib/libjack.so.0.0: warning: strcat() is almost always misused, please use strlcat()
/home/edd/source/ffmpeg/libavdevice/libavdevice.a(jack_audio.o)(.text+0x8a2): In function `audio_read_packet':
libavdevice/jack_audio.c:277: undefined reference to `sem_timedwait'
collect2: ld returned 1 exit status
gmake: *** [ffmpeg_g] Error 1


It seems OpenBSD does not implement sem_timedwait(). I am running OpenBSD-current."	defect	closed	normal	build system	unspecified	fixed	openbsd				1	0
