Package: libexplain30 Version: 0.52.D002-1 Followup-For: Bug #707432 Please use the attached patch to fix the FTBFS issue.
-- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.11-2-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages libexplain30 depends on: ii libc6 2.17-97 ii libcap2 1:2.22-1.2 ii lsof 4.86+dfsg-1 libexplain30 recommends no packages. libexplain30 suggests no packages. -- no debconf information
Index: libexplain-0.52.D002/libexplain/buffer/v4l2_buf_flags.c =================================================================== --- libexplain-0.52.D002.orig/libexplain/buffer/v4l2_buf_flags.c 2014-01-13 01:58:06.441171322 +0400 +++ libexplain-0.52.D002/libexplain/buffer/v4l2_buf_flags.c 2014-01-13 01:58:15.621422103 +0400 @@ -40,7 +40,9 @@ { "V4L2_BUF_FLAG_ERROR", V4L2_BUF_FLAG_ERROR }, #endif { "V4L2_BUF_FLAG_TIMECODE", V4L2_BUF_FLAG_TIMECODE }, +#ifdef V4L2_BUF_FLAG_INPUT { "V4L2_BUF_FLAG_INPUT", V4L2_BUF_FLAG_INPUT }, +#endif }; explain_parse_bits_print(sb, value, table, SIZEOF(table)); Index: libexplain-0.52.D002/libexplain/buffer/v4l2_buffer.c =================================================================== --- libexplain-0.52.D002.orig/libexplain/buffer/v4l2_buffer.c 2012-03-04 16:46:45.000000000 +0400 +++ libexplain-0.52.D002/libexplain/buffer/v4l2_buffer.c 2014-01-13 02:01:17.414388563 +0400 @@ -87,8 +87,16 @@ } explain_string_buffer_puts(sb, ", length = "); explain_buffer_uint32_t(sb, data->length); +#ifdef V4L2_FLAG_BUF_INPUT explain_string_buffer_puts(sb, ", input = "); explain_buffer_uint32_t(sb, data->input); +#else + if (data->reserved2) + { + explain_string_buffer_puts(sb, ", reserved2 = "); + explain_buffer_uint32_t(sb, data->reserved2); + } +#endif if (data->reserved) { explain_string_buffer_puts(sb, ", reserved = "); Index: libexplain-0.52.D002/codegen/gram.y =================================================================== --- libexplain-0.52.D002.orig/codegen/gram.y 2012-03-04 16:46:45.000000000 +0400 +++ libexplain-0.52.D002/codegen/gram.y 2014-01-13 02:19:17.048219297 +0400 @@ -257,7 +257,7 @@ } -static int yyparse(void); +/*static int yyparse(void);*/ static node_t *result; #if YYDEBUG extern int yydebug; Index: libexplain-0.52.D002/test/05/t0570a.sh =================================================================== --- libexplain-0.52.D002.orig/test/05/t0570a.sh 2012-03-04 16:46:45.000000000 +0400 +++ libexplain-0.52.D002/test/05/t0570a.sh 2014-01-13 02:26:49.860788041 +0400 @@ -27,9 +27,9 @@ ioctl(fildes = 42, request = VIDIOC_QBUF, struct v4l2_buffer *data = { index = 0, type = 0, bytesused = 0, flags = 0, field = V4L2_FIELD_ANY, timestamp = { 0 seconds }, timecode = { type = 0, flags = 0, frames = 0, -seconds = 0, minutes = 0, hours = 0 }, sequence = 0, memory = 0, length = -0, input = 0 }) failed, Invalid argument (EINVAL) because the data->type -argument was incorrectly specified +seconds = 0, minutes = 0, hours = 0 }, sequence = 0, memory = 0, length = 0 +}) failed, Invalid argument (EINVAL) because the data->type argument was +incorrectly specified fubar test $? -eq 0 || no_result