Opened 14 years ago

Closed 14 years ago

#26692 closed defect (fixed)

libunique: Couldn't find include 'Gtk-2.0.gir'

Reported by: macports.ilsa@… Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: introspection Cc: nox@…, ryandesign (Ryan Carsten Schmidt)
Port: libunique

Description (last modified by ryandesign (Ryan Carsten Schmidt))

While installing gnome, it gives libunique as a dependency. But when it gets to compiling libunique, it fails. The gtk2 library is installed, so I'm not sure what is missing. Log is below:

ersion:1
:debug:main Executing org.macports.main (libunique)
:debug:main Skipping completed org.macports.fetch (libunique)
:debug:main Skipping completed org.macports.checksum (libunique)
:debug:main Skipping completed org.macports.extract (libunique)
:debug:main Skipping completed org.macports.patch (libunique)
:debug:main Skipping completed org.macports.configure (libunique)
:msg:main --->  Building libunique
:debug:build build phase started at Fri Oct  1 12:25:42 EDT 2010
:debug:build Executing org.macports.build (libunique)
:debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_libunique/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_libunique/work/libunique-1.1.6" && /usr/bin/make -j2 all'
:info:build /usr/bin/make  all-recursive
:info:build Making all in build
:info:build Making all in autotools
:info:build make[3]: Nothing to be done for `all'.
:info:build make[3]: Nothing to be done for `all-am'.
:info:build Making all in unique
:info:build /usr/bin/make  all-recursive
:info:build Making all in bacon
:info:build make[4]: Nothing to be done for `all'.
:info:build Making all in dbus
:info:build /usr/bin/make  all-am
:info:build make[5]: Nothing to be done for `all-am'.
:info:build   GEN    Unique-1.0.gir
:info:build Couldn't find include 'Gtk-2.0.gir' (search path: ['/opt/local/share/gir-1.0', '/usr/share/gir-1.0', '/opt/local/share/gir-1.0'])
:info:build make[4]: *** [Unique-1.0.gir] Error 1
:info:build make[3]: *** [all-recursive] Error 1
:info:build make[2]: *** [all] Error 2
:info:build make[1]: *** [all-recursive] Error 1
:info:build make: *** [all] Error 2
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_libunique/work/libunique-1.1.6" && /usr/bin/make -j2 all " returned error 2
:error:build Target org.macports.build returned: shell command failed
:debug:build Backtrace: shell command failed
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for libunique): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Log for libunique is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_libunique/main.log

Change History (2)

comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: changed from macports-tickets@… to devans@…
Port: libunique added
Summary: unable to install libuniquelibunique: Couldn't find include 'Gtk-2.0.gir'

Please use WikiFormatting, fill in the Port field, and Cc the maintainer.

comment:2 Changed 14 years ago by dbevans (David B. Evans)

Cc: nox@… ryandesign@… added
Keywords: introspection added
Resolution: fixed
Status: newclosed

libunique is opportunistically trying to build GObject introspection data because you have gobject-introspection installed and it is not explicitly disabled in the port.

This fails because gtk2 does not currently have introspection enabled, because it needs pango to have introspection enabled, etc.

introspection disabled for now in r72059 until the introspection data is available in gtk2, pango.

Note: See TracTickets for help on using tickets.