Opened 21 months ago
Closed 21 months ago
#71684 closed defect (fixed)
gtk2: Couldn't find include 'HarfBuzz-0.0.gir'
| Reported by: | ShadSterling (Shad Sterling) | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.10.5 |
| Keywords: | Cc: | i0ntempest | |
| Port: | gtk2 |
Description
Looks like the relevant part of the log is
:info:build make[4]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gtk2/gtk2/work/gtk+-2.24.33/gdk' :info:build CPPFLAGS="-I/opt/local/include -DX_LOCALE -D_IPP_PRIVATE_STRUCTURES=1 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES" CFLAGS="-pipe -Os -fstrict-aliasing -Wno-deprecated-declarations -Wno-enum-conversion -Wno-unknown-warning-option -Wno-error=unknown-warning-option -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -Wall" LDFLAGS="-L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64" CC="/usr/bin/clang -arch x86_64" PKG_CONFIG="/opt/local/bin/pkg-config" GI_HOST_OS="" DLLTOOL="dlltool" /opt/local/bin/g-ir-scanner --warn-all --add-include-path=../gdk --namespace=Gdk --nsversion=2.0 --libtool="/bin/sh ../libtool" --include=Gio-2.0 --include=GdkPixbuf-2.0 --include=Pango-1.0 --include=cairo-1.0 --pkg-export=gdk-2.0 --library=libgdk-quartz-2.0.la --c-include="gdk/gdk.h" --cflags-begin -DG_LOG_DOMAIN=\"Gdk\" -DGDK_COMPILATION -I.. -I.. -I../gdk -DG_DISABLE_CAST_CHECKS -I/opt/local/include/pango-1.0 -I/opt/local/include/harfbuzz -I/opt/local/include/pango-1.0 -I/opt/local/include/fribidi -I/opt/local/include/harfbuzz -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/cairo -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng16 --cflags-end gdk.h gdkapplaunchcontext.h gdkcairo.h gdkcolor.h gdkcursor.h gdkdisplay.h gdkdisplaymanager.h gdkdnd.h gdkdrawable.h gdkevents.h gdkfont.h gdkgc.h gdki18n.h gdkimage.h gdkinput.h gdkkeys.h gdkkeysyms.h gdkpango.h gdkpixbuf.h gdkpixmap.h gdkprivate.h gdkproperty.h gdkregion.h gdkrgb.h gdkscreen.h gdkselection.h gdkspawn.h gdktestutils.h gdktypes.h gdkvisual.h gdkwindow.h gdk.c gdkapplaunchcontext.c gdkcairo.c gdkcolor.c gdkcursor.c gdkdisplay.c gdkdisplaymanager.c gdkdnd.c gdkdraw.c gdkevents.c gdkfont.c gdkgc.c gdkglobals.c gdkimage.c gdkkeys.c gdkkeyuni.c gdkoffscreenwindow.c gdkpango.c gdkpixbuf-drawable.c gdkpixbuf-render.c gdkpixmap.c gdkpolyreg-generic.c gdkrectangle.c gdkregion-generic.c gdkrgb.c gdkscreen.c gdkselection.c gdkvisual.c gdkwindow.c gdkwindowimpl.c gdkkeynames.c gdkenumtypes.c gdkenumtypes.h libgdk-quartz-2.0.la Makefile --output Gdk-2.0.gir :info:build Couldn't find include 'HarfBuzz-0.0.gir' (search path: '['../gdk', '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gtk2/gtk2/work/.home/.local/share/gir-1.0', 'gir-1.0', '/usr/local/share/gir-1.0', '/usr/share/gir-1.0', '/opt/local/share/gir-1.0', '/opt/local/share/gir-1.0', '/usr/share/gir-1.0']') :info:build make[4]: *** [Gdk-2.0.gir] Error 1
Harfbuzz is installed:
The following ports are currently installed: harfbuzz @8.5.0_0+universal harfbuzz @10.1.0_1+universal (active)
Everything that needs gtk2 is installed with +quartz, at least dia doesn't have a -gtk2 variant:
---> Unable to uninstall gtk2 @2.24.33_4+quartz, the following ports depend on it: ---> libglade2 @2.6.4_8+quartz ---> py27-pygtk @2.24.0_6+quartz ---> dia @0.97.3_7+python27+quartz ---> gtk-sharp2 @2.12.45_0+quartz
Attachments (2)
Change History (8)
Changed 21 months ago by ShadSterling (Shad Sterling)
comment:1 Changed 21 months ago by ShadSterling (Shad Sterling)
Changed 21 months ago by ShadSterling (Shad Sterling)
| Attachment: | gtk3-main.log added |
|---|
comment:2 Changed 21 months ago by i0ntempest
For some reason harfbuzz port is installed with introspection feature disabled even if the portfile explicitly set it to enabled.
comment:3 Changed 21 months ago by i0ntempest
| Cc: | i0ntempest added |
|---|
comment:4 Changed 21 months ago by Falcon-Darkshadow
| Cc: | Falcon-Darkshadow added |
|---|
comment:5 Changed 21 months ago by Falcon-Darkshadow
| Cc: | Falcon-Darkshadow removed |
|---|
comment:6 Changed 21 months ago by mascguy (Christopher Nielsen)
| Cc: | mascguy removed |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |
Fixed via commit: harfbuzz{,-devel}: properly set gobject_introspection
Note: See
TracTickets for help on using
tickets.

Also affects gtk3