From owner-freebsd-gnome@FreeBSD.ORG Mon Jun 2 16:58:19 2008 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 48A88106566C for ; Mon, 2 Jun 2008 16:58:19 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from cpanel03.rubas-s03.net (cpanel03.rubas-s03.net [195.182.222.73]) by mx1.freebsd.org (Postfix) with ESMTP id E5DAF8FC18 for ; Mon, 2 Jun 2008 16:58:18 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from [213.142.183.219] (helo=gahrtop.localhost) by cpanel03.rubas-s03.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1K3DMI-0001zD-SV; Mon, 02 Jun 2008 18:58:10 +0200 Message-ID: <484426A3.7070009@FreeBSD.org> Date: Mon, 02 Jun 2008 18:58:11 +0200 From: Pietro Cerutti Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.14 (X11/20080505) MIME-Version: 1.0 To: Jeremy Messenger References: <48440239.4020608@FreeBSD.org> In-Reply-To: X-Enigmail-Version: 0.95.6 OpenPGP: id=9571F78E; url=http://gahr.ch/pgp/ Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel03.rubas-s03.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - FreeBSD.org X-Source: X-Source-Args: X-Source-Dir: Cc: freebsd-gnome@freebsd.org Subject: Re: dependency problem on sparc64 X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2008 16:58:19 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Jeremy Messenger wrote: | On Mon, 02 Jun 2008 09:22:49 -0500, Pietro Cerutti | wrote: | | Hi list, | | I found that glib20 isn't recognized as should be on sparc64 | (7.0-RELEASE) | | I can solve the problem with: | | --- bsd.gnome.mk 24 Mar 2008 15:59:55 -0000 1.146 | +++ bsd.gnome.mk 2 Jun 2008 14:20:31 -0000 | @@ -251,7 +251,7 @@ | ~ pygnome_RUN_DEPENDS= | ${pygnome_DETECT}:${PORTSDIR}/x11-toolkits/py-gnome | ~ pygnome_USE_GNOME_IMPL= gtkhtml pygtk | | -_glib20_LIB_DEPENDS= glib-2.0.0:${PORTSDIR}/devel/glib20 | +_glib20_LIB_DEPENDS= glib-2.0:${PORTSDIR}/devel/glib20 | ~ _glib20_DETECT= | ${LOCALBASE}/libdata/pkgconfig/glib-2.0.pc | ~ _glib20_USE_GNOME_IMPL= gnometarget pkgconfig | | | | Here's some output: | | | pkg_info glib\* | Information for glib-2.16.3: | | Comment: | Some useful routines of C programming (current stable version) | | Description: | GLib provides a simple, abstract, and highly portable set of C support | routines such as lists, trees, hashes, memory allocation, and much, much | more. It is a foundation for writing portable applications. | | WWW: http://www.gtk.org/ | | | cat Makefile | PORTNAME= test | USE_GNOME= glib20 | .include | | | make depends | ===> test- depends on shared library: glib-2.0.0 - not found | ===> Verifying install for glib-2.0.0 in /usr/ports/devel/glib20 | ===> Returning to build of test- | Error: shared library "glib-2.0.0" does not exist | *** Error code 1 | Stop in /home/gahr. | | | d /usr/local/lib/libglib-2.0.* | -rw-r--r-- 1 root wheel 1.5M Jun 2 15:53 /usr/local/lib/libglib-2.0.a | -rwxr-xr-x 1 root wheel 939B Jun 2 15:53 /usr/local/lib/libglib-2.0.la | lrwxr-xr-x 1 root wheel 19B Jun 2 15:53 /usr/local/lib/libglib-2.0.so -> | libglib-2.0.so.1600 | -rwxr-xr-x 1 root wheel 904K Jun 2 15:53 | /usr/local/lib/libglib-2.0.so.1600 | |> This is busted. How old is your bsd.gnome.mk? Or maybe something |> (libtool) that doesn't work correct for sparc64? See mine: I think not much older than yours: $FreeBSD: ports/Mk/bsd.gnome.mk,v 1.147 2008/05/29 16:34:11 mezz Exp $ ~ $NetBSD: $ ~ $MCom: ports/Mk/bsd.gnome.mk,v 1.447 2008/03/12 03:42:31 marcus Exp $ and libtool is 1.5.24 | |> We have a hack called ltverhack in bsd.gnome.mk to force any library to |> get correct ABI version that way it won't get bump until ABI change. For |> example, ltverhack gets our glib20 to have libglib-2.0.so.0 instead of |> like your for libglib-2.0.so.1600. If that ltverhack doesn't work for |> sparc64, then it will need to be figure out why. Any clue how to debug it? Thanks, |> Mezz - -- Pietro Cerutti gahr@FreeBSD.org PGP Public Key: http://gahr.ch/pgp -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEAREKAAYFAkhEJqEACgkQwMJqmJVx946OvwCeJ1grH0UYJR92h25YCVufsvHP 9CIAoMBgnVe8lVEMp44kLJaJty/UWMkG =s6md -----END PGP SIGNATURE-----