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

Florian Schlichting fsfs at debian.org
Sun Mar 16 21:58:05 UTC 2014


tags 741790 + confirmed fixed-upstream
thanks

On Sun, Mar 16, 2014 at 01:43:24PM +0100, David Suárez wrote:
> 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

> > 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

fails for me in the same way. There's a new version out February 08
(GIMMIX 0.5.7.2): "This release contains a new Czech translation and
also fixes a compilation issue with recent versions of glib-2.0", which
sounds much like a fix for this issue.

Florian



More information about the Pkg-mpd-maintainers mailing list