Bug#808682: mplayer: FTBFS on kfreebsd: error: 'CDRIOCSETBLOCKSIZE' undeclared (first use in this function)

Sebastian Ramacher sramacher at debian.org
Mon Dec 21 20:15:15 UTC 2015


Source: mplayer
Version: 2:1.2-1
Severity: important

mplayer failed to build on kfreebsd-amd64:
| cc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g  -fno-tree-vectorize -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -fpie -DPIC -D_THREAD_SAFE -I/usr/include/p11-kit-1 -I/usr/include/samba-4.0 -I/usr/include/directfb -I/usr/include/   -D_REENTRANT  -I/usr/include/freetype2 -DZLIB_CONST -I/usr/include/opus -I/usr/include/bs2b -I/usr/include/x86_64-kfreebsd-gnu -I/usr/include/x86_64-kfreebsd-gnu -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-kfreebsd-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-kfreebsd-gnu/glib-2.0/include -I/usr/include/freetype2  -c -o stream/stream_vcd.o stream/stream_vcd.c
| In file included from stream/stream_vcd.c:42:0:
| stream/vcd_read_libcdio.h: In function 'vcd_read_toc':
| stream/vcd_read_libcdio.h:50:47: warning: unused parameter 'fd' [-Wunused-parameter]
|  static inline mp_vcd_priv_t *vcd_read_toc(int fd)
|                                                ^
| stream/stream_vcd.c: In function 'fill_buffer':
| stream/stream_vcd.c:82:55: warning: unused parameter 'max_len' [-Wunused-parameter]
|  static int fill_buffer(stream_t *s, char* buffer, int max_len){
|                                                        ^
| stream/stream_vcd.c: In function 'open_s':
| stream/stream_vcd.c:252:17: error: 'CDRIOCSETBLOCKSIZE' undeclared (first use in this function)
|    if (ioctl (f, CDRIOCSETBLOCKSIZE, &bsize) == -1) {
|                  ^
| stream/stream_vcd.c:252:17: note: each undeclared identifier is reported only once for each function it appears in
| Makefile:729: recipe for target 'stream/stream_vcd.o' failed

A full build log is available at
https://buildd.debian.org/status/fetch.php?pkg=mplayer&arch=kfreebsd-amd64&ver=2:1.2-1&stamp=1449429777

Cheers
-- 
Sebastian Ramacher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20151221/0d0d8a19/attachment.sig>


More information about the pkg-multimedia-maintainers mailing list