Bug#839852: libgtk2.0-dev: failing to build due to atk mismatch
Michael Biebl
biebl at debian.org
Wed Oct 5 19:46:46 UTC 2016
Control: tags -1 moreinfo unreproducible
Am 05.10.2016 um 20:15 schrieb Tristan Matthews:
> Package: libgtk2.0-dev
> Version: 2.24.31-1
> Severity: important
>
> Can no longer build programs depending on gtk+-2.0. To reproduce:
>
> echo -e "#include <gtk/gtk.h>\n int main(){return 0;}" | gcc -o gtk_test -xc - `pkg-config --cflags --libs gtk+-2.0`
>
> Fails with:
>
> In file included from /usr/include/gtk-2.0/gtk/gtkwidget.h:40:0,
> from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35,
> from /usr/include/gtk-2.0/gtk/gtkbin.h:35,
> from /usr/include/gtk-2.0/gtk/gtkwindow.h:36,
> from /usr/include/gtk-2.0/gtk/gtkdialog.h:35,
> from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32,
> from /usr/include/gtk-2.0/gtk/gtk.h:33,
> from <stdin>:1:
> /usr/include/atk-1.0/atk/atk.h:26:27: fatal error: atk/atkaction.h: No such file or directory
> #include <atk/atkaction.h>
> ^
> compilation terminated.
>
> Seems like a mismatch between gtk
Your example compiles fine here.
> Versions of packages libgtk2.0-dev depends on:
> ii gir1.2-gtk-2.0 2.24.31-1
> ii libatk1.0-dev 2.22.0-1
Do you have a file /usr/include/atk-1.0/atk/atkaction.h?
Maybe you have some locally installed files in /usr/local/ which
override the system libraries?
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20161005/284d6c03/attachment.sig>
More information about the pkg-gnome-maintainers
mailing list