After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 588861 - Meta-2.27.gir does not build
Meta-2.27.gir does not build
Status: RESOLVED DUPLICATE of bug 587975
Product: mutter
Classification: Core
Component: general
2.27.x
Other Linux
: Normal normal
: ---
Assigned To: mutter-maint
mutter-maint
Depends on:
Blocks:
 
 
Reported: 2009-07-17 10:32 UTC by Götz Waschk
Modified: 2009-07-17 11:14 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Götz Waschk 2009-07-17 10:32:26 UTC
This is on Mandriva Cooker with mutter 2.27.1 and gobject-introspection 0.6.3:
make[2]: Entering directory `/home/goetz/svn/mutter/BUILD/mutter-2.27.1/src'
pwd=`pwd` ;                                     \
        cd . &&                                 \
        /usr/bin/g-ir-scanner                                   \
                --namespace=Meta                        \
                --nsversion=2.27                \
                --include=GObject-2.0                   \
                --include=Gdk-2.0                       \
                --include=Gtk-2.0                       \
                --include=Clutter-0.9                   \
                --pkg=clutter-0.9                       \
                --pkg=gtk+-2.0                          \
                --include=xfixes-4.0                    \
                --program=$pwd/mutter                   \
                core/async-getprop.c core/alttabhandler.c core/alttabhandlerdefault.c core/bell.c core/boxes.c compositor/compositor.c compositor/mutter-module.c compositor/mutter-plugin.c compositor/mutter-plugin-manager.c compositor/mutter-shaped-texture.c compositor/mutter-window.c compositor/mutter-window-group.c compositor/shadow.c compositor/tidy/tidy-texture-frame.c core/constraints.c core/core.c core/delete.c core/display.c ui/draw-workspace.c core/edge-resistance.c core/errors.c core/eventqueue.c core/frame.c ui/gradient.c core/group-props.c core/group.c core/iconcache.c core/keybindings.c core/main.c core/place.c core/prefs.c core/screen.c core/session.c core/stack.c core/stack-tracker.c core/util.c core/window-props.c core/window.c core/workspace.c core/xprops.c ui/fixedtip.c ui/frames.c ui/menu.c ui/metaaccellabel.c ui/resizepopup.c ui/tabpopup.c ui/theme-parser.c ui/theme.c ui/themewidget.c ui/ui.c mutter-marshal.c mutter-enum-types.c               \
                include/alttabhandler.h include/boxes.h ui/gradient.h include/main.h include/util.h include/common.h ui/preview-widget.h ui/theme-parser.h ui/theme.h include/prefs.h include/window.h include/workspace.h include/compositor.h include/compositor-mutter.h include/types.h include/screen.h include/display.h include/group.h include/keybindings.h include/mutter-plugin.h include/mutter-window.h    \
                -DORBIT2=1 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/startup-notification-1.0 -I/usr/include/clutter-0.9 -I/usr/include/drm -I/usr/include/gobject-introspection-1.0   -I ./include -I./compositor -DMUTTER_LIBEXECDIR=\"/usr/lib\" -DHOST_ALIAS=\"\" -DMUTTER_LOCALEDIR=\"/usr/share/locale\" -DMUTTER_PKGDATADIR=\"/usr/share/mutter\" -DMUTTER_DATADIR=\"/usr/share\" -DG_LOG_DOMAIN=\"mutter\" -DSN_API_NOT_YET_FROZEN=1 -DMUTTER_MAJOR_VERSION=2 -DMUTTER_MINOR_VERSION=27 -DMUTTER_MICRO_VERSION=1 -DMUTTER_PLUGIN_API_VERSION=2 -DMUTTER_PKGLIBDIR=\"/usr/lib/mutter\" -DMUTTER_PLUGIN_DIR=\"/usr/lib/mutter/plugins\"            \
                -o $pwd/Meta-2.27.gir
Invalid GType: 'meta_preview_get_type'
failed to dump: Failed to find symbol 'meta_preview_get_type'
Command '['/home/goetz/svn/mutter/BUILD/mutter-2.27.1/src/mutter', '--introspect-dump=/home/goetz/tmp/tmp-introspect2RGzsi/types.txt,/home/goetz/tmp/tmp-introspect2RGzsi/dump.xml']' returned non-zero exit status 1
Comment 1 Owen Taylor 2009-07-17 11:07:01 UTC
Assistance tracking this down would be appreciated, I can't reproduce it. Three was a suggested that it might be related to use of --as-needed, but I don't exactlty see how.


*** This bug has been marked as a duplicate of 587975 ***
Comment 2 Andreas Proschofsky 2009-07-17 11:14:04 UTC
Definately related to --as-needed, build breaks with it, with LDFLAGS="" it succeeds...