Source: parlatype
Version: 4.2-2
Severity: serious
Tags: ftbfs forky sid
https://buildd.debian.org/status/logs.php?pkg=parlatype&ver=4.2-2%2Bb2
...
FAILED: [code=1]
libparlatype/src/libparlatype.so.7.0.2.p/gst_gstparlasphinx.c.o
cc -Ilibparlatype/src/libparlatype.so.7.0.2.p -Ilibparlatype/src
-I../libparlatype/src -Ilibparlatype -I../libparlatype -I/usr/include/gtk-4.0
-I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glycin-2 -I/usr/include/cairo
-I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pixman-1
-I/usr/include/graphene-1.0 -I/usr/lib/x86_64-linux-gnu/graphene-1.0/include
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6
-I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4
-I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu/sphinxbase
-I/usr/include/pocketsphinx -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64
-Wall -Winvalid-pch '-DLOCALEDIR="/usr/share/locale"' -g -O2
-Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/parlatype-4.2=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
-pthread -mfpmath=sse -msse -msse2 -DPARLATYPE_COMPILATION
'-DG_LOG_DOMAIN="libparlatype"' -MD -MQ
libparlatype/src/libparlatype.so.7.0.2.p/gst_gstparlasphinx.c.o -MF
libparlatype/src/libparlatype.so.7.0.2.p/gst_gstparlasphinx.c.o.d -o
libparlatype/src/libparlatype.so.7.0.2.p/gst_gstparlasphinx.c.o -c
../libparlatype/src/gst/gstparlasphinx.c
../libparlatype/src/gst/gstparlasphinx.c:203:3: error: unknown type name
‘cmd_ln_t’
203 | cmd_ln_t *config;
| ^~~~~~~~
../libparlatype/src/gst/gstparlasphinx.c: In function
‘gst_parlasphinx_set_string’:
../libparlatype/src/gst/gstparlasphinx.c:352:7: error: implicit declaration of
function ‘cmd_ln_set_str_r’ [-Wimplicit-function-declaration]
352 | cmd_ln_set_str_r (self->config, key, g_value_get_string (value));
| ^~~~~~~~~~~~~~~~
../libparlatype/src/gst/gstparlasphinx.c: In function ‘gst_parlasphinx_set_int’:
../libparlatype/src/gst/gstparlasphinx.c:365:3: error: implicit declaration of
function ‘cmd_ln_set_int32_r’ [-Wimplicit-function-declaration]
365 | cmd_ln_set_int32_r (self->config, key, g_value_get_int (value));
| ^~~~~~~~~~~~~~~~~~
../libparlatype/src/gst/gstparlasphinx.c: In function
‘gst_parlasphinx_set_boolean’:
../libparlatype/src/gst/gstparlasphinx.c:373:3: error: implicit declaration of
function ‘cmd_ln_set_boolean_r’ [-Wimplicit-function-declaration]
373 | cmd_ln_set_boolean_r (self->config, key, g_value_get_boolean (value));
| ^~~~~~~~~~~~~~~~~~~~
../libparlatype/src/gst/gstparlasphinx.c: In function
‘gst_parlasphinx_set_double’:
../libparlatype/src/gst/gstparlasphinx.c:381:3: error: implicit declaration of
function ‘cmd_ln_set_float_r’ [-Wimplicit-function-declaration]
381 | cmd_ln_set_float_r (self->config, key, g_value_get_double (value));
| ^~~~~~~~~~~~~~~~~~
../libparlatype/src/gst/gstparlasphinx.c: In function
‘gst_parlasphinx_set_property’:
../libparlatype/src/gst/gstparlasphinx.c:501:11: error: implicit declaration of
function ‘ps_set_search’; did you mean ‘ps_remove_search’?
[-Wimplicit-function-declaration]
501 | ps_set_search (self->ps, g_value_get_string (value));
| ^~~~~~~~~~~~~
| ps_remove_search
../libparlatype/src/gst/gstparlasphinx.c:511:30: error: passing argument 2 of
‘ps_reinit’ from incompatible pointer type [-Wincompatible-pointer-types]
511 | ps_reinit (self->ps, self->config);
| ~~~~^~~~~~~~
| |
| int *
In file included from ../libparlatype/src/gst/gstparlasphinx.h:42,
from ../libparlatype/src/gst/gstparlasphinx.c:92:
/usr/include/pocketsphinx.h:524:46: note: expected ‘ps_config_t *’ {aka ‘struct
cmd_ln_s *’} but argument is of type ‘int *’
524 | int ps_reinit(ps_decoder_t *ps, ps_config_t *config);
| ~~~~~~~~~~~~~^~~~~~
../libparlatype/src/gst/gstparlasphinx.c: In function
‘gst_parlasphinx_get_property’:
../libparlatype/src/gst/gstparlasphinx.c:525:34: error: implicit declaration of
function ‘cmd_ln_str_r’ [-Wimplicit-function-declaration]
525 | g_value_set_string (value, cmd_ln_str_r (self->config, "-hmm"));
| ^~~~~~~~~~~~
../libparlatype/src/gst/gstparlasphinx.c:525:34: error: passing argument 2 of
‘g_value_set_string’ makes pointer from integer without a cast
[-Wint-conversion]
525 | g_value_set_string (value, cmd_ln_str_r (self->config, "-hmm"));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
In file included from /usr/include/glib-2.0/glib-object.h:40,
from /usr/include/gstreamer-1.0/gst/gstenumtypes.h:6,
from /usr/include/gstreamer-1.0/gst/gst.h:32,
from ../libparlatype/src/gst/gstparlasphinx.h:41:
/usr/include/glib-2.0/gobject/gvaluetypes.h:255:64: note: expected ‘const gchar
*’ {aka ‘const char *’} but argument is of type ‘int’
255 | const gchar
*v_string);
| ~~~~~~~~~~~~~~^~~~~~~~
../libparlatype/src/gst/gstparlasphinx.c:528:34: error: passing argument 2 of
‘g_value_set_string’ makes pointer from integer without a cast
[-Wint-conversion]
528 | g_value_set_string (value, cmd_ln_str_r (self->config, "-lm"));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
/usr/include/glib-2.0/gobject/gvaluetypes.h:255:64: note: expected ‘const gchar
*’ {aka ‘const char *’} but argument is of type ‘int’
255 | const gchar
*v_string);
| ~~~~~~~~~~~~~~^~~~~~~~
../libparlatype/src/gst/gstparlasphinx.c:531:34: error: passing argument 2 of
‘g_value_set_string’ makes pointer from integer without a cast
[-Wint-conversion]
531 | g_value_set_string (value, cmd_ln_str_r (self->config, "-lmctl"));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
/usr/include/glib-2.0/gobject/gvaluetypes.h:255:64: note: expected ‘const gchar
*’ {aka ‘const char *’} but argument is of type ‘int’
255 | const gchar
*v_string);
| ~~~~~~~~~~~~~~^~~~~~~~
../libparlatype/src/gst/gstparlasphinx.c:534:34: error: passing argument 2 of
‘g_value_set_string’ makes pointer from integer without a cast
[-Wint-conversion]
534 | g_value_set_string (value, cmd_ln_str_r (self->config,
"-lmname"));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
/usr/include/glib-2.0/gobject/gvaluetypes.h:255:64: note: expected ‘const gchar
*’ {aka ‘const char *’} but argument is of type ‘int’
255 | const gchar
*v_string);
| ~~~~~~~~~~~~~~^~~~~~~~
../libparlatype/src/gst/gstparlasphinx.c:537:34: error: passing argument 2 of
‘g_value_set_string’ makes pointer from integer without a cast
[-Wint-conversion]
537 | g_value_set_string (value, cmd_ln_str_r (self->config, "-dict"));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
/usr/include/glib-2.0/gobject/gvaluetypes.h:255:64: note: expected ‘const gchar
*’ {aka ‘const char *’} but argument is of type ‘int’
255 | const gchar
*v_string);
| ~~~~~~~~~~~~~~^~~~~~~~
../libparlatype/src/gst/gstparlasphinx.c:540:34: error: passing argument 2 of
‘g_value_set_string’ makes pointer from integer without a cast
[-Wint-conversion]
540 | g_value_set_string (value, cmd_ln_str_r (self->config, "-mllr"));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
/usr/include/glib-2.0/gobject/gvaluetypes.h:255:64: note: expected ‘const gchar
*’ {aka ‘const char *’} but argument is of type ‘int’
255 | const gchar
*v_string);
| ~~~~~~~~~~~~~~^~~~~~~~
../libparlatype/src/gst/gstparlasphinx.c:543:34: error: passing argument 2 of
‘g_value_set_string’ makes pointer from integer without a cast
[-Wint-conversion]
543 | g_value_set_string (value, cmd_ln_str_r (self->config, "-fsg"));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
/usr/include/glib-2.0/gobject/gvaluetypes.h:255:64: note: expected ‘const gchar
*’ {aka ‘const char *’} but argument is of type ‘int’
255 | const gchar
*v_string);
| ~~~~~~~~~~~~~~^~~~~~~~
../libparlatype/src/gst/gstparlasphinx.c:546:34: error: passing argument 2 of
‘g_value_set_string’ makes pointer from integer without a cast
[-Wint-conversion]
546 | g_value_set_string (value, cmd_ln_str_r (self->config,
"-allphone"));
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
/usr/include/glib-2.0/gobject/gvaluetypes.h:255:64: note: expected ‘const gchar
*’ {aka ‘const char *’} but argument is of type ‘int’
255 | const gchar
*v_string);
| ~~~~~~~~~~~~~~^~~~~~~~
../libparlatype/src/gst/gstparlasphinx.c:549:34: error: passing argument 2 of
‘g_value_set_string’ makes pointer from integer without a cast
[-Wint-conversion]
549 | g_value_set_string (value, cmd_ln_str_r (self->config, "-kws"));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
/usr/include/glib-2.0/gobject/gvaluetypes.h:255:64: note: expected ‘const gchar
*’ {aka ‘const char *’} but argument is of type ‘int’
255 | const gchar
*v_string);
| ~~~~~~~~~~~~~~^~~~~~~~
../libparlatype/src/gst/gstparlasphinx.c:552:34: error: passing argument 2 of
‘g_value_set_string’ makes pointer from integer without a cast
[-Wint-conversion]
552 | g_value_set_string (value, cmd_ln_str_r (self->config, "-jsgf"));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
/usr/include/glib-2.0/gobject/gvaluetypes.h:255:64: note: expected ‘const gchar
*’ {aka ‘const char *’} but argument is of type ‘int’
255 | const gchar
*v_string);
| ~~~~~~~~~~~~~~^~~~~~~~
../libparlatype/src/gst/gstparlasphinx.c:555:35: error: implicit declaration of
function ‘cmd_ln_boolean_r’ [-Wimplicit-function-declaration]
555 | g_value_set_boolean (value, cmd_ln_boolean_r (self->config,
"-fwdflat"));
| ^~~~~~~~~~~~~~~~
../libparlatype/src/gst/gstparlasphinx.c:564:31: error: implicit declaration of
function ‘cmd_ln_int32_r’ [-Wimplicit-function-declaration]
564 | g_value_set_int (value, cmd_ln_int32_r (self->config,
"-maxhmmpf"));
| ^~~~~~~~~~~~~~
../libparlatype/src/gst/gstparlasphinx.c:570:34: error: implicit declaration of
function ‘cmd_ln_float_r’ [-Wimplicit-function-declaration]
570 | g_value_set_double (value, cmd_ln_float_r (self->config,
"-beam"));
| ^~~~~~~~~~~~~~
../libparlatype/src/gst/gstparlasphinx.c: In function
‘gst_parlasphinx_finalize’:
../libparlatype/src/gst/gstparlasphinx.c:593:3: error: implicit declaration of
function ‘cmd_ln_free_r’ [-Wimplicit-function-declaration]
593 | cmd_ln_free_r (self->config);
| ^~~~~~~~~~~~~
../libparlatype/src/gst/gstparlasphinx.c: In function ‘gst_parlasphinx_init’:
../libparlatype/src/gst/gstparlasphinx.c:609:18: error: implicit declaration of
function ‘cmd_ln_parse_r’ [-Wimplicit-function-declaration]
609 | self->config = cmd_ln_parse_r (NULL, ps_args (), default_argc,
default_argv, FALSE);
| ^~~~~~~~~~~~~~
../libparlatype/src/gst/gstparlasphinx.c:609:16: error: assignment to ‘int *’
from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
609 | self->config = cmd_ln_parse_r (NULL, ps_args (), default_argc,
default_argv, FALSE);
| ^
../libparlatype/src/gst/gstparlasphinx.c:610:31: error: passing argument 1 of
‘ps_default_search_args’ from incompatible pointer type
[-Wincompatible-pointer-types]
610 | ps_default_search_args (self->config);
| ~~~~^~~~~~~~
| |
| int *
/usr/include/pocketsphinx.h:465:42: note: expected ‘ps_config_t *’ {aka ‘struct
cmd_ln_s *’} but argument is of type ‘int *’
465 | void ps_default_search_args(ps_config_t *config);
| ~~~~~~~~~~~~~^~~~~~
../libparlatype/src/gst/gstparlasphinx.c: In function
‘gst_parlasphinx_change_state’:
../libparlatype/src/gst/gstparlasphinx.c:639:31: error: passing argument 1 of
‘ps_init’ from incompatible pointer type [-Wincompatible-pointer-types]
639 | self->ps = ps_init (self->config);
| ~~~~^~~~~~~~
| |
| int *
/usr/include/pocketsphinx.h:498:36: note: expected ‘ps_config_t *’ {aka ‘struct
cmd_ln_s *’} but argument is of type ‘int *’
498 | ps_decoder_t *ps_init(ps_config_t *config);
| ~~~~~~~~~~~~~^~~~~~
../libparlatype/src/gst/gstparlasphinx.c: In function
‘gst_parlasphinx_finalize_utt’:
../libparlatype/src/gst/gstparlasphinx.c:799:7: error: implicit declaration of
function ‘ckd_free’ [-Wimplicit-function-declaration]
799 | ckd_free (latfile);
| ^~~~~~~~
../libparlatype/src/gst/gstparlasphinx.c: In function ‘gst_parlasphinx_log’:
../libparlatype/src/gst/gstparlasphinx.c:832:95: warning: excess elements in
array initializer
832 | GST_LEVEL_INFO,
GST_LEVEL_WARNING, GST_LEVEL_ERROR, GST_LEVEL_ERROR };
|
^~~~~~~~~~~~~~~
../libparlatype/src/gst/gstparlasphinx.c:832:95: note: (near initialization for
‘gst_level’)
...