From owner-freebsd-questions@FreeBSD.ORG Fri Aug 5 01:31:54 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E5AF10656FC for ; Fri, 5 Aug 2011 01:31:54 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-iy0-f172.google.com (mail-iy0-f172.google.com [209.85.210.172]) by mx1.freebsd.org (Postfix) with ESMTP id 3D3238FC0C for ; Fri, 5 Aug 2011 01:31:54 +0000 (UTC) Received: by iye7 with SMTP id 7so1437833iye.17 for ; Thu, 04 Aug 2011 18:31:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=xxStkHqg9hB3G3Ii3Nr9/KKcwCZH/svpV3H+9YW9oYE=; b=eRcpYYH3uW71z+Pd0/8Q4jdJ1IWnO5HkWquNG5NFFaKAVLAcz22mUXZFUcQfPDZWqE UiaJD7IpBGPrHHIE39d2YcGAOzESIwofxw9PY9jhwEW6ZN4Q4mNul9VI0FnphNUraYzF xwZORjrGSHUe+n/TGYuo6Nuy0MEIdOqFwrxEo= MIME-Version: 1.0 Received: by 10.42.82.75 with SMTP id c11mr1325103icl.92.1312507912791; Thu, 04 Aug 2011 18:31:52 -0700 (PDT) Received: by 10.42.165.200 with HTTP; Thu, 4 Aug 2011 18:31:52 -0700 (PDT) Date: Thu, 4 Aug 2011 20:31:52 -0500 Message-ID: From: Antonio Olivares To: Warren Block Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Questions Subject: SOLVED! Re: gmake[4]: *** [Gdk-2.0.gir] Error 127 => updating gtk to latest on ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Aug 2011 01:31:54 -0000 On Thu, Aug 4, 2011 at 8:10 PM, Antonio Olivares wrote: > Warren, > > On Thu, Aug 4, 2011 at 8:00 PM, Warren Block wrote: >> On Thu, 4 Aug 2011, Antonio Olivares wrote: >> >>> In an effort to keep up to date, I checked updates that are available >>> and tried to apply them. =A0Encountered a problem with gtk : >>> >>> /* Commands run */ >>> quadcore# . >>> Looking up portsnap.FreeBSD.org mirrors... 5 mirrors found. >>> Fetching snapshot tag from portsnap5.FreeBSD.org... done. >>> Latest snapshot on server matches what we already have. >>> No updates needed. >>> Ports tree is already up to date. >>> =A0 =A0 =A0 =A0=3D=3D=3D>>> New version available: gtk-2.24.5_1 >>> =3D=3D=3D>>> 537 total installed ports >>> =A0 =A0 =A0 =A0=3D=3D=3D>>> 1 has a new version available >>> >>> ran >>> # portmaster -a >> >> Always (yes, always) check /usr/ports/UPDATING before throwing any autom= atic >> update tool at it. =A0See the 20110730 entry. >> > > Yes I see it, but it does not make a difference :( > > 20110730: > =A0AFFECTS: users of x11-toolkits/gtk20 > =A0AUTHOR: gnome@FreeBSD.org > > =A0The gtk-update-icon-cache utility has been split out of the gtk20 port= . > =A0Use the following instructions to update your system. > > =A0# pkg_delete -f gtk-2.\* > =A0# portmaster x11-toolkits/gtk20 > =A0# portmaster -a > > I ran the first command successfully, but the second bombs out the > same place and with same error :( > > ual-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 > /usr/local/bin/g-ir-scanner: not found > gmake[4]: *** [Gdk-2.0.gir] Error 127 > gmake[4]: Leaving directory `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24= .5/gdk' > gmake[3]: *** [all-recursive] Error 1 > gmake[3]: Leaving directory `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24= .5/gdk' > gmake[2]: *** [all] Error 2 > gmake[2]: Leaving directory `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24= .5/gdk' > gmake[1]: *** [all-recursive] Error 1 > gmake[1]: Leaving directory `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24= .5' > gmake: *** [all] Error 2 > *** Error code 1 > > Stop in /usr/ports/x11-toolkits/gtk20. > *** Error code 1 > > Stop in /usr/ports/x11-toolkits/gtk20. > > =3D=3D=3D>>> make failed for x11-toolkits/gtk20 > =3D=3D=3D>>> Aborting update > > > =3D=3D=3D>>> You can restart from the point of failure with this command = line: > =A0 =A0 =A0 portmaster x11-toolkits/gtk20 > > quadcore# > > Thanks for your input. > > Regards, > > Antonio > @Warren Thank you for your help. I found the solution in : http://forums.freebsd.org/showthread.php?t=3D23721 gmake[1]: Leaving directory `/usr/ports/devel/gobject-introspection/work/gobject-introspection-0.10.8' =3D=3D=3D> Compressing manual pages for gobject-introspection-0.10.8 =3D=3D=3D> Running ldconfig /sbin/ldconfig -m /usr/local/lib =3D=3D=3D> Registering installation for gobject-introspection-0.10.8 =3D=3D=3D> Cleaning for gobject-introspection-0.10.8 =3D=3D=3D>>> Updating dependency entry for gobject-introspection-0.10.8 in each dependent port =3D=3D=3D>>> Re-installation of gobject-introspection-0.10.8 complete install -o root -g wheel -m 444 /usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.5/docs/reference/gtk/gtk-query= -immodules-2.0.1 /usr/local/man/man1 =3D=3D=3D> Compressing manual pages for gtk-2.24.5_1 =3D=3D=3D> Running ldconfig /sbin/ldconfig -m /usr/local/lib =3D=3D=3D> Registering installation for gtk-2.24.5_1 =3D=3D=3D> Cleaning for gtk-2.24.5_1 =3D=3D=3D>>> Updating dependency entry for gtk-2.24.5_1 in each dependent p= ort =3D=3D=3D>>> Installation of x11-toolkits/gtk20 (gtk-2.24.5_1) complete quadcore# portmaster -a =3D=3D=3D>>> Gathering distinfo list for installed ports =3D=3D=3D>>> Starting check of installed ports for available updates =3D=3D=3D>>> All ports are up to date I used your script to check for updates and I am trying to keep updated. I am learning. I used to just install and forget about it. I am learning that there is more to it :) quadcore# ./up2date Looking up portsnap.FreeBSD.org mirrors... 5 mirrors found. Fetching snapshot tag from portsnap5.FreeBSD.org... done. Fetching snapshot metadata... done. Updating from Thu Aug 4 19:05:29 CDT 2011 to Thu Aug 4 20:15:52 CDT 2011. Fetching 3 metadata patches.. done. Applying metadata patches... done. Fetching 0 metadata files... done. Fetching 2 patches.. done. Applying patches... done. Fetching 0 new ports or files... done. Removing old files and directories... done. Extracting new files: /usr/ports/security/dradis/ /usr/ports/security/gnupg/ Building new INDEX files... done. =3D=3D=3D>>> 537 total installed ports =3D=3D=3D>>> There are no new versions available quadcore# cat up2date #!/bin/sh /usr/sbin/portsnap fetch update && \ /usr/local/sbin/portmaster -L --index-only | egrep '(ew|ort) version|total install' quadcore# Regards, Antonio