SOLVED! Re: gmake[4]: *** [Gdk-2.0.gir] Error 127 => updating gtk to latest on ports

Antonio Olivares olivares14031 at gmail.com
Fri Aug 5 01:31:54 UTC 2011


On Thu, Aug 4, 2011 at 8:10 PM, Antonio Olivares
<olivares14031 at gmail.com> wrote:
> Warren,
>
> On Thu, Aug 4, 2011 at 8:00 PM, Warren Block <wblock at 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.  Encountered 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.
>>>        ===>>> New version available: gtk-2.24.5_1
>>> ===>>> 537 total installed ports
>>>        ===>>> 1 has a new version available
>>>
>>> ran
>>> # portmaster -a
>>
>> Always (yes, always) check /usr/ports/UPDATING before throwing any automatic
>> update tool at it.  See the 20110730 entry.
>>
>
> Yes I see it, but it does not make a difference :(
>
> 20110730:
>  AFFECTS: users of x11-toolkits/gtk20
>  AUTHOR: gnome at FreeBSD.org
>
>  The gtk-update-icon-cache utility has been split out of the gtk20 port.
>  Use the following instructions to update your system.
>
>  # pkg_delete -f gtk-2.\*
>  # portmaster x11-toolkits/gtk20
>  # 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.
>
> ===>>> make failed for x11-toolkits/gtk20
> ===>>> Aborting update
>
>
> ===>>> You can restart from the point of failure with this command line:
>       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=23721

gmake[1]: Leaving directory
`/usr/ports/devel/gobject-introspection/work/gobject-introspection-0.10.8'
===>   Compressing manual pages for gobject-introspection-0.10.8
===>   Running ldconfig
/sbin/ldconfig -m /usr/local/lib
===>   Registering installation for gobject-introspection-0.10.8

===>  Cleaning for gobject-introspection-0.10.8

===>>> Updating dependency entry for gobject-introspection-0.10.8 in
each dependent port
===>>> 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
===>   Compressing manual pages for gtk-2.24.5_1
===>   Running ldconfig
/sbin/ldconfig -m /usr/local/lib
===>   Registering installation for gtk-2.24.5_1

===>  Cleaning for gtk-2.24.5_1

===>>> Updating dependency entry for gtk-2.24.5_1 in each dependent port
===>>> Installation of x11-toolkits/gtk20 (gtk-2.24.5_1) complete

quadcore# portmaster -a
===>>> Gathering distinfo list for installed ports

===>>> Starting check of installed ports for available updates

===>>> 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.
===>>> 537 total installed ports
	===>>> 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


More information about the freebsd-questions mailing list