Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Aug 2011 20:31:52 -0500
From:      Antonio Olivares <olivares14031@gmail.com>
To:        Warren Block <wblock@wonkity.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   SOLVED! Re: gmake[4]: *** [Gdk-2.0.gir] Error 127 => updating gtk to latest on ports
Message-ID:  <CAJ5UdcMjFkzgVznRpSC1n1gQ3NoEMtWHyhZ=VDJ=EQZC3StXEA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
On Thu, Aug 4, 2011 at 8:10 PM, Antonio Olivares
<olivares14031@gmail.com> wrote:
> Warren,
>
> On Thu, Aug 4, 2011 at 8:00 PM, Warren Block <wblock@wonkity.com> 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 <flags> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ5UdcMjFkzgVznRpSC1n1gQ3NoEMtWHyhZ=VDJ=EQZC3StXEA>