Home :: Documentation :: Download :: Development :: Community :: Wiki :: Ports :: Bugs :: Links :: About
Welcome to CRUX bug tracking.
Tasklist

FS#841 - New version gtk+2.24.11 doesn't compile

Attached to Project: CRUX
Opened by Sergey N Bashkirev (c3) - Tuesday, 17 July 2012, 08:36 GMT+2
Last edited by Fredrik Rinnestam (rehabdoll) - Wednesday, 18 July 2012, 09:41 GMT+2
Task Type Bug Report
Category ports → xfce
Status Closed
Assigned To Fredrik Rinnestam (rehabdoll)
Operating System Linux
Severity Low
Priority Normal
Reported Version Development
Due in Version 2.8
Due Date 2012-07-16
Percent Complete 100%
Votes 0
Private No

Details


pkgmk
.....
/usr/bin/g-ir-scanner --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 --library=libgdk-x11-2.0.la --warn-all -DG_LOG_DOMAIN=\"Gdk\" -DGDK_COMPILATION -I.. -I.. -I../gdk -DG_DISABLE_CAST_CHECKS -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/include/gio-unix-2.0/ -I/usr/include/gdk-pixbuf-2.0 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 x11/checksettings.c x11/gdkapplaunchcontext-x11.c x11/gdkasync.c x11/gdkcolor-x11.c x11/gdkcursor-x11.c x11/gdkdisplay-x11.c x11/gdkdnd-x11.c x11/gdkdrawable-x11.c x11/gdkgc-x11.c x11/gdkgeometry-x11.c x11/gdkglobals-x11.c x11/gdkimage-x11.c x11/gdkim-x11.c x11/gdkinput.c x11/gdkkeys-x11.c x11/gdkmain-x11.c x11/gdkpixmap-x11.c x11/gdkproperty-x11.c x11/gdkscreen-x11.c x11/gdkselection-x11.c x11/gdksettings.c x11/gdkspawn-x11.c x11/gdktestutils-x11.c x11/gdkvisual-x11.c x11/gdkwindow-x11.c x11/gdkxftdefaults.c x11/gdkxid.c x11/xsettings-client.c x11/xsettings-common.c libgdk-x11-2.0.la Makefile --output Gdk-2.0.gir
Couldn't find include 'GdkPixbuf-2.0.gir' (search path: ['../gdk', 'gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0'])
make[4]: *** [Gdk-2.0.gir] Error 1
make[4]: Leaving directory `/home/ports/opt/gtk/work/src/gtk+-2.24.11/gdk'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/ports/opt/gtk/work/src/gtk+-2.24.11/gdk'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/ports/opt/gtk/work/src/gtk+-2.24.11/gdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ports/opt/gtk/work/src/gtk+-2.24.11'
make: *** [all] Error 2
=======> ERROR: Building '/home/686/xgtk-lib/gtk/gtk#2.24.11-1.pkg.tar.xz' failed.
This task depends upon

Closed by  Fredrik Rinnestam (rehabdoll)
Wednesday, 18 July 2012, 09:41 GMT+2
Reason for closing:  Won't implement
Comment by Fredrik Rinnestam (rehabdoll) - Tuesday, 17 July 2012, 09:23 GMT+2
Works for me (tm)

Looks like you are building against gobject-introspection and are missing GdkPixbuf-2.0.gir in the expected path. You could probably either force gtk to disregard gobject, or fix your gobject-introspection installation.

what port of gobject-introspection are you using?
Comment by Sergey N Bashkirev (c3) - Tuesday, 17 July 2012, 10:16 GMT+2
Ups! and... GdkPixbuf-2.0.gir one missing in package (/usr/share/gir-1.0)

how to add?
   Pkgfile (0.6 KiB)
   Pkgfile (0.4 KiB)
Comment by Sergey N Bashkirev (c3) - Wednesday, 18 July 2012, 09:25 GMT+2
agreed and tested.

Why not add gobject-introspection to opt?
supports gtk, vala, ... etc

Comment by Fredrik Rinnestam (rehabdoll) - Wednesday, 18 July 2012, 09:40 GMT+2
I take it gtk compiles?

I'm very reluctant to add a new port to opt unless there's a genuine need for it, because:
1) It would be another port to maintain
2) Force users to install something they probably won't need.

We always strive to keep the dependencies as low as possible and rely on runtime(./configure) detection.
If you're bothered by the footprint missmatches in your case I'd suggest you add PKGMK_IGNORE_NEW="yes" to your pkgmk.conf

Loading...