[Pkg-mpd-maintainers] Bug#741790: gimmix: FTBFS: gimmix-playlist.c:42:2: error: 'DIR' redeclared as different kind of symbol

David Suárez david.sephirot at gmail.com
Sun Mar 16 12:43:24 UTC 2014


Source: gimmix
Version: 0.5.7.1-4
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20140315 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.. -pthread -I/usr/include/taglib -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/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -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/libpng12 -I/usr/include/libdrm -I/usr/include/harfbuzz -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -I/usr/include/libmpd-1.0/ -DPREFIX=\"/usr\" -fPIC  -D_FORTIFY_SOURCE=2  -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -DHAVE_TAGEDITOR -DHAVE_LYRICS -DHAVE_COVER_PLUGIN -pipe -Wall -c gimmix-playlist.c
> gimmix-playlist.c:42:2: error: 'DIR' redeclared as different kind of symbol
>   DIR,
>   ^
> In file included from /usr/include/glib-2.0/glib/gdir.h:34:0,
>                  from /usr/include/glib-2.0/glib.h:47,
>                  from /usr/include/libglade-2.0/glade/glade.h:25,
>                  from gimmix.h:14,
>                  from gimmix-core.h:8,
>                  from gimmix-playlist.h:4,
>                  from gimmix-playlist.c:26:
> /usr/include/dirent.h:127:28: note: previous declaration of 'DIR' was here
>  typedef struct __dirstream DIR;
>                             ^
> gimmix-playlist.c: In function 'on_drag_data_get':
> gimmix-playlist.c:136:20: warning: variable 'selection' set but not used [-Wunused-but-set-variable]
>   GtkTreeSelection *selection = NULL;
>                     ^
> gimmix-playlist.c: In function 'gimmix_update_current_playlist':
> gimmix-playlist.c:471:9: warning: variable 'new' set but not used [-Wunused-but-set-variable]
>   gint   new;
>          ^
> gimmix-playlist.c: In function 'cb_all_playlist_button_press':
> gimmix-playlist.c:912:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
>   gboolean  current_playlist = (gboolean) data;
>                                ^
> gimmix-playlist.c: In function 'cb_gimmix_playlist_column_show_toggled':
> gimmix-playlist.c:1525:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
>   gint  column = (gint) data;
>                  ^
> make[3]: *** [gimmix-playlist.o] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2014/03/15/gimmix_0.5.7.1-4_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-mpd-maintainers mailing list