Bug#646468: thoggen: FTBFS: th-app-window.c:1140:44: error: format not a string literal and no format arguments [-Werror=format-security]

Cyril Brulebois kibi at debian.org
Fri Feb 17 18:12:29 UTC 2012


Simon Paillard <spaillard at debian.org> (16/12/2011):
> Once the trivial part is fixed (patch attached), it still ftbfs against:
> 
> th-device-pool.c:118:1: error: unknown type name 'LibHalFunctions'
>  
> On upstream bugtracker, author says he's working on removing HAL dependency.
> http://sourceforge.net/tracker/?func=detail&aid=3413814&group_id=124800&atid=700640

For the record, here's the full error:
| gcc -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -I/usr/include/cairo   -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gstreamer-0.10 -I/usr/include/libxml2   -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/hal   -pthread -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include    -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gstreamer-0.10 -I/usr/include/libxml2   -DDATADIR=\"/usr/share/thoggen\" -DLOCALEDIR=\"/usr/share/locale/\" -DISO_639_XML_PATH=\"/usr/share/xml/iso-codes/iso_639.xml\" -DISO_639_DOMAIN=\"iso_639\"    -Wall -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall -c th-device-pool.c
| th-device-pool.c:118:1: error: unknown type name ‘LibHalFunctions’
| th-device-pool.c:120:2: warning: initialization makes integer from pointer without a cast [enabled by default]
| th-device-pool.c:120:2: warning: (near initialization for ‘disc_drive_hal_cb_funcs’) [enabled by default]
| th-device-pool.c:120:2: error: initializer element is not computable at load time
| th-device-pool.c:120:2: error: (near initialization for ‘disc_drive_hal_cb_funcs’)
| th-device-pool.c:121:2: warning: excess elements in scalar initializer [enabled by default]
| th-device-pool.c:121:2: warning: (near initialization for ‘disc_drive_hal_cb_funcs’) [enabled by default]
| th-device-pool.c:122:2: warning: excess elements in scalar initializer [enabled by default]
| th-device-pool.c:122:2: warning: (near initialization for ‘disc_drive_hal_cb_funcs’) [enabled by default]
| th-device-pool.c:123:2: warning: excess elements in scalar initializer [enabled by default]
| th-device-pool.c:123:2: warning: (near initialization for ‘disc_drive_hal_cb_funcs’) [enabled by default]
| th-device-pool.c:124:2: warning: excess elements in scalar initializer [enabled by default]
| th-device-pool.c:124:2: warning: (near initialization for ‘disc_drive_hal_cb_funcs’) [enabled by default]
| th-device-pool.c:125:2: warning: excess elements in scalar initializer [enabled by default]
| th-device-pool.c:125:2: warning: (near initialization for ‘disc_drive_hal_cb_funcs’) [enabled by default]
| th-device-pool.c:127:1: warning: excess elements in scalar initializer [enabled by default]
| th-device-pool.c:127:1: warning: (near initialization for ‘disc_drive_hal_cb_funcs’) [enabled by default]
| th-device-pool.c: In function ‘hal_ctx_get_device_pool’:
| th-device-pool.c:139:2: warning: implicit declaration of function ‘hal_ctx_get_user_data’ [-Wimplicit-function-declaration]
| th-device-pool.c:139:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
| th-device-pool.c: In function ‘dp_reconnect_set_hal_ctx’:
| th-device-pool.c:185:3: warning: implicit declaration of function ‘hal_ctx_set_user_data’ [-Wimplicit-function-declaration]
| th-device-pool.c: In function ‘device_pool_instance_init’:
| th-device-pool.c:236:2: warning: implicit declaration of function ‘hal_initialize’ [-Wimplicit-function-declaration]
| th-device-pool.c:236:14: warning: assignment makes pointer from integer without a cast [enabled by default]
| th-device-pool.c: In function ‘device_pool_finalize’:
| th-device-pool.c:281:3: warning: implicit declaration of function ‘hal_shutdown’ [-Wimplicit-function-declaration]
| th-device-pool.c: In function ‘dp_reconnect_to_hal_cb’:
| th-device-pool.c:388:14: warning: assignment makes pointer from integer without a cast [enabled by default]
| th-device-pool.c: In function ‘dp_do_filter_dbus_msg’:
| th-device-pool.c:421:30: error: ‘DBUS_INTERFACE_ORG_FREEDESKTOP_LOCAL’ undeclared (first use in this function)
| th-device-pool.c:421:30: note: each undeclared identifier is reported only once for each function it appears in
| th-device-pool.c: In function ‘device_pool_device_is_volume’:
| th-device-pool.c:645:2: warning: implicit declaration of function ‘hal_device_property_exists’ [-Wimplicit-function-declaration]
| th-device-pool.c:646:3: warning: implicit declaration of function ‘hal_device_query_capability’ [-Wimplicit-function-declaration]
| th-device-pool.c: In function ‘device_pool_send_initial_state’:
| th-device-pool.c:664:2: warning: implicit declaration of function ‘hal_device_exists’ [-Wimplicit-function-declaration]
| th-device-pool.c:672:2: warning: implicit declaration of function ‘hal_get_all_devices’ [-Wimplicit-function-declaration]
| th-device-pool.c:672:7: warning: assignment makes pointer from integer without a cast [enabled by default]
| th-device-pool.c:693:2: warning: implicit declaration of function ‘hal_free_string_array’ [-Wimplicit-function-declaration]
| make[5]: *** [th-device-pool.o] Error 1
| make[5]: Leaving directory `/home/cbrulebois/bsp/thoggen-0.7.1/src'
| make[4]: *** [all-recursive] Error 1
| make[4]: Leaving directory `/home/cbrulebois/bsp/thoggen-0.7.1/src'
| make[3]: *** [all] Error 2
| make[3]: Leaving directory `/home/cbrulebois/bsp/thoggen-0.7.1/src'
| make[2]: *** [all-recursive] Error 1
| make[2]: Leaving directory `/home/cbrulebois/bsp/thoggen-0.7.1'
| make[1]: *** [all] Error 2
| make[1]: Leaving directory `/home/cbrulebois/bsp/thoggen-0.7.1'
| make: *** [debian/stamp-makefile-build] Error 2
| dpkg-buildpackage: error: debian/rules build gave error exit status 2

Mraw,
KiBi.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-gstreamer-maintainers/attachments/20120217/3cc28933/attachment.pgp>


More information about the pkg-gstreamer-maintainers mailing list