Bug#839852: libgtk2.0-dev: failing to build due to atk mismatch

Tristan Matthews tmatth at videolan.org
Wed Oct 5 19:57:04 UTC 2016


On Wed, Oct 5, 2016 at 3:46 PM, Michael Biebl <biebl at debian.org> wrote:
> 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?
>

Ach, sorry for the noise...that file was missing, which I assumed was
due to the package version, but in fact was the result of a borked
migration...reinstalling the atk package restored it. Please
disregard.



More information about the pkg-gnome-maintainers mailing list