GObject Introspection detection broken

Bug #552538 reported by Dennis Schridde
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DBus Menu
Fix Released
Low
Ted Gould
Unity Foundations
Fix Released
Low
Ted Gould

Bug Description

configure.ac checks: GOBJECT_INTROSPECTION_CHECK([0.6.3])
But this macro does not exist if GObject Introspection is not installed.
I had to manually replace it with: AM_CONDITIONAL([HAVE_INTROSPECTION], [false])

Related branches

Revision history for this message
Ted Gould (ted) wrote :

That macro does exist in m4/introspection.m4 which we are shipping in the tarball. I'm not sure why you wouldn't be picking it up. Do you have any other compile options that might be effecting that?

Changed in dbusmenu:
status: New → Incomplete
importance: Undecided → Low
Revision history for this message
Dennis Schridde (devurandom) wrote :

~/libdbusmenu-0.2.8 $ patch -p0 < libdbusmenu-0.2.8-1-optional-gtk.patch
patching file configure.ac
patching file Makefile.am
~/libdbusmenu-0.2.8 $ patch -p0 < libdbusmenu-0.2.8-2-optional-tests.patch
patching file configure.ac
Hunk #1 succeeded at 63 (offset 7 lines).
patching file Makefile.am
Hunk #1 succeeded at 7 with fuzz 2.
patching file tools/Makefile.am
~/libdbusmenu-0.2.8 $ autoreconf
libdbusmenu-glib/Makefile.am:105: HAVE_INTROSPECTION does not appear in AM_CONDITIONAL
libdbusmenu-glib/Makefile.am:132: HAVE_INTROSPECTION does not appear in AM_CONDITIONAL
libdbusmenu-glib/Makefile.am:114: addprefix $(srcdir: non-POSIX variable name
libdbusmenu-glib/Makefile.am:114: (probably a GNU make extension)
libdbusmenu-gtk/Makefile.am:51: HAVE_INTROSPECTION does not appear in AM_CONDITIONAL
libdbusmenu-gtk/Makefile.am:80: HAVE_INTROSPECTION does not appear in AM_CONDITIONAL
libdbusmenu-gtk/Makefile.am:62: addprefix $(srcdir: non-POSIX variable name
libdbusmenu-gtk/Makefile.am:62: (probably a GNU make extension)
autoreconf-2.65: automake failed with exit status: 1

Revision history for this message
Dennis Schridde (devurandom) wrote :

Attached patch fixes this issue for real. The problem was that aclocal was invoked without the -I m4 flag, which obviously made it not see the introspection macro in that directory.

Changed in dbusmenu:
status: Incomplete → Confirmed
Ted Gould (ted)
Changed in dbusmenu:
status: Confirmed → Fix Committed
milestone: none → 0.4.94
Ted Gould (ted)
Changed in unity-foundations:
status: New → Fix Committed
importance: Undecided → Low
assignee: nobody → Ted Gould (ted)
Changed in dbusmenu:
assignee: nobody → Ted Gould (ted)
Changed in unity-foundations:
milestone: none → oneiric-beta-2
Ted Gould (ted)
Changed in dbusmenu:
status: Fix Committed → Fix Released
Ted Gould (ted)
Changed in unity-foundations:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.