Ticket #985 (closed defect: upstream)
librsvg-native-2.26.0-r0 does not compile
| Reported by: | sbusch | Owned by: | TAsn |
|---|---|---|---|
| Priority: | blocker | Milestone: | |
| Component: | Other | Version: | SHR-unstable |
| Keywords: | rsvg librsvg-native | Cc: |
Description
compiling "librsvg-native" fails with the following error message.
seems like include directive for "usr/include/atk-1.0" is missing.
ccache gcc -DHAVE_CONFIG_H -I. -I. -I. -I/workspace/projekte/oe/om/build/staging/x86_64-linux/usr/include/gtk-2.0 -I/workspace/projekte/oe/om/build/staging/x86_64-linux/usr/include/glib-2.0 -I/workspace/projekte/oe/om/build/staging/x86_64-linux/usr/lib/glib-2.0/include -I/workspace/projekte/oe/om/build/staging/x86_64-linux/usr/include/libxml2 -I/workspace/projekte/oe/om/build/staging/x86_64-linux/usr/include/pango-1.0 -I/workspace/projekte/oe/om/build/staging/x86_64-linux/usr/include/freetype2 -I/workspace/projekte/oe/om/build/staging/x86_64-linux/usr/include -I/workspace/projekte/oe/om/build/staging/x86_64-linux/usr/include/cairo -I/workspace/projekte/oe/om/build/staging/x86_64-linux/usr/include/pixman-1 -I/workspace/projekte/oe/om/build/staging/x86_64-linux/usr/include/libpng12 -I/workspace/projekte/oe/om/build/staging/x86_64-linux/usr/include/glib-2.0 -I/workspace/projekte/oe/om/build/staging/x86_64-linux/usr/lib/glib-2.0/include -I/workspace/projekte/oe/om/build/staging/x86_64-linux/usr/include/gtk-2.0 -I/workspace/projekte/oe/om/build/staging/x86_64-linux/usr/lib/gtk-2.0/include -I/workspace/projekte/oe/om/build/staging/x86_64-linux/usr/include/pango-1.0 -I/workspace/projekte/oe/om/build/staging/x86_64-linux/usr/include/glib-2.0 -I/workspace/projekte/oe/om/build/staging/x86_64-linux/usr/lib/glib-2.0/include -I/workspace/projekte/oe/om/build/staging/x86_64-linux/usr/include/cairo -I/workspace/projekte/oe/om/build/staging/x86_64-linux/usr/include/pixman-1 -I/workspace/projekte/oe/om/build/staging/x86_64-linux/usr/include/freetype2 -I/workspace/projekte/oe/om/build/staging/x86_64-linux/usr/include -I/workspace/projekte/oe/om/build/staging/x86_64-linux/usr/include/libpng12 -I/workspace/projekte/oe/om/build/staging/x86_64-linux/usr/include/gtk-2.0 -I/workspace/projekte/oe/om/build/staging/x86_64-linux/usr/lib/gtk-2.0/include -I/workspace/projekte/oe/om/build/staging/x86_64-linux/usr/include/pango-1.0 -I/workspace/projekte/oe/om/build/staging/x86_64-linux/usr/include/glib-2.0 -I/workspace/projekte/oe/om/build/staging/x86_64-linux/usr/lib/glib-2.0/include -I/workspace/projekte/oe/om/build/staging/x86_64-linux/usr/include/cairo -I/workspace/projekte/oe/om/build/staging/x86_64-linux/usr/include/pixman-1 -I/workspace/projekte/oe/om/build/staging/x86_64-linux/usr/include/freetype2 -I/workspace/projekte/oe/om/build/staging/x86_64-linux/usr/include -I/workspace/projekte/oe/om/build/staging/x86_64-linux/usr/include/libpng12 -DG_LOG_DOMAIN=\"librsvg\" -DLIBRSVG_DATADIR="\"/workspace/projekte/oe/om/build/staging/x86_64-linux/usr/share\"" -isystem/workspace/projekte/oe/om/build/staging/x86_64-linux/usr/include -isystem/workspace/projekte/oe/om/build/staging/x86_64-linux/usr/include -O2 -g -MT test-display.o -MD -MP -MF .deps/test-display.Tpo -c -o test-display.o test-display.c
In file included from /workspace/projekte/oe/om/build/staging/x86_64-linux/usr/include/gtk-2.0/gtk/gtkcontainer.h:35,
from /workspace/projekte/oe/om/build/staging/x86_64-linux/usr/include/gtk-2.0/gtk/gtkbin.h:35,
from /workspace/projekte/oe/om/build/staging/x86_64-linux/usr/include/gtk-2.0/gtk/gtkwindow.h:36,
from /workspace/projekte/oe/om/build/staging/x86_64-linux/usr/include/gtk-2.0/gtk/gtkdialog.h:35,
from /workspace/projekte/oe/om/build/staging/x86_64-linux/usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32,
from /workspace/projekte/oe/om/build/staging/x86_64-linux/usr/include/gtk-2.0/gtk/gtk.h:33,
from test-display.c:29:
/workspace/projekte/oe/om/build/staging/x86_64-linux/usr/include/gtk-2.0/gtk/gtkwidget.h:40:21: error: atk/atk.h: No such file or directory
Attachments
Change History
comment:1 Changed 2 years ago by Heinervdm
That's because some other package overrides a gtk header in staging.
I think, the solution was:
bitbake -c clean gtk+-native bitbake gtk+-native
comment:2 Changed 2 years ago by sbusch
thanks, that did it. It should be noted that the package also has to be cleared before trying to build it again, otherwise it would fail with the same error again. So this worked for me:
bitbake -c clean gtk+-native bitbake gtk+-native bitbake -c clean librsvg-native bitbake librsvg-native
So the real error would be in the package that screws up the staging. Is it known which package causes this?

