Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#997203: gigedit: FTBFS: ../compat.h:194:21: error: ‘const Pango::Alignment Pango::ALIGN_LEFT’ redeclared as different kind of entity

27 views
Skip to first unread message

Lucas Nussbaum

unread,
Oct 23, 2021, 3:20:03 PM10/23/21
to
Source: gigedit
Version: 1.1.1-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs

Hi,

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


Relevant part (hopefully):
> /bin/bash ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -pthread -I/usr/include/gtkmm-3.0 -I/usr/lib/x86_64-linux-gnu/gtkmm-3.0/include -I/usr/include/atkmm-1.6 -I/usr/lib/x86_64-linux-gnu/atkmm-1.6/include -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0 -I/usr/lib/x86_64-linux-gnu/gdkmm-3.0/include -I/usr/include/giomm-2.4 -I/usr/lib/x86_64-linux-gnu/giomm-2.4/include -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pangomm-1.4 -I/usr/lib/x86_64-linux-gnu/pangomm-1.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include -I/usr/include/cairomm-1.0 -I/usr/lib/x86_64-linux-gnu/cairomm-1.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o yellow_dot.lo yellow_dot.c
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -pthread -I/usr/include/gtkmm-3.0 -I/usr/lib/x86_64-linux-gnu/gtkmm-3.0/include -I/usr/include/atkmm-1.6 -I/usr/lib/x86_64-linux-gnu/atkmm-1.6/include -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0 -I/usr/lib/x86_64-linux-gnu/gdkmm-3.0/include -I/usr/include/giomm-2.4 -I/usr/lib/x86_64-linux-gnu/giomm-2.4/include -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pangomm-1.4 -I/usr/lib/x86_64-linux-gnu/pangomm-1.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include -I/usr/include/cairomm-1.0 -I/usr/lib/x86_64-linux-gnu/cairomm-1.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c yellow_dot.c -o yellow_dot.o
> In file included from builtinpix.cpp:2:
> ../compat.h:194:21: error: ‘const Pango::Alignment Pango::ALIGN_LEFT’ redeclared as different kind of entity
> 194 | const Alignment ALIGN_LEFT = Alignment::LEFT;
> | ^~~~~~~~~~
> In file included from /usr/include/gtkmm-3.0/gtkmm/widget.h:32,
> from /usr/include/gtkmm-3.0/gtkmm/container.h:28,
> from /usr/include/gtkmm-3.0/gtkmm/box.h:27,
> from /usr/include/gtkmm-3.0/gtkmm/buttonbox.h:27,
> from ../compat.h:134,
> from builtinpix.cpp:2:
> /usr/include/pangomm-1.4/pangomm/layout.h:77:3: note: previous declaration ‘Pango::Alignment Pango::ALIGN_LEFT’
> 77 | ALIGN_LEFT,
> | ^~~~~~~~~~
> In file included from builtinpix.cpp:2:
> ../compat.h:194:45: error: ‘LEFT’ is not a member of ‘Pango::Alignment’
> 194 | const Alignment ALIGN_LEFT = Alignment::LEFT;
> | ^~~~
> ../compat.h:195:21: error: ‘const Pango::Alignment Pango::ALIGN_CENTER’ redeclared as different kind of entity
> 195 | const Alignment ALIGN_CENTER = Alignment::CENTER;
> | ^~~~~~~~~~~~
> In file included from /usr/include/gtkmm-3.0/gtkmm/widget.h:32,
> from /usr/include/gtkmm-3.0/gtkmm/container.h:28,
> from /usr/include/gtkmm-3.0/gtkmm/box.h:27,
> from /usr/include/gtkmm-3.0/gtkmm/buttonbox.h:27,
> from ../compat.h:134,
> from builtinpix.cpp:2:
> /usr/include/pangomm-1.4/pangomm/layout.h:78:3: note: previous declaration ‘Pango::Alignment Pango::ALIGN_CENTER’
> 78 | ALIGN_CENTER,
> | ^~~~~~~~~~~~
> In file included from builtinpix.cpp:2:
> ../compat.h:195:47: error: ‘CENTER’ is not a member of ‘Pango::Alignment’
> 195 | const Alignment ALIGN_CENTER = Alignment::CENTER;
> | ^~~~~~
> ../compat.h:196:21: error: ‘const Pango::Alignment Pango::ALIGN_RIGHT’ redeclared as different kind of entity
> 196 | const Alignment ALIGN_RIGHT = Alignment::RIGHT;
> | ^~~~~~~~~~~
> In file included from /usr/include/gtkmm-3.0/gtkmm/widget.h:32,
> from /usr/include/gtkmm-3.0/gtkmm/container.h:28,
> from /usr/include/gtkmm-3.0/gtkmm/box.h:27,
> from /usr/include/gtkmm-3.0/gtkmm/buttonbox.h:27,
> from ../compat.h:134,
> from builtinpix.cpp:2:
> /usr/include/pangomm-1.4/pangomm/layout.h:79:3: note: previous declaration ‘Pango::Alignment Pango::ALIGN_RIGHT’
> 79 | ALIGN_RIGHT
> | ^~~~~~~~~~~
> In file included from builtinpix.cpp:2:
> ../compat.h:196:46: error: ‘RIGHT’ is not a member of ‘Pango::Alignment’
> 196 | const Alignment ALIGN_RIGHT = Alignment::RIGHT;
> | ^~~~~
> make[5]: *** [Makefile:506: builtinpix.lo] Error 1


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/gigedit_1.1.1-1_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!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

peter green

unread,
Nov 7, 2021, 7:40:03 PM11/7/21
to
Tags 997203 +patch
Thanks

I ran into this issue in Raspbian and found I could fix it by disabling the block in question
in compat.h. I have uploaded this change to raspbian, A debdiff should appear soon at
https://debdiffs.raspbian.org/main/g/gigedit No intent to NMU in Debian.
0 new messages