[pkg-fso-maint] Bug#728627: intone: FTBFS: db_sqlite.h:63:1: error: unknown type name 'Elm_Genlist_Item'

David Suárez david.sephirot at gmail.com
Sun Nov 3 16:57:18 UTC 2013


Source: intone
Version: 0.77-2
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20131103 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
> gcc -DHAVE_CONFIG_H -I. -I..  -DPACKAGE_LOCALE_DIR=\""/usr//locale"\" -DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -I/usr/include/ecore-1 -I/usr/include/evas-1 -I/usr/include/eet-1 -I/usr/include/eina-1 -I/usr/include/eina-1/eina -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/p11-kit-1 -I/usr/include/lua5.1 -I/usr/include/embryo-1 -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/e_dbus-1 -I/usr/include/elementary-1 -I/usr/include/edje-1    -Wall -g -g -O2 -c -o callbacks.o callbacks.c
> In file included from callbacks.h:19:0,
>                  from callbacks.c:21:
> db_sqlite.h:63:1: error: unknown type name 'Elm_Genlist_Item'
>  extern Elm_Genlist_Item *song_list[10000], *old_song;
>  ^
> callbacks.c: In function 'restart_mplayer':
> callbacks.c:124:2: warning: implicit declaration of function 'elm_label_label_set' [-Wimplicit-function-declaration]
>   elm_label_label_set(play_cur_pos, "0:00");
>   ^
> callbacks.c:131:2: warning: 'elm_icon_file_set' is deprecated (declared at /usr/include/elementary-1/elm_icon.h:159) [-Wdeprecated-declarations]
>   elm_icon_file_set(ic_play, buf, NULL);
>   ^
> callbacks.c:83:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
>   int ret;
>       ^
> callbacks.c:82:28: warning: variable 'ans' set but not used [-Wunused-but-set-variable]
>   char buf[255], line[10], *ans;
>                             ^
> callbacks.c: In function 'timer_func':
> callbacks.c:155:6: warning: passing argument 1 of 'elm_genlist_item_selected_set' from incompatible pointer type [enabled by default]
>       elm_genlist_item_selected_set(song_list[song_index], 1);
>       ^
> In file included from /usr/include/elementary-1/Elementary.h:200:0,
>                  from db_sqlite.h:21,
>                  from callbacks.h:19,
>                  from callbacks.c:21:
> /usr/include/elementary-1/elm_genlist.h:896:36: note: expected 'struct Elm_Object_Item *' but argument is of type 'int *'
>  EAPI void                          elm_genlist_item_selected_set(Elm_Object_Item *it, Eina_Bool selected);
>                                     ^
> callbacks.c:156:6: warning: passing argument 1 of 'elm_genlist_item_show' from incompatible pointer type [enabled by default]
>       elm_genlist_item_show(song_list[song_index]);
>       ^
> In file included from /usr/include/elementary-1/Elementary.h:200:0,
>                  from db_sqlite.h:21,
>                  from callbacks.h:19,
>                  from callbacks.c:21:
> /usr/include/elementary-1/elm_genlist.h:925:36: note: expected 'struct Elm_Object_Item *' but argument is of type 'int *'
>  EAPI void                          elm_genlist_item_show(Elm_Object_Item *it, Elm_Genlist_Item_Scrollto_Type type);
>                                     ^
> callbacks.c:156:6: error: too few arguments to function 'elm_genlist_item_show'
>       elm_genlist_item_show(song_list[song_index]);
>       ^
> In file included from /usr/include/elementary-1/Elementary.h:200:0,
>                  from db_sqlite.h:21,
>                  from callbacks.h:19,
>                  from callbacks.c:21:
> /usr/include/elementary-1/elm_genlist.h:925:36: note: declared here
>  EAPI void                          elm_genlist_item_show(Elm_Object_Item *it, Elm_Genlist_Item_Scrollto_Type type);
>                                     ^
> callbacks.c:162:5: warning: 'elm_icon_file_set' is deprecated (declared at /usr/include/elementary-1/elm_icon.h:159) [-Wdeprecated-declarations]
>      elm_icon_file_set(ic_play, buf, NULL);
>      ^
> callbacks.c:138:10: warning: variable 'read' set but not used [-Wunused-but-set-variable]
>   ssize_t read = 0;
>           ^
> callbacks.c:137:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
>   int ret, min, sec;
>       ^
> callbacks.c: In function 'song_select_play':
> callbacks.c:218:2: error: unknown type name 'Elm_Genlist_Item'
>   Elm_Genlist_Item *item = (Elm_Genlist_Item *)elm_genlist_selected_item_get(li);
>   ^
> callbacks.c:218:28: error: 'Elm_Genlist_Item' undeclared (first use in this function)
>   Elm_Genlist_Item *item = (Elm_Genlist_Item *)elm_genlist_selected_item_get(li);
>                             ^
> callbacks.c:218:28: note: each undeclared identifier is reported only once for each function it appears in
> callbacks.c:218:46: error: expected expression before ')' token
>   Elm_Genlist_Item *item = (Elm_Genlist_Item *)elm_genlist_selected_item_get(li);
>                                               ^
> callbacks.c:220:2: warning: implicit declaration of function 'elm_genlist_item_data_get' [-Wimplicit-function-declaration]
>   _dir *song_data = (_dir *)elm_genlist_item_data_get(item);
>   ^
> callbacks.c:220:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
>   _dir *song_data = (_dir *)elm_genlist_item_data_get(item);
>                     ^
> callbacks.c:236:3: warning: implicit declaration of function 'elm_genlist_item_disabled_set' [-Wimplicit-function-declaration]
>    elm_genlist_item_disabled_set(song_list[song_index], 1);
>    ^
> callbacks.c:245:2: warning: passing argument 2 of 'ecore_timer_add' from incompatible pointer type [enabled by default]
>   timer1 = ecore_timer_add(1.0, timer_func, NULL);
>   ^
> In file included from /usr/include/elementary-1/Elementary.h:69:0,
>                  from db_sqlite.h:21,
>                  from callbacks.h:19,
>                  from callbacks.c:21:
> /usr/include/ecore-1/Ecore.h:1716:19: note: expected 'Ecore_Task_Cb' but argument is of type 'int (*)(void *)'
>  EAPI Ecore_Timer *ecore_timer_add(double in, Ecore_Task_Cb func, const void *data);
>                    ^
> callbacks.c:248:3: warning: passing argument 1 of 'elm_genlist_item_update' from incompatible pointer type [enabled by default]
>    if (old_song != item) elm_genlist_item_update(old_song);
>    ^
> In file included from /usr/include/elementary-1/Elementary.h:200:0,
>                  from db_sqlite.h:21,
>                  from callbacks.h:19,
>                  from callbacks.c:21:
> /usr/include/elementary-1/elm_genlist.h:966:36: note: expected 'struct Elm_Object_Item *' but argument is of type 'int *'
>  EAPI void                          elm_genlist_item_update(Elm_Object_Item *it);
>                                     ^
> callbacks.c:249:3: warning: passing argument 1 of 'elm_genlist_item_update' from incompatible pointer type [enabled by default]
>    elm_genlist_item_update(item);
>    ^
> In file included from /usr/include/elementary-1/Elementary.h:200:0,
>                  from db_sqlite.h:21,
>                  from callbacks.h:19,
>                  from callbacks.c:21:
> /usr/include/elementary-1/elm_genlist.h:966:36: note: expected 'struct Elm_Object_Item *' but argument is of type 'int *'
>  EAPI void                          elm_genlist_item_update(Elm_Object_Item *it);
>                                     ^
> callbacks.c:257:2: warning: 'elm_icon_file_set' is deprecated (declared at /usr/include/elementary-1/elm_icon.h:159) [-Wdeprecated-declarations]
>   elm_icon_file_set(ic_play, buf, NULL);
>   ^
> callbacks.c:215:15: warning: unused variable 'li' [-Wunused-variable]
>   Evas_Object *li = data;
>                ^
> callbacks.c: In function 'song_select':
> callbacks.c:268:2: error: unknown type name 'Elm_Genlist_Item'
>   Elm_Genlist_Item *item = (Elm_Genlist_Item *)elm_genlist_selected_item_get(li);
>   ^
> callbacks.c:268:28: error: 'Elm_Genlist_Item' undeclared (first use in this function)
>   Elm_Genlist_Item *item = (Elm_Genlist_Item *)elm_genlist_selected_item_get(li);
>                             ^
> callbacks.c:268:46: error: expected expression before ')' token
>   Elm_Genlist_Item *item = (Elm_Genlist_Item *)elm_genlist_selected_item_get(li);
>                                               ^
> callbacks.c:269:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
>   _dir *song_data = (_dir *)elm_genlist_item_data_get(item);
>                     ^
> callbacks.c:266:15: warning: unused variable 'li' [-Wunused-variable]
>   Evas_Object *li = data;
>                ^
> callbacks.c: In function 'set_duration':
> callbacks.c:278:10: warning: variable 'read' set but not used [-Wunused-but-set-variable]
>   ssize_t read;
>           ^
> callbacks.c:277:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
>   int ret, min, sec;
>       ^
> callbacks.c: In function 'prev_button_clicked':
> callbacks.c:420:4: warning: passing argument 1 of 'elm_genlist_item_update' from incompatible pointer type [enabled by default]
>     elm_genlist_item_update(old_song);
>     ^
> In file included from /usr/include/elementary-1/Elementary.h:200:0,
>                  from db_sqlite.h:21,
>                  from callbacks.h:19,
>                  from callbacks.c:21:
> /usr/include/elementary-1/elm_genlist.h:966:36: note: expected 'struct Elm_Object_Item *' but argument is of type 'int *'
>  EAPI void                          elm_genlist_item_update(Elm_Object_Item *it);
>                                     ^
> callbacks.c:422:5: warning: passing argument 1 of 'elm_genlist_item_selected_set' from incompatible pointer type [enabled by default]
>      elm_genlist_item_selected_set(song_list[song_index+1], 0);
>      ^
> In file included from /usr/include/elementary-1/Elementary.h:200:0,
>                  from db_sqlite.h:21,
>                  from callbacks.h:19,
>                  from callbacks.c:21:
> /usr/include/elementary-1/elm_genlist.h:896:36: note: expected 'struct Elm_Object_Item *' but argument is of type 'int *'
>  EAPI void                          elm_genlist_item_selected_set(Elm_Object_Item *it, Eina_Bool selected);
>                                     ^
> callbacks.c:423:5: warning: passing argument 1 of 'elm_genlist_item_selected_set' from incompatible pointer type [enabled by default]
>      elm_genlist_item_selected_set(song_list[song_index], 1);
>      ^
> In file included from /usr/include/elementary-1/Elementary.h:200:0,
>                  from db_sqlite.h:21,
>                  from callbacks.h:19,
>                  from callbacks.c:21:
> /usr/include/elementary-1/elm_genlist.h:896:36: note: expected 'struct Elm_Object_Item *' but argument is of type 'int *'
>  EAPI void                          elm_genlist_item_selected_set(Elm_Object_Item *it, Eina_Bool selected);
>                                     ^
> callbacks.c:424:5: warning: passing argument 1 of 'elm_genlist_item_update' from incompatible pointer type [enabled by default]
>      elm_genlist_item_update(song_list[song_index]);
>      ^
> In file included from /usr/include/elementary-1/Elementary.h:200:0,
>                  from db_sqlite.h:21,
>                  from callbacks.h:19,
>                  from callbacks.c:21:
> /usr/include/elementary-1/elm_genlist.h:966:36: note: expected 'struct Elm_Object_Item *' but argument is of type 'int *'
>  EAPI void                          elm_genlist_item_update(Elm_Object_Item *it);
>                                     ^
> callbacks.c:426:5: warning: passing argument 1 of 'elm_genlist_item_show' from incompatible pointer type [enabled by default]
>      elm_genlist_item_show(song_list[song_index]);
>      ^
> In file included from /usr/include/elementary-1/Elementary.h:200:0,
>                  from db_sqlite.h:21,
>                  from callbacks.h:19,
>                  from callbacks.c:21:
> /usr/include/elementary-1/elm_genlist.h:925:36: note: expected 'struct Elm_Object_Item *' but argument is of type 'int *'
>  EAPI void                          elm_genlist_item_show(Elm_Object_Item *it, Elm_Genlist_Item_Scrollto_Type type);
>                                     ^
> callbacks.c:426:5: error: too few arguments to function 'elm_genlist_item_show'
>      elm_genlist_item_show(song_list[song_index]);
>      ^
> In file included from /usr/include/elementary-1/Elementary.h:200:0,
>                  from db_sqlite.h:21,
>                  from callbacks.h:19,
>                  from callbacks.c:21:
> /usr/include/elementary-1/elm_genlist.h:925:36: note: declared here
>  EAPI void                          elm_genlist_item_show(Elm_Object_Item *it, Elm_Genlist_Item_Scrollto_Type type);
>                                     ^
> callbacks.c:429:5: warning: passing argument 1 of 'elm_genlist_item_selected_set' from incompatible pointer type [enabled by default]
>      elm_genlist_item_selected_set(song_list[seq[song_index+1]], 0);
>      ^
> In file included from /usr/include/elementary-1/Elementary.h:200:0,
>                  from db_sqlite.h:21,
>                  from callbacks.h:19,
>                  from callbacks.c:21:
> /usr/include/elementary-1/elm_genlist.h:896:36: note: expected 'struct Elm_Object_Item *' but argument is of type 'int *'
>  EAPI void                          elm_genlist_item_selected_set(Elm_Object_Item *it, Eina_Bool selected);
>                                     ^
> callbacks.c:430:5: warning: passing argument 1 of 'elm_genlist_item_selected_set' from incompatible pointer type [enabled by default]
>      elm_genlist_item_selected_set(song_list[seq[song_index]], 1);
>      ^
> In file included from /usr/include/elementary-1/Elementary.h:200:0,
>                  from db_sqlite.h:21,
>                  from callbacks.h:19,
>                  from callbacks.c:21:
> /usr/include/elementary-1/elm_genlist.h:896:36: note: expected 'struct Elm_Object_Item *' but argument is of type 'int *'
>  EAPI void                          elm_genlist_item_selected_set(Elm_Object_Item *it, Eina_Bool selected);
>                                     ^
> callbacks.c:431:5: warning: passing argument 1 of 'elm_genlist_item_update' from incompatible pointer type [enabled by default]
>      elm_genlist_item_update(song_list[seq[song_index]]);
>      ^
> In file included from /usr/include/elementary-1/Elementary.h:200:0,
>                  from db_sqlite.h:21,
>                  from callbacks.h:19,
>                  from callbacks.c:21:
> /usr/include/elementary-1/elm_genlist.h:966:36: note: expected 'struct Elm_Object_Item *' but argument is of type 'int *'
>  EAPI void                          elm_genlist_item_update(Elm_Object_Item *it);
>                                     ^
> callbacks.c:433:5: warning: passing argument 1 of 'elm_genlist_item_show' from incompatible pointer type [enabled by default]
>      elm_genlist_item_show(song_list[seq[song_index]]);    
>      ^
> In file included from /usr/include/elementary-1/Elementary.h:200:0,
>                  from db_sqlite.h:21,
>                  from callbacks.h:19,
>                  from callbacks.c:21:
> /usr/include/elementary-1/elm_genlist.h:925:36: note: expected 'struct Elm_Object_Item *' but argument is of type 'int *'
>  EAPI void                          elm_genlist_item_show(Elm_Object_Item *it, Elm_Genlist_Item_Scrollto_Type type);
>                                     ^
> callbacks.c:433:5: error: too few arguments to function 'elm_genlist_item_show'
>      elm_genlist_item_show(song_list[seq[song_index]]);    
>      ^
> In file included from /usr/include/elementary-1/Elementary.h:200:0,
>                  from db_sqlite.h:21,
>                  from callbacks.h:19,
>                  from callbacks.c:21:
> /usr/include/elementary-1/elm_genlist.h:925:36: note: declared here
>  EAPI void                          elm_genlist_item_show(Elm_Object_Item *it, Elm_Genlist_Item_Scrollto_Type type);
>                                     ^
> callbacks.c:453:3: warning: passing argument 2 of 'ecore_timer_add' from incompatible pointer type [enabled by default]
>    timer1 = ecore_timer_add(1.0, timer_func, NULL);
>    ^
> In file included from /usr/include/elementary-1/Elementary.h:69:0,
>                  from db_sqlite.h:21,
>                  from callbacks.h:19,
>                  from callbacks.c:21:
> /usr/include/ecore-1/Ecore.h:1716:19: note: expected 'Ecore_Task_Cb' but argument is of type 'int (*)(void *)'
>  EAPI Ecore_Timer *ecore_timer_add(double in, Ecore_Task_Cb func, const void *data);
>                    ^
> callbacks.c: In function 'next_button_clicked':
> callbacks.c:489:3: warning: passing argument 1 of 'elm_genlist_item_update' from incompatible pointer type [enabled by default]
>    elm_genlist_item_update(old_song);
>    ^
> In file included from /usr/include/elementary-1/Elementary.h:200:0,
>                  from db_sqlite.h:21,
>                  from callbacks.h:19,
>                  from callbacks.c:21:
> /usr/include/elementary-1/elm_genlist.h:966:36: note: expected 'struct Elm_Object_Item *' but argument is of type 'int *'
>  EAPI void                          elm_genlist_item_update(Elm_Object_Item *it);
>                                     ^
> callbacks.c:491:4: warning: passing argument 1 of 'elm_genlist_item_selected_set' from incompatible pointer type [enabled by default]
>     if (song_index > 0) elm_genlist_item_selected_set(song_list[song_index-1], 0);
>     ^
> In file included from /usr/include/elementary-1/Elementary.h:200:0,
>                  from db_sqlite.h:21,
>                  from callbacks.h:19,
>                  from callbacks.c:21:
> /usr/include/elementary-1/elm_genlist.h:896:36: note: expected 'struct Elm_Object_Item *' but argument is of type 'int *'
>  EAPI void                          elm_genlist_item_selected_set(Elm_Object_Item *it, Eina_Bool selected);
>                                     ^
> callbacks.c:492:4: warning: passing argument 1 of 'elm_genlist_item_selected_set' from incompatible pointer type [enabled by default]
>     else elm_genlist_item_selected_set(song_list[no_songs -1], 0);
>     ^
> In file included from /usr/include/elementary-1/Elementary.h:200:0,
>                  from db_sqlite.h:21,
>                  from callbacks.h:19,
>                  from callbacks.c:21:
> /usr/include/elementary-1/elm_genlist.h:896:36: note: expected 'struct Elm_Object_Item *' but argument is of type 'int *'
>  EAPI void                          elm_genlist_item_selected_set(Elm_Object_Item *it, Eina_Bool selected);
>                                     ^
> callbacks.c:493:4: warning: passing argument 1 of 'elm_genlist_item_selected_set' from incompatible pointer type [enabled by default]
>     elm_genlist_item_selected_set(song_list[song_index], 1);
>     ^
> In file included from /usr/include/elementary-1/Elementary.h:200:0,
>                  from db_sqlite.h:21,
>                  from callbacks.h:19,
>                  from callbacks.c:21:
> /usr/include/elementary-1/elm_genlist.h:896:36: note: expected 'struct Elm_Object_Item *' but argument is of type 'int *'
>  EAPI void                          elm_genlist_item_selected_set(Elm_Object_Item *it, Eina_Bool selected);
>                                     ^
> callbacks.c:494:4: warning: passing argument 1 of 'elm_genlist_item_update' from incompatible pointer type [enabled by default]
>     elm_genlist_item_update(song_list[song_index]);
>     ^
> In file included from /usr/include/elementary-1/Elementary.h:200:0,
>                  from db_sqlite.h:21,
>                  from callbacks.h:19,
>                  from callbacks.c:21:
> /usr/include/elementary-1/elm_genlist.h:966:36: note: expected 'struct Elm_Object_Item *' but argument is of type 'int *'
>  EAPI void                          elm_genlist_item_update(Elm_Object_Item *it);
>                                     ^
> callbacks.c:496:4: warning: passing argument 1 of 'elm_genlist_item_show' from incompatible pointer type [enabled by default]
>     elm_genlist_item_show(song_list[song_index]);
>     ^
> In file included from /usr/include/elementary-1/Elementary.h:200:0,
>                  from db_sqlite.h:21,
>                  from callbacks.h:19,
>                  from callbacks.c:21:
> /usr/include/elementary-1/elm_genlist.h:925:36: note: expected 'struct Elm_Object_Item *' but argument is of type 'int *'
>  EAPI void                          elm_genlist_item_show(Elm_Object_Item *it, Elm_Genlist_Item_Scrollto_Type type);
>                                     ^
> callbacks.c:496:4: error: too few arguments to function 'elm_genlist_item_show'
>     elm_genlist_item_show(song_list[song_index]);
>     ^
> In file included from /usr/include/elementary-1/Elementary.h:200:0,
>                  from db_sqlite.h:21,
>                  from callbacks.h:19,
>                  from callbacks.c:21:
> /usr/include/elementary-1/elm_genlist.h:925:36: note: declared here
>  EAPI void                          elm_genlist_item_show(Elm_Object_Item *it, Elm_Genlist_Item_Scrollto_Type type);
>                                     ^
> callbacks.c:499:4: warning: passing argument 1 of 'elm_genlist_item_selected_set' from incompatible pointer type [enabled by default]
>     if(song_index > 0) elm_genlist_item_selected_set(song_list[seq[song_index -1]], 0);
>     ^
> In file included from /usr/include/elementary-1/Elementary.h:200:0,
>                  from db_sqlite.h:21,
>                  from callbacks.h:19,
>                  from callbacks.c:21:
> /usr/include/elementary-1/elm_genlist.h:896:36: note: expected 'struct Elm_Object_Item *' but argument is of type 'int *'
>  EAPI void                          elm_genlist_item_selected_set(Elm_Object_Item *it, Eina_Bool selected);
>                                     ^
> callbacks.c:500:4: warning: passing argument 1 of 'elm_genlist_item_selected_set' from incompatible pointer type [enabled by default]
>     else elm_genlist_item_selected_set(song_list[seq[no_songs -1]], 0);
>     ^
> In file included from /usr/include/elementary-1/Elementary.h:200:0,
>                  from db_sqlite.h:21,
>                  from callbacks.h:19,
>                  from callbacks.c:21:
> /usr/include/elementary-1/elm_genlist.h:896:36: note: expected 'struct Elm_Object_Item *' but argument is of type 'int *'
>  EAPI void                          elm_genlist_item_selected_set(Elm_Object_Item *it, Eina_Bool selected);
>                                     ^
> callbacks.c:501:4: warning: passing argument 1 of 'elm_genlist_item_selected_set' from incompatible pointer type [enabled by default]
>     elm_genlist_item_selected_set(song_list[seq[song_index]], 1);
>     ^
> In file included from /usr/include/elementary-1/Elementary.h:200:0,
>                  from db_sqlite.h:21,
>                  from callbacks.h:19,
>                  from callbacks.c:21:
> /usr/include/elementary-1/elm_genlist.h:896:36: note: expected 'struct Elm_Object_Item *' but argument is of type 'int *'
>  EAPI void                          elm_genlist_item_selected_set(Elm_Object_Item *it, Eina_Bool selected);
>                                     ^
> callbacks.c:502:4: warning: passing argument 1 of 'elm_genlist_item_update' from incompatible pointer type [enabled by default]
>     elm_genlist_item_update(song_list[seq[song_index]]);
>     ^
> In file included from /usr/include/elementary-1/Elementary.h:200:0,
>                  from db_sqlite.h:21,
>                  from callbacks.h:19,
>                  from callbacks.c:21:
> /usr/include/elementary-1/elm_genlist.h:966:36: note: expected 'struct Elm_Object_Item *' but argument is of type 'int *'
>  EAPI void                          elm_genlist_item_update(Elm_Object_Item *it);
>                                     ^
> callbacks.c:504:4: warning: passing argument 1 of 'elm_genlist_item_show' from incompatible pointer type [enabled by default]
>     elm_genlist_item_show(song_list[seq[song_index]]);
>     ^
> In file included from /usr/include/elementary-1/Elementary.h:200:0,
>                  from db_sqlite.h:21,
>                  from callbacks.h:19,
>                  from callbacks.c:21:
> /usr/include/elementary-1/elm_genlist.h:925:36: note: expected 'struct Elm_Object_Item *' but argument is of type 'int *'
>  EAPI void                          elm_genlist_item_show(Elm_Object_Item *it, Elm_Genlist_Item_Scrollto_Type type);
>                                     ^
> callbacks.c:504:4: error: too few arguments to function 'elm_genlist_item_show'
>     elm_genlist_item_show(song_list[seq[song_index]]);
>     ^
> In file included from /usr/include/elementary-1/Elementary.h:200:0,
>                  from db_sqlite.h:21,
>                  from callbacks.h:19,
>                  from callbacks.c:21:
> /usr/include/elementary-1/elm_genlist.h:925:36: note: declared here
>  EAPI void                          elm_genlist_item_show(Elm_Object_Item *it, Elm_Genlist_Item_Scrollto_Type type);
>                                     ^
> callbacks.c:518:3: warning: passing argument 2 of 'ecore_timer_add' from incompatible pointer type [enabled by default]
>    timer1 = ecore_timer_add(1.0, timer_func, NULL);
>    ^
> In file included from /usr/include/elementary-1/Elementary.h:69:0,
>                  from db_sqlite.h:21,
>                  from callbacks.h:19,
>                  from callbacks.c:21:
> /usr/include/ecore-1/Ecore.h:1716:19: note: expected 'Ecore_Task_Cb' but argument is of type 'int (*)(void *)'
>  EAPI Ecore_Timer *ecore_timer_add(double in, Ecore_Task_Cb func, const void *data);
>                    ^
> callbacks.c: In function 'play_button_clicked':
> callbacks.c:557:3: warning: 'elm_icon_file_set' is deprecated (declared at /usr/include/elementary-1/elm_icon.h:159) [-Wdeprecated-declarations]
>    elm_icon_file_set(ic_play, buf, NULL);
>    ^
> callbacks.c:575:3: warning: 'elm_icon_file_set' is deprecated (declared at /usr/include/elementary-1/elm_icon.h:159) [-Wdeprecated-declarations]
>    elm_icon_file_set(ic_play, buf, NULL);
>    ^
> callbacks.c:620:4: warning: passing argument 1 of 'elm_genlist_item_update' from incompatible pointer type [enabled by default]
>     elm_genlist_item_update(song_list[song_index]);
>     ^
> In file included from /usr/include/elementary-1/Elementary.h:200:0,
>                  from db_sqlite.h:21,
>                  from callbacks.h:19,
>                  from callbacks.c:21:
> /usr/include/elementary-1/elm_genlist.h:966:36: note: expected 'struct Elm_Object_Item *' but argument is of type 'int *'
>  EAPI void                          elm_genlist_item_update(Elm_Object_Item *it);
>                                     ^
> callbacks.c:621:4: warning: passing argument 1 of 'elm_genlist_item_show' from incompatible pointer type [enabled by default]
>     elm_genlist_item_show(song_list[song_index]);
>     ^
> In file included from /usr/include/elementary-1/Elementary.h:200:0,
>                  from db_sqlite.h:21,
>                  from callbacks.h:19,
>                  from callbacks.c:21:
> /usr/include/elementary-1/elm_genlist.h:925:36: note: expected 'struct Elm_Object_Item *' but argument is of type 'int *'
>  EAPI void                          elm_genlist_item_show(Elm_Object_Item *it, Elm_Genlist_Item_Scrollto_Type type);
>                                     ^
> callbacks.c:621:4: error: too few arguments to function 'elm_genlist_item_show'
>     elm_genlist_item_show(song_list[song_index]);
>     ^
> In file included from /usr/include/elementary-1/Elementary.h:200:0,
>                  from db_sqlite.h:21,
>                  from callbacks.h:19,
>                  from callbacks.c:21:
> /usr/include/elementary-1/elm_genlist.h:925:36: note: declared here
>  EAPI void                          elm_genlist_item_show(Elm_Object_Item *it, Elm_Genlist_Item_Scrollto_Type type);
>                                     ^
> callbacks.c:628:3: warning: 'elm_icon_file_set' is deprecated (declared at /usr/include/elementary-1/elm_icon.h:159) [-Wdeprecated-declarations]
>    elm_icon_file_set(ic_play, buf, NULL);
>    ^
> callbacks.c:629:3: warning: passing argument 2 of 'ecore_timer_add' from incompatible pointer type [enabled by default]
>    timer1 = ecore_timer_add(1.0, timer_func, NULL);
>    ^
> In file included from /usr/include/elementary-1/Elementary.h:69:0,
>                  from db_sqlite.h:21,
>                  from callbacks.h:19,
>                  from callbacks.c:21:
> /usr/include/ecore-1/Ecore.h:1716:19: note: expected 'Ecore_Task_Cb' but argument is of type 'int (*)(void *)'
>  EAPI Ecore_Timer *ecore_timer_add(double in, Ecore_Task_Cb func, const void *data);
>                    ^
> callbacks.c: In function 'vol_changed':
> callbacks.c:638:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
>   int ret;
>       ^
> callbacks.c: In function 'pos_changed':
> callbacks.c:654:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
>   int ret;
>       ^
> callbacks.c: In function 'load_dir':
> callbacks.c:677:2: error: unknown type name 'Elm_Genlist_Item'
>   Elm_Genlist_Item *dir_list=NULL;
>   ^
> callbacks.c:690:13: warning: assignment from incompatible pointer type [enabled by default]
>     dir_list = elm_genlist_item_append(li, &itc_dir_list, &dir_gl_entry[i], NULL, 
>              ^
> callbacks.c:697:11: warning: assignment from incompatible pointer type [enabled by default]
>   dir_list = elm_genlist_first_item_get(li);
>            ^
> callbacks.c:698:2: warning: passing argument 1 of 'elm_genlist_item_selected_set' from incompatible pointer type [enabled by default]
>   elm_genlist_item_selected_set(dir_list ,1);
>   ^
> In file included from /usr/include/elementary-1/Elementary.h:200:0,
>                  from db_sqlite.h:21,
>                  from callbacks.h:19,
>                  from callbacks.c:21:
> /usr/include/elementary-1/elm_genlist.h:896:36: note: expected 'struct Elm_Object_Item *' but argument is of type 'int *'
>  EAPI void                          elm_genlist_item_selected_set(Elm_Object_Item *it, Eina_Bool selected);
>                                     ^
> callbacks.c: In function 'up_button_clicked':
> callbacks.c:803:5: error: unknown type name 'Elm_Genlist_Item'
>      Elm_Genlist_Item *item = (Elm_Genlist_Item *)elm_genlist_selected_item_get(l);
>      ^
> callbacks.c:803:31: error: 'Elm_Genlist_Item' undeclared (first use in this function)
>      Elm_Genlist_Item *item = (Elm_Genlist_Item *)elm_genlist_selected_item_get(l);
>                                ^
> callbacks.c:803:49: error: expected expression before ')' token
>      Elm_Genlist_Item *item = (Elm_Genlist_Item *)elm_genlist_selected_item_get(l);
>                                                  ^
> callbacks.c:804:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
>      _dir *dir_gl = (_dir *)elm_genlist_item_data_get(item);
>                     ^
> callbacks.c: In function 'priority_changed':
> callbacks.c:830:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
>   int ret;
>       ^
> callbacks.c: In function 'bass_changed':
> callbacks.c:842:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
>   int ret;
>       ^
> callbacks.c: In function 'treble_changed':
> callbacks.c:854:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
>   int ret;
>       ^
> callbacks.c: In function 'bt_tg':
> callbacks.c:865:24: warning: variable 'pause' set but not used [-Wunused-but-set-variable]
>   int ret, restart = 0, pause = 0;
>                         ^
> callbacks.c:865:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
>   int ret, restart = 0, pause = 0;
>       ^
> callbacks.c: In function 'random_tg':
> callbacks.c:922:2: warning: 'elm_icon_file_set' is deprecated (declared at /usr/include/elementary-1/elm_icon.h:159) [-Wdeprecated-declarations]
>   elm_icon_file_set(ic_shuffle, buf, NULL);
>   ^
> callbacks.c: In function 'set_random_mode':
> callbacks.c:938:2: warning: 'elm_icon_file_set' is deprecated (declared at /usr/include/elementary-1/elm_icon.h:159) [-Wdeprecated-declarations]
>   elm_icon_file_set(ic_shuffle, buf, NULL);
>   ^
> callbacks.c: In function 'loop_tg':
> callbacks.c:968:2: warning: 'elm_icon_file_set' is deprecated (declared at /usr/include/elementary-1/elm_icon.h:159) [-Wdeprecated-declarations]
>   elm_icon_file_set(ic_repeat, buf, NULL);
>   ^
> callbacks.c: In function 'rescan_button_clicked':
> callbacks.c:977:2: error: unknown type name 'Elm_Genlist_Item'
>   Elm_Genlist_Item *item = elm_genlist_selected_item_get(li);
>   ^
> callbacks.c:977:27: warning: initialization from incompatible pointer type [enabled by default]
>   Elm_Genlist_Item *item = elm_genlist_selected_item_get(li);
>                            ^
> callbacks.c:980:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
>   strcpy(songs_dir, (char *)elm_genlist_item_data_get(item));
>                     ^
> callbacks.c:973:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
>   int ret;
>       ^
> callbacks.c: In function 'remove_dir_button_clicked':
> callbacks.c:996:2: error: unknown type name 'Elm_Genlist_Item'
>   Elm_Genlist_Item *item = elm_genlist_selected_item_get(li);
>   ^
> callbacks.c:996:27: warning: initialization from incompatible pointer type [enabled by default]
>   Elm_Genlist_Item *item = elm_genlist_selected_item_get(li);
>                            ^
> callbacks.c:999:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
>   ty = (char *) elm_genlist_item_data_get(item);
>        ^
> callbacks.c:1017:4: warning: 'elm_icon_file_set' is deprecated (declared at /usr/include/elementary-1/elm_icon.h:159) [-Wdeprecated-declarations]
>     elm_icon_file_set(ic_play, buf, NULL);
>     ^
> callbacks.c:1036:4: warning: 'elm_icon_file_set' is deprecated (declared at /usr/include/elementary-1/elm_icon.h:159) [-Wdeprecated-declarations]
>     elm_icon_file_set(ic_play, buf, NULL);
>     ^
> callbacks.c:1042:2: warning: implicit declaration of function 'elm_genlist_item_del' [-Wimplicit-function-declaration]
>   elm_genlist_item_del(item);
>   ^
> callbacks.c:993:16: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
>   int i, count, ret;
>                 ^
> callbacks.c: In function 'temp_playlist':
> callbacks.c:1049:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
>   int ret;
>       ^
> callbacks.c: In function 'change_view_list':
> callbacks.c:1159:2: warning: 'elm_icon_file_set' is deprecated (declared at /usr/include/elementary-1/elm_icon.h:159) [-Wdeprecated-declarations]
>   elm_icon_file_set(ic_view, buf, NULL);
>   ^
> callbacks.c: In function 'change_view_album':
> callbacks.c:1213:2: warning: 'elm_icon_file_set' is deprecated (declared at /usr/include/elementary-1/elm_icon.h:159) [-Wdeprecated-declarations]
>   elm_icon_file_set(ic_view, buf, NULL);
>   ^
> callbacks.c: In function 'change_view_lyrics':
> callbacks.c:1245:2: warning: implicit declaration of function 'elm_scroller_content_set' [-Wimplicit-function-declaration]
>   elm_scroller_content_set(lyrics_sc, lyrics_entry);
>   ^
> callbacks.c:1264:2: warning: 'elm_icon_file_set' is deprecated (declared at /usr/include/elementary-1/elm_icon.h:159) [-Wdeprecated-declarations]
>   elm_icon_file_set(ic_view, buf, NULL);
>   ^
> callbacks.c: In function 'dir_list_select':
> callbacks.c:1286:2: error: unknown type name 'Elm_Genlist_Item'
>   Elm_Genlist_Item *item = (Elm_Genlist_Item *)elm_genlist_selected_item_get(li);
>   ^
> callbacks.c:1286:28: error: 'Elm_Genlist_Item' undeclared (first use in this function)
>   Elm_Genlist_Item *item = (Elm_Genlist_Item *)elm_genlist_selected_item_get(li);
>                             ^
> callbacks.c:1286:46: error: expected expression before ')' token
>   Elm_Genlist_Item *item = (Elm_Genlist_Item *)elm_genlist_selected_item_get(li);
>                                               ^
> callbacks.c:1287:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
>   _dir *dir_gl = (_dir *)elm_genlist_item_data_get(item);
>                  ^
> callbacks.c: In function 'del_playlist_button_clicked':
> callbacks.c:1296:2: error: unknown type name 'Elm_Genlist_Item'
>   Elm_Genlist_Item *item = (Elm_Genlist_Item *)elm_genlist_selected_item_get(li);
>   ^
> callbacks.c:1296:28: error: 'Elm_Genlist_Item' undeclared (first use in this function)
>   Elm_Genlist_Item *item = (Elm_Genlist_Item *)elm_genlist_selected_item_get(li);
>                             ^
> callbacks.c:1296:46: error: expected expression before ')' token
>   Elm_Genlist_Item *item = (Elm_Genlist_Item *)elm_genlist_selected_item_get(li);
>                                               ^
> callbacks.c:1298:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
>   char *list_name = (char *)elm_genlist_item_data_get(item);
>                     ^
> callbacks.c:1294:15: warning: unused variable 'li' [-Wunused-variable]
>   Evas_Object *li = data;
>                ^
> callbacks.c: In function 'sel_playlist_button_clicked':
> callbacks.c:1325:2: error: unknown type name 'Elm_Genlist_Item'
>   Elm_Genlist_Item *item = (Elm_Genlist_Item *)elm_genlist_selected_item_get(li);
>   ^
> callbacks.c:1325:28: error: 'Elm_Genlist_Item' undeclared (first use in this function)
>   Elm_Genlist_Item *item = (Elm_Genlist_Item *)elm_genlist_selected_item_get(li);
>                             ^
> callbacks.c:1325:46: error: expected expression before ')' token
>   Elm_Genlist_Item *item = (Elm_Genlist_Item *)elm_genlist_selected_item_get(li);
>                                               ^
> callbacks.c:1327:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
>   char *list_name = (char *)elm_genlist_item_data_get(item);
>                     ^
> callbacks.c:1343:2: warning: 'elm_icon_file_set' is deprecated (declared at /usr/include/elementary-1/elm_icon.h:159) [-Wdeprecated-declarations]
>   elm_icon_file_set(ic_play, buf, NULL);
>   ^
> callbacks.c:1324:15: warning: unused variable 'li' [-Wunused-variable]
>   Evas_Object *li = data;
>                ^
> callbacks.c:1313:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
>   int ret;
>       ^
> callbacks.c: In function 'edit_playlist_button_clicked':
> callbacks.c:1350:2: error: unknown type name 'Elm_Genlist_Item'
>   Elm_Genlist_Item *item = (Elm_Genlist_Item *)elm_genlist_selected_item_get(li);
>   ^
> callbacks.c:1350:28: error: 'Elm_Genlist_Item' undeclared (first use in this function)
>   Elm_Genlist_Item *item = (Elm_Genlist_Item *)elm_genlist_selected_item_get(li);
>                             ^
> callbacks.c:1350:46: error: expected expression before ')' token
>   Elm_Genlist_Item *item = (Elm_Genlist_Item *)elm_genlist_selected_item_get(li);
>                                               ^
> callbacks.c:1352:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
>   char *list_name = (char *)elm_genlist_item_data_get(item);
>                     ^
> callbacks.c:1348:15: warning: unused variable 'li' [-Wunused-variable]
>   Evas_Object *li = data;
>                ^
> callbacks.c: In function 'remove_songs_button_clicked':
> callbacks.c:1363:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
>    char *path = (char *)elm_genlist_item_data_get(item->data);
>                 ^
> callbacks.c: In function 'save_playlist_button_clicked':
> callbacks.c:1371:2: error: unknown type name 'Elm_Genlist_Item'
>   const Elm_Genlist_Item *item;
>   ^
> callbacks.c:1378:7: warning: assignment from incompatible pointer type [enabled by default]
>   item = elm_genlist_first_item_get(c_play_list);
>        ^
> callbacks.c: In function 'add_album_button_clicked':
> callbacks.c:1400:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
>    char *album = (char *)elm_genlist_item_data_get(item->data);
>                  ^
> make[3]: *** [callbacks.o] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2013/11/03/intone_0.77-2_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the pkg-fso-maint mailing list